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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
70,000 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java | ContainerTx.uowIdToString | protected static String uowIdToString(Object uowId)
{
String tidStr = null;
if (uowId != null)
{
if (uowId instanceof LocalTransactionCoordinator)
{
tidStr = "tid=" + Integer.toHexString(uowId.hashCode()) + "(LTC)";
}
else
... | java | protected static String uowIdToString(Object uowId)
{
String tidStr = null;
if (uowId != null)
{
if (uowId instanceof LocalTransactionCoordinator)
{
tidStr = "tid=" + Integer.toHexString(uowId.hashCode()) + "(LTC)";
}
else
... | [
"protected",
"static",
"String",
"uowIdToString",
"(",
"Object",
"uowId",
")",
"{",
"String",
"tidStr",
"=",
"null",
";",
"if",
"(",
"uowId",
"!=",
"null",
")",
"{",
"if",
"(",
"uowId",
"instanceof",
"LocalTransactionCoordinator",
")",
"{",
"tidStr",
"=",
... | LI3795-56 | [
"LI3795",
"-",
"56"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java#L1893-L1911 |
70,001 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPATokenizer.java | LTPATokenizer.parseToken | @FFDCIgnore(Exception.class)
protected static final String[] parseToken(String tokenStr) throws InvalidTokenException {
String[] fields = new String[3];
int tokenLen = tokenStr.length();
char c;
int signBegin = -1, expireBegin = -1;
// LTPA Token has 3 fields: userdata, expi... | java | @FFDCIgnore(Exception.class)
protected static final String[] parseToken(String tokenStr) throws InvalidTokenException {
String[] fields = new String[3];
int tokenLen = tokenStr.length();
char c;
int signBegin = -1, expireBegin = -1;
// LTPA Token has 3 fields: userdata, expi... | [
"@",
"FFDCIgnore",
"(",
"Exception",
".",
"class",
")",
"protected",
"static",
"final",
"String",
"[",
"]",
"parseToken",
"(",
"String",
"tokenStr",
")",
"throws",
"InvalidTokenException",
"{",
"String",
"[",
"]",
"fields",
"=",
"new",
"String",
"[",
"3",
... | Parse the String form of a LTPA token and extract the UserData,
expiration limit, and the signature.
@param tokenStr The String form of a LTPA token
@return A list of the strings. 0: The String form of the UserData,
1: Expiration limit of the token, 2: The signature of the token | [
"Parse",
"the",
"String",
"form",
"of",
"a",
"LTPA",
"token",
"and",
"extract",
"the",
"UserData",
"expiration",
"limit",
"and",
"the",
"signature",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPATokenizer.java#L78-L122 |
70,002 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPATokenizer.java | LTPATokenizer.addAttributes | private static void addAttributes(String data, Map<String, ArrayList<String>> attribs) {
String key;
String value;
int keyIndex = 0;
int dataLen = data.length();
for (keyIndex = 0; keyIndex < dataLen; keyIndex++) {
if ((data.charAt(keyIndex) == USER_ATTRIB_DELIM) && (... | java | private static void addAttributes(String data, Map<String, ArrayList<String>> attribs) {
String key;
String value;
int keyIndex = 0;
int dataLen = data.length();
for (keyIndex = 0; keyIndex < dataLen; keyIndex++) {
if ((data.charAt(keyIndex) == USER_ATTRIB_DELIM) && (... | [
"private",
"static",
"void",
"addAttributes",
"(",
"String",
"data",
",",
"Map",
"<",
"String",
",",
"ArrayList",
"<",
"String",
">",
">",
"attribs",
")",
"{",
"String",
"key",
";",
"String",
"value",
";",
"int",
"keyIndex",
"=",
"0",
";",
"int",
"data... | Given a specified String, parse to find attributes and add to specified Map.
@param data String to parse attribtues from
@param attribs Target map to add attributes | [
"Given",
"a",
"specified",
"String",
"parse",
"to",
"find",
"attributes",
"and",
"add",
"to",
"specified",
"Map",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPATokenizer.java#L130-L145 |
70,003 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPATokenizer.java | LTPATokenizer.parseUserData | protected static final Map<String, ArrayList<String>> parseUserData(String userData) {
int tokenLen = userData.length();
int numOfAttribs = 1; // default has "user" (u) attribute
int lastDelim = 0;
int i = 0;
Map<String, ArrayList<String>> attribs = new HashMap<String, ArrayList<... | java | protected static final Map<String, ArrayList<String>> parseUserData(String userData) {
int tokenLen = userData.length();
int numOfAttribs = 1; // default has "user" (u) attribute
int lastDelim = 0;
int i = 0;
Map<String, ArrayList<String>> attribs = new HashMap<String, ArrayList<... | [
"protected",
"static",
"final",
"Map",
"<",
"String",
",",
"ArrayList",
"<",
"String",
">",
">",
"parseUserData",
"(",
"String",
"userData",
")",
"{",
"int",
"tokenLen",
"=",
"userData",
".",
"length",
"(",
")",
";",
"int",
"numOfAttribs",
"=",
"1",
";",... | Parse the String form of a UserData and get a Map of the UserData.
@param userData The String form of a UserData
@return A Map of the UserData | [
"Parse",
"the",
"String",
"form",
"of",
"a",
"UserData",
"and",
"get",
"a",
"Map",
"of",
"the",
"UserData",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPATokenizer.java#L153-L174 |
70,004 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/providers/Providers.java | Providers.getSharedLibrary | static Library getSharedLibrary(String id) {
if (bundleContext == null) {
return null;
}
// Filter the SharedLibrary service references by ID.
String filter = "(" + "id=" + id + ")";
Collection<ServiceReference<Library>> refs = null;
try {
refs =... | java | static Library getSharedLibrary(String id) {
if (bundleContext == null) {
return null;
}
// Filter the SharedLibrary service references by ID.
String filter = "(" + "id=" + id + ")";
Collection<ServiceReference<Library>> refs = null;
try {
refs =... | [
"static",
"Library",
"getSharedLibrary",
"(",
"String",
"id",
")",
"{",
"if",
"(",
"bundleContext",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"// Filter the SharedLibrary service references by ID.",
"String",
"filter",
"=",
"\"(\"",
"+",
"\"id=\"",
"+",
... | Retrieve a library from the service registry.
@return A library with the given id or <code>null</code> if no match was found | [
"Retrieve",
"a",
"library",
"from",
"the",
"service",
"registry",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/providers/Providers.java#L124-L146 |
70,005 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/providers/Providers.java | Providers.checkBundleContext | private static BundleContext checkBundleContext() {
if (bundleContext == null) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, "BundleContext is null and should not be");
}
}
return bundleContext;
} | java | private static BundleContext checkBundleContext() {
if (bundleContext == null) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, "BundleContext is null and should not be");
}
}
return bundleContext;
} | [
"private",
"static",
"BundleContext",
"checkBundleContext",
"(",
")",
"{",
"if",
"(",
"bundleContext",
"==",
"null",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"BundleContext is null and should... | Check to make sure the bundleContext has been set.
@return The BundleContext, or null if it could not be retrieved. | [
"Check",
"to",
"make",
"sure",
"the",
"bundleContext",
"has",
"been",
"set",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/providers/Providers.java#L204-L211 |
70,006 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java | TEEJBInvocationInfo.tracePreInvokeBegins | public static void tracePreInvokeBegins(EJSDeployedSupport s, EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.append(MthdPreInvokeEntry_Type_Str).append(Dat... | java | public static void tracePreInvokeBegins(EJSDeployedSupport s, EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.append(MthdPreInvokeEntry_Type_Str).append(Dat... | [
"public",
"static",
"void",
"tracePreInvokeBegins",
"(",
"EJSDeployedSupport",
"s",
",",
"EJSWrapperBase",
"wrapper",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"StringBuffe... | This is called by the EJB container server code to write a
EJB method call preinvoke begins record to the trace log, if enabled. | [
"This",
"is",
"called",
"by",
"the",
"EJB",
"container",
"server",
"code",
"to",
"write",
"a",
"EJB",
"method",
"call",
"preinvoke",
"begins",
"record",
"to",
"the",
"trace",
"log",
"if",
"enabled",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java#L31-L45 |
70,007 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java | TEEJBInvocationInfo.tracePreInvokeEnds | public static void tracePreInvokeEnds(EJSDeployedSupport s, EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.append(MthdPreInvokeExit_Type_Str).append(DataDe... | java | public static void tracePreInvokeEnds(EJSDeployedSupport s, EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.append(MthdPreInvokeExit_Type_Str).append(DataDe... | [
"public",
"static",
"void",
"tracePreInvokeEnds",
"(",
"EJSDeployedSupport",
"s",
",",
"EJSWrapperBase",
"wrapper",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"StringBuffer"... | This is called by the EJB container server code to write a
EJB method call preinvoke ends record to the trace log, if enabled. | [
"This",
"is",
"called",
"by",
"the",
"EJB",
"container",
"server",
"code",
"to",
"write",
"a",
"EJB",
"method",
"call",
"preinvoke",
"ends",
"record",
"to",
"the",
"trace",
"log",
"if",
"enabled",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java#L51-L65 |
70,008 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java | TEEJBInvocationInfo.tracePreInvokeException | public static void tracePreInvokeException(EJSDeployedSupport s,
EJSWrapperBase wrapper,
Throwable t)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new... | java | public static void tracePreInvokeException(EJSDeployedSupport s,
EJSWrapperBase wrapper,
Throwable t)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new... | [
"public",
"static",
"void",
"tracePreInvokeException",
"(",
"EJSDeployedSupport",
"s",
",",
"EJSWrapperBase",
"wrapper",
",",
"Throwable",
"t",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
"... | This is called by the EJB container server code to write a
EJB method call preinvoke exceptions record to the trace log, if enabled. | [
"This",
"is",
"called",
"by",
"the",
"EJB",
"container",
"server",
"code",
"to",
"write",
"a",
"EJB",
"method",
"call",
"preinvoke",
"exceptions",
"record",
"to",
"the",
"trace",
"log",
"if",
"enabled",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java#L71-L87 |
70,009 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java | TEEJBInvocationInfo.tracePostInvokeBegins | public static void tracePostInvokeBegins(EJSDeployedSupport s,
EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.... | java | public static void tracePostInvokeBegins(EJSDeployedSupport s,
EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.... | [
"public",
"static",
"void",
"tracePostInvokeBegins",
"(",
"EJSDeployedSupport",
"s",
",",
"EJSWrapperBase",
"wrapper",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"StringBuff... | This is called by the EJB container server code to write a
EJB method call postinvoke begins record to the trace log, if enabled. | [
"This",
"is",
"called",
"by",
"the",
"EJB",
"container",
"server",
"code",
"to",
"write",
"a",
"EJB",
"method",
"call",
"postinvoke",
"begins",
"record",
"to",
"the",
"trace",
"log",
"if",
"enabled",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java#L93-L108 |
70,010 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java | TEEJBInvocationInfo.tracePostInvokeEnds | public static void tracePostInvokeEnds(EJSDeployedSupport s, EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.append(MthdPostInvokeExit_Type_Str).append(Data... | java | public static void tracePostInvokeEnds(EJSDeployedSupport s, EJSWrapperBase wrapper)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
StringBuffer sbuf = new StringBuffer();
sbuf
.append(MthdPostInvokeExit_Type_Str).append(Data... | [
"public",
"static",
"void",
"tracePostInvokeEnds",
"(",
"EJSDeployedSupport",
"s",
",",
"EJSWrapperBase",
"wrapper",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"StringBuffer... | This is called by the EJB container server code to write a
EJB method call postinvoke ends record to the trace log, if enabled. | [
"This",
"is",
"called",
"by",
"the",
"EJB",
"container",
"server",
"code",
"to",
"write",
"a",
"EJB",
"method",
"call",
"postinvoke",
"ends",
"record",
"to",
"the",
"trace",
"log",
"if",
"enabled",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/traceinfo/ejbcontainer/TEEJBInvocationInfo.java#L114-L128 |
70,011 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/MediatedMessageHandlerControl.java | MediatedMessageHandlerControl.assertMessageHandlerNotCorrupt | protected void assertMessageHandlerNotCorrupt() throws SIMPException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "assertMessageHandlerNotCorrupt");
if (baseDest.isCorruptOrIndoubt())
{
String nlsMsg = nls.getFormattedMessage(
"MESSAGE_HANDL... | java | protected void assertMessageHandlerNotCorrupt() throws SIMPException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "assertMessageHandlerNotCorrupt");
if (baseDest.isCorruptOrIndoubt())
{
String nlsMsg = nls.getFormattedMessage(
"MESSAGE_HANDL... | [
"protected",
"void",
"assertMessageHandlerNotCorrupt",
"(",
")",
"throws",
"SIMPException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"asse... | A utility method for methods which can only execute if the underlying
message handler is not corrupt or waiting to be reset on restart.
@throws SIMPException | [
"A",
"utility",
"method",
"for",
"methods",
"which",
"can",
"only",
"execute",
"if",
"the",
"underlying",
"message",
"handler",
"is",
"not",
"corrupt",
"or",
"waiting",
"to",
"be",
"reset",
"on",
"restart",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/MediatedMessageHandlerControl.java#L358-L377 |
70,012 | OpenLiberty/open-liberty | dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/WSThreadLocal.java | WSThreadLocal.remove | public void remove() {
Thread thread = Thread.currentThread();
if (thread instanceof ThreadPool.Worker) {
Object[] wsLocals = getThreadLocals((ThreadPool.Worker) thread);
wsLocals[index] = null;
} else {
super.remove();
}
} | java | public void remove() {
Thread thread = Thread.currentThread();
if (thread instanceof ThreadPool.Worker) {
Object[] wsLocals = getThreadLocals((ThreadPool.Worker) thread);
wsLocals[index] = null;
} else {
super.remove();
}
} | [
"public",
"void",
"remove",
"(",
")",
"{",
"Thread",
"thread",
"=",
"Thread",
".",
"currentThread",
"(",
")",
";",
"if",
"(",
"thread",
"instanceof",
"ThreadPool",
".",
"Worker",
")",
"{",
"Object",
"[",
"]",
"wsLocals",
"=",
"getThreadLocals",
"(",
"(",... | doesn't) and that it resets the value to its initial value | [
"doesn",
"t",
")",
"and",
"that",
"it",
"resets",
"the",
"value",
"to",
"its",
"initial",
"value"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/WSThreadLocal.java#L105-L113 |
70,013 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer/src/com/ibm/ws/ejbcontainer/osgi/internal/ModuleInitDataFactory.java | ModuleInitDataFactory.getManagedBeansInternalEJBName | private String getManagedBeansInternalEJBName(ClassInfo classInfo, AnnotationInfo managedBeanAnn) {
String name = getStringValue(managedBeanAnn, "value");
if (name == null) {
name = '$' + classInfo.getName();
}
return name;
} | java | private String getManagedBeansInternalEJBName(ClassInfo classInfo, AnnotationInfo managedBeanAnn) {
String name = getStringValue(managedBeanAnn, "value");
if (name == null) {
name = '$' + classInfo.getName();
}
return name;
} | [
"private",
"String",
"getManagedBeansInternalEJBName",
"(",
"ClassInfo",
"classInfo",
",",
"AnnotationInfo",
"managedBeanAnn",
")",
"{",
"String",
"name",
"=",
"getStringValue",
"(",
"managedBeanAnn",
",",
"\"value\"",
")",
";",
"if",
"(",
"name",
"==",
"null",
")... | Return the ManagedBean name to be used internally by the EJBContainer.
The internal ManagedBean name is the value on the annotation (which
must be unique even compared to EJBs in the module) or the class name
of the ManagedBean with a $ prefix. This is done for two reasons:
1 - when a name is not specified, our inter... | [
"Return",
"the",
"ManagedBean",
"name",
"to",
"be",
"used",
"internally",
"by",
"the",
"EJBContainer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer/src/com/ibm/ws/ejbcontainer/osgi/internal/ModuleInitDataFactory.java#L882-L888 |
70,014 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/MessageEndpointBase.java | MessageEndpointBase.mdbMethodPostInvoke | public void mdbMethodPostInvoke() throws Throwable
{
// If there is a registered message endpoint collaborator, call it for postInvoke processing.
Map<String, Object> meContext = ivEJSDeployedSupport.getMessageEndpointContext();
if (meContext != null) {
MessageEndpointCollaborato... | java | public void mdbMethodPostInvoke() throws Throwable
{
// If there is a registered message endpoint collaborator, call it for postInvoke processing.
Map<String, Object> meContext = ivEJSDeployedSupport.getMessageEndpointContext();
if (meContext != null) {
MessageEndpointCollaborato... | [
"public",
"void",
"mdbMethodPostInvoke",
"(",
")",
"throws",
"Throwable",
"{",
"// If there is a registered message endpoint collaborator, call it for postInvoke processing.",
"Map",
"<",
"String",
",",
"Object",
">",
"meContext",
"=",
"ivEJSDeployedSupport",
".",
"getMessageEn... | Must be called when MDB method completes so that internal
state is updated to reflect the completion of MDB method invocation.
<dl>
<dt>pre-condition
<dd>
Invoked MDB method has returned.
<dd>
ivState == IN_METHOD_OPTION_A_STATE or ivState == IN_METHOD_OPTION_B_STATE
<dt>post-condition
<dd>
if ivState == IN_METHOD_OPT... | [
"Must",
"be",
"called",
"when",
"MDB",
"method",
"completes",
"so",
"that",
"internal",
"state",
"is",
"updated",
"to",
"reflect",
"the",
"completion",
"of",
"MDB",
"method",
"invocation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/MessageEndpointBase.java#L865-L956 |
70,015 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/MessageEndpointBase.java | MessageEndpointBase.discard | public static void discard(MessageEndpointBase proxy)
{
// Ensure we are no longer holding any object references.
proxy.ivMDB = null;
proxy.ivMessageEndpointFactory = null;
proxy.ivMethod = null;
proxy.ivXAResource = null;
proxy.ivRecoverableXAResource = false;
... | java | public static void discard(MessageEndpointBase proxy)
{
// Ensure we are no longer holding any object references.
proxy.ivMDB = null;
proxy.ivMessageEndpointFactory = null;
proxy.ivMethod = null;
proxy.ivXAResource = null;
proxy.ivRecoverableXAResource = false;
... | [
"public",
"static",
"void",
"discard",
"(",
"MessageEndpointBase",
"proxy",
")",
"{",
"// Ensure we are no longer holding any object references.",
"proxy",
".",
"ivMDB",
"=",
"null",
";",
"proxy",
".",
"ivMessageEndpointFactory",
"=",
"null",
";",
"proxy",
".",
"ivMet... | Called after the pool discards the object. This gives the
object an opportunity to perform any required clean up. | [
"Called",
"after",
"the",
"pool",
"discards",
"the",
"object",
".",
"This",
"gives",
"the",
"object",
"an",
"opportunity",
"to",
"perform",
"any",
"required",
"clean",
"up",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/MessageEndpointBase.java#L1334-L1346 |
70,016 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/admin/internal/ConfigEventDispatcher.java | ConfigEventDispatcher.dispatch | protected Future<?> dispatch(final int eventType, final String factoryPid, final String pid) {
final ConfigurationEvent event = createConfigurationEvent(eventType, factoryPid, pid);
if (event == null)
return null;
final ServiceReference<ConfigurationListener>[] refs = st.getServiceR... | java | protected Future<?> dispatch(final int eventType, final String factoryPid, final String pid) {
final ConfigurationEvent event = createConfigurationEvent(eventType, factoryPid, pid);
if (event == null)
return null;
final ServiceReference<ConfigurationListener>[] refs = st.getServiceR... | [
"protected",
"Future",
"<",
"?",
">",
"dispatch",
"(",
"final",
"int",
"eventType",
",",
"final",
"String",
"factoryPid",
",",
"final",
"String",
"pid",
")",
"{",
"final",
"ConfigurationEvent",
"event",
"=",
"createConfigurationEvent",
"(",
"eventType",
",",
"... | Dispatch ConfigurationEvent to the ConfigurationListeners.
@param pid
- Service PID
@param factoryPid
- factory PID
@param eventType
- ConfigurationEvent type | [
"Dispatch",
"ConfigurationEvent",
"to",
"the",
"ConfigurationListeners",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/admin/internal/ConfigEventDispatcher.java#L79-L115 |
70,017 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/jitdeploy/EJBWrapper.java | EJBWrapper.addDefaultEqualsMethod | private static void addDefaultEqualsMethod(ClassWriter cw, String implClassName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, INDENT + "adding method : equals (Ljava/lang/Object;)Z");
// -----------------------------------------------------------------... | java | private static void addDefaultEqualsMethod(ClassWriter cw, String implClassName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, INDENT + "adding method : equals (Ljava/lang/Object;)Z");
// -----------------------------------------------------------------... | [
"private",
"static",
"void",
"addDefaultEqualsMethod",
"(",
"ClassWriter",
"cw",
",",
"String",
"implClassName",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
... | Adds the default definition for the Object.equals method.
@param cw ASM ClassWriter to add the method to.
@param implClassName name of the wrapper class being generated. | [
"Adds",
"the",
"default",
"definition",
"for",
"the",
"Object",
".",
"equals",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/jitdeploy/EJBWrapper.java#L631-L664 |
70,018 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/jitdeploy/EJBWrapper.java | EJBWrapper.addDefaultHashCodeMethod | private static void addDefaultHashCodeMethod(ClassWriter cw, String implClassName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, INDENT + "adding method : hashCode ()I");
// -----------------------------------------------------------------------
... | java | private static void addDefaultHashCodeMethod(ClassWriter cw, String implClassName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, INDENT + "adding method : hashCode ()I");
// -----------------------------------------------------------------------
... | [
"private",
"static",
"void",
"addDefaultHashCodeMethod",
"(",
"ClassWriter",
"cw",
",",
"String",
"implClassName",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug"... | Adds the default definition for the Object.hashCode method.
@param cw ASM ClassWriter to add the method to.
@param implClassName name of the wrapper class being generated. | [
"Adds",
"the",
"default",
"definition",
"for",
"the",
"Object",
".",
"hashCode",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/jitdeploy/EJBWrapper.java#L672-L698 |
70,019 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/jitdeploy/EJBWrapper.java | EJBWrapper.getInvalidBusinessExtends | private static Class<?> getInvalidBusinessExtends(Class<?> wrapperInterface)
{
if ((EJBLocalObject.class).isAssignableFrom(wrapperInterface))
return EJBLocalObject.class;
if ((EJBLocalHome.class).isAssignableFrom(wrapperInterface))
return EJBLocalHome.class;
if ((EJBO... | java | private static Class<?> getInvalidBusinessExtends(Class<?> wrapperInterface)
{
if ((EJBLocalObject.class).isAssignableFrom(wrapperInterface))
return EJBLocalObject.class;
if ((EJBLocalHome.class).isAssignableFrom(wrapperInterface))
return EJBLocalHome.class;
if ((EJBO... | [
"private",
"static",
"Class",
"<",
"?",
">",
"getInvalidBusinessExtends",
"(",
"Class",
"<",
"?",
">",
"wrapperInterface",
")",
"{",
"if",
"(",
"(",
"EJBLocalObject",
".",
"class",
")",
".",
"isAssignableFrom",
"(",
"wrapperInterface",
")",
")",
"return",
"E... | d457128.2 | [
"d457128",
".",
"2"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/jitdeploy/EJBWrapper.java#L2406-L2418 |
70,020 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java | WsByteBufferPool.getEntry | public PooledWsByteBufferImpl getEntry() {
PooledWsByteBufferImpl returnValue = pool.get();
if (returnValue == null) {
returnValue = create();
}
if (inUseTable != null) {
inUseTable.put(returnValue, returnValue);
}
return returnValue;
} | java | public PooledWsByteBufferImpl getEntry() {
PooledWsByteBufferImpl returnValue = pool.get();
if (returnValue == null) {
returnValue = create();
}
if (inUseTable != null) {
inUseTable.put(returnValue, returnValue);
}
return returnValue;
} | [
"public",
"PooledWsByteBufferImpl",
"getEntry",
"(",
")",
"{",
"PooledWsByteBufferImpl",
"returnValue",
"=",
"pool",
".",
"get",
"(",
")",
";",
"if",
"(",
"returnValue",
"==",
"null",
")",
"{",
"returnValue",
"=",
"create",
"(",
")",
";",
"}",
"if",
"(",
... | Return a buffer from the pool, or allocate a new buffer is the pool
is full.
@return PooledWsByteBufferImpl | [
"Return",
"a",
"buffer",
"from",
"the",
"pool",
"or",
"allocate",
"a",
"new",
"buffer",
"is",
"the",
"pool",
"is",
"full",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java#L102-L111 |
70,021 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java | WsByteBufferPool.release | public void release(PooledWsByteBufferImpl buffer) {
if (inUseTable != null) {
inUseTable.remove(buffer);
}
boolean pooled = pool.put(buffer);
if (isDirectPool && !pooled) {
destroy(buffer);
}
} | java | public void release(PooledWsByteBufferImpl buffer) {
if (inUseTable != null) {
inUseTable.remove(buffer);
}
boolean pooled = pool.put(buffer);
if (isDirectPool && !pooled) {
destroy(buffer);
}
} | [
"public",
"void",
"release",
"(",
"PooledWsByteBufferImpl",
"buffer",
")",
"{",
"if",
"(",
"inUseTable",
"!=",
"null",
")",
"{",
"inUseTable",
".",
"remove",
"(",
"buffer",
")",
";",
"}",
"boolean",
"pooled",
"=",
"pool",
".",
"put",
"(",
"buffer",
")",
... | Return a buffer to the pool or free the buffer to be garbage
collected if the pool is full.
@param buffer to be released.
@param entryID | [
"Return",
"a",
"buffer",
"to",
"the",
"pool",
"or",
"free",
"the",
"buffer",
"to",
"be",
"garbage",
"collected",
"if",
"the",
"pool",
"is",
"full",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java#L120-L128 |
70,022 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java | WsByteBufferPool.getInUse | @SuppressWarnings("unchecked")
public Object[] getInUse() {
return inUseTable != null ? (((Hashtable<PooledWsByteBufferImpl, PooledWsByteBufferImpl>) inUseTable.clone()).keySet().toArray()) : new Object[0];
} | java | @SuppressWarnings("unchecked")
public Object[] getInUse() {
return inUseTable != null ? (((Hashtable<PooledWsByteBufferImpl, PooledWsByteBufferImpl>) inUseTable.clone()).keySet().toArray()) : new Object[0];
} | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"public",
"Object",
"[",
"]",
"getInUse",
"(",
")",
"{",
"return",
"inUseTable",
"!=",
"null",
"?",
"(",
"(",
"(",
"Hashtable",
"<",
"PooledWsByteBufferImpl",
",",
"PooledWsByteBufferImpl",
">",
")",
"inUseTa... | Return the inUse table.
@return Object[] an array of Objects representing the inUse table | [
"Return",
"the",
"inUse",
"table",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java#L135-L138 |
70,023 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java | WsByteBufferPool.removeFromInUse | public void removeFromInUse(Object buffer) {
if (inUseTable != null) {
if (null == buffer) {
throw new NullPointerException();
}
inUseTable.remove(buffer);
}
} | java | public void removeFromInUse(Object buffer) {
if (inUseTable != null) {
if (null == buffer) {
throw new NullPointerException();
}
inUseTable.remove(buffer);
}
} | [
"public",
"void",
"removeFromInUse",
"(",
"Object",
"buffer",
")",
"{",
"if",
"(",
"inUseTable",
"!=",
"null",
")",
"{",
"if",
"(",
"null",
"==",
"buffer",
")",
"{",
"throw",
"new",
"NullPointerException",
"(",
")",
";",
"}",
"inUseTable",
".",
"remove",... | Remove a buffer from the InUse pool. To be used when the buffer
should be removed without waiting for the release logic to remove it.
@param buffer to be released. | [
"Remove",
"a",
"buffer",
"from",
"the",
"InUse",
"pool",
".",
"To",
"be",
"used",
"when",
"the",
"buffer",
"should",
"be",
"removed",
"without",
"waiting",
"for",
"the",
"release",
"logic",
"to",
"remove",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/WsByteBufferPool.java#L146-L153 |
70,024 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaDispatchEndpointActivation.java | SibRaDispatchEndpointActivation.internalDeactivate | void internalDeactivate ()
{
final String methodName = "internalDeactivate";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName);
}
synchronized (_sessionsByMeUuid) {
_sessionsByMeUuid.clear();
}
super.dea... | java | void internalDeactivate ()
{
final String methodName = "internalDeactivate";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName);
}
synchronized (_sessionsByMeUuid) {
_sessionsByMeUuid.clear();
}
super.dea... | [
"void",
"internalDeactivate",
"(",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"internalDeactivate\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry"... | This method performs tidy up on the endpoint activation and calls the base class's
deactivate method | [
"This",
"method",
"performs",
"tidy",
"up",
"on",
"the",
"endpoint",
"activation",
"and",
"calls",
"the",
"base",
"class",
"s",
"deactivate",
"method"
] | 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/SibRaDispatchEndpointActivation.java#L401-L418 |
70,025 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaDispatchEndpointActivation.java | SibRaDispatchEndpointActivation.closeConnection | protected void closeConnection(final String meUuid, boolean alreadyClosed) {
final String methodName = "closeConnection";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, meUuid);
}
synchronized (_sessionsByMeUuid) {... | java | protected void closeConnection(final String meUuid, boolean alreadyClosed) {
final String methodName = "closeConnection";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, meUuid);
}
synchronized (_sessionsByMeUuid) {... | [
"protected",
"void",
"closeConnection",
"(",
"final",
"String",
"meUuid",
",",
"boolean",
"alreadyClosed",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"closeConnection\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",... | Closes the connection for the given messaging engine if there is one
open. Removes any corresponding sessions from the maps.
@param meUuid
the UUID for the messaging engine to close the connection for | [
"Closes",
"the",
"connection",
"for",
"the",
"given",
"messaging",
"engine",
"if",
"there",
"is",
"one",
"open",
".",
"Removes",
"any",
"corresponding",
"sessions",
"from",
"the",
"maps",
"."
] | 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/SibRaDispatchEndpointActivation.java#L427-L446 |
70,026 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaDispatchEndpointActivation.java | SibRaDispatchEndpointActivation.getEndpointActivation | static SibRaDispatchEndpointActivation getEndpointActivation(
final String j2eeName) {
final String methodName = "getEndpointActivation";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(SibRaDispatchEndpointActivation.class,
... | java | static SibRaDispatchEndpointActivation getEndpointActivation(
final String j2eeName) {
final String methodName = "getEndpointActivation";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(SibRaDispatchEndpointActivation.class,
... | [
"static",
"SibRaDispatchEndpointActivation",
"getEndpointActivation",
"(",
"final",
"String",
"j2eeName",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"getEndpointActivation\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",
... | Returns the endpoint activation for the message-driven bean with the
given J2EE name. There is an array of endpoint activations and this method
will return one by going round robin through them all. The round robin
behaviour is obtained by using an internal cursor to iterate through
the endpoints in the array.
@param ... | [
"Returns",
"the",
"endpoint",
"activation",
"for",
"the",
"message",
"-",
"driven",
"bean",
"with",
"the",
"given",
"J2EE",
"name",
".",
"There",
"is",
"an",
"array",
"of",
"endpoint",
"activations",
"and",
"this",
"method",
"will",
"return",
"one",
"by",
... | 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/SibRaDispatchEndpointActivation.java#L621-L650 |
70,027 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecoveryLogImpl.java | RecoveryLogImpl.associateLog | @Override
public void associateLog(DistributedRecoveryLog otherLog, boolean failAssociatedLog)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "associateLog", new Object[] { otherLog, failAssociatedLog, this });
if (otherLog instanceof RecoveryLogImpl)
_recoveryLog.associateLog(... | java | @Override
public void associateLog(DistributedRecoveryLog otherLog, boolean failAssociatedLog)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "associateLog", new Object[] { otherLog, failAssociatedLog, this });
if (otherLog instanceof RecoveryLogImpl)
_recoveryLog.associateLog(... | [
"@",
"Override",
"public",
"void",
"associateLog",
"(",
"DistributedRecoveryLog",
"otherLog",
",",
"boolean",
"failAssociatedLog",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"associateLog\"",
",",
"... | Associates another log with this one. | [
"Associates",
"another",
"log",
"with",
"this",
"one",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecoveryLogImpl.java#L281-L293 |
70,028 | OpenLiberty/open-liberty | dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/JTMConfigurationProvider.java | JTMConfigurationProvider.setTMS | public void setTMS(TransactionManagerService tms) {
if (tc.isDebugEnabled())
Tr.debug(tc, "setTMS " + tms);
tmsRef = tms;
} | java | public void setTMS(TransactionManagerService tms) {
if (tc.isDebugEnabled())
Tr.debug(tc, "setTMS " + tms);
tmsRef = tms;
} | [
"public",
"void",
"setTMS",
"(",
"TransactionManagerService",
"tms",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"setTMS \"",
"+",
"tms",
")",
";",
"tmsRef",
"=",
"tms",
";",
"}"
] | The setTMS method call is used to alert the JTMConfigurationProvider to the presence of a
TransactionManagerService.
@param tms | [
"The",
"setTMS",
"method",
"call",
"is",
"used",
"to",
"alert",
"the",
"JTMConfigurationProvider",
"to",
"the",
"presence",
"of",
"a",
"TransactionManagerService",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/JTMConfigurationProvider.java#L387-L391 |
70,029 | OpenLiberty/open-liberty | dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/JTMConfigurationProvider.java | JTMConfigurationProvider.checkDataSourceRef | private void checkDataSourceRef() {
Object configuredDSR = _props.get("dataSourceRef");
if (configuredDSR == null) {
if (tc.isDebugEnabled())
Tr.debug(tc, "dataSourceRef is not specified, log to filesys");
_isSQLRecoveryLog = false;
} else {
i... | java | private void checkDataSourceRef() {
Object configuredDSR = _props.get("dataSourceRef");
if (configuredDSR == null) {
if (tc.isDebugEnabled())
Tr.debug(tc, "dataSourceRef is not specified, log to filesys");
_isSQLRecoveryLog = false;
} else {
i... | [
"private",
"void",
"checkDataSourceRef",
"(",
")",
"{",
"Object",
"configuredDSR",
"=",
"_props",
".",
"get",
"(",
"\"dataSourceRef\"",
")",
";",
"if",
"(",
"configuredDSR",
"==",
"null",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"... | Determine whether the server is configured to store Tran Logs in an RDBMS, | [
"Determine",
"whether",
"the",
"server",
"is",
"configured",
"to",
"store",
"Tran",
"Logs",
"in",
"an",
"RDBMS"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/JTMConfigurationProvider.java#L450-L478 |
70,030 | OpenLiberty/open-liberty | dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/JTMConfigurationProvider.java | JTMConfigurationProvider.parseTransactionLogDirectory | private String parseTransactionLogDirectory() {
if (tc.isDebugEnabled())
Tr.debug(tc, "parseTransactionLogDirectory working with " + _props);
String configuredLogDir = (String) _props.get("transactionLogDirectory");
// don't allow null to be returned - it will result in use of a loc... | java | private String parseTransactionLogDirectory() {
if (tc.isDebugEnabled())
Tr.debug(tc, "parseTransactionLogDirectory working with " + _props);
String configuredLogDir = (String) _props.get("transactionLogDirectory");
// don't allow null to be returned - it will result in use of a loc... | [
"private",
"String",
"parseTransactionLogDirectory",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"parseTransactionLogDirectory working with \"",
"+",
"_props",
")",
";",
"String",
"configuredLogDir",
... | This method should only be used where logging to a file system.
@return the full path of the log directory | [
"This",
"method",
"should",
"only",
"be",
"used",
"where",
"logging",
"to",
"a",
"file",
"system",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/JTMConfigurationProvider.java#L485-L540 |
70,031 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/DefaultFacesConfigurationProvider.java | DefaultFacesConfigurationProvider.getClassloaderFacesConfig | @Override
public List<FacesConfig> getClassloaderFacesConfig(ExternalContext ectx)
{
List<FacesConfig> appConfigResources = new ArrayList<FacesConfig>();
try
{
FacesConfigResourceProvider provider = FacesConfigResourceProviderFactory.
getFacesConfigResourcePro... | java | @Override
public List<FacesConfig> getClassloaderFacesConfig(ExternalContext ectx)
{
List<FacesConfig> appConfigResources = new ArrayList<FacesConfig>();
try
{
FacesConfigResourceProvider provider = FacesConfigResourceProviderFactory.
getFacesConfigResourcePro... | [
"@",
"Override",
"public",
"List",
"<",
"FacesConfig",
">",
"getClassloaderFacesConfig",
"(",
"ExternalContext",
"ectx",
")",
"{",
"List",
"<",
"FacesConfig",
">",
"appConfigResources",
"=",
"new",
"ArrayList",
"<",
"FacesConfig",
">",
"(",
")",
";",
"try",
"{... | This method fixes MYFACES-208 | [
"This",
"method",
"fixes",
"MYFACES",
"-",
"208"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/DefaultFacesConfigurationProvider.java#L303-L345 |
70,032 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.handleMessage | public void handleMessage(
MessageItem msg,
TransactionCommon transaction,
SIBUuid8 sourceMEUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleMessage", new Object[]{msg, transaction, sourceMEUuid});
SIErrorException e = new SIErrorExcepti... | java | public void handleMessage(
MessageItem msg,
TransactionCommon transaction,
SIBUuid8 sourceMEUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleMessage", new Object[]{msg, transaction, sourceMEUuid});
SIErrorException e = new SIErrorExcepti... | [
"public",
"void",
"handleMessage",
"(",
"MessageItem",
"msg",
",",
"TransactionCommon",
"transaction",
",",
"SIBUuid8",
"sourceMEUuid",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",... | This method is a NOP for durable handlers.
@param msg ignored
@param transaction ignored
@param producerSession ignored
@param sourceCellule ignored
@param targetCellule ignored | [
"This",
"method",
"is",
"a",
"NOP",
"for",
"durable",
"handlers",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L108-L142 |
70,033 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.handleControlMessage | public void handleControlMessage(SIBUuid8 sourceMEUuid, ControlMessage cMsg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleControlMessage", new Object[]{sourceMEUuid, cMsg});
InvalidOperationException e = new InvalidOperationException(
nls.getF... | java | public void handleControlMessage(SIBUuid8 sourceMEUuid, ControlMessage cMsg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleControlMessage", new Object[]{sourceMEUuid, cMsg});
InvalidOperationException e = new InvalidOperationException(
nls.getF... | [
"public",
"void",
"handleControlMessage",
"(",
"SIBUuid8",
"sourceMEUuid",
",",
"ControlMessage",
"cMsg",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",... | NOP for the durable handlers. | [
"NOP",
"for",
"the",
"durable",
"handlers",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L151-L180 |
70,034 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.staticHandleControlMessage | public static void staticHandleControlMessage(ControlMessage cMsg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "staticHandleControlMessage",
new Object[] {cMsg});
ControlMessageType type = cMsg.getControlMessageType();
if ((type == ControlMess... | java | public static void staticHandleControlMessage(ControlMessage cMsg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "staticHandleControlMessage",
new Object[] {cMsg});
ControlMessageType type = cMsg.getControlMessageType();
if ((type == ControlMess... | [
"public",
"static",
"void",
"staticHandleControlMessage",
"(",
"ControlMessage",
"cMsg",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"... | This is the only message handling method which should be invoked
on the DurableInputHandler. This method will receive control messages
giving the status of durable subcription creation or deletion, as well
as stream creation requests.
@param sourceCellue The origin of the message.
@param cMsg The ControlMessage to pr... | [
"This",
"is",
"the",
"only",
"message",
"handling",
"method",
"which",
"should",
"be",
"invoked",
"on",
"the",
"DurableInputHandler",
".",
"This",
"method",
"will",
"receive",
"control",
"messages",
"giving",
"the",
"status",
"of",
"durable",
"subcription",
"cre... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L191-L243 |
70,035 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.wakeupWaiter | protected static void wakeupWaiter(long reqID, Object result)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "wakeupWaiter", new Object[] {new Long(reqID), result});
synchronized (_requestMap)
{
Long key = new Long(reqID);
Object[] waiter... | java | protected static void wakeupWaiter(long reqID, Object result)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "wakeupWaiter", new Object[] {new Long(reqID), result});
synchronized (_requestMap)
{
Long key = new Long(reqID);
Object[] waiter... | [
"protected",
"static",
"void",
"wakeupWaiter",
"(",
"long",
"reqID",
",",
"Object",
"result",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
... | Attempt to wake up a blocked thread waiting for a request reply.
@param reqID The ID of the request for which a reply was received.
@param result The reply message. | [
"Attempt",
"to",
"wake",
"up",
"a",
"blocked",
"thread",
"waiting",
"for",
"a",
"request",
"reply",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L251-L275 |
70,036 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.createDurableCreateStream | protected static ControlCreateStream createDurableCreateStream(
MessageProcessor MP,
ConsumerDispatcherState subState,
long reqID,
SIBUuid8 dme)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createDurableCreateStream", new Object[] {MP, subState, new Lo... | java | protected static ControlCreateStream createDurableCreateStream(
MessageProcessor MP,
ConsumerDispatcherState subState,
long reqID,
SIBUuid8 dme)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createDurableCreateStream", new Object[] {MP, subState, new Lo... | [
"protected",
"static",
"ControlCreateStream",
"createDurableCreateStream",
"(",
"MessageProcessor",
"MP",
",",
"ConsumerDispatcherState",
"subState",
",",
"long",
"reqID",
",",
"SIBUuid8",
"dme",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
... | Create a CreateStream request for an existing durable connection.
@param subState The state describing the subscription we are attaching to.
@param reqID The request ID to be used for the request.
@param dme The dme to which the request should be sent | [
"Create",
"a",
"CreateStream",
"request",
"for",
"an",
"existing",
"durable",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L284-L359 |
70,037 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.createDurableCreateDurable | protected static ControlCreateDurable createDurableCreateDurable(
MessageProcessor MP,
ConsumerDispatcherState subState,
long reqID,
SIBUuid8 dme)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createDurableCreateDurable", new Object[] {MP, subState, new... | java | protected static ControlCreateDurable createDurableCreateDurable(
MessageProcessor MP,
ConsumerDispatcherState subState,
long reqID,
SIBUuid8 dme)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createDurableCreateDurable", new Object[] {MP, subState, new... | [
"protected",
"static",
"ControlCreateDurable",
"createDurableCreateDurable",
"(",
"MessageProcessor",
"MP",
",",
"ConsumerDispatcherState",
"subState",
",",
"long",
"reqID",
",",
"SIBUuid8",
"dme",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
... | Create a CreateDurable request for a new durable connection.
@param subState The state describing the subscription to be created.
@param reqID The request ID to be used for the request.
@param dme The dme to which the request should be sent | [
"Create",
"a",
"CreateDurable",
"request",
"for",
"a",
"new",
"durable",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L368-L482 |
70,038 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.createDurableDeleteDurable | protected static ControlDeleteDurable createDurableDeleteDurable(
MessageProcessor MP,
String subName,
String userName,
long reqID,
SIBUuid8 dme)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createDurableDeleteDurable", new Object[] {MP, subName, u... | java | protected static ControlDeleteDurable createDurableDeleteDurable(
MessageProcessor MP,
String subName,
String userName,
long reqID,
SIBUuid8 dme)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createDurableDeleteDurable", new Object[] {MP, subName, u... | [
"protected",
"static",
"ControlDeleteDurable",
"createDurableDeleteDurable",
"(",
"MessageProcessor",
"MP",
",",
"String",
"subName",
",",
"String",
"userName",
",",
"long",
"reqID",
",",
"SIBUuid8",
"dme",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEn... | Create a DeleteDurable request for an existing durable connection.
@param subName the name of the subscription to delete.
@param reqID The request ID to be used for the request.
@param dme The dme to which the request should be sent | [
"Create",
"a",
"DeleteDurable",
"request",
"for",
"an",
"existing",
"durable",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L491-L527 |
70,039 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.issueRequest | public static Object issueRequest(
MessageProcessor MP,
ControlMessage msg,
SIBUuid8 remoteUuid,
long retry,
int tries,
long requestID)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "issueRequest", new Object[] {MP, msg, remoteUuid, new... | java | public static Object issueRequest(
MessageProcessor MP,
ControlMessage msg,
SIBUuid8 remoteUuid,
long retry,
int tries,
long requestID)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "issueRequest", new Object[] {MP, msg, remoteUuid, new... | [
"public",
"static",
"Object",
"issueRequest",
"(",
"MessageProcessor",
"MP",
",",
"ControlMessage",
"msg",
",",
"SIBUuid8",
"remoteUuid",
",",
"long",
"retry",
",",
"int",
"tries",
",",
"long",
"requestID",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTra... | Issue a general request, wait for the reply, then return it.
@param msg The ControlMessage to send.
@param me The ME to send the request to.
@param retry The retry interval (in milliseconds) for the request.
@param tries The number of times to attempt to send the request.
@param requestID The unique ID of the request
... | [
"Issue",
"a",
"general",
"request",
"wait",
"for",
"the",
"reply",
"then",
"return",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L567-L616 |
70,040 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.issueCreateDurableRequest | public static int issueCreateDurableRequest(
MessageProcessor MP,
ConsumerDispatcherState subState,
SIBUuid8 remoteMEUuid,
SIBUuid12 destinationID)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "issueCreateDurableRequest", ... | java | public static int issueCreateDurableRequest(
MessageProcessor MP,
ConsumerDispatcherState subState,
SIBUuid8 remoteMEUuid,
SIBUuid12 destinationID)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "issueCreateDurableRequest", ... | [
"public",
"static",
"int",
"issueCreateDurableRequest",
"(",
"MessageProcessor",
"MP",
",",
"ConsumerDispatcherState",
"subState",
",",
"SIBUuid8",
"remoteMEUuid",
",",
"SIBUuid12",
"destinationID",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
... | Issue a CreateDurable request for a new remote durable subscription.
The caller is blocked until we receive a reply for this request.
@param req The state describing the request
@return One of STATUS_OK, STATUS_SUB_ALREADY_EXISTS, or STATUS_SUB_GENERAL_ERROR | [
"Issue",
"a",
"CreateDurable",
"request",
"for",
"a",
"new",
"remote",
"durable",
"subscription",
".",
"The",
"caller",
"is",
"blocked",
"until",
"we",
"receive",
"a",
"reply",
"for",
"this",
"request",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L753-L793 |
70,041 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.issueDeleteDurableRequest | public static int issueDeleteDurableRequest(
MessageProcessor MP,
String subName,
String userName,
SIBUuid8 remoteMEUuid)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "issueDeleteDurableRequest", new Object[] {MP, subName... | java | public static int issueDeleteDurableRequest(
MessageProcessor MP,
String subName,
String userName,
SIBUuid8 remoteMEUuid)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "issueDeleteDurableRequest", new Object[] {MP, subName... | [
"public",
"static",
"int",
"issueDeleteDurableRequest",
"(",
"MessageProcessor",
"MP",
",",
"String",
"subName",
",",
"String",
"userName",
",",
"SIBUuid8",
"remoteMEUuid",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabl... | Issue a DeleteDurable request for an existing remote durable subscription.
The caller is blocked until we receive a reply for this request.
@param req The state describing the request
@return One of STATUS_OK, STATUS_SUB_NOT_FOUND, or STATUS_SUB_GENERAL_ERROR | [
"Issue",
"a",
"DeleteDurable",
"request",
"for",
"an",
"existing",
"remote",
"durable",
"subscription",
".",
"The",
"caller",
"is",
"blocked",
"until",
"we",
"receive",
"a",
"reply",
"for",
"this",
"request",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L802-L839 |
70,042 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.internalAlarmHandler | protected static void internalAlarmHandler(Object arg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "internalAlarmHandler", arg);
ResendRecord record = (ResendRecord) arg;
synchronized (_requestMap)
{
Long key = new Long(record.requestID);
... | java | protected static void internalAlarmHandler(Object arg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "internalAlarmHandler", arg);
ResendRecord record = (ResendRecord) arg;
synchronized (_requestMap)
{
Long key = new Long(record.requestID);
... | [
"protected",
"static",
"void",
"internalAlarmHandler",
"(",
"Object",
"arg",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"internalAlar... | Process a retry alarm.
@param arg This should be an instance of ResendRecord indicating
how we should retry the request. | [
"Process",
"a",
"retry",
"alarm",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L851-L887 |
70,043 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.createRemoteDurableSubscription | public static void createRemoteDurableSubscription(
MessageProcessor MP,
ConsumerDispatcherState subState,
SIBUuid8 remoteMEUuid,
SIBUuid12 destinationID)
throws SIDurableSubscriptionAlreadyExistsException,
SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntr... | java | public static void createRemoteDurableSubscription(
MessageProcessor MP,
ConsumerDispatcherState subState,
SIBUuid8 remoteMEUuid,
SIBUuid12 destinationID)
throws SIDurableSubscriptionAlreadyExistsException,
SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntr... | [
"public",
"static",
"void",
"createRemoteDurableSubscription",
"(",
"MessageProcessor",
"MP",
",",
"ConsumerDispatcherState",
"subState",
",",
"SIBUuid8",
"remoteMEUuid",
",",
"SIBUuid12",
"destinationID",
")",
"throws",
"SIDurableSubscriptionAlreadyExistsException",
",",
"SI... | Attempt to create a durable subscription on a remote ME.
@param MP The MessageProcessor.
@param subState State describing the subscription to create.
@param remoteME The ME where the subscription should be created. | [
"Attempt",
"to",
"create",
"a",
"durable",
"subscription",
"on",
"a",
"remote",
"ME",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L896-L947 |
70,044 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java | DurableInputHandler.deleteRemoteDurableSub | public static void deleteRemoteDurableSub(
MessageProcessor MP,
String subName,
String userName,
SIBUuid8 remoteMEUuid)
throws SIResourceException,
SIDurableSubscriptionNotFoundException,
SIDestinationLockedException,
SINotAuthorizedException
{
if (TraceCompone... | java | public static void deleteRemoteDurableSub(
MessageProcessor MP,
String subName,
String userName,
SIBUuid8 remoteMEUuid)
throws SIResourceException,
SIDurableSubscriptionNotFoundException,
SIDestinationLockedException,
SINotAuthorizedException
{
if (TraceCompone... | [
"public",
"static",
"void",
"deleteRemoteDurableSub",
"(",
"MessageProcessor",
"MP",
",",
"String",
"subName",
",",
"String",
"userName",
",",
"SIBUuid8",
"remoteMEUuid",
")",
"throws",
"SIResourceException",
",",
"SIDurableSubscriptionNotFoundException",
",",
"SIDestinat... | Attempt to delete a durable subscription on a remote ME. | [
"Attempt",
"to",
"delete",
"a",
"durable",
"subscription",
"on",
"a",
"remote",
"ME",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableInputHandler.java#L953-L1046 |
70,045 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/jaas/JAASServiceImpl.java | JAASServiceImpl.performLogin | @Override
public Subject performLogin(String jaasEntryName, CallbackHandler callbackHandler, Subject partialSubject) throws LoginException {
LoginContext loginContext = null;
loginContext = doLoginContext(jaasEntryName, callbackHandler, partialSubject);
return (loginContext == null ? null : ... | java | @Override
public Subject performLogin(String jaasEntryName, CallbackHandler callbackHandler, Subject partialSubject) throws LoginException {
LoginContext loginContext = null;
loginContext = doLoginContext(jaasEntryName, callbackHandler, partialSubject);
return (loginContext == null ? null : ... | [
"@",
"Override",
"public",
"Subject",
"performLogin",
"(",
"String",
"jaasEntryName",
",",
"CallbackHandler",
"callbackHandler",
",",
"Subject",
"partialSubject",
")",
"throws",
"LoginException",
"{",
"LoginContext",
"loginContext",
"=",
"null",
";",
"loginContext",
"... | Performs a JAAS login.
@param jaasEntryName
@param callbackHandler
@param partialSubject
@return the authenticated subject.
@throws javax.security.auth.login.LoginException | [
"Performs",
"a",
"JAAS",
"login",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/jaas/JAASServiceImpl.java#L326-L331 |
70,046 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/jaas/JAASServiceImpl.java | JAASServiceImpl.configReady | public void configReady() {
if (authenticationService != null) {
JAASChangeNotifier notifier = jaasChangeNotifierService.getService();
if (notifier != null) {
notifier.notifyListeners();
}
}
} | java | public void configReady() {
if (authenticationService != null) {
JAASChangeNotifier notifier = jaasChangeNotifierService.getService();
if (notifier != null) {
notifier.notifyListeners();
}
}
} | [
"public",
"void",
"configReady",
"(",
")",
"{",
"if",
"(",
"authenticationService",
"!=",
"null",
")",
"{",
"JAASChangeNotifier",
"notifier",
"=",
"jaasChangeNotifierService",
".",
"getService",
"(",
")",
";",
"if",
"(",
"notifier",
"!=",
"null",
")",
"{",
"... | Notify interested parties that the configuration was changed only if the authentication service
is already up and running. | [
"Notify",
"interested",
"parties",
"that",
"the",
"configuration",
"was",
"changed",
"only",
"if",
"the",
"authentication",
"service",
"is",
"already",
"up",
"and",
"running",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/jaas/JAASServiceImpl.java#L365-L372 |
70,047 | OpenLiberty/open-liberty | dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrCoordinator.java | SessionMgrCoordinator.deactivate | protected void deactivate(ComponentContext context) {
if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
LoggingUtil.SESSION_LOGGER_CORE.entering(CLASS_NAME, "deactivate", context);
}
this.unregisterSessionManager(); // we won't res... | java | protected void deactivate(ComponentContext context) {
if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
LoggingUtil.SESSION_LOGGER_CORE.entering(CLASS_NAME, "deactivate", context);
}
this.unregisterSessionManager(); // we won't res... | [
"protected",
"void",
"deactivate",
"(",
"ComponentContext",
"context",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"LoggingUtil",
".",
"SESSION_LOGGER_CORE",
".",
"isLoggable",
"(",
"Level",
".",
"FINER",
")",
")",
"{",
"... | Since this service is immediate and dynamic, it will not be
deactivated unless the Servlet feature is removed. When this happens,
we assume that an external feature stops applications appropariately.
The deactivate should NOT stop applications via the appRecycleService
because it will NOT be able to issue a correspondi... | [
"Since",
"this",
"service",
"is",
"immediate",
"and",
"dynamic",
"it",
"will",
"not",
"be",
"deactivated",
"unless",
"the",
"Servlet",
"feature",
"is",
"removed",
".",
"When",
"this",
"happens",
"we",
"assume",
"that",
"an",
"external",
"feature",
"stops",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrCoordinator.java#L123-L131 |
70,048 | OpenLiberty/open-liberty | dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrCoordinator.java | SessionMgrCoordinator.setLocationService | protected void setLocationService(WsLocationAdmin wsLocationAdmin) {
if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
LoggingUtil.SESSION_LOGGER_CORE.entering(CLASS_NAME, "setLocationService", wsLocationAdmin);
}
this.wsLocationAd... | java | protected void setLocationService(WsLocationAdmin wsLocationAdmin) {
if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
LoggingUtil.SESSION_LOGGER_CORE.entering(CLASS_NAME, "setLocationService", wsLocationAdmin);
}
this.wsLocationAd... | [
"protected",
"void",
"setLocationService",
"(",
"WsLocationAdmin",
"wsLocationAdmin",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"LoggingUtil",
".",
"SESSION_LOGGER_CORE",
".",
"isLoggable",
"(",
"Level",
".",
"FINER",
")",
... | Since the location service is only used during SessionManager initialization,
we don't need to re-register the SessionManager service or restart applications
if there's a change to the location service.
@param wsLocationAdmin the service used to determine the default session clone ID | [
"Since",
"the",
"location",
"service",
"is",
"only",
"used",
"during",
"SessionManager",
"initialization",
"we",
"don",
"t",
"need",
"to",
"re",
"-",
"register",
"the",
"SessionManager",
"service",
"or",
"restart",
"applications",
"if",
"there",
"s",
"a",
"cha... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrCoordinator.java#L318-L326 |
70,049 | OpenLiberty/open-liberty | dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrCoordinator.java | SessionMgrCoordinator.setScheduledExecutorService | protected void setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) {
if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
LoggingUtil.SESSION_LOGGER_CORE.entering(CLASS_NAME, "setScheduledExecutorService", scheduledExecutor... | java | protected void setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) {
if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
LoggingUtil.SESSION_LOGGER_CORE.entering(CLASS_NAME, "setScheduledExecutorService", scheduledExecutor... | [
"protected",
"void",
"setScheduledExecutorService",
"(",
"ScheduledExecutorService",
"scheduledExecutorService",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"LoggingUtil",
".",
"SESSION_LOGGER_CORE",
".",
"isLoggable",
"(",
"Level",
... | Tracing is also added for debugging purposes | [
"Tracing",
"is",
"also",
"added",
"for",
"debugging",
"purposes"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrCoordinator.java#L446-L454 |
70,050 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/metagen/RAAnnotationProcessor.java | RAAnnotationProcessor.getProcessedConnector | public RaConnector getProcessedConnector() throws ResourceAdapterInternalException {
final boolean trace = TraceComponent.isAnyTracingEnabled();
String jcaVersion = getAdapterVersion(deploymentDescriptor);
boolean processAnno = checkProcessAnnotations(deploymentDescriptor, jcaVersion);
... | java | public RaConnector getProcessedConnector() throws ResourceAdapterInternalException {
final boolean trace = TraceComponent.isAnyTracingEnabled();
String jcaVersion = getAdapterVersion(deploymentDescriptor);
boolean processAnno = checkProcessAnnotations(deploymentDescriptor, jcaVersion);
... | [
"public",
"RaConnector",
"getProcessedConnector",
"(",
")",
"throws",
"ResourceAdapterInternalException",
"{",
"final",
"boolean",
"trace",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"String",
"jcaVersion",
"=",
"getAdapterVersion",
"(",
"deployme... | Create a RaConnector xml object and all its associated xml objects
that represents the combined ra.xml, wlp-ra.xml, and annotations, if any
that are present in the rar file.
@return RaConnector that represents the resource adapter instance
@throws ResourceAdapterInternalException if any JCA spec violations are detecte... | [
"Create",
"a",
"RaConnector",
"xml",
"object",
"and",
"all",
"its",
"associated",
"xml",
"objects",
"that",
"represents",
"the",
"combined",
"ra",
".",
"xml",
"wlp",
"-",
"ra",
".",
"xml",
"and",
"annotations",
"if",
"any",
"that",
"are",
"present",
"in",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/metagen/RAAnnotationProcessor.java#L183-L282 |
70,051 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/metagen/RAAnnotationProcessor.java | RAAnnotationProcessor.mergeConfigProperties | @SuppressWarnings("unchecked")
private List<RaConfigProperty> mergeConfigProperties(List<RaConfigProperty> rxConfigProperties, List<RaConfigProperty> annotatedConfigProperties) {
final boolean trace = TraceComponent.isAnyTracingEnabled();
LinkedList<RaConfigProperty> configProperties = new LinkedLi... | java | @SuppressWarnings("unchecked")
private List<RaConfigProperty> mergeConfigProperties(List<RaConfigProperty> rxConfigProperties, List<RaConfigProperty> annotatedConfigProperties) {
final boolean trace = TraceComponent.isAnyTracingEnabled();
LinkedList<RaConfigProperty> configProperties = new LinkedLi... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"private",
"List",
"<",
"RaConfigProperty",
">",
"mergeConfigProperties",
"(",
"List",
"<",
"RaConfigProperty",
">",
"rxConfigProperties",
",",
"List",
"<",
"RaConfigProperty",
">",
"annotatedConfigProperties",
")",
... | Merge config properties
@param rxConfigProperties config properties from ra.xml
@param annoConfigProperties config properties from annotations
@return a list of the merged config properties | [
"Merge",
"config",
"properties"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/metagen/RAAnnotationProcessor.java#L1105-L1175 |
70,052 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/AIMessageItem.java | AIMessageItem.getMaximumTimeInStore | public long getMaximumTimeInStore()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getMaximumTimeInStore");
long originalExpiryTime = super.getMaximumTimeInStore();
long rejectTime = aih.getRCD().getRejectTimeout();
if (originalExpiryTime == NEVER_EXPIRES)
{
... | java | public long getMaximumTimeInStore()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getMaximumTimeInStore");
long originalExpiryTime = super.getMaximumTimeInStore();
long rejectTime = aih.getRCD().getRejectTimeout();
if (originalExpiryTime == NEVER_EXPIRES)
{
... | [
"public",
"long",
"getMaximumTimeInStore",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMaximumTimeInStore\"",
")",
";",
"long... | Expiry at the Remote ME causes the message to be rejected by the
Remote ME. | [
"Expiry",
"at",
"the",
"Remote",
"ME",
"causes",
"the",
"message",
"to",
"be",
"rejected",
"by",
"the",
"Remote",
"ME",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/AIMessageItem.java#L283-L307 |
70,053 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/AIMessageItem.java | AIMessageItem.eventLocked | public void eventLocked()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventLocked");
// modify prefetching info
synchronized (this)
{
RemoteDispatchableKey dkey = key.getRemoteDispatchableKey();
RemoteQPConsumerKey ck = null;
if (dkey in... | java | public void eventLocked()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "eventLocked");
// modify prefetching info
synchronized (this)
{
RemoteDispatchableKey dkey = key.getRemoteDispatchableKey();
RemoteQPConsumerKey ck = null;
if (dkey in... | [
"public",
"void",
"eventLocked",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"eventLocked\"",
")",
";",
"// modify prefetching in... | Notification that this message has been locked. | [
"Notification",
"that",
"this",
"message",
"has",
"been",
"locked",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/items/AIMessageItem.java#L403-L428 |
70,054 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainedResponse.java | ChainedResponse.getChainedRequest | @SuppressWarnings("unchecked")
public HttpServletRequest getChainedRequest() throws IOException, ServletException{
if (super.containsError())
{
throw super.getError();
}
ChainedRequest req = new ChainedRequest(this, _req);
//transfer any auto transfer headers
... | java | @SuppressWarnings("unchecked")
public HttpServletRequest getChainedRequest() throws IOException, ServletException{
if (super.containsError())
{
throw super.getError();
}
ChainedRequest req = new ChainedRequest(this, _req);
//transfer any auto transfer headers
... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"public",
"HttpServletRequest",
"getChainedRequest",
"(",
")",
"throws",
"IOException",
",",
"ServletException",
"{",
"if",
"(",
"super",
".",
"containsError",
"(",
")",
")",
"{",
"throw",
"super",
".",
"getErr... | Returns a chained request that contains the data that was written to this response. | [
"Returns",
"a",
"chained",
"request",
"that",
"contains",
"the",
"data",
"that",
"was",
"written",
"to",
"this",
"response",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainedResponse.java#L66-L93 |
70,055 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainedResponse.java | ChainedResponse.setAutoTransferringHeader | @SuppressWarnings("unchecked")
public void setAutoTransferringHeader(String name, String value)
{
Hashtable headers = getAutoTransferringHeaders();
headers.put(name, value);
// setHeader(name, value);
} | java | @SuppressWarnings("unchecked")
public void setAutoTransferringHeader(String name, String value)
{
Hashtable headers = getAutoTransferringHeaders();
headers.put(name, value);
// setHeader(name, value);
} | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"public",
"void",
"setAutoTransferringHeader",
"(",
"String",
"name",
",",
"String",
"value",
")",
"{",
"Hashtable",
"headers",
"=",
"getAutoTransferringHeaders",
"(",
")",
";",
"headers",
".",
"put",
"(",
"nam... | Set a header that should be automatically transferred to all requests
in a chain. These headers will be backed up in a request attribute that
will automatically read and transferred by all ChainedResponses. This method
is useful for transparently transferring the original headers sent by the client
without forcing se... | [
"Set",
"a",
"header",
"that",
"should",
"be",
"automatically",
"transferred",
"to",
"all",
"requests",
"in",
"a",
"chain",
".",
"These",
"headers",
"will",
"be",
"backed",
"up",
"in",
"a",
"request",
"attribute",
"that",
"will",
"automatically",
"read",
"and... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainedResponse.java#L123-L129 |
70,056 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainedResponse.java | ChainedResponse.getAutoTransferringHeaders | @SuppressWarnings("unchecked")
private Hashtable getAutoTransferringHeaders()
{
Hashtable headers = (Hashtable)_req.getAttribute(AUTO_XFER_HEADERS_ATTR);
if (headers == null)
{
headers = new Hashtable();
_req.setAttribute(AUTO_XFER_HEADERS_ATTR, headers);
... | java | @SuppressWarnings("unchecked")
private Hashtable getAutoTransferringHeaders()
{
Hashtable headers = (Hashtable)_req.getAttribute(AUTO_XFER_HEADERS_ATTR);
if (headers == null)
{
headers = new Hashtable();
_req.setAttribute(AUTO_XFER_HEADERS_ATTR, headers);
... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"private",
"Hashtable",
"getAutoTransferringHeaders",
"(",
")",
"{",
"Hashtable",
"headers",
"=",
"(",
"Hashtable",
")",
"_req",
".",
"getAttribute",
"(",
"AUTO_XFER_HEADERS_ATTR",
")",
";",
"if",
"(",
"headers",... | Get the headers that are designated as auto-transfer. | [
"Get",
"the",
"headers",
"that",
"are",
"designated",
"as",
"auto",
"-",
"transfer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainedResponse.java#L139-L149 |
70,057 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.registerInstrumentationService | protected void registerInstrumentationService(BundleContext systemContext) {
Instrumentation inst = config.getInstrumentation();
if (inst != null) {
// Register a wrapper so we can trace callers.
inst = (Instrumentation) Proxy.newProxyInstance(TraceInstrumentation.class.getClassL... | java | protected void registerInstrumentationService(BundleContext systemContext) {
Instrumentation inst = config.getInstrumentation();
if (inst != null) {
// Register a wrapper so we can trace callers.
inst = (Instrumentation) Proxy.newProxyInstance(TraceInstrumentation.class.getClassL... | [
"protected",
"void",
"registerInstrumentationService",
"(",
"BundleContext",
"systemContext",
")",
"{",
"Instrumentation",
"inst",
"=",
"config",
".",
"getInstrumentation",
"(",
")",
";",
"if",
"(",
"inst",
"!=",
"null",
")",
"{",
"// Register a wrapper so we can trac... | Register the instrumentation class as a service in the OSGi registry
@param systemBundleCtx
The framework system bundle context | [
"Register",
"the",
"instrumentation",
"class",
"as",
"a",
"service",
"in",
"the",
"OSGi",
"registry"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L487-L497 |
70,058 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.registerPauseableComponentController | protected void registerPauseableComponentController(BundleContext systemContext) {
PauseableComponentControllerImpl pauseableComponentController = new PauseableComponentControllerImpl(systemContext);
if (pauseableComponentController != null) {
Hashtable<String, String> svcProps = new Hashtab... | java | protected void registerPauseableComponentController(BundleContext systemContext) {
PauseableComponentControllerImpl pauseableComponentController = new PauseableComponentControllerImpl(systemContext);
if (pauseableComponentController != null) {
Hashtable<String, String> svcProps = new Hashtab... | [
"protected",
"void",
"registerPauseableComponentController",
"(",
"BundleContext",
"systemContext",
")",
"{",
"PauseableComponentControllerImpl",
"pauseableComponentController",
"=",
"new",
"PauseableComponentControllerImpl",
"(",
"systemContext",
")",
";",
"if",
"(",
"pauseabl... | Register the PauseableComponentController class as a service in the OSGi registry
@param systemBundleCtx
The framework system bundle context | [
"Register",
"the",
"PauseableComponentController",
"class",
"as",
"a",
"service",
"in",
"the",
"OSGi",
"registry"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L505-L511 |
70,059 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.preRegisterMBeanServerPipelineService | private void preRegisterMBeanServerPipelineService(final BundleContext systemContext) {
PlatformMBeanServerBuilder.addPlatformMBeanServerBuilderListener(new PlatformMBeanServerBuilderListener() {
@Override
@FFDCIgnore(IllegalStateException.class)
public void platformMBeanServ... | java | private void preRegisterMBeanServerPipelineService(final BundleContext systemContext) {
PlatformMBeanServerBuilder.addPlatformMBeanServerBuilderListener(new PlatformMBeanServerBuilderListener() {
@Override
@FFDCIgnore(IllegalStateException.class)
public void platformMBeanServ... | [
"private",
"void",
"preRegisterMBeanServerPipelineService",
"(",
"final",
"BundleContext",
"systemContext",
")",
"{",
"PlatformMBeanServerBuilder",
".",
"addPlatformMBeanServerBuilderListener",
"(",
"new",
"PlatformMBeanServerBuilderListener",
"(",
")",
"{",
"@",
"Override",
... | Delayed registration of the platform MBeanServerPipeline in the OSGi registry.
@param systemContext The framework system bundle context | [
"Delayed",
"registration",
"of",
"the",
"platform",
"MBeanServerPipeline",
"in",
"the",
"OSGi",
"registry",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L518-L538 |
70,060 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.startFramework | protected Framework startFramework(BootstrapConfig config) throws BundleException {
// Set the default startlevel of the framework. We want the framework to
// start at our bootstrap level (i.e. Framework bundle itself will start, and
// it will pre-load and re-start any previously known bundles... | java | protected Framework startFramework(BootstrapConfig config) throws BundleException {
// Set the default startlevel of the framework. We want the framework to
// start at our bootstrap level (i.e. Framework bundle itself will start, and
// it will pre-load and re-start any previously known bundles... | [
"protected",
"Framework",
"startFramework",
"(",
"BootstrapConfig",
"config",
")",
"throws",
"BundleException",
"{",
"// Set the default startlevel of the framework. We want the framework to",
"// start at our bootstrap level (i.e. Framework bundle itself will start, and",
"// it will pre-lo... | Create and start a new instance of an OSGi framework using the provided
properties as framework properties. | [
"Create",
"and",
"start",
"a",
"new",
"instance",
"of",
"an",
"OSGi",
"framework",
"using",
"the",
"provided",
"properties",
"as",
"framework",
"properties",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L544-L575 |
70,061 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.handleEquinoxRuntimeException | private boolean handleEquinoxRuntimeException(RuntimeException ex) {
Throwable cause = ex.getCause();
if (cause != null) {
if (cause instanceof IOException) {
// Check common causes for IOExceptions
File osgiDir = config.getWorkareaFile(OSGI_DIR_NAME);
... | java | private boolean handleEquinoxRuntimeException(RuntimeException ex) {
Throwable cause = ex.getCause();
if (cause != null) {
if (cause instanceof IOException) {
// Check common causes for IOExceptions
File osgiDir = config.getWorkareaFile(OSGI_DIR_NAME);
... | [
"private",
"boolean",
"handleEquinoxRuntimeException",
"(",
"RuntimeException",
"ex",
")",
"{",
"Throwable",
"cause",
"=",
"ex",
".",
"getCause",
"(",
")",
";",
"if",
"(",
"cause",
"!=",
"null",
")",
"{",
"if",
"(",
"cause",
"instanceof",
"IOException",
")",... | Attempt to diagnose Equinox exceptions and issue a sane error message rather than a massive equinox stack
@param ex The RuntimeException thrown by Equinox
@return true if we understand the exception and issued an error message, false otherwise | [
"Attempt",
"to",
"diagnose",
"Equinox",
"exceptions",
"and",
"issue",
"a",
"sane",
"error",
"message",
"rather",
"than",
"a",
"massive",
"equinox",
"stack"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L586-L607 |
70,062 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.waitForReady | public boolean waitForReady() throws InterruptedException {
// wait for the framework to be set.
if (waitForFramework() == null) {
return false;
}
frameworkLaunched.await();
if (!frameworkLaunchSuccess) {
return false;
}
// Now look for t... | java | public boolean waitForReady() throws InterruptedException {
// wait for the framework to be set.
if (waitForFramework() == null) {
return false;
}
frameworkLaunched.await();
if (!frameworkLaunchSuccess) {
return false;
}
// Now look for t... | [
"public",
"boolean",
"waitForReady",
"(",
")",
"throws",
"InterruptedException",
"{",
"// wait for the framework to be set.",
"if",
"(",
"waitForFramework",
"(",
")",
"==",
"null",
")",
"{",
"return",
"false",
";",
"}",
"frameworkLaunched",
".",
"await",
"(",
")",... | Waits for the server to become ready.
@return true if the server is ready, or false if an error occurred
@throws InterruptedException | [
"Waits",
"for",
"the",
"server",
"to",
"become",
"ready",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L621-L666 |
70,063 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.addShutdownHook | private void addShutdownHook(boolean isClient) {
if (shutdownHook == null) {
shutdownHook = new ShutdownHook(isClient);
Runtime.getRuntime().addShutdownHook(shutdownHook);
}
} | java | private void addShutdownHook(boolean isClient) {
if (shutdownHook == null) {
shutdownHook = new ShutdownHook(isClient);
Runtime.getRuntime().addShutdownHook(shutdownHook);
}
} | [
"private",
"void",
"addShutdownHook",
"(",
"boolean",
"isClient",
")",
"{",
"if",
"(",
"shutdownHook",
"==",
"null",
")",
"{",
"shutdownHook",
"=",
"new",
"ShutdownHook",
"(",
"isClient",
")",
";",
"Runtime",
".",
"getRuntime",
"(",
")",
".",
"addShutdownHoo... | Attach a shutdown hook to make sure that the framework is shutdown nicely
in most cases. There are ways of shutting a JVM down that don't use the
shutdown hook, but this catches most cases. | [
"Attach",
"a",
"shutdown",
"hook",
"to",
"make",
"sure",
"that",
"the",
"framework",
"is",
"shutdown",
"nicely",
"in",
"most",
"cases",
".",
"There",
"are",
"ways",
"of",
"shutting",
"a",
"JVM",
"down",
"that",
"don",
"t",
"use",
"the",
"shutdown",
"hook... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L731-L736 |
70,064 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java | FrameworkManager.introspectFramework | public void introspectFramework(String timestamp, Set<JavaDumpAction> javaDumpActions) {
Tr.audit(tc, "info.introspect.request.received");
File dumpDir = config.getOutputFile(BootstrapConstants.SERVER_DUMP_FOLDER_PREFIX + timestamp + "/");
if (!dumpDir.exists()) {
throw new IllegalS... | java | public void introspectFramework(String timestamp, Set<JavaDumpAction> javaDumpActions) {
Tr.audit(tc, "info.introspect.request.received");
File dumpDir = config.getOutputFile(BootstrapConstants.SERVER_DUMP_FOLDER_PREFIX + timestamp + "/");
if (!dumpDir.exists()) {
throw new IllegalS... | [
"public",
"void",
"introspectFramework",
"(",
"String",
"timestamp",
",",
"Set",
"<",
"JavaDumpAction",
">",
"javaDumpActions",
")",
"{",
"Tr",
".",
"audit",
"(",
"tc",
",",
"\"info.introspect.request.received\"",
")",
";",
"File",
"dumpDir",
"=",
"config",
".",... | Introspect the framework
Get all IntrospectableService from OSGi bundle context, and dump a running
server status from them.
@param timestamp
Create a unique dump folder based on the time stamp string.
@param javaDumpActions
The java dumps to create, or null for the default set. | [
"Introspect",
"the",
"framework",
"Get",
"all",
"IntrospectableService",
"from",
"OSGi",
"bundle",
"context",
"and",
"dump",
"a",
"running",
"server",
"status",
"from",
"them",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkManager.java#L1061-L1085 |
70,065 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/trm/TrmFirstContactMessageType.java | TrmFirstContactMessageType.getTrmFirstContactMessageType | public final static TrmFirstContactMessageType getTrmFirstContactMessageType(int aValue) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(tc,"Value = " + aValue);
return set[aValue];
} | java | public final static TrmFirstContactMessageType getTrmFirstContactMessageType(int aValue) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(tc,"Value = " + aValue);
return set[aValue];
} | [
"public",
"final",
"static",
"TrmFirstContactMessageType",
"getTrmFirstContactMessageType",
"(",
"int",
"aValue",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"SibTr",
".",
"debug",
... | Returns the corresponding TrmFirstContactMessageType for a given integer.
This method should NOT be called by any code outside the MFP component.
It is only public so that it can be accessed by sub-packages.
@param aValue The integer for which an TrmFirstContactMessageType is required.
@return The correspond... | [
"Returns",
"the",
"corresponding",
"TrmFirstContactMessageType",
"for",
"a",
"given",
"integer",
".",
"This",
"method",
"should",
"NOT",
"be",
"called",
"by",
"any",
"code",
"outside",
"the",
"MFP",
"component",
".",
"It",
"is",
"only",
"public",
"so",
"that",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/trm/TrmFirstContactMessageType.java#L98-L101 |
70,066 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java | SocketFactory.createSocket | @Override
public Socket createSocket(String host, int port) throws IOException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "SocketFactory attempting to create socket for host: " + host + " port: " + port);
// check for SSL addresses
if (Util.i... | java | @Override
public Socket createSocket(String host, int port) throws IOException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "SocketFactory attempting to create socket for host: " + host + " port: " + port);
// check for SSL addresses
if (Util.i... | [
"@",
"Override",
"public",
"Socket",
"createSocket",
"(",
"String",
"host",
",",
"int",
"port",
")",
"throws",
"IOException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".... | Create a client socket of the appropriate
type using the provided address and port information.
@return A Socket (either plain or SSL) configured for connection
to the target. | [
"Create",
"a",
"client",
"socket",
"of",
"the",
"appropriate",
"type",
"using",
"the",
"provided",
"address",
"and",
"port",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java#L114-L127 |
70,067 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java | SocketFactory.createSelfConnection | @Override
@FFDCIgnore(IOException.class)
public Socket createSelfConnection(InetAddress address, int port) throws IOException {
try {
SocketInfo info = null;
for (SocketInfo test : socketInfos) {
if (test.port == port && test.addr.equals(address)) {
... | java | @Override
@FFDCIgnore(IOException.class)
public Socket createSelfConnection(InetAddress address, int port) throws IOException {
try {
SocketInfo info = null;
for (SocketInfo test : socketInfos) {
if (test.port == port && test.addr.equals(address)) {
... | [
"@",
"Override",
"@",
"FFDCIgnore",
"(",
"IOException",
".",
"class",
")",
"public",
"Socket",
"createSelfConnection",
"(",
"InetAddress",
"address",
",",
"int",
"port",
")",
"throws",
"IOException",
"{",
"try",
"{",
"SocketInfo",
"info",
"=",
"null",
";",
"... | Create a loopback connection to the hosting
ORB.
@param address The address information for the server.
@param port The target port.
@return An appropriately configured socket based on the
listener characteristics.
@exception IOException
@exception ConnectException | [
"Create",
"a",
"loopback",
"connection",
"to",
"the",
"hosting",
"ORB",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java#L166-L194 |
70,068 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java | SocketFactory.createServerSocket | @Override
public ServerSocket createServerSocket(int port, int backlog, InetAddress address, String[] params) throws IOException {
try {
ServerSocket socket;
String sslConfigName = null;
boolean soReuseAddr = true;
for (int i = 0; i < params.length - 1; i++) {... | java | @Override
public ServerSocket createServerSocket(int port, int backlog, InetAddress address, String[] params) throws IOException {
try {
ServerSocket socket;
String sslConfigName = null;
boolean soReuseAddr = true;
for (int i = 0; i < params.length - 1; i++) {... | [
"@",
"Override",
"public",
"ServerSocket",
"createServerSocket",
"(",
"int",
"port",
",",
"int",
"backlog",
",",
"InetAddress",
"address",
",",
"String",
"[",
"]",
"params",
")",
"throws",
"IOException",
"{",
"try",
"{",
"ServerSocket",
"socket",
";",
"String"... | Create a server socket for this connection.
@param port The target listener port.
@param backlog The requested backlog value for the connection.
@param address The host address information we're publishing under.
@return An appropriately configured ServerSocket for this
connection.
@exception IOException
@exception C... | [
"Create",
"a",
"server",
"socket",
"for",
"this",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java#L223-L284 |
70,069 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java | SocketFactory.getSocketFactory | private SSLSocketFactory getSocketFactory(String id) throws IOException {
// first use?
SSLSocketFactory socketFactory = socketFactoryMap.get(id);
if (socketFactory == null) {
// the SSLConfig is optional, so if it's not there, use the default SSLSocketFactory.
if (id == ... | java | private SSLSocketFactory getSocketFactory(String id) throws IOException {
// first use?
SSLSocketFactory socketFactory = socketFactoryMap.get(id);
if (socketFactory == null) {
// the SSLConfig is optional, so if it's not there, use the default SSLSocketFactory.
if (id == ... | [
"private",
"SSLSocketFactory",
"getSocketFactory",
"(",
"String",
"id",
")",
"throws",
"IOException",
"{",
"// first use?",
"SSLSocketFactory",
"socketFactory",
"=",
"socketFactoryMap",
".",
"get",
"(",
"id",
")",
";",
"if",
"(",
"socketFactory",
"==",
"null",
")"... | On-demand creation of an SSL socket factory for the ssl alias provided
@return The SSLSocketFactory this connection should be using to create
secure connections.
@throws java.io.IOException if we can't get a socket factory | [
"On",
"-",
"demand",
"creation",
"of",
"an",
"SSL",
"socket",
"factory",
"for",
"the",
"ssl",
"alias",
"provided"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java#L293-L312 |
70,070 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java | SocketFactory.getServerSocketFactory | private SSLServerSocketFactory getServerSocketFactory(String id) throws IOException {
// first use?
SSLServerSocketFactory serverSocketFactory = serverSocketFactoryMap.get(id);
if (serverSocketFactory == null) {
// the SSLConfig is optional, so if it's not there, use the default SSLS... | java | private SSLServerSocketFactory getServerSocketFactory(String id) throws IOException {
// first use?
SSLServerSocketFactory serverSocketFactory = serverSocketFactoryMap.get(id);
if (serverSocketFactory == null) {
// the SSLConfig is optional, so if it's not there, use the default SSLS... | [
"private",
"SSLServerSocketFactory",
"getServerSocketFactory",
"(",
"String",
"id",
")",
"throws",
"IOException",
"{",
"// first use?",
"SSLServerSocketFactory",
"serverSocketFactory",
"=",
"serverSocketFactoryMap",
".",
"get",
"(",
"id",
")",
";",
"if",
"(",
"serverSoc... | On-demand creation of an SSL server socket factory for an ssl alias
@return The SSLServerSocketFactory this connection should be using to create
secure connections.
@throws java.io.IOException if we can't get a server socket factory | [
"On",
"-",
"demand",
"creation",
"of",
"an",
"SSL",
"server",
"socket",
"factory",
"for",
"an",
"ssl",
"alias"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java#L321-L346 |
70,071 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java | SocketFactory.configureServerSocket | private void configureServerSocket(SSLServerSocket serverSocket, SSLServerSocketFactory serverSocketFactory, String sslConfigName, OptionsKey options) throws IOException {
try {
String[] cipherSuites = sslConfig.getCipherSuites(sslConfigName, serverSocketFactory.getSupportedCipherSuites());
... | java | private void configureServerSocket(SSLServerSocket serverSocket, SSLServerSocketFactory serverSocketFactory, String sslConfigName, OptionsKey options) throws IOException {
try {
String[] cipherSuites = sslConfig.getCipherSuites(sslConfigName, serverSocketFactory.getSupportedCipherSuites());
... | [
"private",
"void",
"configureServerSocket",
"(",
"SSLServerSocket",
"serverSocket",
",",
"SSLServerSocketFactory",
"serverSocketFactory",
",",
"String",
"sslConfigName",
",",
"OptionsKey",
"options",
")",
"throws",
"IOException",
"{",
"try",
"{",
"String",
"[",
"]",
"... | Set the server socket configuration to our required
QOS values.
A small experiment shows that setting either (want, need) parameter to either true or false sets the
other parameter to false.
@param serverSocket
The newly created SSLServerSocket.
@param sslConfigName name of the sslConfig used to select cipher suites
... | [
"Set",
"the",
"server",
"socket",
"configuration",
"to",
"our",
"required",
"QOS",
"values",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/config/ssl/yoko/SocketFactory.java#L362-L397 |
70,072 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.getRolesForSpecialSubject | private Collection<String> getRolesForSpecialSubject(String resourceName, String specialSubject) {
int found = 0;
Collection<String> roles = null;
FeatureAuthorizationTableService featureAuthzTableSvc = featureAuthzTableServiceRef.getService();
String featureAuthzRoleHeaderValue = null;
... | java | private Collection<String> getRolesForSpecialSubject(String resourceName, String specialSubject) {
int found = 0;
Collection<String> roles = null;
FeatureAuthorizationTableService featureAuthzTableSvc = featureAuthzTableServiceRef.getService();
String featureAuthzRoleHeaderValue = null;
... | [
"private",
"Collection",
"<",
"String",
">",
"getRolesForSpecialSubject",
"(",
"String",
"resourceName",
",",
"String",
"specialSubject",
")",
"{",
"int",
"found",
"=",
"0",
";",
"Collection",
"<",
"String",
">",
"roles",
"=",
"null",
";",
"FeatureAuthorizationT... | Check all of the authorization table services for the resourceName.
If no authorization table can be found for the resourceName, null
is returned. If more than one authorization table can be found for
the resourceName, null is returned.
@param resourceName
@param specialSubject
@return | [
"Check",
"all",
"of",
"the",
"authorization",
"table",
"services",
"for",
"the",
"resourceName",
".",
"If",
"no",
"authorization",
"table",
"can",
"be",
"found",
"for",
"the",
"resourceName",
"null",
"is",
"returned",
".",
"If",
"more",
"than",
"one",
"autho... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L219-L247 |
70,073 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.isSubjectAuthorized | private boolean isSubjectAuthorized(String resourceName,
Collection<String> requiredRoles, Subject subject) {
AccessDecisionService accessDecisionService = accessDecisionServiceRef.getService();
// check user access first
boolean isGranted = false;
... | java | private boolean isSubjectAuthorized(String resourceName,
Collection<String> requiredRoles, Subject subject) {
AccessDecisionService accessDecisionService = accessDecisionServiceRef.getService();
// check user access first
boolean isGranted = false;
... | [
"private",
"boolean",
"isSubjectAuthorized",
"(",
"String",
"resourceName",
",",
"Collection",
"<",
"String",
">",
"requiredRoles",
",",
"Subject",
"subject",
")",
"{",
"AccessDecisionService",
"accessDecisionService",
"=",
"accessDecisionServiceRef",
".",
"getService",
... | Check if the Subject is authorized to the required roles for a given
resource. The user is checked first, and if it's not authorized, then
each group is checked.
@param resourceName
the name of the application, used for looking up the correct
authorization table
@param requiredRoles
the roles required to access the re... | [
"Check",
"if",
"the",
"Subject",
"is",
"authorized",
"to",
"the",
"required",
"roles",
"for",
"a",
"given",
"resource",
".",
"The",
"user",
"is",
"checked",
"first",
"and",
"if",
"it",
"s",
"not",
"authorized",
"then",
"each",
"group",
"is",
"checked",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L319-L337 |
70,074 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.getWSCredentialFromSubject | private WSCredential getWSCredentialFromSubject(Subject subject) {
if (subject != null) {
java.util.Collection<Object> publicCreds = subject.getPublicCredentials();
if (publicCreds != null && publicCreds.size() > 0) {
java.util.Iterator<Object> publicCredIterator = publi... | java | private WSCredential getWSCredentialFromSubject(Subject subject) {
if (subject != null) {
java.util.Collection<Object> publicCreds = subject.getPublicCredentials();
if (publicCreds != null && publicCreds.size() > 0) {
java.util.Iterator<Object> publicCredIterator = publi... | [
"private",
"WSCredential",
"getWSCredentialFromSubject",
"(",
"Subject",
"subject",
")",
"{",
"if",
"(",
"subject",
"!=",
"null",
")",
"{",
"java",
".",
"util",
".",
"Collection",
"<",
"Object",
">",
"publicCreds",
"=",
"subject",
".",
"getPublicCredentials",
... | Get the WSCredential from the given Subject
@param subject
the subject to parse, must not be null
@return the WSCredential, or null if the Subject does not have one | [
"Get",
"the",
"WSCredential",
"from",
"the",
"given",
"Subject"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L415-L432 |
70,075 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.getAccessId | private String getAccessId(WSCredential cred) {
String accessId = null;
try {
accessId = cred.getAccessId();
} catch (CredentialExpiredException e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Caught exception getting ... | java | private String getAccessId(WSCredential cred) {
String accessId = null;
try {
accessId = cred.getAccessId();
} catch (CredentialExpiredException e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Caught exception getting ... | [
"private",
"String",
"getAccessId",
"(",
"WSCredential",
"cred",
")",
"{",
"String",
"accessId",
"=",
"null",
";",
"try",
"{",
"accessId",
"=",
"cred",
".",
"getAccessId",
"(",
")",
";",
"}",
"catch",
"(",
"CredentialExpiredException",
"e",
")",
"{",
"if",... | Get the access ID from the specified credential.
@parm cred the WSCredential to search
@return the user access id of the credential, or null when the
cred is expired or destroyed | [
"Get",
"the",
"access",
"ID",
"from",
"the",
"specified",
"credential",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L441-L456 |
70,076 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.getGroupIds | @SuppressWarnings("unchecked")
private String[] getGroupIds(WSCredential cred) {
Collection<String> ids = null;
if (cred != null) {
try {
ids = cred.getGroupIds();
} catch (CredentialExpiredException e) {
if (TraceComponent.isAnyTracingEnabled(... | java | @SuppressWarnings("unchecked")
private String[] getGroupIds(WSCredential cred) {
Collection<String> ids = null;
if (cred != null) {
try {
ids = cred.getGroupIds();
} catch (CredentialExpiredException e) {
if (TraceComponent.isAnyTracingEnabled(... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"private",
"String",
"[",
"]",
"getGroupIds",
"(",
"WSCredential",
"cred",
")",
"{",
"Collection",
"<",
"String",
">",
"ids",
"=",
"null",
";",
"if",
"(",
"cred",
"!=",
"null",
")",
"{",
"try",
"{",
"... | Get the group IDs from the specified credential.
@param cred
the WSCredential to search, must not be null
@return an array of group access ids of the credential, or null when the
cred is expired or destroyed | [
"Get",
"the",
"group",
"IDs",
"from",
"the",
"specified",
"credential",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L466-L487 |
70,077 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.isAllAuthenticatedGranted | protected boolean isAllAuthenticatedGranted(String resourceName,
Collection<String> requiredRoles,
Subject subject) {
Collection<String> roles = getRolesForSpecialSubject(resourceName, AuthorizationTableService.ALL_A... | java | protected boolean isAllAuthenticatedGranted(String resourceName,
Collection<String> requiredRoles,
Subject subject) {
Collection<String> roles = getRolesForSpecialSubject(resourceName, AuthorizationTableService.ALL_A... | [
"protected",
"boolean",
"isAllAuthenticatedGranted",
"(",
"String",
"resourceName",
",",
"Collection",
"<",
"String",
">",
"requiredRoles",
",",
"Subject",
"subject",
")",
"{",
"Collection",
"<",
"String",
">",
"roles",
"=",
"getRolesForSpecialSubject",
"(",
"resour... | Check if the special subject ALL_AUTHENTICATED_USERS is mapped to the
requiredRole.
@param resourceName
the name of the resource being accessed, used to look up
corresponding the authorization table, must not be null
@param requiredRoles
the security constraints required to be authorized, must not
be null or empty
@pa... | [
"Check",
"if",
"the",
"special",
"subject",
"ALL_AUTHENTICATED_USERS",
"is",
"mapped",
"to",
"the",
"requiredRole",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L523-L530 |
70,078 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.isSubjectValid | private boolean isSubjectValid(Subject subject) {
final WSCredential wsCred = getWSCredentialFromSubject(subject);
if (wsCred == null) {
return false;
} else {
// TODO revisit this when EJBs are supported add additional
// checks would be required
... | java | private boolean isSubjectValid(Subject subject) {
final WSCredential wsCred = getWSCredentialFromSubject(subject);
if (wsCred == null) {
return false;
} else {
// TODO revisit this when EJBs are supported add additional
// checks would be required
... | [
"private",
"boolean",
"isSubjectValid",
"(",
"Subject",
"subject",
")",
"{",
"final",
"WSCredential",
"wsCred",
"=",
"getWSCredentialFromSubject",
"(",
"subject",
")",
";",
"if",
"(",
"wsCred",
"==",
"null",
")",
"{",
"return",
"false",
";",
"}",
"else",
"{"... | Check if the subject has a WScredential, is authenticated, and is not a basic auth credential.
@param subject
the subject to check
@return true if the subject has a WSCredential that is not marked as
unauthenticated and is not marked as basic auth, otherwise false | [
"Check",
"if",
"the",
"subject",
"has",
"a",
"WScredential",
"is",
"authenticated",
"and",
"is",
"not",
"a",
"basic",
"auth",
"credential",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L540-L549 |
70,079 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java | BuiltinAuthorizationService.getRealmName | private String getRealmName(WSCredential cred) {
String realmName = null;
if (cred != null) {
try {
realmName = cred.getRealmName();
} catch (Exception e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.d... | java | private String getRealmName(WSCredential cred) {
String realmName = null;
if (cred != null) {
try {
realmName = cred.getRealmName();
} catch (Exception e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.d... | [
"private",
"String",
"getRealmName",
"(",
"WSCredential",
"cred",
")",
"{",
"String",
"realmName",
"=",
"null",
";",
"if",
"(",
"cred",
"!=",
"null",
")",
"{",
"try",
"{",
"realmName",
"=",
"cred",
".",
"getRealmName",
"(",
")",
";",
"}",
"catch",
"(",... | Get the realm name from the specified credential.
@param cred
the WSCredential to search, must not be null
@return realm name. | [
"Get",
"the",
"realm",
"name",
"from",
"the",
"specified",
"credential",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/internal/BuiltinAuthorizationService.java#L558-L570 |
70,080 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java | DiagnosticModule.init | final void init() throws DiagnosticModuleRegistrationFailureException {
if (initialized) {
return;
}
initialized = true;
Method[] methods = getClass().getMethods();
for (Method method : methods) {
String name = method.getName().toLowerCase();
... | java | final void init() throws DiagnosticModuleRegistrationFailureException {
if (initialized) {
return;
}
initialized = true;
Method[] methods = getClass().getMethods();
for (Method method : methods) {
String name = method.getName().toLowerCase();
... | [
"final",
"void",
"init",
"(",
")",
"throws",
"DiagnosticModuleRegistrationFailureException",
"{",
"if",
"(",
"initialized",
")",
"{",
"return",
";",
"}",
"initialized",
"=",
"true",
";",
"Method",
"[",
"]",
"methods",
"=",
"getClass",
"(",
")",
".",
"getMeth... | The init method is provided to subclasses to initialize this particular
DiagnosticModule. Called when the diagnostic module is registered.
<p>
Done on a best-effort basis-- methods not matching the signature are not
added. If the system property "com.ibm.ws.ffdc.debugDiagnosticModule" is
set to true, exceptions and ot... | [
"The",
"init",
"method",
"is",
"provided",
"to",
"subclasses",
"to",
"initialize",
"this",
"particular",
"DiagnosticModule",
".",
"Called",
"when",
"the",
"diagnostic",
"module",
"is",
"registered",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java#L118-L156 |
70,081 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java | DiagnosticModule.dumpComponentData | public final boolean dumpComponentData(String[] input_directives, Throwable ex, IncidentStream ffdcis, Object callerThis, Object[] catcherObjects, String sourceId,
String[] callStack) {
startProcessing();
try {
ffdcis.writeLine("==> Performing defa... | java | public final boolean dumpComponentData(String[] input_directives, Throwable ex, IncidentStream ffdcis, Object callerThis, Object[] catcherObjects, String sourceId,
String[] callStack) {
startProcessing();
try {
ffdcis.writeLine("==> Performing defa... | [
"public",
"final",
"boolean",
"dumpComponentData",
"(",
"String",
"[",
"]",
"input_directives",
",",
"Throwable",
"ex",
",",
"IncidentStream",
"ffdcis",
",",
"Object",
"callerThis",
",",
"Object",
"[",
"]",
"catcherObjects",
",",
"String",
"sourceId",
",",
"Stri... | This method is invoked to instruct the diagnostic module to capture all
relevant information that it has about a particular incident
@param input_directives
The directives to be processed for this incident
@param ex
The exception that caused this incident
@param ffdcis
The incident stream to be used to record the rele... | [
"This",
"method",
"is",
"invoked",
"to",
"instruct",
"the",
"diagnostic",
"module",
"to",
"capture",
"all",
"relevant",
"information",
"that",
"it",
"has",
"about",
"a",
"particular",
"incident"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java#L188-L214 |
70,082 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java | DiagnosticModule.getDataForDirectives | public final void getDataForDirectives(String[] directives, Throwable ex, IncidentStream ffdcis, Object callerThis, Object[] catcherObjects, String sourceId) {
if (directives == null || directives.length <= 0 || !continueProcessing())
return;
for (String s : directives) {
String... | java | public final void getDataForDirectives(String[] directives, Throwable ex, IncidentStream ffdcis, Object callerThis, Object[] catcherObjects, String sourceId) {
if (directives == null || directives.length <= 0 || !continueProcessing())
return;
for (String s : directives) {
String... | [
"public",
"final",
"void",
"getDataForDirectives",
"(",
"String",
"[",
"]",
"directives",
",",
"Throwable",
"ex",
",",
"IncidentStream",
"ffdcis",
",",
"Object",
"callerThis",
",",
"Object",
"[",
"]",
"catcherObjects",
",",
"String",
"sourceId",
")",
"{",
"if"... | Invoke all the ffdcdump methods for a set of directives
@param directives
The list of directives to be invoked
@param ex
The exception causing the incident
@param ffdcis
The incident stream on which to report
@param callerThis
The object reporting the incident
@param catcherObjects
Any additional interesting objects
@... | [
"Invoke",
"all",
"the",
"ffdcdump",
"methods",
"for",
"a",
"set",
"of",
"directives"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java#L232-L249 |
70,083 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java | DiagnosticModule.invokeDiagnosticMethod | private final void invokeDiagnosticMethod(Method m, Throwable ex, IncidentStream ffdcis, Object callerThis, Object[] catcherObjects, String sourceId) {
try {
m.invoke(this, new Object[] { ex, ffdcis, callerThis, catcherObjects, sourceId });
ffdcis.writeLine("+ Data for directive [" + m.... | java | private final void invokeDiagnosticMethod(Method m, Throwable ex, IncidentStream ffdcis, Object callerThis, Object[] catcherObjects, String sourceId) {
try {
m.invoke(this, new Object[] { ex, ffdcis, callerThis, catcherObjects, sourceId });
ffdcis.writeLine("+ Data for directive [" + m.... | [
"private",
"final",
"void",
"invokeDiagnosticMethod",
"(",
"Method",
"m",
",",
"Throwable",
"ex",
",",
"IncidentStream",
"ffdcis",
",",
"Object",
"callerThis",
",",
"Object",
"[",
"]",
"catcherObjects",
",",
"String",
"sourceId",
")",
"{",
"try",
"{",
"m",
"... | Invoke dump method
@param m
The method to be invoked
@param ex
The exception causing the incident
@param ffdcis
The incident stream on which to report
@param callerThis
The object reporting the incident
@param catcherObjects
Any additional interesting objects
@param sourceId
The sourceid of the class reporting the pro... | [
"Invoke",
"dump",
"method"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java#L267-L275 |
70,084 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java | DiagnosticModule.validate | public final boolean validate() {
if (makeNoise()) {
System.out.println("This method is NOT intended to be called from the runtime");
System.out.println("but is provided as part of unit test for diagnostic modules");
ListIterator<Method> im;
try {
... | java | public final boolean validate() {
if (makeNoise()) {
System.out.println("This method is NOT intended to be called from the runtime");
System.out.println("but is provided as part of unit test for diagnostic modules");
ListIterator<Method> im;
try {
... | [
"public",
"final",
"boolean",
"validate",
"(",
")",
"{",
"if",
"(",
"makeNoise",
"(",
")",
")",
"{",
"System",
".",
"out",
".",
"println",
"(",
"\"This method is NOT intended to be called from the runtime\"",
")",
";",
"System",
".",
"out",
".",
"println",
"("... | Validate whether the diagnostic module is correctly coded. Method can be
used as a simple validation of a components diagnostic module. The
information printed can be used during the development of the DM.
@return true; if the system property
"com.ibm.ws.ffdc.debugDiagnosticModule" is set, then some
validation will be... | [
"Validate",
"whether",
"the",
"diagnostic",
"module",
"is",
"correctly",
"coded",
".",
"Method",
"can",
"be",
"used",
"as",
"a",
"simple",
"validation",
"of",
"a",
"components",
"diagnostic",
"module",
".",
"The",
"information",
"printed",
"can",
"be",
"used",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java#L286-L318 |
70,085 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java | DiagnosticModule.continueProcessing | private boolean continueProcessing() {
Boolean currentValue = _continueProcessing.get();
if (currentValue != null)
return currentValue.booleanValue();
return true;
} | java | private boolean continueProcessing() {
Boolean currentValue = _continueProcessing.get();
if (currentValue != null)
return currentValue.booleanValue();
return true;
} | [
"private",
"boolean",
"continueProcessing",
"(",
")",
"{",
"Boolean",
"currentValue",
"=",
"_continueProcessing",
".",
"get",
"(",
")",
";",
"if",
"(",
"currentValue",
"!=",
"null",
")",
"return",
"currentValue",
".",
"booleanValue",
"(",
")",
";",
"return",
... | Check the the ThreadLocal to see if we should continue processing this
FFDC exception
@return | [
"Check",
"the",
"the",
"ThreadLocal",
"to",
"see",
"if",
"we",
"should",
"continue",
"processing",
"this",
"FFDC",
"exception"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/ffdc/DiagnosticModule.java#L326-L332 |
70,086 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/jmx/PmiCollaborator.java | PmiCollaborator.parseSpecStr | public static int[] parseSpecStr(String in) {
if (in == null) {
return new int[0];
}
in = in.replaceAll(" ", "");
in = in.trim();
if (in.length() == 0) {
return new int[0];
}
String[] tokens = in.split(",");
int[] toReturn = new ... | java | public static int[] parseSpecStr(String in) {
if (in == null) {
return new int[0];
}
in = in.replaceAll(" ", "");
in = in.trim();
if (in.length() == 0) {
return new int[0];
}
String[] tokens = in.split(",");
int[] toReturn = new ... | [
"public",
"static",
"int",
"[",
"]",
"parseSpecStr",
"(",
"String",
"in",
")",
"{",
"if",
"(",
"in",
"==",
"null",
")",
"{",
"return",
"new",
"int",
"[",
"0",
"]",
";",
"}",
"in",
"=",
"in",
".",
"replaceAll",
"(",
"\" \"",
",",
"\"\"",
")",
";... | Helper function to parse the configuration's spec strings.
@param in The configuration string.
@return An integer array of all the counters enabled by the specified string. | [
"Helper",
"function",
"to",
"parse",
"the",
"configuration",
"s",
"spec",
"strings",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/jmx/PmiCollaborator.java#L164-L198 |
70,087 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/wsspi/sib/core/SelectionCriteriaFactory.java | SelectionCriteriaFactory.getInstance | public static SelectionCriteriaFactory getInstance() {
if (_instance == null) {
synchronized (SIDestinationAddressFactory.class) {
try {
Class cls = Class
.forName(MESSAGE_SELECTOR_FACTORY_CLASS);
_instance = (SelectionCriteriaFactory) cls.newInstance();
} catch (Exception e) {
FFDC... | java | public static SelectionCriteriaFactory getInstance() {
if (_instance == null) {
synchronized (SIDestinationAddressFactory.class) {
try {
Class cls = Class
.forName(MESSAGE_SELECTOR_FACTORY_CLASS);
_instance = (SelectionCriteriaFactory) cls.newInstance();
} catch (Exception e) {
FFDC... | [
"public",
"static",
"SelectionCriteriaFactory",
"getInstance",
"(",
")",
"{",
"if",
"(",
"_instance",
"==",
"null",
")",
"{",
"synchronized",
"(",
"SIDestinationAddressFactory",
".",
"class",
")",
"{",
"try",
"{",
"Class",
"cls",
"=",
"Class",
".",
"forName",
... | Get the singleton SIDestinationAddressFactory which is to be used for
creating SIDestinationAddress instances.
@return The SIDestinationAddressFactory | [
"Get",
"the",
"singleton",
"SIDestinationAddressFactory",
"which",
"is",
"to",
"be",
"used",
"for",
"creating",
"SIDestinationAddress",
"instances",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/wsspi/sib/core/SelectionCriteriaFactory.java#L44-L61 |
70,088 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectorProperty.java | ConnectorProperty.setValue | private void setValue(Object newValue) {
try {
if (this.type == null)
value = newValue;
else if (this.type.equals("java.lang.String"))
value = newValue;
else if (this.type.equals("java.lang.Boolean"))
value = Boolean.valueOf((St... | java | private void setValue(Object newValue) {
try {
if (this.type == null)
value = newValue;
else if (this.type.equals("java.lang.String"))
value = newValue;
else if (this.type.equals("java.lang.Boolean"))
value = Boolean.valueOf((St... | [
"private",
"void",
"setValue",
"(",
"Object",
"newValue",
")",
"{",
"try",
"{",
"if",
"(",
"this",
".",
"type",
"==",
"null",
")",
"value",
"=",
"newValue",
";",
"else",
"if",
"(",
"this",
".",
"type",
".",
"equals",
"(",
"\"java.lang.String\"",
")",
... | should be identical to version 1.3, except newValue is of type Object. | [
"should",
"be",
"identical",
"to",
"version",
"1",
".",
"3",
"except",
"newValue",
"is",
"of",
"type",
"Object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectorProperty.java#L83-L112 |
70,089 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java | MPSubscriptionImpl.addSelectionCriteria | public void addSelectionCriteria(SelectionCriteria selCriteria)
throws SIDiscriminatorSyntaxException, SISelectorSyntaxException, SIResourceException
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "addSelectionCriteria",
new Object[] { selCriteria });
// We should rea... | java | public void addSelectionCriteria(SelectionCriteria selCriteria)
throws SIDiscriminatorSyntaxException, SISelectorSyntaxException, SIResourceException
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "addSelectionCriteria",
new Object[] { selCriteria });
// We should rea... | [
"public",
"void",
"addSelectionCriteria",
"(",
"SelectionCriteria",
"selCriteria",
")",
"throws",
"SIDiscriminatorSyntaxException",
",",
"SISelectorSyntaxException",
",",
"SIResourceException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
... | Add an additional selection criteria to the to the subscription
Duplicate selection criterias are ignored | [
"Add",
"an",
"additional",
"selection",
"criteria",
"to",
"the",
"to",
"the",
"subscription",
"Duplicate",
"selection",
"criterias",
"are",
"ignored"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java#L73-L155 |
70,090 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java | MPSubscriptionImpl.getSelectionCriteria | public SelectionCriteria[] getSelectionCriteria()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getSelectionCriteria");
SelectionCriteria[] list = _consumerDispatcher.getConsumerDispatcherState().getSelectionCriteriaList();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getSe... | java | public SelectionCriteria[] getSelectionCriteria()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getSelectionCriteria");
SelectionCriteria[] list = _consumerDispatcher.getConsumerDispatcherState().getSelectionCriteriaList();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getSe... | [
"public",
"SelectionCriteria",
"[",
"]",
"getSelectionCriteria",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getSelectionCriteria\"",
")",
";",
"SelectionCriteria",
"[",
"]",
"list",
"=",
... | List existing selection criterias registered with the subscription | [
"List",
"existing",
"selection",
"criterias",
"registered",
"with",
"the",
"subscription"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java#L217-L227 |
70,091 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java | MPSubscriptionImpl.setUserProperties | public void setUserProperties(Map userData) throws SIResourceException
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setUserProperties",
new Object[] { userData });
_consumerDispatcher.getConsumerDispatcherState().setUserData(userData);
Transaction tran = _messageProcesso... | java | public void setUserProperties(Map userData) throws SIResourceException
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setUserProperties",
new Object[] { userData });
_consumerDispatcher.getConsumerDispatcherState().setUserData(userData);
Transaction tran = _messageProcesso... | [
"public",
"void",
"setUserProperties",
"(",
"Map",
"userData",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setUserProperties\"",
",",
"new",
"Object",
"[",
"]",
... | Store a map of user properties with a subscription
The map provided on this call will replace any existing map stored with the subscription | [
"Store",
"a",
"map",
"of",
"user",
"properties",
"with",
"a",
"subscription",
"The",
"map",
"provided",
"on",
"this",
"call",
"will",
"replace",
"any",
"existing",
"map",
"stored",
"with",
"the",
"subscription"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java#L233-L267 |
70,092 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java | MPSubscriptionImpl.getUserProperties | public Map getUserProperties()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getUserProperties");
Map map = _consumerDispatcher.getConsumerDispatcherState().getUserData();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getUserProperties", map);
return map;
} | java | public Map getUserProperties()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getUserProperties");
Map map = _consumerDispatcher.getConsumerDispatcherState().getUserData();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getUserProperties", map);
return map;
} | [
"public",
"Map",
"getUserProperties",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getUserProperties\"",
")",
";",
"Map",
"map",
"=",
"_consumerDispatcher",
".",
"getConsumerDispatcherState",
... | Get the map currently stored with the subscription | [
"Get",
"the",
"map",
"currently",
"stored",
"with",
"the",
"subscription"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java#L272-L282 |
70,093 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java | MPSubscriptionImpl.getSubscriberId | public String getSubscriberId()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getSubscriberId");
String subscriberId = _consumerDispatcher.getConsumerDispatcherState().getSubscriberID();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getSubscriberId", subscriberId);
return su... | java | public String getSubscriberId()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getSubscriberId");
String subscriberId = _consumerDispatcher.getConsumerDispatcherState().getSubscriberID();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getSubscriberId", subscriberId);
return su... | [
"public",
"String",
"getSubscriberId",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getSubscriberId\"",
")",
";",
"String",
"subscriberId",
"=",
"_consumerDispatcher",
".",
"getConsumerDispatch... | Get subscriberID for this subscription | [
"Get",
"subscriberID",
"for",
"this",
"subscription"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java#L287-L297 |
70,094 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java | MPSubscriptionImpl.getWPMTopicSpaceName | public String getWPMTopicSpaceName()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getWPMTopicSpaceName");
String tsName = _consumerDispatcher.getConsumerDispatcherState().getTopicSpaceName();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getWPMTopicSpaceName", tsName)... | java | public String getWPMTopicSpaceName()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getWPMTopicSpaceName");
String tsName = _consumerDispatcher.getConsumerDispatcherState().getTopicSpaceName();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getWPMTopicSpaceName", tsName)... | [
"public",
"String",
"getWPMTopicSpaceName",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getWPMTopicSpaceName\"",
")",
";",
"String",
"tsName",
"=",
"_consumerDispatcher",
".",
"getConsumerDisp... | Get WPMTopicSpaceName for this subscription | [
"Get",
"WPMTopicSpaceName",
"for",
"this",
"subscription"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java#L302-L312 |
70,095 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java | MPSubscriptionImpl.getMEName | public String getMEName()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getMEName");
String meName = _messageProcessor.getMessagingEngineName();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getMEName", meName);
return meName;
} | java | public String getMEName()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "getMEName");
String meName = _messageProcessor.getMessagingEngineName();
if (tc.isEntryEnabled())
SibTr.exit(tc, "getMEName", meName);
return meName;
} | [
"public",
"String",
"getMEName",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMEName\"",
")",
";",
"String",
"meName",
"=",
"_messageProcessor",
".",
"getMessagingEngineName",
"(",
")",
... | Get MEName for this subscription | [
"Get",
"MEName",
"for",
"this",
"subscription"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MPSubscriptionImpl.java#L317-L327 |
70,096 | OpenLiberty/open-liberty | dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java | ExtendedJTATransactionImpl.getLocalId | @Override
public int getLocalId() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "getLocalId");
int localId = 0;
final TransactionImpl tran = ((TranManagerSet) TransactionManagerFactory.getTransactionManager()).getTransactionImpl();
if ... | java | @Override
public int getLocalId() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "getLocalId");
int localId = 0;
final TransactionImpl tran = ((TranManagerSet) TransactionManagerFactory.getTransactionManager()).getTransactionImpl();
if ... | [
"@",
"Override",
"public",
"int",
"getLocalId",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getLocalId\"",
")",
";",
"int",
"... | Returns a process-unique identifier for the transaction currently associated
with the calling thread. The local-id is valid only within the local process.
The local-id is recovered as part of the state of a recovered transaction.
@return an integer that uniquely identifies the current transaction within
the calling pr... | [
"Returns",
"a",
"process",
"-",
"unique",
"identifier",
"for",
"the",
"transaction",
"currently",
"associated",
"with",
"the",
"calling",
"thread",
".",
"The",
"local",
"-",
"id",
"is",
"valid",
"only",
"within",
"the",
"local",
"process",
".",
"The",
"local... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java#L81-L97 |
70,097 | OpenLiberty/open-liberty | dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java | ExtendedJTATransactionImpl.beforeCompletion | public static void beforeCompletion(TransactionImpl tran, int syncLevel) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "beforeCompletion", new Object[] { tran, syncLevel });
if (syncLevel >= 0) {
final ArrayList syncs = _syncLevels.get(syncLevel... | java | public static void beforeCompletion(TransactionImpl tran, int syncLevel) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "beforeCompletion", new Object[] { tran, syncLevel });
if (syncLevel >= 0) {
final ArrayList syncs = _syncLevels.get(syncLevel... | [
"public",
"static",
"void",
"beforeCompletion",
"(",
"TransactionImpl",
"tran",
",",
"int",
"syncLevel",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
... | Notify all the registered syncs of the begin
of the completion phase of the given transaction | [
"Notify",
"all",
"the",
"registered",
"syncs",
"of",
"the",
"begin",
"of",
"the",
"completion",
"phase",
"of",
"the",
"given",
"transaction"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java#L283-L304 |
70,098 | OpenLiberty/open-liberty | dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java | ExtendedJTATransactionImpl.afterCompletion | public static void afterCompletion(TransactionImpl tran, int status, int syncLevel) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "afterCompletion", new Object[] { tran, status, syncLevel });
if (syncLevel >= 0) {
final ArrayList syncs = _syncLe... | java | public static void afterCompletion(TransactionImpl tran, int status, int syncLevel) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "afterCompletion", new Object[] { tran, status, syncLevel });
if (syncLevel >= 0) {
final ArrayList syncs = _syncLe... | [
"public",
"static",
"void",
"afterCompletion",
"(",
"TransactionImpl",
"tran",
",",
"int",
"status",
",",
"int",
"syncLevel",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",... | Notify all the registered syncs of the end
of the completion phase of the given
transaction. The completion resulted in the
transaction having the given status. | [
"Notify",
"all",
"the",
"registered",
"syncs",
"of",
"the",
"end",
"of",
"the",
"completion",
"phase",
"of",
"the",
"given",
"transaction",
".",
"The",
"completion",
"resulted",
"in",
"the",
"transaction",
"having",
"the",
"given",
"status",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java#L312-L344 |
70,099 | OpenLiberty/open-liberty | dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java | ExtendedJTATransactionImpl.callbacksRegistered | public static boolean callbacksRegistered() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "callbacksRegistered");
if (_syncLevel < 0) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.exit(tc, "callbacksRegist... | java | public static boolean callbacksRegistered() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "callbacksRegistered");
if (_syncLevel < 0) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.exit(tc, "callbacksRegist... | [
"public",
"static",
"boolean",
"callbacksRegistered",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"callbacksRegistered\"",
")",
";",... | which can still be called otherwise false. | [
"which",
"can",
"still",
"be",
"called",
"otherwise",
"false",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.jta.extensions/src/com/ibm/ws/jtaextensions/ExtendedJTATransactionImpl.java#L348-L372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.