id int32 0 165k | repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 |
|---|---|---|---|---|---|---|---|---|---|---|---|
110,700 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XidImpl.java | XidImpl.getOtidBytes | public byte[] getOtidBytes() {
if (tc.isEntryEnabled())
Tr.entry(tc, "getOtidBytes");
if (_otid == null) {
final int total_length = _gtrid.length + _bqual.length;
_otid = new byte[total_length];
System.arraycopy(_gtrid, 0, _otid, 0, _gtrid.length);
... | java | public byte[] getOtidBytes() {
if (tc.isEntryEnabled())
Tr.entry(tc, "getOtidBytes");
if (_otid == null) {
final int total_length = _gtrid.length + _bqual.length;
_otid = new byte[total_length];
System.arraycopy(_gtrid, 0, _otid, 0, _gtrid.length);
... | [
"public",
"byte",
"[",
"]",
"getOtidBytes",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getOtidBytes\"",
")",
";",
"if",
"(",
"_otid",
"==",
"null",
")",
"{",
"final",
"int",
"total_l... | Gets the otid.tid style raw byte representation of this XidImpl.
<pre>
struct otid_t {
long formatID;
long bqual_length;
sequence <octet> tid;
};
</pre>
This is not a huge performer. It is only called when someone
has registered a SynchronizationCallback via the LI850 SPIs or if
the Activity service needs the t... | [
"Gets",
"the",
"otid",
".",
"tid",
"style",
"raw",
"byte",
"representation",
"of",
"this",
"XidImpl",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XidImpl.java#L449-L465 |
110,701 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XidImpl.java | XidImpl.setStoken | protected void setStoken(byte[] stoken) {
if (tc.isEntryEnabled())
Tr.entry(tc, "setStoken", stoken);
if (stoken != null)
System.arraycopy(
stoken,
0,
_bqual,
BQUA... | java | protected void setStoken(byte[] stoken) {
if (tc.isEntryEnabled())
Tr.entry(tc, "setStoken", stoken);
if (stoken != null)
System.arraycopy(
stoken,
0,
_bqual,
BQUA... | [
"protected",
"void",
"setStoken",
"(",
"byte",
"[",
"]",
"stoken",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"setStoken\"",
",",
"stoken",
")",
";",
"if",
"(",
"stoken",
"!=",
"null",
")"... | Set the stoken associated with this Xid. | [
"Set",
"the",
"stoken",
"associated",
"with",
"this",
"Xid",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XidImpl.java#L514-L528 |
110,702 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XidImpl.java | XidImpl.isOurFormatId | public static boolean isOurFormatId(int formatIdentifier) {
if (tc.isEntryEnabled())
Tr.entry(tc, "isOurFormatId", formatIdentifier);
final boolean result;
switch (formatIdentifier) { // Current format IDs
case ZOS_FID_CB390:
case ZOS_FID_CBLT:
c... | java | public static boolean isOurFormatId(int formatIdentifier) {
if (tc.isEntryEnabled())
Tr.entry(tc, "isOurFormatId", formatIdentifier);
final boolean result;
switch (formatIdentifier) { // Current format IDs
case ZOS_FID_CB390:
case ZOS_FID_CBLT:
c... | [
"public",
"static",
"boolean",
"isOurFormatId",
"(",
"int",
"formatIdentifier",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"isOurFormatId\"",
",",
"formatIdentifier",
")",
";",
"final",
"boolean",
... | Checks to see if this formatId is one of our generated formatIds.
This is a first pass check on recovery to filter XIDs from RMs.
We do not need to validate platform as the next phase check is for
UUID which will be different for each application server.
@return true iff the format ID is 0xC9C20186 or 0xC9C2D3E3 and z... | [
"Checks",
"to",
"see",
"if",
"this",
"formatId",
"is",
"one",
"of",
"our",
"generated",
"formatIds",
".",
"This",
"is",
"a",
"first",
"pass",
"check",
"on",
"recovery",
"to",
"filter",
"XIDs",
"from",
"RMs",
".",
"We",
"do",
"not",
"need",
"to",
"valid... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XidImpl.java#L604-L630 |
110,703 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/BaseConfiguration.java | BaseConfiguration.getSingletonNames | void getSingletonNames(Set<String> singletons) {
for (Map.Entry<String, ConfigurationList<SimpleElement>> entry : configurationMap.entrySet()) {
ConfigurationList<SimpleElement> list = entry.getValue();
if (!list.isEmpty() && !list.hasId()) {
singletons.add(entry.getKey()... | java | void getSingletonNames(Set<String> singletons) {
for (Map.Entry<String, ConfigurationList<SimpleElement>> entry : configurationMap.entrySet()) {
ConfigurationList<SimpleElement> list = entry.getValue();
if (!list.isEmpty() && !list.hasId()) {
singletons.add(entry.getKey()... | [
"void",
"getSingletonNames",
"(",
"Set",
"<",
"String",
">",
"singletons",
")",
"{",
"for",
"(",
"Map",
".",
"Entry",
"<",
"String",
",",
"ConfigurationList",
"<",
"SimpleElement",
">",
">",
"entry",
":",
"configurationMap",
".",
"entrySet",
"(",
")",
")",... | guarantees here, so this should really go away. | [
"guarantees",
"here",
"so",
"this",
"should",
"really",
"go",
"away",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/BaseConfiguration.java#L129-L136 |
110,704 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/BaseConfiguration.java | BaseConfiguration.getFactoryInstancesUsingDefaultId | public Map<ConfigID, FactoryElement> getFactoryInstancesUsingDefaultId(String pid, String alias, String defaultId) throws ConfigMergeException {
Map<ConfigID, List<SimpleElement>> defaultFactories = defaultConfigurationFactories(pid, alias, defaultId);
Map<ConfigID, List<SimpleElement>> factories = getA... | java | public Map<ConfigID, FactoryElement> getFactoryInstancesUsingDefaultId(String pid, String alias, String defaultId) throws ConfigMergeException {
Map<ConfigID, List<SimpleElement>> defaultFactories = defaultConfigurationFactories(pid, alias, defaultId);
Map<ConfigID, List<SimpleElement>> factories = getA... | [
"public",
"Map",
"<",
"ConfigID",
",",
"FactoryElement",
">",
"getFactoryInstancesUsingDefaultId",
"(",
"String",
"pid",
",",
"String",
"alias",
",",
"String",
"defaultId",
")",
"throws",
"ConfigMergeException",
"{",
"Map",
"<",
"ConfigID",
",",
"List",
"<",
"Si... | Get a Map of FactoryElements indexed by ConfigID
@param pid The full pid value (must not be null)
@param alias The alias value (may be null)
@param defaultId If not null, elements in the configuration that don't have an ID will use this
@return a Map of FactoryElement instances indexed by ConfigID
@throws ConfigMergeE... | [
"Get",
"a",
"Map",
"of",
"FactoryElements",
"indexed",
"by",
"ConfigID"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/BaseConfiguration.java#L295-L352 |
110,705 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/tai/TAIWebUtils.java | TAIWebUtils.getAuthorizationEndpoint | public String getAuthorizationEndpoint(SocialLoginConfig clientConfig) throws SocialLoginException {
final String authzEndpoint = clientConfig.getAuthorizationEndpoint();
SocialUtil.validateEndpointWithQuery(authzEndpoint);
return authzEndpoint;
} | java | public String getAuthorizationEndpoint(SocialLoginConfig clientConfig) throws SocialLoginException {
final String authzEndpoint = clientConfig.getAuthorizationEndpoint();
SocialUtil.validateEndpointWithQuery(authzEndpoint);
return authzEndpoint;
} | [
"public",
"String",
"getAuthorizationEndpoint",
"(",
"SocialLoginConfig",
"clientConfig",
")",
"throws",
"SocialLoginException",
"{",
"final",
"String",
"authzEndpoint",
"=",
"clientConfig",
".",
"getAuthorizationEndpoint",
"(",
")",
";",
"SocialUtil",
".",
"validateEndpo... | Gets and validates the authorization endpoint URL from the provided social login configuration. | [
"Gets",
"and",
"validates",
"the",
"authorization",
"endpoint",
"URL",
"from",
"the",
"provided",
"social",
"login",
"configuration",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/tai/TAIWebUtils.java#L78-L82 |
110,706 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/tai/TAIWebUtils.java | TAIWebUtils.createStateCookie | public String createStateCookie(HttpServletRequest request, HttpServletResponse response) {
String stateValue = SocialUtil.generateRandom();
String loginHint = socialWebUtils.getLoginHint(request);
if (!request.getMethod().equalsIgnoreCase("GET") && loginHint != null) {
stateValue = ... | java | public String createStateCookie(HttpServletRequest request, HttpServletResponse response) {
String stateValue = SocialUtil.generateRandom();
String loginHint = socialWebUtils.getLoginHint(request);
if (!request.getMethod().equalsIgnoreCase("GET") && loginHint != null) {
stateValue = ... | [
"public",
"String",
"createStateCookie",
"(",
"HttpServletRequest",
"request",
",",
"HttpServletResponse",
"response",
")",
"{",
"String",
"stateValue",
"=",
"SocialUtil",
".",
"generateRandom",
"(",
")",
";",
"String",
"loginHint",
"=",
"socialWebUtils",
".",
"getL... | Generates a random state value, adds a cookie to the response with that value, and returns the value. | [
"Generates",
"a",
"random",
"state",
"value",
"adds",
"a",
"cookie",
"to",
"the",
"response",
"with",
"that",
"value",
"and",
"returns",
"the",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/tai/TAIWebUtils.java#L87-L99 |
110,707 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/token/JWTPayload.java | JWTPayload.getAudienceAsList | @SuppressWarnings("unchecked")
public final List<String> getAudienceAsList() {
if (audience == null) {
return Collections.emptyList();
}
if (audience instanceof String) {
return Collections.singletonList((String) audience);
}
return (List<String>) audi... | java | @SuppressWarnings("unchecked")
public final List<String> getAudienceAsList() {
if (audience == null) {
return Collections.emptyList();
}
if (audience instanceof String) {
return Collections.singletonList((String) audience);
}
return (List<String>) audi... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"public",
"final",
"List",
"<",
"String",
">",
"getAudienceAsList",
"(",
")",
"{",
"if",
"(",
"audience",
"==",
"null",
")",
"{",
"return",
"Collections",
".",
"emptyList",
"(",
")",
";",
"}",
"if",
"("... | Returns the list of audience claim that identifies the audience that the JWT is intended for
or empty for none. | [
"Returns",
"the",
"list",
"of",
"audience",
"claim",
"that",
"identifies",
"the",
"audience",
"that",
"the",
"JWT",
"is",
"intended",
"for",
"or",
"empty",
"for",
"none",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/token/JWTPayload.java#L181-L190 |
110,708 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcTracer.java | WSJdbcTracer.getImpl | public static final Object getImpl(Object obj) {
InvocationHandler handler;
return Proxy.isProxyClass(obj.getClass()) && (handler = Proxy.getInvocationHandler(obj)) instanceof WSJdbcTracer ? ((WSJdbcTracer) handler).impl : obj;
} | java | public static final Object getImpl(Object obj) {
InvocationHandler handler;
return Proxy.isProxyClass(obj.getClass()) && (handler = Proxy.getInvocationHandler(obj)) instanceof WSJdbcTracer ? ((WSJdbcTracer) handler).impl : obj;
} | [
"public",
"static",
"final",
"Object",
"getImpl",
"(",
"Object",
"obj",
")",
"{",
"InvocationHandler",
"handler",
";",
"return",
"Proxy",
".",
"isProxyClass",
"(",
"obj",
".",
"getClass",
"(",
")",
")",
"&&",
"(",
"handler",
"=",
"Proxy",
".",
"getInvocati... | Returns the underlying object.
@param obj an object that might be a proxy.
@return the underlying object, or, if not a proxy, then the original object. | [
"Returns",
"the",
"underlying",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcTracer.java#L113-L117 |
110,709 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.modified | @Modified
protected synchronized void modified(Map<String, Object> cfwConfiguration) {
if (null == cfwConfiguration) {
return;
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(this, tc, "Processing config", cfwConfiguration);
}
... | java | @Modified
protected synchronized void modified(Map<String, Object> cfwConfiguration) {
if (null == cfwConfiguration) {
return;
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(this, tc, "Processing config", cfwConfiguration);
}
... | [
"@",
"Modified",
"protected",
"synchronized",
"void",
"modified",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"cfwConfiguration",
")",
"{",
"if",
"(",
"null",
"==",
"cfwConfiguration",
")",
"{",
"return",
";",
"}",
"if",
"(",
"TraceComponent",
".",
"isA... | Modified method. This method is called when the
service properties associated with the service are updated through a
configuration change.
@param cfwConfiguration
the configuration data | [
"Modified",
"method",
".",
"This",
"method",
"is",
"called",
"when",
"the",
"service",
"properties",
"associated",
"with",
"the",
"service",
"are",
"updated",
"through",
"a",
"configuration",
"change",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L173-L185 |
110,710 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.serverStopping | @Override
public void serverStopping() {
// If the system is configured to quiesce connections..
long timeout = chfw.getDefaultChainQuiesceTimeout();
if (timeout > 0) {
ChainData[] runningChains = chfw.getRunningChains();
// build list of chain names to pass to stop,... | java | @Override
public void serverStopping() {
// If the system is configured to quiesce connections..
long timeout = chfw.getDefaultChainQuiesceTimeout();
if (timeout > 0) {
ChainData[] runningChains = chfw.getRunningChains();
// build list of chain names to pass to stop,... | [
"@",
"Override",
"public",
"void",
"serverStopping",
"(",
")",
"{",
"// If the system is configured to quiesce connections..",
"long",
"timeout",
"=",
"chfw",
".",
"getDefaultChainQuiesceTimeout",
"(",
")",
";",
"if",
"(",
"timeout",
">",
"0",
")",
"{",
"ChainData",... | When notified that the server is going to stop, pre-quiesce all chains in the runtime.
This will be called before services start getting torn down..
@see com.ibm.wsspi.kernel.service.utils.ServerQuiesceListener#serverStopping() | [
"When",
"notified",
"that",
"the",
"server",
"is",
"going",
"to",
"stop",
"pre",
"-",
"quiesce",
"all",
"chains",
"in",
"the",
"runtime",
".",
"This",
"will",
"be",
"called",
"before",
"services",
"start",
"getting",
"torn",
"down",
".."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L202-L221 |
110,711 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.setEventService | @Reference(service = EventEngine.class,
cardinality = ReferenceCardinality.MANDATORY)
protected void setEventService(EventEngine service) {
this.eventService = service;
} | java | @Reference(service = EventEngine.class,
cardinality = ReferenceCardinality.MANDATORY)
protected void setEventService(EventEngine service) {
this.eventService = service;
} | [
"@",
"Reference",
"(",
"service",
"=",
"EventEngine",
".",
"class",
",",
"cardinality",
"=",
"ReferenceCardinality",
".",
"MANDATORY",
")",
"protected",
"void",
"setEventService",
"(",
"EventEngine",
"service",
")",
"{",
"this",
".",
"eventService",
"=",
"servic... | DS method for setting the event reference.
@param service | [
"DS",
"method",
"for",
"setting",
"the",
"event",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L318-L322 |
110,712 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.getScheduleService | public static ScheduledEventService getScheduleService() {
CHFWBundle c = instance.get().get();
if (null != c) {
return c.scheduler;
}
return null;
} | java | public static ScheduledEventService getScheduleService() {
CHFWBundle c = instance.get().get();
if (null != c) {
return c.scheduler;
}
return null;
} | [
"public",
"static",
"ScheduledEventService",
"getScheduleService",
"(",
")",
"{",
"CHFWBundle",
"c",
"=",
"instance",
".",
"get",
"(",
")",
".",
"get",
"(",
")",
";",
"if",
"(",
"null",
"!=",
"c",
")",
"{",
"return",
"c",
".",
"scheduler",
";",
"}",
... | Access the scheduled event service.
@return ScheduledEventService - null if not found | [
"Access",
"the",
"scheduled",
"event",
"service",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L371-L377 |
110,713 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.setScheduledExecutorService | @Reference(service = ScheduledExecutorService.class,
cardinality = ReferenceCardinality.MANDATORY)
protected void setScheduledExecutorService(ScheduledExecutorService ref) {
this.scheduledExecutor = ref;
} | java | @Reference(service = ScheduledExecutorService.class,
cardinality = ReferenceCardinality.MANDATORY)
protected void setScheduledExecutorService(ScheduledExecutorService ref) {
this.scheduledExecutor = ref;
} | [
"@",
"Reference",
"(",
"service",
"=",
"ScheduledExecutorService",
".",
"class",
",",
"cardinality",
"=",
"ReferenceCardinality",
".",
"MANDATORY",
")",
"protected",
"void",
"setScheduledExecutorService",
"(",
"ScheduledExecutorService",
"ref",
")",
"{",
"this",
".",
... | DS method for setting the scheduled executor service reference.
@param ref | [
"DS",
"method",
"for",
"setting",
"the",
"scheduled",
"executor",
"service",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L384-L388 |
110,714 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.getScheduledExecutorService | public static ScheduledExecutorService getScheduledExecutorService() {
CHFWBundle c = instance.get().get();
if (null != c) {
return c.scheduledExecutor;
}
return null;
} | java | public static ScheduledExecutorService getScheduledExecutorService() {
CHFWBundle c = instance.get().get();
if (null != c) {
return c.scheduledExecutor;
}
return null;
} | [
"public",
"static",
"ScheduledExecutorService",
"getScheduledExecutorService",
"(",
")",
"{",
"CHFWBundle",
"c",
"=",
"instance",
".",
"get",
"(",
")",
".",
"get",
"(",
")",
";",
"if",
"(",
"null",
"!=",
"c",
")",
"{",
"return",
"c",
".",
"scheduledExecuto... | Access the scheduled executor service.
@return ScheduledEventService - null if not found | [
"Access",
"the",
"scheduled",
"executor",
"service",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L403-L409 |
110,715 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.setScheduledEventService | @Reference(service = ScheduledEventService.class,
cardinality = ReferenceCardinality.MANDATORY)
protected void setScheduledEventService(ScheduledEventService ref) {
this.scheduler = ref;
} | java | @Reference(service = ScheduledEventService.class,
cardinality = ReferenceCardinality.MANDATORY)
protected void setScheduledEventService(ScheduledEventService ref) {
this.scheduler = ref;
} | [
"@",
"Reference",
"(",
"service",
"=",
"ScheduledEventService",
".",
"class",
",",
"cardinality",
"=",
"ReferenceCardinality",
".",
"MANDATORY",
")",
"protected",
"void",
"setScheduledEventService",
"(",
"ScheduledEventService",
"ref",
")",
"{",
"this",
".",
"schedu... | DS method for setting the scheduled event service reference.
@param ref | [
"DS",
"method",
"for",
"setting",
"the",
"scheduled",
"event",
"service",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L416-L420 |
110,716 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.setFactoryProvider | @Reference(service = ChannelFactoryProvider.class,
cardinality = ReferenceCardinality.MULTIPLE,
policy = ReferencePolicy.DYNAMIC,
policyOption = ReferencePolicyOption.GREEDY)
protected void setFactoryProvider(ChannelFactoryProvider provider) {
if (TraceComponent.... | java | @Reference(service = ChannelFactoryProvider.class,
cardinality = ReferenceCardinality.MULTIPLE,
policy = ReferencePolicy.DYNAMIC,
policyOption = ReferencePolicyOption.GREEDY)
protected void setFactoryProvider(ChannelFactoryProvider provider) {
if (TraceComponent.... | [
"@",
"Reference",
"(",
"service",
"=",
"ChannelFactoryProvider",
".",
"class",
",",
"cardinality",
"=",
"ReferenceCardinality",
".",
"MULTIPLE",
",",
"policy",
"=",
"ReferencePolicy",
".",
"DYNAMIC",
",",
"policyOption",
"=",
"ReferencePolicyOption",
".",
"GREEDY",
... | DS method to set a factory provider.
@param provider | [
"DS",
"method",
"to",
"set",
"a",
"factory",
"provider",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L435-L445 |
110,717 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java | CHFWBundle.unsetFactoryProvider | protected void unsetFactoryProvider(ChannelFactoryProvider provider) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "Remove factory provider; " + provider);
}
this.chfw.deregisterFactories(provider);
} | java | protected void unsetFactoryProvider(ChannelFactoryProvider provider) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "Remove factory provider; " + provider);
}
this.chfw.deregisterFactories(provider);
} | [
"protected",
"void",
"unsetFactoryProvider",
"(",
"ChannelFactoryProvider",
"provider",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"this",
",",
... | DS method to remove a factory provider.
@param provider | [
"DS",
"method",
"to",
"remove",
"a",
"factory",
"provider",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/osgi/CHFWBundle.java#L452-L458 |
110,718 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/util/BatchWorkUnit.java | BatchWorkUnit.threadBegin | protected void threadBegin() {
//
// Note the 'beforeCallbacks' list is not going to have a well-defined order, so it is of limited use.
// We probably want to revisit this with some kind of priority/order based on ranking to make
// it more useful.
//
// At the moment we... | java | protected void threadBegin() {
//
// Note the 'beforeCallbacks' list is not going to have a well-defined order, so it is of limited use.
// We probably want to revisit this with some kind of priority/order based on ranking to make
// it more useful.
//
// At the moment we... | [
"protected",
"void",
"threadBegin",
"(",
")",
"{",
"//",
"// Note the 'beforeCallbacks' list is not going to have a well-defined order, so it is of limited use.",
"// We probably want to revisit this with some kind of priority/order based on ranking to make",
"// it more useful.",
"//",
"// At... | All the beginning of thread processing.
Note we are going to fail fast out of here and fail the execution upon experiencing any exception. | [
"All",
"the",
"beginning",
"of",
"thread",
"processing",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/util/BatchWorkUnit.java#L171-L197 |
110,719 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/util/BatchWorkUnit.java | BatchWorkUnit.threadEnd | protected void threadEnd() {
//
// Note the 'afterCallbacks' list is not going to have a well-defined order, so it is of limited use.
// We probably want to revisit this with some kind of priority/order based on ranking to make
// it more useful.
//
// At the moment we tr... | java | protected void threadEnd() {
//
// Note the 'afterCallbacks' list is not going to have a well-defined order, so it is of limited use.
// We probably want to revisit this with some kind of priority/order based on ranking to make
// it more useful.
//
// At the moment we tr... | [
"protected",
"void",
"threadEnd",
"(",
")",
"{",
"//",
"// Note the 'afterCallbacks' list is not going to have a well-defined order, so it is of limited use.",
"// We probably want to revisit this with some kind of priority/order based on ranking to make",
"// it more useful.",
"//",
"// At th... | All the end of thread processing.
Note we are going to try to catch and eat any exceptions thrown within this method.
We really want to give as much chance as possible for each piece of cleanup to complete. | [
"All",
"the",
"end",
"of",
"thread",
"processing",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/util/BatchWorkUnit.java#L205-L239 |
110,720 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.initializeTimeout | public void initializeTimeout(TimeoutElement elt) {
if (elt == null) {
elt = new TimeoutElement(beanId, getSessionTimeoutInMilliSeconds());
}
ivTimeoutElement = elt;
} | java | public void initializeTimeout(TimeoutElement elt) {
if (elt == null) {
elt = new TimeoutElement(beanId, getSessionTimeoutInMilliSeconds());
}
ivTimeoutElement = elt;
} | [
"public",
"void",
"initializeTimeout",
"(",
"TimeoutElement",
"elt",
")",
"{",
"if",
"(",
"elt",
"==",
"null",
")",
"{",
"elt",
"=",
"new",
"TimeoutElement",
"(",
"beanId",
",",
"getSessionTimeoutInMilliSeconds",
"(",
")",
")",
";",
"}",
"ivTimeoutElement",
... | F61004.5 | [
"F61004",
".",
"5"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L363-L368 |
110,721 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.setInterceptors | public void setInterceptors(Object[] interceptors) // F87720
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.debug(tc, "setInterceptors interceptors = " + interceptors + ", for SFSB: " + this);
}
ivInterceptors = interceptors;
} | java | public void setInterceptors(Object[] interceptors) // F87720
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.debug(tc, "setInterceptors interceptors = " + interceptors + ", for SFSB: " + this);
}
ivInterceptors = interceptors;
} | [
"public",
"void",
"setInterceptors",
"(",
"Object",
"[",
"]",
"interceptors",
")",
"// F87720",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
... | d367572.7 - added entire method. | [
"d367572",
".",
"7",
"-",
"added",
"entire",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L643-L649 |
110,722 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.completeRemoveMethod | protected void completeRemoveMethod(ContainerTx tx) // d647928
throws RemoteException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "completeRemoveMethod: " + this);
long pmiCookie = 0;
... | java | protected void completeRemoveMethod(ContainerTx tx) // d647928
throws RemoteException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "completeRemoveMethod: " + this);
long pmiCookie = 0;
... | [
"protected",
"void",
"completeRemoveMethod",
"(",
"ContainerTx",
"tx",
")",
"// d647928",
"throws",
"RemoteException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
... | Completes the removal of the bean after a Remove method has been called. | [
"Completes",
"the",
"removal",
"of",
"the",
"bean",
"after",
"a",
"Remove",
"method",
"has",
"been",
"called",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1126-L1164 |
110,723 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.isLifecycleCallbackGlobalTx | private boolean isLifecycleCallbackGlobalTx(int methodId) {
EJBMethodInfoImpl[] methodInfos = home.beanMetaData.lifecycleInterceptorMethodInfos;
return methodInfos != null &&
methodInfos[methodId].getTransactionAttribute() == TransactionAttribute.TX_REQUIRES_NEW;
} | java | private boolean isLifecycleCallbackGlobalTx(int methodId) {
EJBMethodInfoImpl[] methodInfos = home.beanMetaData.lifecycleInterceptorMethodInfos;
return methodInfos != null &&
methodInfos[methodId].getTransactionAttribute() == TransactionAttribute.TX_REQUIRES_NEW;
} | [
"private",
"boolean",
"isLifecycleCallbackGlobalTx",
"(",
"int",
"methodId",
")",
"{",
"EJBMethodInfoImpl",
"[",
"]",
"methodInfos",
"=",
"home",
".",
"beanMetaData",
".",
"lifecycleInterceptorMethodInfos",
";",
"return",
"methodInfos",
"!=",
"null",
"&&",
"methodInfo... | Returns true if the specific lifecycle callback should run with a global
transaction.
@param methodId a method id from {@link LifecycleInterceptorWrapper} | [
"Returns",
"true",
"if",
"the",
"specific",
"lifecycle",
"callback",
"should",
"run",
"with",
"a",
"global",
"transaction",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1401-L1405 |
110,724 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.beginLifecycleCallback | protected void beginLifecycleCallback(int methodId,
CallbackContextHelper contextHelper,
CallbackContextHelper.Contexts pushContexts) throws CSIException {
CallbackContextHelper.Tx beginTx = isLifecycleCallbackGlobalTx(methodId)... | java | protected void beginLifecycleCallback(int methodId,
CallbackContextHelper contextHelper,
CallbackContextHelper.Contexts pushContexts) throws CSIException {
CallbackContextHelper.Tx beginTx = isLifecycleCallbackGlobalTx(methodId)... | [
"protected",
"void",
"beginLifecycleCallback",
"(",
"int",
"methodId",
",",
"CallbackContextHelper",
"contextHelper",
",",
"CallbackContextHelper",
".",
"Contexts",
"pushContexts",
")",
"throws",
"CSIException",
"{",
"CallbackContextHelper",
".",
"Tx",
"beginTx",
"=",
"... | Begin contexts for a lifecycle callback.
@param methodId a method from {@link LifecycleInterceptorWrapper}
@param contextHelper the context helper
@param pushContexts the contexts to push | [
"Begin",
"contexts",
"for",
"a",
"lifecycle",
"callback",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1414-L1419 |
110,725 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.isRollbackOnlyAllowed | private boolean isRollbackOnlyAllowed() {
switch (state) {
case PRE_CREATE:
case AFTER_COMPLETION:
return false;
case CREATING:
return isLifecycleCallbackGlobalTx(LifecycleInterceptorWrapper.MID_POST_CONSTRUCT);
case ACTIVATING:
... | java | private boolean isRollbackOnlyAllowed() {
switch (state) {
case PRE_CREATE:
case AFTER_COMPLETION:
return false;
case CREATING:
return isLifecycleCallbackGlobalTx(LifecycleInterceptorWrapper.MID_POST_CONSTRUCT);
case ACTIVATING:
... | [
"private",
"boolean",
"isRollbackOnlyAllowed",
"(",
")",
"{",
"switch",
"(",
"state",
")",
"{",
"case",
"PRE_CREATE",
":",
"case",
"AFTER_COMPLETION",
":",
"return",
"false",
";",
"case",
"CREATING",
":",
"return",
"isLifecycleCallbackGlobalTx",
"(",
"LifecycleInt... | Returns true if rollback only methods can be called in the current state. | [
"Returns",
"true",
"if",
"rollback",
"only",
"methods",
"can",
"be",
"called",
"in",
"the",
"current",
"state",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1424-L1447 |
110,726 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.setRollbackOnly | @Override
public void setRollbackOnly() {
synchronized (this) {
// The EJB Specification does not allow this operation from any
// of the following states.
if (!isRollbackOnlyAllowed()) // d159152
{
IllegalStateException ise;
i... | java | @Override
public void setRollbackOnly() {
synchronized (this) {
// The EJB Specification does not allow this operation from any
// of the following states.
if (!isRollbackOnlyAllowed()) // d159152
{
IllegalStateException ise;
i... | [
"@",
"Override",
"public",
"void",
"setRollbackOnly",
"(",
")",
"{",
"synchronized",
"(",
"this",
")",
"{",
"// The EJB Specification does not allow this operation from any",
"// of the following states.",
"if",
"(",
"!",
"isRollbackOnlyAllowed",
"(",
")",
")",
"// d15915... | setRollbackOnly - It is illegal to call this method during
ejbCreate, ejbActivate, ejbPassivate, ejbRemove and also if the
method being invoked has one of notsupported, supports or never
as its transaction attribute | [
"setRollbackOnly",
"-",
"It",
"is",
"illegal",
"to",
"call",
"this",
"method",
"during",
"ejbCreate",
"ejbActivate",
"ejbPassivate",
"ejbRemove",
"and",
"also",
"if",
"the",
"method",
"being",
"invoked",
"has",
"one",
"of",
"notsupported",
"supports",
"or",
"nev... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1455-L1475 |
110,727 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.updateFailoverEntry | public void updateFailoverEntry(byte[] beanData, long lastAccessTime) throws RemoteException //LIDB2018
{
try {
// Note, updating failover entry for a SFSB only occurs when
// the bean is passivated. Therefore, the updateEntry
// method implicitly sets the passivated fla... | java | public void updateFailoverEntry(byte[] beanData, long lastAccessTime) throws RemoteException //LIDB2018
{
try {
// Note, updating failover entry for a SFSB only occurs when
// the bean is passivated. Therefore, the updateEntry
// method implicitly sets the passivated fla... | [
"public",
"void",
"updateFailoverEntry",
"(",
"byte",
"[",
"]",
"beanData",
",",
"long",
"lastAccessTime",
")",
"throws",
"RemoteException",
"//LIDB2018",
"{",
"try",
"{",
"// Note, updating failover entry for a SFSB only occurs when",
"// the bean is passivated. Therefore, th... | Update failover entry for this SFSB with the replicated data for this SFSB
and indicate SFSB status is passivated.
@param beanData is the replicated data for this SFSB.
@param lastAccessTime is the last access time for this SFSB. | [
"Update",
"failover",
"entry",
"for",
"this",
"SFSB",
"with",
"the",
"replicated",
"data",
"for",
"this",
"SFSB",
"and",
"indicate",
"SFSB",
"status",
"is",
"passivated",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1718-L1729 |
110,728 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.updateFailoverSetActiveProp | public void updateFailoverSetActiveProp() {
try {
if (ivSfFailoverClient != null) {
ivSfFailoverClient.activated(beanId, ivTimeoutElement.lastAccessTime); //d204278.2, F61004.5
}
} catch (Throwable e) {
FFDCFilter.processException(e, CLASS_NAME + ".upd... | java | public void updateFailoverSetActiveProp() {
try {
if (ivSfFailoverClient != null) {
ivSfFailoverClient.activated(beanId, ivTimeoutElement.lastAccessTime); //d204278.2, F61004.5
}
} catch (Throwable e) {
FFDCFilter.processException(e, CLASS_NAME + ".upd... | [
"public",
"void",
"updateFailoverSetActiveProp",
"(",
")",
"{",
"try",
"{",
"if",
"(",
"ivSfFailoverClient",
"!=",
"null",
")",
"{",
"ivSfFailoverClient",
".",
"activated",
"(",
"beanId",
",",
"ivTimeoutElement",
".",
"lastAccessTime",
")",
";",
"//d204278.2, F610... | Update the failover entry to indicate the SFSB is now active. | [
"Update",
"the",
"failover",
"entry",
"to",
"indicate",
"the",
"SFSB",
"is",
"now",
"active",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1734-L1742 |
110,729 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java | StatefulBeanO.setJPAExPcBindingContext | public void setJPAExPcBindingContext(Object exPc) //d468174
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.debug(tc, "setJPAExPcBindingContext: " + exPc);
ivExPcContext = exPc;
} | java | public void setJPAExPcBindingContext(Object exPc) //d468174
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.debug(tc, "setJPAExPcBindingContext: " + exPc);
ivExPcContext = exPc;
} | [
"public",
"void",
"setJPAExPcBindingContext",
"(",
"Object",
"exPc",
")",
"//d468174",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setJPAExPc... | Set the JPAExPcBindingContext for this SFSB. Typically used by
the StatefulPassivator class when it activates a previously passivated SFSB. | [
"Set",
"the",
"JPAExPcBindingContext",
"for",
"this",
"SFSB",
".",
"Typically",
"used",
"by",
"the",
"StatefulPassivator",
"class",
"when",
"it",
"activates",
"a",
"previously",
"passivated",
"SFSB",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanO.java#L1760-L1766 |
110,730 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaSingleMessageDeletionDispatcher.java | SibRaSingleMessageDeletionDispatcher.afterDelivery | protected void afterDelivery(final SIBusMessage message, MessageEndpoint endpoint,
final boolean success) throws ResourceException {
final String methodName = "afterDelivery";
if (TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, new Object[] { message,
... | java | protected void afterDelivery(final SIBusMessage message, MessageEndpoint endpoint,
final boolean success) throws ResourceException {
final String methodName = "afterDelivery";
if (TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, new Object[] { message,
... | [
"protected",
"void",
"afterDelivery",
"(",
"final",
"SIBusMessage",
"message",
",",
"MessageEndpoint",
"endpoint",
",",
"final",
"boolean",
"success",
")",
"throws",
"ResourceException",
"{",
"final",
"String",
"methodName",
"=",
"\"afterDelivery\"",
";",
"if",
"(",... | Invoked after delivery of a message. If the message delivery was
successful, deletes the message.
@param message
the message that was delivered
@param success
flag indicating whether delivery was successful
@throws ResourceException
if after delivery failed | [
"Invoked",
"after",
"delivery",
"of",
"a",
"message",
".",
"If",
"the",
"message",
"delivery",
"was",
"successful",
"deletes",
"the",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaSingleMessageDeletionDispatcher.java#L81-L102 |
110,731 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java | SecurityServletConfiguratorHelper.configureSecurity | private void configureSecurity(List<com.ibm.ws.javaee.dd.web.common.SecurityConstraint> securityConstraints,
LoginConfig loginConfig,
List<SecurityRole> securityRoles,
List<ServletMapping> servletMappings,
... | java | private void configureSecurity(List<com.ibm.ws.javaee.dd.web.common.SecurityConstraint> securityConstraints,
LoginConfig loginConfig,
List<SecurityRole> securityRoles,
List<ServletMapping> servletMappings,
... | [
"private",
"void",
"configureSecurity",
"(",
"List",
"<",
"com",
".",
"ibm",
".",
"ws",
".",
"javaee",
".",
"dd",
".",
"web",
".",
"common",
".",
"SecurityConstraint",
">",
"securityConstraints",
",",
"LoginConfig",
"loginConfig",
",",
"List",
"<",
"Security... | Configure the security metadata from the given information.
@param securityConstraints a list of security constraints
@param loginConfig the login configuration
@param securityRoles a list of security roles
@param servletMappings a list of servlet mappings | [
"Configure",
"the",
"security",
"metadata",
"from",
"the",
"given",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java#L250-L263 |
110,732 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java | SecurityServletConfiguratorHelper.processSecurityRoles | private void processSecurityRoles(WebAnnotations webAnnotations, Set<String> classesWithSecurityRoles,
Class<? extends Annotation> securityAnnotation, boolean annotationForClass) throws UnableToAdaptException {
for (String classWithSecurityRole : classesWithSecurityRoles) {... | java | private void processSecurityRoles(WebAnnotations webAnnotations, Set<String> classesWithSecurityRoles,
Class<? extends Annotation> securityAnnotation, boolean annotationForClass) throws UnableToAdaptException {
for (String classWithSecurityRole : classesWithSecurityRoles) {... | [
"private",
"void",
"processSecurityRoles",
"(",
"WebAnnotations",
"webAnnotations",
",",
"Set",
"<",
"String",
">",
"classesWithSecurityRoles",
",",
"Class",
"<",
"?",
"extends",
"Annotation",
">",
"securityAnnotation",
",",
"boolean",
"annotationForClass",
")",
"thro... | Create a list of roles that represent the security annotation
@param webAnnotations the main link for web module annotation related services
@param securityRoles a list of classes containing the security annotation
@param securityAnnotation the security annotation such as @DeclareRoles or @RolesAllowed | [
"Create",
"a",
"list",
"of",
"roles",
"that",
"represent",
"the",
"security",
"annotation"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java#L387-L410 |
110,733 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java | SecurityServletConfiguratorHelper.processEnvEntries | private void processEnvEntries(List<EnvEntry> envEntries) {
if (envEntries != null) {
for (EnvEntry envEntry : envEntries) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "processing envEntry", envEntry.getName(), envEntry.getValu... | java | private void processEnvEntries(List<EnvEntry> envEntries) {
if (envEntries != null) {
for (EnvEntry envEntry : envEntries) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "processing envEntry", envEntry.getName(), envEntry.getValu... | [
"private",
"void",
"processEnvEntries",
"(",
"List",
"<",
"EnvEntry",
">",
"envEntries",
")",
"{",
"if",
"(",
"envEntries",
"!=",
"null",
")",
"{",
"for",
"(",
"EnvEntry",
"envEntry",
":",
"envEntries",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTra... | Process the env-entry's from the application's deployment descriptor. | [
"Process",
"the",
"env",
"-",
"entry",
"s",
"from",
"the",
"application",
"s",
"deployment",
"descriptor",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java#L452-L463 |
110,734 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java | SecurityServletConfiguratorHelper.processSecurityRoleRefs | private void processSecurityRoleRefs(String servletName, List<SecurityRoleRef> servletSecurityRoleRefs) {
Map<String, String> securityRoleRefs = new HashMap<String, String>();
securityRoleRefsByServlet.put(servletName, securityRoleRefs);
for (SecurityRoleRef secRoleRef : servletSecurityRoleRefs... | java | private void processSecurityRoleRefs(String servletName, List<SecurityRoleRef> servletSecurityRoleRefs) {
Map<String, String> securityRoleRefs = new HashMap<String, String>();
securityRoleRefsByServlet.put(servletName, securityRoleRefs);
for (SecurityRoleRef secRoleRef : servletSecurityRoleRefs... | [
"private",
"void",
"processSecurityRoleRefs",
"(",
"String",
"servletName",
",",
"List",
"<",
"SecurityRoleRef",
">",
"servletSecurityRoleRefs",
")",
"{",
"Map",
"<",
"String",
",",
"String",
">",
"securityRoleRefs",
"=",
"new",
"HashMap",
"<",
"String",
",",
"S... | Creates a map of security-role-ref elements to servlet name.
@param servletName the name of the servlet
@param servletSecurityRoleRefs a list of security-role-ref elements in the given servlet | [
"Creates",
"a",
"map",
"of",
"security",
"-",
"role",
"-",
"ref",
"elements",
"to",
"servlet",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java#L471-L487 |
110,735 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java | SecurityServletConfiguratorHelper.createSecurityConstraint | private SecurityConstraint createSecurityConstraint(com.ibm.ws.javaee.dd.web.common.SecurityConstraint archiveConstraint, boolean denyUncoveredHttpMethods) {
List<WebResourceCollection> webResourceCollections = createWebResourceCollections(archiveConstraint, denyUncoveredHttpMethods);
List<String> roles... | java | private SecurityConstraint createSecurityConstraint(com.ibm.ws.javaee.dd.web.common.SecurityConstraint archiveConstraint, boolean denyUncoveredHttpMethods) {
List<WebResourceCollection> webResourceCollections = createWebResourceCollections(archiveConstraint, denyUncoveredHttpMethods);
List<String> roles... | [
"private",
"SecurityConstraint",
"createSecurityConstraint",
"(",
"com",
".",
"ibm",
".",
"ws",
".",
"javaee",
".",
"dd",
".",
"web",
".",
"common",
".",
"SecurityConstraint",
"archiveConstraint",
",",
"boolean",
"denyUncoveredHttpMethods",
")",
"{",
"List",
"<",
... | Creates a SecurityConstraint object that represents a security-constraint element in web.xml.
@param archiveConstraint the security-constraint
@return the security code's representation of a security constraint | [
"Creates",
"a",
"SecurityConstraint",
"object",
"that",
"represents",
"a",
"security",
"-",
"constraint",
"element",
"in",
"web",
".",
"xml",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java#L523-L531 |
110,736 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java | SecurityServletConfiguratorHelper.isSSLRequired | private boolean isSSLRequired(com.ibm.ws.javaee.dd.web.common.SecurityConstraint archiveConstraint) {
boolean sslRequired = false;
UserDataConstraint dataConstraint = archiveConstraint.getUserDataConstraint();
if (dataConstraint != null) {
int transportGuarantee = dataConstraint.get... | java | private boolean isSSLRequired(com.ibm.ws.javaee.dd.web.common.SecurityConstraint archiveConstraint) {
boolean sslRequired = false;
UserDataConstraint dataConstraint = archiveConstraint.getUserDataConstraint();
if (dataConstraint != null) {
int transportGuarantee = dataConstraint.get... | [
"private",
"boolean",
"isSSLRequired",
"(",
"com",
".",
"ibm",
".",
"ws",
".",
"javaee",
".",
"dd",
".",
"web",
".",
"common",
".",
"SecurityConstraint",
"archiveConstraint",
")",
"{",
"boolean",
"sslRequired",
"=",
"false",
";",
"UserDataConstraint",
"dataCon... | Determines if SSL is required. SSL is required if the transport guarantee is other than NONE.
Note that only one user-data-constraint element can be present per security-constraint. Only the first occurrence is processed.
If multiple web fragments specify this element with different values and it's absent from the web.... | [
"Determines",
"if",
"SSL",
"is",
"required",
".",
"SSL",
"is",
"required",
"if",
"the",
"transport",
"guarantee",
"is",
"other",
"than",
"NONE",
".",
"Note",
"that",
"only",
"one",
"user",
"-",
"data",
"-",
"constraint",
"element",
"can",
"be",
"present",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/SecurityServletConfiguratorHelper.java#L594-L619 |
110,737 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/ComponentNameSpaceConfiguration.java | ComponentNameSpaceConfiguration.getLogicalModuleName | public static String getLogicalModuleName(String path) // F743-23167
{
int lastForwardSlash = path.lastIndexOf('/');
if (lastForwardSlash != -1)
{
path = path.substring(lastForwardSlash + 1);
}
int lastDot = path.lastIndexOf('.');
if (lastDot != -1)
... | java | public static String getLogicalModuleName(String path) // F743-23167
{
int lastForwardSlash = path.lastIndexOf('/');
if (lastForwardSlash != -1)
{
path = path.substring(lastForwardSlash + 1);
}
int lastDot = path.lastIndexOf('.');
if (lastDot != -1)
... | [
"public",
"static",
"String",
"getLogicalModuleName",
"(",
"String",
"path",
")",
"// F743-23167",
"{",
"int",
"lastForwardSlash",
"=",
"path",
".",
"lastIndexOf",
"(",
"'",
"'",
")",
";",
"if",
"(",
"lastForwardSlash",
"!=",
"-",
"1",
")",
"{",
"path",
"=... | Parses the logical module name from a module path. The module path is a
relative path name using forward slashes. The logical module name is the
base name of the module name with the suffix removed.
@param path the module path
@return the logical module name of the module name | [
"Parses",
"the",
"logical",
"module",
"name",
"from",
"a",
"module",
"path",
".",
"The",
"module",
"path",
"is",
"a",
"relative",
"path",
"name",
"using",
"forward",
"slashes",
".",
"The",
"logical",
"module",
"name",
"is",
"the",
"base",
"name",
"of",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/ComponentNameSpaceConfiguration.java#L310-L325 |
110,738 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/ComponentNameSpaceConfiguration.java | ComponentNameSpaceConfiguration.getNameSpaceID | private String getNameSpaceID(Context javaColonContext)
{
String nsID = null;
String context = javaColonContext != null ? javaColonContext.toString() : null;
if (context != null)
{
nsID = "UNKNOWN";
int idx = context.indexOf("_nameSpaceID=");
if (... | java | private String getNameSpaceID(Context javaColonContext)
{
String nsID = null;
String context = javaColonContext != null ? javaColonContext.toString() : null;
if (context != null)
{
nsID = "UNKNOWN";
int idx = context.indexOf("_nameSpaceID=");
if (... | [
"private",
"String",
"getNameSpaceID",
"(",
"Context",
"javaColonContext",
")",
"{",
"String",
"nsID",
"=",
"null",
";",
"String",
"context",
"=",
"javaColonContext",
"!=",
"null",
"?",
"javaColonContext",
".",
"toString",
"(",
")",
":",
"null",
";",
"if",
"... | F46994.3 | [
"F46994",
".",
"3"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/ComponentNameSpaceConfiguration.java#L1367-L1387 |
110,739 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.getMessageFromProxy | private Message getMessageFromProxy(Message msg) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getMessageFromProxy", msg);
try {
if (msg instanceof Proxy) {
//check whether proxy is type of our InvocationHanlder.
... | java | private Message getMessageFromProxy(Message msg) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getMessageFromProxy", msg);
try {
if (msg instanceof Proxy) {
//check whether proxy is type of our InvocationHanlder.
... | [
"private",
"Message",
"getMessageFromProxy",
"(",
"Message",
"msg",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getMes... | returns the actual message implementation object if msg is
Proxy ... this method ignores any message is owned by other than SIB. | [
"returns",
"the",
"actual",
"message",
"implementation",
"object",
"if",
"msg",
"is",
"Proxy",
"...",
"this",
"method",
"ignores",
"any",
"message",
"is",
"owned",
"by",
"other",
"than",
"SIB",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L676-L704 |
110,740 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.sendUsingConnection | private void sendUsingConnection(Destination destination, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "sendUsingConnection", new Object[] { destination, message, deliver... | java | private void sendUsingConnection(Destination destination, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "sendUsingConnection", new Object[] { destination, message, deliver... | [
"private",
"void",
"sendUsingConnection",
"(",
"Destination",
"destination",
",",
"Message",
"message",
",",
"int",
"deliveryMode",
",",
"int",
"priority",
",",
"long",
"timeToLive",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTraci... | This method is internal method which would send message to ME on top
of connection. This is called from Sync send and Async Send. In case of Sync send
it would have guarded with monitor sessionSyncLock.
@param destination
@param message
@param deliveryMode
@param priority
@param timeToLive
@throws JMSException | [
"This",
"method",
"is",
"internal",
"method",
"which",
"would",
"send",
"message",
"to",
"ME",
"on",
"top",
"of",
"connection",
".",
"This",
"is",
"called",
"from",
"Sync",
"send",
"and",
"Async",
"Send",
".",
"In",
"case",
"of",
"Sync",
"send",
"it",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L939-L972 |
110,741 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validateDestination | private JmsDestinationImpl validateDestination(Destination destination) throws JMSException {
// if this is an identified producer, throw an
// UnsupportedOperationException as this is an unidentified producer
// method.
if (this.dest != null) {
if (destination == null) {
... | java | private JmsDestinationImpl validateDestination(Destination destination) throws JMSException {
// if this is an identified producer, throw an
// UnsupportedOperationException as this is an unidentified producer
// method.
if (this.dest != null) {
if (destination == null) {
... | [
"private",
"JmsDestinationImpl",
"validateDestination",
"(",
"Destination",
"destination",
")",
"throws",
"JMSException",
"{",
"// if this is an identified producer, throw an",
"// UnsupportedOperationException as this is an unidentified producer",
"// method.",
"if",
"(",
"this",
".... | This method validates destination and returns native destination if validation is proper
@param destination
@return
@throws JMSException | [
"This",
"method",
"validates",
"destination",
"and",
"returns",
"native",
"destination",
"if",
"validation",
"is",
"proper"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L981-L1016 |
110,742 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validateDeliveryMode | private void validateDeliveryMode(int deliveryMode) throws JMSException {
switch (deliveryMode) {
case DeliveryMode.NON_PERSISTENT:
case DeliveryMode.PERSISTENT:
// OK - no problems.
break;
default:
throw (JMSException) JmsError... | java | private void validateDeliveryMode(int deliveryMode) throws JMSException {
switch (deliveryMode) {
case DeliveryMode.NON_PERSISTENT:
case DeliveryMode.PERSISTENT:
// OK - no problems.
break;
default:
throw (JMSException) JmsError... | [
"private",
"void",
"validateDeliveryMode",
"(",
"int",
"deliveryMode",
")",
"throws",
"JMSException",
"{",
"switch",
"(",
"deliveryMode",
")",
"{",
"case",
"DeliveryMode",
".",
"NON_PERSISTENT",
":",
"case",
"DeliveryMode",
".",
"PERSISTENT",
":",
"// OK - no proble... | Validates the deliveryMode property, throwing an exception if there is a problem. | [
"Validates",
"the",
"deliveryMode",
"property",
"throwing",
"an",
"exception",
"if",
"there",
"is",
"a",
"problem",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L1721-L1735 |
110,743 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validatePriority | private void validatePriority(int x) throws JMSException {
// Priority must be in the range 0-9
if ((x < 0) || (x > 9)) {
throw (JMSException) JmsErrorUtils.newThrowable(
JMSException.class,
... | java | private void validatePriority(int x) throws JMSException {
// Priority must be in the range 0-9
if ((x < 0) || (x > 9)) {
throw (JMSException) JmsErrorUtils.newThrowable(
JMSException.class,
... | [
"private",
"void",
"validatePriority",
"(",
"int",
"x",
")",
"throws",
"JMSException",
"{",
"// Priority must be in the range 0-9",
"if",
"(",
"(",
"x",
"<",
"0",
")",
"||",
"(",
"x",
">",
"9",
")",
")",
"{",
"throw",
"(",
"JMSException",
")",
"JmsErrorUti... | This method carries out validation on the priority field.
@param x | [
"This",
"method",
"carries",
"out",
"validation",
"on",
"the",
"priority",
"field",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L1742-L1752 |
110,744 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validateTimeToLive | private void validateTimeToLive(long timeToLive) throws JMSException {
if ((timeToLive < 0) || (timeToLive > MfpConstants.MAX_TIME_TO_LIVE)) {
throw (JMSException) JmsErrorUtils.newThrowable(
JMSException.class,
... | java | private void validateTimeToLive(long timeToLive) throws JMSException {
if ((timeToLive < 0) || (timeToLive > MfpConstants.MAX_TIME_TO_LIVE)) {
throw (JMSException) JmsErrorUtils.newThrowable(
JMSException.class,
... | [
"private",
"void",
"validateTimeToLive",
"(",
"long",
"timeToLive",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"(",
"timeToLive",
"<",
"0",
")",
"||",
"(",
"timeToLive",
">",
"MfpConstants",
".",
"MAX_TIME_TO_LIVE",
")",
")",
"{",
"throw",
"(",
"JMSExcep... | Validates the timeToLive field and throws an exception if there is a problem.
@param timeToLive
@throws JMSException | [
"Validates",
"the",
"timeToLive",
"field",
"and",
"throws",
"an",
"exception",
"if",
"there",
"is",
"a",
"problem",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L1760-L1770 |
110,745 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validateDeliveryDelayTime | private void validateDeliveryDelayTime(long deliveryDelayTime) throws JMSException {
if ((deliveryDelayTime < 0) || (deliveryDelayTime > MfpConstants.MAX_DELIVERY_DELAY)) {
throw (JMSException) JmsErrorUtils.newThrowable(
JMSException.class... | java | private void validateDeliveryDelayTime(long deliveryDelayTime) throws JMSException {
if ((deliveryDelayTime < 0) || (deliveryDelayTime > MfpConstants.MAX_DELIVERY_DELAY)) {
throw (JMSException) JmsErrorUtils.newThrowable(
JMSException.class... | [
"private",
"void",
"validateDeliveryDelayTime",
"(",
"long",
"deliveryDelayTime",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"(",
"deliveryDelayTime",
"<",
"0",
")",
"||",
"(",
"deliveryDelayTime",
">",
"MfpConstants",
".",
"MAX_DELIVERY_DELAY",
")",
")",
"{",... | Validates the deliveryDelayTime field and throws an exception if there is a problem.
@param timeToLive
@throws JMSException | [
"Validates",
"the",
"deliveryDelayTime",
"field",
"and",
"throws",
"an",
"exception",
"if",
"there",
"is",
"a",
"problem",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L1778-L1788 |
110,746 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validateTTLAndDD | private void validateTTLAndDD(long timeToLive) throws JMSException {
// There is no point continuting when expiry/timetolive time is earlier than the deliveryDelay
if (getDeliveryDelay() > 0 && timeToLive > 0) {//only if its non default value
if (timeToLive <= getDeliveryDelay()) {
... | java | private void validateTTLAndDD(long timeToLive) throws JMSException {
// There is no point continuting when expiry/timetolive time is earlier than the deliveryDelay
if (getDeliveryDelay() > 0 && timeToLive > 0) {//only if its non default value
if (timeToLive <= getDeliveryDelay()) {
... | [
"private",
"void",
"validateTTLAndDD",
"(",
"long",
"timeToLive",
")",
"throws",
"JMSException",
"{",
"// There is no point continuting when expiry/timetolive time is earlier than the deliveryDelay",
"if",
"(",
"getDeliveryDelay",
"(",
")",
">",
"0",
"&&",
"timeToLive",
">",
... | Validates timetoLive and deliverydelay values.Throws exception if there is a problem
@param timeToLive
@throws JMSException | [
"Validates",
"timetoLive",
"and",
"deliverydelay",
"values",
".",
"Throws",
"exception",
"if",
"there",
"is",
"a",
"problem"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L1796-L1808 |
110,747 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validateCompletionListernerForNull | private void validateCompletionListernerForNull(CompletionListener cListener) throws IllegalArgumentException {
if (null == cListener) {
throw (IllegalArgumentException) JmsErrorUtils.newThrowable(
IllegalArgumentException.cla... | java | private void validateCompletionListernerForNull(CompletionListener cListener) throws IllegalArgumentException {
if (null == cListener) {
throw (IllegalArgumentException) JmsErrorUtils.newThrowable(
IllegalArgumentException.cla... | [
"private",
"void",
"validateCompletionListernerForNull",
"(",
"CompletionListener",
"cListener",
")",
"throws",
"IllegalArgumentException",
"{",
"if",
"(",
"null",
"==",
"cListener",
")",
"{",
"throw",
"(",
"IllegalArgumentException",
")",
"JmsErrorUtils",
".",
"newThro... | Validates if CompletionListener is NULL. If it is null throws IllegalArgumentException
@param cListener
@throws IllegalArgumentException | [
"Validates",
"if",
"CompletionListener",
"is",
"NULL",
".",
"If",
"it",
"is",
"null",
"throws",
"IllegalArgumentException"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L1890-L1903 |
110,748 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java | JmsMsgProducerImpl.validateMessageForNull | private void validateMessageForNull(Message msg) throws MessageFormatException {
// if the supplied message is null, throw a jms MessageFormatException.
if (msg == null) {
throw (MessageFormatException) JmsErrorUtils.newThrowable(
... | java | private void validateMessageForNull(Message msg) throws MessageFormatException {
// if the supplied message is null, throw a jms MessageFormatException.
if (msg == null) {
throw (MessageFormatException) JmsErrorUtils.newThrowable(
... | [
"private",
"void",
"validateMessageForNull",
"(",
"Message",
"msg",
")",
"throws",
"MessageFormatException",
"{",
"// if the supplied message is null, throw a jms MessageFormatException.",
"if",
"(",
"msg",
"==",
"null",
")",
"{",
"throw",
"(",
"MessageFormatException",
")"... | Validates if Message is NULL. If it is null throws MessageFormatException
@param cListener
@throws IllegalArgumentException | [
"Validates",
"if",
"Message",
"is",
"NULL",
".",
"If",
"it",
"is",
"null",
"throws",
"MessageFormatException"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgProducerImpl.java#L1912-L1922 |
110,749 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationGuard.java | AuthenticationGuard.requestAccess | public synchronized ReentrantLock requestAccess(AuthenticationData authenticationData) {
ReentrantLock currentLock = null;
currentLock = authenticationDataLocks.get(authenticationData);
if (currentLock == null) {
currentLock = new ReentrantLock();
authenticationDataLocks.... | java | public synchronized ReentrantLock requestAccess(AuthenticationData authenticationData) {
ReentrantLock currentLock = null;
currentLock = authenticationDataLocks.get(authenticationData);
if (currentLock == null) {
currentLock = new ReentrantLock();
authenticationDataLocks.... | [
"public",
"synchronized",
"ReentrantLock",
"requestAccess",
"(",
"AuthenticationData",
"authenticationData",
")",
"{",
"ReentrantLock",
"currentLock",
"=",
"null",
";",
"currentLock",
"=",
"authenticationDataLocks",
".",
"get",
"(",
"authenticationData",
")",
";",
"if",... | Obtains a reentrant lock for the given authentication data.
@param authenticationData
@return the reentrant lock assigned to the given authentication data. | [
"Obtains",
"a",
"reentrant",
"lock",
"for",
"the",
"given",
"authentication",
"data",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationGuard.java#L44-L55 |
110,750 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationGuard.java | AuthenticationGuard.relinquishAccess | public synchronized void relinquishAccess(AuthenticationData authenticationData, ReentrantLock currentLock) {
if (currentLock != null) {
ReentrantLock savedLock = authenticationDataLocks.get(authenticationData);
if (currentLock == savedLock) {
authenticationDataLocks.remo... | java | public synchronized void relinquishAccess(AuthenticationData authenticationData, ReentrantLock currentLock) {
if (currentLock != null) {
ReentrantLock savedLock = authenticationDataLocks.get(authenticationData);
if (currentLock == savedLock) {
authenticationDataLocks.remo... | [
"public",
"synchronized",
"void",
"relinquishAccess",
"(",
"AuthenticationData",
"authenticationData",
",",
"ReentrantLock",
"currentLock",
")",
"{",
"if",
"(",
"currentLock",
"!=",
"null",
")",
"{",
"ReentrantLock",
"savedLock",
"=",
"authenticationDataLocks",
".",
"... | Unlocks the lock and cleans up internal state.
@param authenticationData the authentication data.
@param currentLock the reentrant lock assigned to the given authentication data. | [
"Unlocks",
"the",
"lock",
"and",
"cleans",
"up",
"internal",
"state",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationGuard.java#L63-L74 |
110,751 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java | DataSourceService.destroyConnectionFactories | protected void destroyConnectionFactories(boolean destroyImmediately) {
final boolean trace = TraceComponent.isAnyTracingEnabled();
if (trace && tc.isEntryEnabled())
Tr.entry(this, tc, "destroyConnectionFactories", destroyImmediately, destroyWasDeferred);
// Notify the application r... | java | protected void destroyConnectionFactories(boolean destroyImmediately) {
final boolean trace = TraceComponent.isAnyTracingEnabled();
if (trace && tc.isEntryEnabled())
Tr.entry(this, tc, "destroyConnectionFactories", destroyImmediately, destroyWasDeferred);
// Notify the application r... | [
"protected",
"void",
"destroyConnectionFactories",
"(",
"boolean",
"destroyImmediately",
")",
"{",
"final",
"boolean",
"trace",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"trace",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")"... | Utility method to destroy WAS data source instances.
@param destroyImmediately indicates to immediately destroy instead of deferring to later. | [
"Utility",
"method",
"to",
"destroy",
"WAS",
"data",
"source",
"instances",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java#L300-L348 |
110,752 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java | DataSourceService.parseIsolationLevel | private static final void parseIsolationLevel(NavigableMap<String, Object> wProps, String vendorImplClassName) {
// Convert isolationLevel constant name to integer
Object isolationLevel = wProps.get(DataSourceDef.isolationLevel.name());
if (isolationLevel instanceof String) {
isolati... | java | private static final void parseIsolationLevel(NavigableMap<String, Object> wProps, String vendorImplClassName) {
// Convert isolationLevel constant name to integer
Object isolationLevel = wProps.get(DataSourceDef.isolationLevel.name());
if (isolationLevel instanceof String) {
isolati... | [
"private",
"static",
"final",
"void",
"parseIsolationLevel",
"(",
"NavigableMap",
"<",
"String",
",",
"Object",
">",
"wProps",
",",
"String",
"vendorImplClassName",
")",
"{",
"// Convert isolationLevel constant name to integer",
"Object",
"isolationLevel",
"=",
"wProps",
... | Utility method that converts transaction isolation level constant names
to the corresponding int value.
@param wProps WAS data source properties, including the configured isolationLevel property.
@param vendorImplClassName name of the vendor data source or driver implementation class.
@return Integer transaction isola... | [
"Utility",
"method",
"that",
"converts",
"transaction",
"isolation",
"level",
"constant",
"names",
"to",
"the",
"corresponding",
"int",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java#L871-L885 |
110,753 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java | DataSourceService.setJaasLoginContextEntry | protected void setJaasLoginContextEntry(ServiceReference<?> ref) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "setJaasLoginContextEntry", ref);
}
if (ref != null) {
jaasLoginContextEntryName = (String) ref.getProperty("name");
... | java | protected void setJaasLoginContextEntry(ServiceReference<?> ref) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "setJaasLoginContextEntry", ref);
}
if (ref != null) {
jaasLoginContextEntryName = (String) ref.getProperty("name");
... | [
"protected",
"void",
"setJaasLoginContextEntry",
"(",
"ServiceReference",
"<",
"?",
">",
"ref",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"th... | Declarative services method to set the JAASLoginContextEntry. | [
"Declarative",
"services",
"method",
"to",
"set",
"the",
"JAASLoginContextEntry",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java#L917-L925 |
110,754 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java | DataSourceService.unsetConnectionManager | protected void unsetConnectionManager(ServiceReference<ConnectionManagerService> ref) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "unsetConnectionManager", ref);
} | java | protected void unsetConnectionManager(ServiceReference<ConnectionManagerService> ref) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "unsetConnectionManager", ref);
} | [
"protected",
"void",
"unsetConnectionManager",
"(",
"ServiceReference",
"<",
"ConnectionManagerService",
">",
"ref",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug"... | Declarative Services method for unsetting the connection manager service reference
@param ref reference to the service | [
"Declarative",
"Services",
"method",
"for",
"unsetting",
"the",
"connection",
"manager",
"service",
"reference"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java#L994-L997 |
110,755 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java | DataSourceService.unsetDriver | protected void unsetDriver(ServiceReference<JDBCDriverService> ref) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "unsetDriver", ref);
} | java | protected void unsetDriver(ServiceReference<JDBCDriverService> ref) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "unsetDriver", ref);
} | [
"protected",
"void",
"unsetDriver",
"(",
"ServiceReference",
"<",
"JDBCDriverService",
">",
"ref",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"this",... | Declarative Services method for unsetting the JDBC driver service reference
@param ref reference to the service | [
"Declarative",
"Services",
"method",
"for",
"unsetting",
"the",
"JDBC",
"driver",
"service",
"reference"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java#L1011-L1014 |
110,756 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java | DataSourceService.unsetJaasLoginContextEntry | protected void unsetJaasLoginContextEntry(ServiceReference<com.ibm.ws.security.jaas.common.JAASLoginContextEntry> svc) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "unsetJaasLoginContextEntry", svc);
}
jaasLoginContextEntryName = null;
} | java | protected void unsetJaasLoginContextEntry(ServiceReference<com.ibm.ws.security.jaas.common.JAASLoginContextEntry> svc) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "unsetJaasLoginContextEntry", svc);
}
jaasLoginContextEntryName = null;
} | [
"protected",
"void",
"unsetJaasLoginContextEntry",
"(",
"ServiceReference",
"<",
"com",
".",
"ibm",
".",
"ws",
".",
"security",
".",
"jaas",
".",
"common",
".",
"JAASLoginContextEntry",
">",
"svc",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled... | Declarative services method to unset the JAASLoginContextEntry. | [
"Declarative",
"services",
"method",
"to",
"unset",
"the",
"JAASLoginContextEntry",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/jdbc/DataSourceService.java#L1019-L1024 |
110,757 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java | AnnotationTargetsImpl_Targets.recordUnresolvedClass | protected void recordUnresolvedClass(String classOrPackageName) {
if (!AnnotationTargetsVisitor.isPackageName(classOrPackageName)) {
String i_className = internClassName(classOrPackageName);
// Make sure to not double record the class:
// A failure occur *after* recording th... | java | protected void recordUnresolvedClass(String classOrPackageName) {
if (!AnnotationTargetsVisitor.isPackageName(classOrPackageName)) {
String i_className = internClassName(classOrPackageName);
// Make sure to not double record the class:
// A failure occur *after* recording th... | [
"protected",
"void",
"recordUnresolvedClass",
"(",
"String",
"classOrPackageName",
")",
"{",
"if",
"(",
"!",
"AnnotationTargetsVisitor",
".",
"isPackageName",
"(",
"classOrPackageName",
")",
")",
"{",
"String",
"i_className",
"=",
"internClassName",
"(",
"classOrPacka... | classes list by a later processing step. | [
"classes",
"list",
"by",
"a",
"later",
"processing",
"step",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java#L563-L574 |
110,758 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java | AnnotationTargetsImpl_Targets.i_setSuperclassName | protected void i_setSuperclassName(String i_subclassName, String i_superclassName) {
i_superclassNameMap.put(i_subclassName, i_superclassName);
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("[ {0} ] Subclass [ {1} ] has superclass [ {2} ]",
... | java | protected void i_setSuperclassName(String i_subclassName, String i_superclassName) {
i_superclassNameMap.put(i_subclassName, i_superclassName);
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("[ {0} ] Subclass [ {1} ] has superclass [ {2} ]",
... | [
"protected",
"void",
"i_setSuperclassName",
"(",
"String",
"i_subclassName",
",",
"String",
"i_superclassName",
")",
"{",
"i_superclassNameMap",
".",
"put",
"(",
"i_subclassName",
",",
"i_superclassName",
")",
";",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",... | When reading from serialization, don't set the referenced classes. | [
"When",
"reading",
"from",
"serialization",
"don",
"t",
"set",
"the",
"referenced",
"classes",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java#L1071-L1078 |
110,759 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java | AnnotationTargetsImpl_Targets.getPolicyData | protected AnnotationTargetsImpl_PolicyData getPolicyData(ScanPolicy policy) {
if (policy == ScanPolicy.SEED) {
scanDirectClasses();
return seedData;
} else if (policy == ScanPolicy.PARTIAL) {
scanDirectClasses();
return partialData;
} else if (po... | java | protected AnnotationTargetsImpl_PolicyData getPolicyData(ScanPolicy policy) {
if (policy == ScanPolicy.SEED) {
scanDirectClasses();
return seedData;
} else if (policy == ScanPolicy.PARTIAL) {
scanDirectClasses();
return partialData;
} else if (po... | [
"protected",
"AnnotationTargetsImpl_PolicyData",
"getPolicyData",
"(",
"ScanPolicy",
"policy",
")",
"{",
"if",
"(",
"policy",
"==",
"ScanPolicy",
".",
"SEED",
")",
"{",
"scanDirectClasses",
"(",
")",
";",
"return",
"seedData",
";",
"}",
"else",
"if",
"(",
"pol... | Version for results retrieval ... trigger a scan. | [
"Version",
"for",
"results",
"retrieval",
"...",
"trigger",
"a",
"scan",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java#L1460-L1480 |
110,760 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java | AnnotationTargetsImpl_Targets.doGetPolicyData | protected AnnotationTargetsImpl_PolicyData doGetPolicyData(ScanPolicy policy) {
if (policy == ScanPolicy.SEED) {
return seedData;
} else if (policy == ScanPolicy.PARTIAL) {
return partialData;
} else if (policy == ScanPolicy.EXCLUDED) {
return excludedData;... | java | protected AnnotationTargetsImpl_PolicyData doGetPolicyData(ScanPolicy policy) {
if (policy == ScanPolicy.SEED) {
return seedData;
} else if (policy == ScanPolicy.PARTIAL) {
return partialData;
} else if (policy == ScanPolicy.EXCLUDED) {
return excludedData;... | [
"protected",
"AnnotationTargetsImpl_PolicyData",
"doGetPolicyData",
"(",
"ScanPolicy",
"policy",
")",
"{",
"if",
"(",
"policy",
"==",
"ScanPolicy",
".",
"SEED",
")",
"{",
"return",
"seedData",
";",
"}",
"else",
"if",
"(",
"policy",
"==",
"ScanPolicy",
".",
"PA... | Version for recording ... don't trigger a scan! | [
"Version",
"for",
"recording",
"...",
"don",
"t",
"trigger",
"a",
"scan!"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/targets/internal/AnnotationTargetsImpl_Targets.java#L1483-L1500 |
110,761 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authentication.filter/src/com/ibm/ws/security/authentication/filter/internal/CommonFilter.java | CommonFilter.init | public boolean init(String s1) {
if (s1 == null) {
Tr.error(tc, "AUTH_FILTER_INIT_NULL_STRING");
return false;
}
//break up conditions around semicolon
StringTokenizer st1 = new StringTokenizer(s1, ";");
StringTokenizer st2 = null;
String s2 = nul... | java | public boolean init(String s1) {
if (s1 == null) {
Tr.error(tc, "AUTH_FILTER_INIT_NULL_STRING");
return false;
}
//break up conditions around semicolon
StringTokenizer st1 = new StringTokenizer(s1, ";");
StringTokenizer st2 = null;
String s2 = nul... | [
"public",
"boolean",
"init",
"(",
"String",
"s1",
")",
"{",
"if",
"(",
"s1",
"==",
"null",
")",
"{",
"Tr",
".",
"error",
"(",
"tc",
",",
"\"AUTH_FILTER_INIT_NULL_STRING\"",
")",
";",
"return",
"false",
";",
"}",
"//break up conditions around semicolon",
"Str... | Pass the filter string so the implementation can read any of the
properties
@param filterString -
set of rules to be used by the filter
@return true if no problem occured during parsing of filterString false
otherwise | [
"Pass",
"the",
"filter",
"string",
"so",
"the",
"implementation",
"can",
"read",
"any",
"of",
"the",
"properties"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.filter/src/com/ibm/ws/security/authentication/filter/internal/CommonFilter.java#L100-L152 |
110,762 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authentication.filter/src/com/ibm/ws/security/authentication/filter/internal/CommonFilter.java | CommonFilter.isAccepted | public boolean isAccepted(IRequestInfo req) {
boolean answer = true;
if (processAll) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "processAll is true, therefore we always intercept.");
}
return answer;
}
... | java | public boolean isAccepted(IRequestInfo req) {
boolean answer = true;
if (processAll) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "processAll is true, therefore we always intercept.");
}
return answer;
}
... | [
"public",
"boolean",
"isAccepted",
"(",
"IRequestInfo",
"req",
")",
"{",
"boolean",
"answer",
"=",
"true",
";",
"if",
"(",
"processAll",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")... | Indicates if TAI should intercept request, based on pre-defined rules. Basically just execute
the conditions created earlier.
@param IRequestInfo
@return true if the request passes the filter criteria otherwise false | [
"Indicates",
"if",
"TAI",
"should",
"intercept",
"request",
"based",
"on",
"pre",
"-",
"defined",
"rules",
".",
"Basically",
"just",
"execute",
"the",
"conditions",
"created",
"earlier",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.filter/src/com/ibm/ws/security/authentication/filter/internal/CommonFilter.java#L308-L376 |
110,763 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteConsumerTransmit.java | RemoteConsumerTransmit.containsGuesses | public boolean containsGuesses()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "containsGuesses");
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "containsGuesses", Boolean.FALSE);
return false;
} | java | public boolean containsGuesses()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "containsGuesses");
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "containsGuesses", Boolean.FALSE);
return false;
} | [
"public",
"boolean",
"containsGuesses",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"containsGuesses\"",
")",
";",
"if",
"(",
... | The anycast protocol contains no guesses.
@see com.ibm.ws.sib.processor.runtime.SIMPDeliveryStreamSetTransmitControllable#containsGuesses() | [
"The",
"anycast",
"protocol",
"contains",
"no",
"guesses",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteConsumerTransmit.java#L111-L118 |
110,764 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteConsumerTransmit.java | RemoteConsumerTransmit.getCurrentMaxIndoubtMessages | public int getCurrentMaxIndoubtMessages(int priority, int COS)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getCurrentMaxIndoubtMessages", new Object[]{new Integer(priority), new Integer(COS)});
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | java | public int getCurrentMaxIndoubtMessages(int priority, int COS)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getCurrentMaxIndoubtMessages", new Object[]{new Integer(priority), new Integer(COS)});
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | [
"public",
"int",
"getCurrentMaxIndoubtMessages",
"(",
"int",
"priority",
",",
"int",
"COS",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
","... | The anycast protocol contains no indoubt messages
@see com.ibm.ws.sib.processor.runtime.SIMPDeliveryStreamSetTransmitControllable#getCurrentMaxIndoubtMessages(int, int) | [
"The",
"anycast",
"protocol",
"contains",
"no",
"indoubt",
"messages"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteConsumerTransmit.java#L124-L131 |
110,765 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java | HttpOutboundLink.getInterface | private HttpOutboundServiceContextImpl getInterface(VirtualConnection inVC) {
if (null == this.myInterface) {
this.myInterface = new HttpOutboundServiceContextImpl((TCPConnectionContext) getDeviceLink().getChannelAccessor(), this, inVC, this.myChannel.getHttpConfig());
}
return this... | java | private HttpOutboundServiceContextImpl getInterface(VirtualConnection inVC) {
if (null == this.myInterface) {
this.myInterface = new HttpOutboundServiceContextImpl((TCPConnectionContext) getDeviceLink().getChannelAccessor(), this, inVC, this.myChannel.getHttpConfig());
}
return this... | [
"private",
"HttpOutboundServiceContextImpl",
"getInterface",
"(",
"VirtualConnection",
"inVC",
")",
"{",
"if",
"(",
"null",
"==",
"this",
".",
"myInterface",
")",
"{",
"this",
".",
"myInterface",
"=",
"new",
"HttpOutboundServiceContextImpl",
"(",
"(",
"TCPConnection... | Get access to the outbound service context for this connection. If it
does not exist yet, then create it.
@return HttpOutboundServiceContextImpl | [
"Get",
"access",
"to",
"the",
"outbound",
"service",
"context",
"for",
"this",
"connection",
".",
"If",
"it",
"does",
"not",
"exist",
"yet",
"then",
"create",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java#L126-L132 |
110,766 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java | HttpOutboundLink.postConnectProcessing | protected void postConnectProcessing(VirtualConnection inVC) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Finished connecting to target: " + this + " " + inVC);
}
getInterface(inVC);
} | java | protected void postConnectProcessing(VirtualConnection inVC) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Finished connecting to target: " + this + " " + inVC);
}
getInterface(inVC);
} | [
"protected",
"void",
"postConnectProcessing",
"(",
"VirtualConnection",
"inVC",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Finishe... | Any work required after connecting to the target.
@param inVC | [
"Any",
"work",
"required",
"after",
"connecting",
"to",
"the",
"target",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java#L154-L160 |
110,767 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java | HttpOutboundLink.clear | protected void clear() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Clearing the outbound link: " + this + " " + getVirtualConnection());
}
// reset the retry flag based on the config
setEnableReconnect(this.myChannel.getHttpConfig().allo... | java | protected void clear() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Clearing the outbound link: " + this + " " + getVirtualConnection());
}
// reset the retry flag based on the config
setEnableReconnect(this.myChannel.getHttpConfig().allo... | [
"protected",
"void",
"clear",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Clearing the outbound link: \"",
"+",
"this",
"+",... | Clear any local variables when this object needs to be reset. | [
"Clear",
"any",
"local",
"variables",
"when",
"this",
"object",
"needs",
"to",
"be",
"reset",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java#L189-L199 |
110,768 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java | HttpOutboundLink.reConnectSync | protected void reConnectSync(IOException originalExcep) throws IOException {
setAllowReconnect(false);
try {
connect(getTargetAddress());
} catch (Exception e) {
// no FFDC required
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
... | java | protected void reConnectSync(IOException originalExcep) throws IOException {
setAllowReconnect(false);
try {
connect(getTargetAddress());
} catch (Exception e) {
// no FFDC required
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
... | [
"protected",
"void",
"reConnectSync",
"(",
"IOException",
"originalExcep",
")",
"throws",
"IOException",
"{",
"setAllowReconnect",
"(",
"false",
")",
";",
"try",
"{",
"connect",
"(",
"getTargetAddress",
"(",
")",
")",
";",
"}",
"catch",
"(",
"Exception",
"e",
... | Attempt to reconnect synchronously to the target server. If an error
occurs, then simply throw the original exception that caused this
recovery path.
@param originalExcep
@throws IOException | [
"Attempt",
"to",
"reconnect",
"synchronously",
"to",
"the",
"target",
"server",
".",
"If",
"an",
"error",
"occurs",
"then",
"simply",
"throw",
"the",
"original",
"exception",
"that",
"caused",
"this",
"recovery",
"path",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java#L273-L285 |
110,769 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java | HttpOutboundLink.reConnectAsync | protected void reConnectAsync(IOException originalExcep) {
setAllowReconnect(false);
this.reconnecting = true;
this.reconnectException = originalExcep;
connectAsynch(getTargetAddress());
} | java | protected void reConnectAsync(IOException originalExcep) {
setAllowReconnect(false);
this.reconnecting = true;
this.reconnectException = originalExcep;
connectAsynch(getTargetAddress());
} | [
"protected",
"void",
"reConnectAsync",
"(",
"IOException",
"originalExcep",
")",
"{",
"setAllowReconnect",
"(",
"false",
")",
";",
"this",
".",
"reconnecting",
"=",
"true",
";",
"this",
".",
"reconnectException",
"=",
"originalExcep",
";",
"connectAsynch",
"(",
... | Attempt to reconnect asynchronously to the target server. If an error
occurs, then simply throw the original exception that caused this
recovery path.
@param originalExcep | [
"Attempt",
"to",
"reconnect",
"asynchronously",
"to",
"the",
"target",
"server",
".",
"If",
"an",
"error",
"occurs",
"then",
"simply",
"throw",
"the",
"original",
"exception",
"that",
"caused",
"this",
"recovery",
"path",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOutboundLink.java#L294-L299 |
110,770 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/TranStrategy.java | TranStrategy.resumeLocalTx | final void resumeLocalTx(LocalTransactionCoordinator lCoord)
throws IllegalStateException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEventEnabled()) {
if (lCoord != null) {
Tr.event(tc, "Resuming LTC cntxt: ... | java | final void resumeLocalTx(LocalTransactionCoordinator lCoord)
throws IllegalStateException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEventEnabled()) {
if (lCoord != null) {
Tr.event(tc, "Resuming LTC cntxt: ... | [
"final",
"void",
"resumeLocalTx",
"(",
"LocalTransactionCoordinator",
"lCoord",
")",
"throws",
"IllegalStateException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
... | Resume the local transaction associated with the given coordinator
instance. If the coordinator passed in is null, no local context
will be resumed. IllegalStateException is raised if a global
transaction context exists on the current thread. | [
"Resume",
"the",
"local",
"transaction",
"associated",
"with",
"the",
"given",
"coordinator",
"instance",
".",
"If",
"the",
"coordinator",
"passed",
"in",
"is",
"null",
"no",
"local",
"context",
"will",
"be",
"resumed",
".",
"IllegalStateException",
"is",
"raise... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/csi/TranStrategy.java#L509-L529 |
110,771 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ConnectionDescriptorImpl.java | ConnectionDescriptorImpl.setAll | public void setAll(String _rhn, String _rha, String _lhn, String _lha) {
this.remoteHostName = _rhn;
this.remoteHostAddress = _rha;
this.localHostName = _lhn;
this.localHostAddress = _lha;
this.addrLocal = null;
this.addrRemote = null;
} | java | public void setAll(String _rhn, String _rha, String _lhn, String _lha) {
this.remoteHostName = _rhn;
this.remoteHostAddress = _rha;
this.localHostName = _lhn;
this.localHostAddress = _lha;
this.addrLocal = null;
this.addrRemote = null;
} | [
"public",
"void",
"setAll",
"(",
"String",
"_rhn",
",",
"String",
"_rha",
",",
"String",
"_lhn",
",",
"String",
"_lha",
")",
"{",
"this",
".",
"remoteHostName",
"=",
"_rhn",
";",
"this",
".",
"remoteHostAddress",
"=",
"_rha",
";",
"this",
".",
"localHost... | Set all of the stored information based on the input strings.
@param _rhn
@param _rha
@param _lhn
@param _lha | [
"Set",
"all",
"of",
"the",
"stored",
"information",
"based",
"on",
"the",
"input",
"strings",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ConnectionDescriptorImpl.java#L140-L147 |
110,772 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ConnectionDescriptorImpl.java | ConnectionDescriptorImpl.setAddrs | public void setAddrs(InetAddress _remote, InetAddress _local) {
this.addrRemote = _remote;
this.addrLocal = _local;
this.remoteHostName = null;
this.remoteHostAddress = null;
this.localHostName = null;
this.localHostAddress = null;
} | java | public void setAddrs(InetAddress _remote, InetAddress _local) {
this.addrRemote = _remote;
this.addrLocal = _local;
this.remoteHostName = null;
this.remoteHostAddress = null;
this.localHostName = null;
this.localHostAddress = null;
} | [
"public",
"void",
"setAddrs",
"(",
"InetAddress",
"_remote",
",",
"InetAddress",
"_local",
")",
"{",
"this",
".",
"addrRemote",
"=",
"_remote",
";",
"this",
".",
"addrLocal",
"=",
"_local",
";",
"this",
".",
"remoteHostName",
"=",
"null",
";",
"this",
".",... | Set the address information based on the input InetAddress objects.
@param _remote
@param _local | [
"Set",
"the",
"address",
"information",
"based",
"on",
"the",
"input",
"InetAddress",
"objects",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ConnectionDescriptorImpl.java#L155-L162 |
110,773 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AliasDestinationHandler.java | AliasDestinationHandler.setReceiveAllowed | private synchronized void setReceiveAllowed(DestinationAliasDefinition aliasDefinition)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setReceiveAllowed", aliasDefinition);
ExtendedBoolean aliasIsReceiveAllowed = aliasDefinition.isReceiveAllowed();
... | java | private synchronized void setReceiveAllowed(DestinationAliasDefinition aliasDefinition)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setReceiveAllowed", aliasDefinition);
ExtendedBoolean aliasIsReceiveAllowed = aliasDefinition.isReceiveAllowed();
... | [
"private",
"synchronized",
"void",
"setReceiveAllowed",
"(",
"DestinationAliasDefinition",
"aliasDefinition",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",... | Set receive allowed flag based on the value stored in the ExtendedBoolean
@param aliasIsReceiveAllowed | [
"Set",
"receive",
"allowed",
"flag",
"based",
"on",
"the",
"value",
"stored",
"in",
"the",
"ExtendedBoolean"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AliasDestinationHandler.java#L500-L516 |
110,774 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsQueueImpl.java | JmsQueueImpl.setQueueName | @Override
public void setQueueName(String qName) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setQueueName", qName);
setDestName(qName);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | java | @Override
public void setQueueName(String qName) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setQueueName", qName);
setDestName(qName);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | [
"@",
"Override",
"public",
"void",
"setQueueName",
"(",
"String",
"qName",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Set the QueueName.
Note that this method is used to provide a Java Bean interface to
the property 'queueName', and is not a JMS method as such.
@param qName
@throws JMSException | [
"Set",
"the",
"QueueName",
".",
"Note",
"that",
"this",
"method",
"is",
"used",
"to",
"provide",
"a",
"Java",
"Bean",
"interface",
"to",
"the",
"property",
"queueName",
"and",
"is",
"not",
"a",
"JMS",
"method",
"as",
"such",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsQueueImpl.java#L90-L99 |
110,775 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java | RepositoryReaderImpl.getLogLocation | public String getLogLocation() {
if (logInstanceBrowser instanceof MainLogRepositoryBrowserImpl) {
return ((MainLogRepositoryBrowserImpl) logInstanceBrowser).getLocation().getAbsolutePath();
} else {
return ((OneInstanceBrowserImpl) logInstanceBrowser).getLocation().getAbsolutePa... | java | public String getLogLocation() {
if (logInstanceBrowser instanceof MainLogRepositoryBrowserImpl) {
return ((MainLogRepositoryBrowserImpl) logInstanceBrowser).getLocation().getAbsolutePath();
} else {
return ((OneInstanceBrowserImpl) logInstanceBrowser).getLocation().getAbsolutePa... | [
"public",
"String",
"getLogLocation",
"(",
")",
"{",
"if",
"(",
"logInstanceBrowser",
"instanceof",
"MainLogRepositoryBrowserImpl",
")",
"{",
"return",
"(",
"(",
"MainLogRepositoryBrowserImpl",
")",
"logInstanceBrowser",
")",
".",
"getLocation",
"(",
")",
".",
"getA... | Returns log directory used by this reader.
@return absolute path to log directory. | [
"Returns",
"log",
"directory",
"used",
"by",
"this",
"reader",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java#L208-L215 |
110,776 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java | RepositoryReaderImpl.containsLogFiles | public static boolean containsLogFiles(File location) {
if (location == null) {
return false;
}
location = checkKnownType(location);
if (isFile(location)) {
try {
// Is a WBL file.
if (new OneFileBrowserImpl(location).getProcessId... | java | public static boolean containsLogFiles(File location) {
if (location == null) {
return false;
}
location = checkKnownType(location);
if (isFile(location)) {
try {
// Is a WBL file.
if (new OneFileBrowserImpl(location).getProcessId... | [
"public",
"static",
"boolean",
"containsLogFiles",
"(",
"File",
"location",
")",
"{",
"if",
"(",
"location",
"==",
"null",
")",
"{",
"return",
"false",
";",
"}",
"location",
"=",
"checkKnownType",
"(",
"location",
")",
";",
"if",
"(",
"isFile",
"(",
"loc... | checks if specified location contains log files.
@param location to check.
@return <code>true</code> if the directory itself or known subdirectories contain log files. | [
"checks",
"if",
"specified",
"location",
"contains",
"log",
"files",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java#L260-L312 |
110,777 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java | RepositoryReaderImpl.listRepositories | public static File[] listRepositories(File parent) {
if (parent == null) {
throw new IllegalArgumentException("Input parameter can't be null.");
}
parent = checkKnownType(parent);
if (!parent.isDirectory()) {
throw new IllegalArgumentException("Input parameter sho... | java | public static File[] listRepositories(File parent) {
if (parent == null) {
throw new IllegalArgumentException("Input parameter can't be null.");
}
parent = checkKnownType(parent);
if (!parent.isDirectory()) {
throw new IllegalArgumentException("Input parameter sho... | [
"public",
"static",
"File",
"[",
"]",
"listRepositories",
"(",
"File",
"parent",
")",
"{",
"if",
"(",
"parent",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"Input parameter can't be null.\"",
")",
";",
"}",
"parent",
"=",
"checkK... | list subdirectories containing repository files.
@param parent the directory to check subdirectories in.
@return list of subdirectory names containing repository files. | [
"list",
"subdirectories",
"containing",
"repository",
"files",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java#L333-L350 |
110,778 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java | RepositoryReaderImpl.getLogLists | @Override
public Iterable<ServerInstanceLogRecordList> getLogLists() {
return getLogLists((Date) null, (Date) null, (LogRecordHeaderFilter) null);
} | java | @Override
public Iterable<ServerInstanceLogRecordList> getLogLists() {
return getLogLists((Date) null, (Date) null, (LogRecordHeaderFilter) null);
} | [
"@",
"Override",
"public",
"Iterable",
"<",
"ServerInstanceLogRecordList",
">",
"getLogLists",
"(",
")",
"{",
"return",
"getLogLists",
"(",
"(",
"Date",
")",
"null",
",",
"(",
"Date",
")",
"null",
",",
"(",
"LogRecordHeaderFilter",
")",
"null",
")",
";",
"... | returns log records from the binary repository
@return the iterable instance of a list of log records
If no records are available, the iterable has no entries | [
"returns",
"log",
"records",
"from",
"the",
"binary",
"repository"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java#L358-L361 |
110,779 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java | RepositoryReaderImpl.getLogLists | public Iterable<ServerInstanceLogRecordList> getLogLists(int minLevel, int maxLevel) {
return getLogLists((Date) null, (Date) null, new LevelFilter(minLevel, maxLevel));
} | java | public Iterable<ServerInstanceLogRecordList> getLogLists(int minLevel, int maxLevel) {
return getLogLists((Date) null, (Date) null, new LevelFilter(minLevel, maxLevel));
} | [
"public",
"Iterable",
"<",
"ServerInstanceLogRecordList",
">",
"getLogLists",
"(",
"int",
"minLevel",
",",
"int",
"maxLevel",
")",
"{",
"return",
"getLogLists",
"(",
"(",
"Date",
")",
"null",
",",
"(",
"Date",
")",
"null",
",",
"new",
"LevelFilter",
"(",
"... | returns log records from the binary repository that are within the level range as specified by the parameters.
@param minLevel integer value of the minimum {@link Level} that the returned records need to match
@param maxLevel integer value of the maximum {@link Level} that the returned records need to match
@return th... | [
"returns",
"log",
"records",
"from",
"the",
"binary",
"repository",
"that",
"are",
"within",
"the",
"level",
"range",
"as",
"specified",
"by",
"the",
"parameters",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java#L705-L707 |
110,780 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java | RepositoryReaderImpl.getLogListForServerInstance | public ServerInstanceLogRecordList getLogListForServerInstance(Date time, final LogRecordHeaderFilter filter) {
ServerInstanceByTime instance = new ServerInstanceByTime(time == null ? -1 : time.getTime());
if (instance.logs == null && instance.traces == null) {
return EMPTY_LIST;
} ... | java | public ServerInstanceLogRecordList getLogListForServerInstance(Date time, final LogRecordHeaderFilter filter) {
ServerInstanceByTime instance = new ServerInstanceByTime(time == null ? -1 : time.getTime());
if (instance.logs == null && instance.traces == null) {
return EMPTY_LIST;
} ... | [
"public",
"ServerInstanceLogRecordList",
"getLogListForServerInstance",
"(",
"Date",
"time",
",",
"final",
"LogRecordHeaderFilter",
"filter",
")",
"{",
"ServerInstanceByTime",
"instance",
"=",
"new",
"ServerInstanceByTime",
"(",
"time",
"==",
"null",
"?",
"-",
"1",
":... | returns log records from the binary repository which satisfy condition of the filter as specified by the parameter. The returned logs
will be from the same server instance. The server instance will be determined by the time as specified by the parameter.
@param time the {@link Date} time value used to determine the se... | [
"returns",
"log",
"records",
"from",
"the",
"binary",
"repository",
"which",
"satisfy",
"condition",
"of",
"the",
"filter",
"as",
"specified",
"by",
"the",
"parameter",
".",
"The",
"returned",
"logs",
"will",
"be",
"from",
"the",
"same",
"server",
"instance",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RepositoryReaderImpl.java#L822-L835 |
110,781 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java | XATransactionWrapper.addSync | @Override
public boolean addSync() throws ResourceException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled()) {
Tr.entry(this, tc, "addSync");
}
UOWCoordinator uowCoord = mcWrapper.getUOWCoordinator();... | java | @Override
public boolean addSync() throws ResourceException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled()) {
Tr.entry(this, tc, "addSync");
}
UOWCoordinator uowCoord = mcWrapper.getUOWCoordinator();... | [
"@",
"Override",
"public",
"boolean",
"addSync",
"(",
")",
"throws",
"ResourceException",
"{",
"final",
"boolean",
"isTracingEnabled",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTracingEnabled",
"&&",
"tc",
".",
"isEntryEnabled... | Register the current object with the Synchronization manager for the current transaction
@throws ResourceException. | [
"Register",
"the",
"current",
"object",
"with",
"the",
"Synchronization",
"manager",
"for",
"the",
"current",
"transaction"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java#L120-L190 |
110,782 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java | XATransactionWrapper.end | @Override
public void end(Xid xid, int flags) throws XAException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled())
Tr.entry(this, tc, "end");
if (getMcWrapper().isMCAborted()) {
Tr.exit(tc, "Connec... | java | @Override
public void end(Xid xid, int flags) throws XAException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled())
Tr.entry(this, tc, "end");
if (getMcWrapper().isMCAborted()) {
Tr.exit(tc, "Connec... | [
"@",
"Override",
"public",
"void",
"end",
"(",
"Xid",
"xid",
",",
"int",
"flags",
")",
"throws",
"XAException",
"{",
"final",
"boolean",
"isTracingEnabled",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTracingEnabled",
"&&",
... | Ends the work performed on behalf of a transaction branch. The resource manager disassociates the XA resource from the transaction branch specified and let the transaction
be completed.
<P>If TMSUSPEND is specified in flags, the transaction branch is temporarily suspended in incomplete state. The transaction context i... | [
"Ends",
"the",
"work",
"performed",
"on",
"behalf",
"of",
"a",
"transaction",
"branch",
".",
"The",
"resource",
"manager",
"disassociates",
"the",
"XA",
"resource",
"from",
"the",
"transaction",
"branch",
"specified",
"and",
"let",
"the",
"transaction",
"be",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java#L366-L417 |
110,783 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java | XATransactionWrapper.delist | @Override
public void delist() throws ResourceException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled())
Tr.entry(this, tc, "delist", mcWrapper.getUOWCoordinator());
enlisted = false;
if (isTracingEn... | java | @Override
public void delist() throws ResourceException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled())
Tr.entry(this, tc, "delist", mcWrapper.getUOWCoordinator());
enlisted = false;
if (isTracingEn... | [
"@",
"Override",
"public",
"void",
"delist",
"(",
")",
"throws",
"ResourceException",
"{",
"final",
"boolean",
"isTracingEnabled",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTracingEnabled",
"&&",
"tc",
".",
"isEntryEnabled",
... | Delist an XA Resource.
@param flag | [
"Delist",
"an",
"XA",
"Resource",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java#L539-L552 |
110,784 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java | XATransactionWrapper.setTransactionTimeout | @Override
public boolean setTransactionTimeout(int seconds) throws XAException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled())
Tr.entry(this, tc, "setTransactionTimeout");
boolean rc = false;
try {
... | java | @Override
public boolean setTransactionTimeout(int seconds) throws XAException {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if (isTracingEnabled && tc.isEntryEnabled())
Tr.entry(this, tc, "setTransactionTimeout");
boolean rc = false;
try {
... | [
"@",
"Override",
"public",
"boolean",
"setTransactionTimeout",
"(",
"int",
"seconds",
")",
"throws",
"XAException",
"{",
"final",
"boolean",
"isTracingEnabled",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTracingEnabled",
"&&",
... | Set the current transaction timeout value for this XAResource instance. Once set, this timeout value is effective until setTransactionTimeout is invoked again with a
different value. To reset the timeout value to the default value used by the resource manager, set the value to zero. If the timeout operation is performe... | [
"Set",
"the",
"current",
"transaction",
"timeout",
"value",
"for",
"this",
"XAResource",
"instance",
".",
"Once",
"set",
"this",
"timeout",
"value",
"is",
"effective",
"until",
"setTransactionTimeout",
"is",
"invoked",
"again",
"with",
"a",
"different",
"value",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java#L908-L953 |
110,785 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java | XATransactionWrapper.processXAException | public void processXAException(XAException xae) {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if ((xae.errorCode == XAException.XAER_RMERR) || (xae.errorCode == XAException.XAER_RMFAIL)) {
if (isTracingEnabled && tc.isDebugEnabled()) {
Tr.debug(t... | java | public void processXAException(XAException xae) {
final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
if ((xae.errorCode == XAException.XAER_RMERR) || (xae.errorCode == XAException.XAER_RMFAIL)) {
if (isTracingEnabled && tc.isDebugEnabled()) {
Tr.debug(t... | [
"public",
"void",
"processXAException",
"(",
"XAException",
"xae",
")",
"{",
"final",
"boolean",
"isTracingEnabled",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"(",
"xae",
".",
"errorCode",
"==",
"XAException",
".",
"XAER_RMERR"... | Method checks for failing error code coming back form an XAResource and marks the MCWrapper
as stale so that it doesn't get returned to the freepool. | [
"Method",
"checks",
"for",
"failing",
"error",
"code",
"coming",
"back",
"form",
"an",
"XAResource",
"and",
"marks",
"the",
"MCWrapper",
"as",
"stale",
"so",
"that",
"it",
"doesn",
"t",
"get",
"returned",
"to",
"the",
"freepool",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/XATransactionWrapper.java#L1015-L1037 |
110,786 | OpenLiberty/open-liberty | dev/com.ibm.ws.app.manager.wab/src/com/ibm/ws/app/manager/wab/internal/WABGroup.java | WABGroup.addWab | void addWab(WAB wab, WABInstaller installer) {
if (!Thread.holdsLock(this)) {
throw new IllegalStateException();
}
if (wabs == null) {
wabs = new ConcurrentLinkedQueue<WAB>();
}
wabs.add(wab);
//if the group is uninstalled, this is a late wab addi... | java | void addWab(WAB wab, WABInstaller installer) {
if (!Thread.holdsLock(this)) {
throw new IllegalStateException();
}
if (wabs == null) {
wabs = new ConcurrentLinkedQueue<WAB>();
}
wabs.add(wab);
//if the group is uninstalled, this is a late wab addi... | [
"void",
"addWab",
"(",
"WAB",
"wab",
",",
"WABInstaller",
"installer",
")",
"{",
"if",
"(",
"!",
"Thread",
".",
"holdsLock",
"(",
"this",
")",
")",
"{",
"throw",
"new",
"IllegalStateException",
"(",
")",
";",
"}",
"if",
"(",
"wabs",
"==",
"null",
")"... | after adding the wab to the web container etc.. | [
"after",
"adding",
"the",
"wab",
"to",
"the",
"web",
"container",
"etc",
".."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.app.manager.wab/src/com/ibm/ws/app/manager/wab/internal/WABGroup.java#L35-L47 |
110,787 | OpenLiberty/open-liberty | dev/com.ibm.ws.app.manager.wab/src/com/ibm/ws/app/manager/wab/internal/WABGroup.java | WABGroup.uninstallGroup | void uninstallGroup(WABInstaller installer) {
//call for each of them to be removed
//in practice this will only mean one web container removal for the group
//but we need all the removes to update the WAB states.
if (wabs != null) {
//iterating over a concurrentlinkedqueue w... | java | void uninstallGroup(WABInstaller installer) {
//call for each of them to be removed
//in practice this will only mean one web container removal for the group
//but we need all the removes to update the WAB states.
if (wabs != null) {
//iterating over a concurrentlinkedqueue w... | [
"void",
"uninstallGroup",
"(",
"WABInstaller",
"installer",
")",
"{",
"//call for each of them to be removed",
"//in practice this will only mean one web container removal for the group",
"//but we need all the removes to update the WAB states.",
"if",
"(",
"wabs",
"!=",
"null",
")",
... | server-stop and in response to the removal of the wab feature from the server config. | [
"server",
"-",
"stop",
"and",
"in",
"response",
"to",
"the",
"removal",
"of",
"the",
"wab",
"feature",
"from",
"the",
"server",
"config",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.app.manager.wab/src/com/ibm/ws/app/manager/wab/internal/WABGroup.java#L56-L88 |
110,788 | OpenLiberty/open-liberty | dev/com.ibm.ws.app.manager.wab/src/com/ibm/ws/app/manager/wab/internal/WABGroup.java | WABGroup.removeWAB | boolean removeWAB(WAB wab) {
if (!Thread.holdsLock(this)) {
throw new IllegalStateException();
}
//this is invoked _after_ the wab is uninstalled from the web container,
//and is our chance to forget the wab, thus we don't need to care about
//the group uninstallatio... | java | boolean removeWAB(WAB wab) {
if (!Thread.holdsLock(this)) {
throw new IllegalStateException();
}
//this is invoked _after_ the wab is uninstalled from the web container,
//and is our chance to forget the wab, thus we don't need to care about
//the group uninstallatio... | [
"boolean",
"removeWAB",
"(",
"WAB",
"wab",
")",
"{",
"if",
"(",
"!",
"Thread",
".",
"holdsLock",
"(",
"this",
")",
")",
"{",
"throw",
"new",
"IllegalStateException",
"(",
")",
";",
"}",
"//this is invoked _after_ the wab is uninstalled from the web container,",
"/... | Tells this wab group to forget this wab
DOES NOT UNINSTALL the wab.
@param wab
@return true if group is empty | [
"Tells",
"this",
"wab",
"group",
"to",
"forget",
"this",
"wab",
"DOES",
"NOT",
"UNINSTALL",
"the",
"wab",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.app.manager.wab/src/com/ibm/ws/app/manager/wab/internal/WABGroup.java#L97-L107 |
110,789 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.put | public void put(List undeliveredMessages, boolean isRestoring) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this,tc, "put", undeliveredMessages);
int length = undeliveredMessages.size();
// read the RemoteQPConsumerKey for later on updating the... | java | public void put(List undeliveredMessages, boolean isRestoring) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this,tc, "put", undeliveredMessages);
int length = undeliveredMessages.size();
// read the RemoteQPConsumerKey for later on updating the... | [
"public",
"void",
"put",
"(",
"List",
"undeliveredMessages",
",",
"boolean",
"isRestoring",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
... | This method is called by the AIH in the assured ordered case when an arriving message completes a list
Note, the messages are not currently in the itemStream
@param undeliveredMessages The list of messages to deliver | [
"This",
"method",
"is",
"called",
"by",
"the",
"AIH",
"in",
"the",
"assured",
"ordered",
"case",
"when",
"an",
"arriving",
"message",
"completes",
"a",
"list",
"Note",
"the",
"messages",
"are",
"not",
"currently",
"in",
"the",
"itemStream"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L617-L717 |
110,790 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.reachabilityChange | public void reachabilityChange(boolean reachable)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this,tc, "reachabilityChange", Boolean.valueOf(reachable));
Object[] clonedConsumerPoints = null;
synchronized (consumerPoints)
{
// If we went from reachable to... | java | public void reachabilityChange(boolean reachable)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this,tc, "reachabilityChange", Boolean.valueOf(reachable));
Object[] clonedConsumerPoints = null;
synchronized (consumerPoints)
{
// If we went from reachable to... | [
"public",
"void",
"reachabilityChange",
"(",
"boolean",
"reachable",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"reach... | The reachability to the DME has changed
@param b true if the DME is reachable, else false | [
"The",
"reachability",
"to",
"the",
"DME",
"has",
"changed"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L831-L866 |
110,791 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.disconnectCardOneConsumer | public void disconnectCardOneConsumer()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "disconnectCardOneConsumer");
Object[] clonedConsumerPoints = null;
synchronized (consumerPoints)
{
// we clone the list before notifying the exception, since the CP's may c... | java | public void disconnectCardOneConsumer()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "disconnectCardOneConsumer");
Object[] clonedConsumerPoints = null;
synchronized (consumerPoints)
{
// we clone the list before notifying the exception, since the CP's may c... | [
"public",
"void",
"disconnectCardOneConsumer",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"disconnectCardOneConsumer\"",
")",
";",... | The disconnectCardOneConsumer method is invoked by the Anycast Input Handler to notify it that the current
cardinality-one consumer must be disconnected.
This can happen when this RME becomes unreachable and the DME allows a consumer in a separate RME
to connect. As soon as this RME becomes reachable again, the DME sen... | [
"The",
"disconnectCardOneConsumer",
"method",
"is",
"invoked",
"by",
"the",
"Anycast",
"Input",
"Handler",
"to",
"notify",
"it",
"that",
"the",
"current",
"cardinality",
"-",
"one",
"consumer",
"must",
"be",
"disconnected",
".",
"This",
"can",
"happen",
"when",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L875-L897 |
110,792 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.createConsumerKey | protected DispatchableKey createConsumerKey(DispatchableConsumerPoint consumerPoint,
SelectionCriteria criteria,
SIBUuid12 connectionUuid,
boolean readAhead,
... | java | protected DispatchableKey createConsumerKey(DispatchableConsumerPoint consumerPoint,
SelectionCriteria criteria,
SIBUuid12 connectionUuid,
boolean readAhead,
... | [
"protected",
"DispatchableKey",
"createConsumerKey",
"(",
"DispatchableConsumerPoint",
"consumerPoint",
",",
"SelectionCriteria",
"criteria",
",",
"SIBUuid12",
"connectionUuid",
",",
"boolean",
"readAhead",
",",
"boolean",
"forwardScanning",
",",
"JSConsumerSet",
"consumerSet... | overiding the method in the superclass, to create a RemoteQPConsumerKey | [
"overiding",
"the",
"method",
"in",
"the",
"superclass",
"to",
"create",
"a",
"RemoteQPConsumerKey"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L900-L924 |
110,793 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.createConsumerKeyGroup | protected JSKeyGroup createConsumerKeyGroup(JSConsumerSet consumerSet)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createConsumerKeyGroup", consumerSet);
JSKeyGroup ckg = new RemoteQPConsumerKeyGroup(this);
if (TraceComponent.isAnyTracingEnabled() && tc.isEn... | java | protected JSKeyGroup createConsumerKeyGroup(JSConsumerSet consumerSet)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createConsumerKeyGroup", consumerSet);
JSKeyGroup ckg = new RemoteQPConsumerKeyGroup(this);
if (TraceComponent.isAnyTracingEnabled() && tc.isEn... | [
"protected",
"JSKeyGroup",
"createConsumerKeyGroup",
"(",
"JSConsumerSet",
"consumerSet",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"c... | overriding the method in the superclass, to create a RemoteQPConsumerKeyGroup | [
"overriding",
"the",
"method",
"in",
"the",
"superclass",
"to",
"create",
"a",
"RemoteQPConsumerKeyGroup"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L929-L940 |
110,794 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.eventPostCommitAdd | protected void eventPostCommitAdd(SIMPMessage msg, TransactionCommon transaction)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "eventPostCommitAdd", new Object[]{msg, transaction});
SibTr.exit(tc, "eventPostCommitAdd");
}
} | java | protected void eventPostCommitAdd(SIMPMessage msg, TransactionCommon transaction)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "eventPostCommitAdd", new Object[]{msg, transaction});
SibTr.exit(tc, "eventPostCommitAdd");
}
} | [
"protected",
"void",
"eventPostCommitAdd",
"(",
"SIMPMessage",
"msg",
",",
"TransactionCommon",
"transaction",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"en... | Overriding super class method to do nothing | [
"Overriding",
"super",
"class",
"method",
"to",
"do",
"nothing"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L959-L966 |
110,795 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.eventUnlocked | protected void eventUnlocked(SIMPMessage msg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventUnlocked", msg);
AIMessageItem message = (AIMessageItem) msg;
// dispatch internal will add it to the timeoutManager if it can't find a ready consumer
dispatc... | java | protected void eventUnlocked(SIMPMessage msg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventUnlocked", msg);
AIMessageItem message = (AIMessageItem) msg;
// dispatch internal will add it to the timeoutManager if it can't find a ready consumer
dispatc... | [
"protected",
"void",
"eventUnlocked",
"(",
"SIMPMessage",
"msg",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"eventUnlocked\"",
",",
... | Overriding super class method | [
"Overriding",
"super",
"class",
"method"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L971-L983 |
110,796 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java | RemoteConsumerDispatcher.getRejectTimeout | public long getRejectTimeout()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getRejectTimeout");
boolean localCardinalityOne;
synchronized (consumerPoints)
{
localCardinalityOne = _cardinalityOne;
}
if (localCardinalityOne)
{
if (TraceCompo... | java | public long getRejectTimeout()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getRejectTimeout");
boolean localCardinalityOne;
synchronized (consumerPoints)
{
localCardinalityOne = _cardinalityOne;
}
if (localCardinalityOne)
{
if (TraceCompo... | [
"public",
"long",
"getRejectTimeout",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getRejectTimeout\"",
")",
";",
"boolean",
"l... | The timeperiod after which a message that was added to the itemStream, and is still in unlocked state,
should be rejected. This is important to not starve other remote MEs | [
"The",
"timeperiod",
"after",
"which",
"a",
"message",
"that",
"was",
"added",
"to",
"the",
"itemStream",
"and",
"is",
"still",
"in",
"unlocked",
"state",
"should",
"be",
"rejected",
".",
"This",
"is",
"important",
"to",
"not",
"starve",
"other",
"remote",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/RemoteConsumerDispatcher.java#L1334-L1353 |
110,797 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MDBRuntimeImpl.java | MDBRuntimeImpl.setMessageEndpointCollaborator | @Reference(name = "messageEndpointCollaborator",
service = MessageEndpointCollaborator.class,
cardinality = ReferenceCardinality.OPTIONAL,
policy = ReferencePolicy.DYNAMIC,
policyOption = ReferencePolicyOption.GREEDY)
protected void setMessageEndpointColla... | java | @Reference(name = "messageEndpointCollaborator",
service = MessageEndpointCollaborator.class,
cardinality = ReferenceCardinality.OPTIONAL,
policy = ReferencePolicy.DYNAMIC,
policyOption = ReferencePolicyOption.GREEDY)
protected void setMessageEndpointColla... | [
"@",
"Reference",
"(",
"name",
"=",
"\"messageEndpointCollaborator\"",
",",
"service",
"=",
"MessageEndpointCollaborator",
".",
"class",
",",
"cardinality",
"=",
"ReferenceCardinality",
".",
"OPTIONAL",
",",
"policy",
"=",
"ReferencePolicy",
".",
"DYNAMIC",
",",
"po... | Sets the MessageEndpointCollaborator reference.
@param reference The MessageEndpointCollaborator reference to set. | [
"Sets",
"the",
"MessageEndpointCollaborator",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MDBRuntimeImpl.java#L350-L357 |
110,798 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MDBRuntimeImpl.java | MDBRuntimeImpl.getRRSXAResource | @Override
public XAResource getRRSXAResource(String activationSpecId, Xid xid) throws XAResourceNotAvailableException {
RRSXAResourceFactory factory = rrsXAResFactorySvcRef.getService();
if (factory == null) {
return null;
} else {
return factory.getTwoPhaseXAResource... | java | @Override
public XAResource getRRSXAResource(String activationSpecId, Xid xid) throws XAResourceNotAvailableException {
RRSXAResourceFactory factory = rrsXAResFactorySvcRef.getService();
if (factory == null) {
return null;
} else {
return factory.getTwoPhaseXAResource... | [
"@",
"Override",
"public",
"XAResource",
"getRRSXAResource",
"(",
"String",
"activationSpecId",
",",
"Xid",
"xid",
")",
"throws",
"XAResourceNotAvailableException",
"{",
"RRSXAResourceFactory",
"factory",
"=",
"rrsXAResFactorySvcRef",
".",
"getService",
"(",
")",
";",
... | Method to get the XAResource corresponding to an ActivationSpec from the RRSXAResourceFactory
@param activationSpecId The id of the ActivationSpec
@param xid Transaction branch qualifier
@return the XAResource | [
"Method",
"to",
"get",
"the",
"XAResource",
"corresponding",
"to",
"an",
"ActivationSpec",
"from",
"the",
"RRSXAResourceFactory"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MDBRuntimeImpl.java#L408-L417 |
110,799 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MDBRuntimeImpl.java | MDBRuntimeImpl.addAdminObjectService | private void addAdminObjectService(ServiceReference<AdminObjectService> reference, String id, boolean jndiName) {
NamedAdminObjectServiceInfo aosInfo = createNamedAdminObjectServiceInfo(id);
aosInfo.getServices(jndiName).addReference(reference);
// If the highest reference after updating is the... | java | private void addAdminObjectService(ServiceReference<AdminObjectService> reference, String id, boolean jndiName) {
NamedAdminObjectServiceInfo aosInfo = createNamedAdminObjectServiceInfo(id);
aosInfo.getServices(jndiName).addReference(reference);
// If the highest reference after updating is the... | [
"private",
"void",
"addAdminObjectService",
"(",
"ServiceReference",
"<",
"AdminObjectService",
">",
"reference",
",",
"String",
"id",
",",
"boolean",
"jndiName",
")",
"{",
"NamedAdminObjectServiceInfo",
"aosInfo",
"=",
"createNamedAdminObjectServiceInfo",
"(",
"id",
")... | Internal method for adding an AdminObjectService with an id.
<p>Caller must hold a lock on this object.
@param reference the service reference
@param id the id or jndiName
@param jndiName true if the id is the jndiName | [
"Internal",
"method",
"for",
"adding",
"an",
"AdminObjectService",
"with",
"an",
"id",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb/src/com/ibm/ws/ejbcontainer/mdb/internal/MDBRuntimeImpl.java#L449-L467 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.