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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
66,300 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATAsynchConsumer.java | CATAsynchConsumer.sendEntireMessage | private boolean sendEntireMessage(SIBusMessage sibMessage, List<DataSlice> messageSlices,
boolean lastMsg, Integer priority)
throws MessageEncodeFailedException,
IncorrectMessageTypeException,
MessageCopyFailedException,
... | java | private boolean sendEntireMessage(SIBusMessage sibMessage, List<DataSlice> messageSlices,
boolean lastMsg, Integer priority)
throws MessageEncodeFailedException,
IncorrectMessageTypeException,
MessageCopyFailedException,
... | [
"private",
"boolean",
"sendEntireMessage",
"(",
"SIBusMessage",
"sibMessage",
",",
"List",
"<",
"DataSlice",
">",
"messageSlices",
",",
"boolean",
"lastMsg",
",",
"Integer",
"priority",
")",
"throws",
"MessageEncodeFailedException",
",",
"IncorrectMessageTypeException",
... | Sends the message in one big buffer. If the messageSlices parameter is not null then
the message has already been encoded and does not need to be done again. This may be in the
case where the message was destined to be sent in chunks but is so small that it does not
seem worth it.
@param sibMessage The entire message ... | [
"Sends",
"the",
"message",
"in",
"one",
"big",
"buffer",
".",
"If",
"the",
"messageSlices",
"parameter",
"is",
"not",
"null",
"then",
"the",
"message",
"has",
"already",
"been",
"encoded",
"and",
"does",
"not",
"need",
"to",
"be",
"done",
"again",
".",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATAsynchConsumer.java#L845-L910 |
66,301 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATAsynchConsumer.java | CATAsynchConsumer.consumerSessionStopped | public void consumerSessionStopped() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "consumerSessionStopped");
// Inform the main consumer instance that message processor has stopped the session, this will prevent any more
// restart request... | java | public void consumerSessionStopped() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "consumerSessionStopped");
// Inform the main consumer instance that message processor has stopped the session, this will prevent any more
// restart request... | [
"public",
"void",
"consumerSessionStopped",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"consumerSessionStopped\"",
... | Method called when the asynchronous consumer has been stopped duee to the maxSequentialFailures threshold being reached
@param lme | [
"Method",
"called",
"when",
"the",
"asynchronous",
"consumer",
"has",
"been",
"stopped",
"duee",
"to",
"the",
"maxSequentialFailures",
"threshold",
"being",
"reached"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATAsynchConsumer.java#L1092-L1123 |
66,302 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceProcessor.java | ResourceProcessor.checkObjectFactoryAttributes | private void checkObjectFactoryAttributes(ResourceInjectionBinding resourceBinding,
ObjectFactoryInfo extensionFactory) // d675976
throws InjectionConfigurationException
{
Resource resourceAnnotation = resourceBinding.getAnnotation();
if (!extension... | java | private void checkObjectFactoryAttributes(ResourceInjectionBinding resourceBinding,
ObjectFactoryInfo extensionFactory) // d675976
throws InjectionConfigurationException
{
Resource resourceAnnotation = resourceBinding.getAnnotation();
if (!extension... | [
"private",
"void",
"checkObjectFactoryAttributes",
"(",
"ResourceInjectionBinding",
"resourceBinding",
",",
"ObjectFactoryInfo",
"extensionFactory",
")",
"// d675976",
"throws",
"InjectionConfigurationException",
"{",
"Resource",
"resourceAnnotation",
"=",
"resourceBinding",
".",... | Check attributes for registered ObjectFactory's.
@param resourceBinding
@param extensionFactory
@throws InjectionConfigurationException | [
"Check",
"attributes",
"for",
"registered",
"ObjectFactory",
"s",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceProcessor.java#L872-L889 |
66,303 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceProcessor.java | ResourceProcessor.createExtensionFactoryReference | private Reference createExtensionFactoryReference(ObjectFactoryInfo extensionFactory,
ResourceInjectionBinding resourceBinding) // F48603.9
{
String className = extensionFactory.getObjectFactoryClass().getName();
Reference ref = new Reference(res... | java | private Reference createExtensionFactoryReference(ObjectFactoryInfo extensionFactory,
ResourceInjectionBinding resourceBinding) // F48603.9
{
String className = extensionFactory.getObjectFactoryClass().getName();
Reference ref = new Reference(res... | [
"private",
"Reference",
"createExtensionFactoryReference",
"(",
"ObjectFactoryInfo",
"extensionFactory",
",",
"ResourceInjectionBinding",
"resourceBinding",
")",
"// F48603.9",
"{",
"String",
"className",
"=",
"extensionFactory",
".",
"getObjectFactoryClass",
"(",
")",
".",
... | Creates a Reference for a binding from a registered ObjectFactory.
@param extensionFactory the object factory info
@param resourceBinding the resource binding
@return the reference | [
"Creates",
"a",
"Reference",
"for",
"a",
"binding",
"from",
"a",
"registered",
"ObjectFactory",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceProcessor.java#L928-L940 |
66,304 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceProcessor.java | ResourceProcessor.createResourceInfo | private ResourceInfo createResourceInfo(ResourceInjectionBinding resourceBinding) // F48603.9
{
J2EEName j2eeName = ivNameSpaceConfig.getJ2EEName();
Resource resourceAnnotation = resourceBinding.getAnnotation();
return new ResourceInfo(j2eeName == null ? null : j2eeName.getApplication(),
... | java | private ResourceInfo createResourceInfo(ResourceInjectionBinding resourceBinding) // F48603.9
{
J2EEName j2eeName = ivNameSpaceConfig.getJ2EEName();
Resource resourceAnnotation = resourceBinding.getAnnotation();
return new ResourceInfo(j2eeName == null ? null : j2eeName.getApplication(),
... | [
"private",
"ResourceInfo",
"createResourceInfo",
"(",
"ResourceInjectionBinding",
"resourceBinding",
")",
"// F48603.9",
"{",
"J2EEName",
"j2eeName",
"=",
"ivNameSpaceConfig",
".",
"getJ2EEName",
"(",
")",
";",
"Resource",
"resourceAnnotation",
"=",
"resourceBinding",
"."... | Creates a ResourceInfo for a binding.
@param resourceBinding the binding
@return the info | [
"Creates",
"a",
"ResourceInfo",
"for",
"a",
"binding",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceProcessor.java#L948-L965 |
66,305 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java | HttpsURLConnectionFactory.createConnection | public HttpURLConnection createConnection(TLSClientParameters tlsClientParameters,
Proxy proxy, URL url) throws IOException {
HttpURLConnection connection = (HttpURLConnection) (proxy != null ? url.openConnection(proxy) : url.openConnection());
if (HTTPS_UR... | java | public HttpURLConnection createConnection(TLSClientParameters tlsClientParameters,
Proxy proxy, URL url) throws IOException {
HttpURLConnection connection = (HttpURLConnection) (proxy != null ? url.openConnection(proxy) : url.openConnection());
if (HTTPS_UR... | [
"public",
"HttpURLConnection",
"createConnection",
"(",
"TLSClientParameters",
"tlsClientParameters",
",",
"Proxy",
"proxy",
",",
"URL",
"url",
")",
"throws",
"IOException",
"{",
"HttpURLConnection",
"connection",
"=",
"(",
"HttpURLConnection",
")",
"(",
"proxy",
"!="... | Create a HttpURLConnection, proxified if necessary.
@param proxy This parameter is non-null if connection should be proxied.
@param url The target URL. This parameter must be an https url.
@return The HttpsURLConnection for the given URL.
@throws IOException This exception is thrown if
the "url" is not "https" or ot... | [
"Create",
"a",
"HttpURLConnection",
"proxified",
"if",
"necessary",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java#L88-L117 |
66,306 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/util/ReaderUtils.java | ReaderUtils.collectConstructorParameters | public static List<Parameter> collectConstructorParameters(Class<?> cls, Components components, javax.ws.rs.Consumes classConsumes) {
if (cls.isLocalClass() || (cls.isMemberClass() && !Modifier.isStatic(cls.getModifiers()))) {
return Collections.emptyList();
}
List<Parameter> select... | java | public static List<Parameter> collectConstructorParameters(Class<?> cls, Components components, javax.ws.rs.Consumes classConsumes) {
if (cls.isLocalClass() || (cls.isMemberClass() && !Modifier.isStatic(cls.getModifiers()))) {
return Collections.emptyList();
}
List<Parameter> select... | [
"public",
"static",
"List",
"<",
"Parameter",
">",
"collectConstructorParameters",
"(",
"Class",
"<",
"?",
">",
"cls",
",",
"Components",
"components",
",",
"javax",
".",
"ws",
".",
"rs",
".",
"Consumes",
"classConsumes",
")",
"{",
"if",
"(",
"cls",
".",
... | Collects constructor-level parameters from class.
@param cls is a class for collecting
@param components
@return the collection of supported parameters | [
"Collects",
"constructor",
"-",
"level",
"parameters",
"from",
"class",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/util/ReaderUtils.java#L49-L99 |
66,307 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/util/ReaderUtils.java | ReaderUtils.collectFieldParameters | public static List<Parameter> collectFieldParameters(Class<?> cls, Components components, javax.ws.rs.Consumes classConsumes) {
final List<Parameter> parameters = new ArrayList<Parameter>();
for (Field field : ReflectionUtils.getDeclaredFields(cls)) {
final List<Annotation> annotations = Arr... | java | public static List<Parameter> collectFieldParameters(Class<?> cls, Components components, javax.ws.rs.Consumes classConsumes) {
final List<Parameter> parameters = new ArrayList<Parameter>();
for (Field field : ReflectionUtils.getDeclaredFields(cls)) {
final List<Annotation> annotations = Arr... | [
"public",
"static",
"List",
"<",
"Parameter",
">",
"collectFieldParameters",
"(",
"Class",
"<",
"?",
">",
"cls",
",",
"Components",
"components",
",",
"javax",
".",
"ws",
".",
"rs",
".",
"Consumes",
"classConsumes",
")",
"{",
"final",
"List",
"<",
"Paramet... | Collects field-level parameters from class.
@param cls is a class for collecting
@param components
@return the collection of supported parameters | [
"Collects",
"field",
"-",
"level",
"parameters",
"from",
"class",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/util/ReaderUtils.java#L108-L116 |
66,308 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/util/ReaderUtils.java | ReaderUtils.splitContentValues | public static String[] splitContentValues(String[] strings) {
final Set<String> result = new LinkedHashSet<String>();
for (String string : strings) {
if (string.isEmpty())
continue;
String[] splitted = string.trim().split(",");
for (String string2 : s... | java | public static String[] splitContentValues(String[] strings) {
final Set<String> result = new LinkedHashSet<String>();
for (String string : strings) {
if (string.isEmpty())
continue;
String[] splitted = string.trim().split(",");
for (String string2 : s... | [
"public",
"static",
"String",
"[",
"]",
"splitContentValues",
"(",
"String",
"[",
"]",
"strings",
")",
"{",
"final",
"Set",
"<",
"String",
">",
"result",
"=",
"new",
"LinkedHashSet",
"<",
"String",
">",
"(",
")",
";",
"for",
"(",
"String",
"string",
":... | Splits the provided array of strings into an array, using comma as the separator.
Also removes leading and trailing whitespace and omits empty strings from the results.
@param strings is the provided array of strings
@return the resulted array of strings | [
"Splits",
"the",
"provided",
"array",
"of",
"strings",
"into",
"an",
"array",
"using",
"comma",
"as",
"the",
"separator",
".",
"Also",
"removes",
"leading",
"and",
"trailing",
"whitespace",
"and",
"omits",
"empty",
"strings",
"from",
"the",
"results",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/util/ReaderUtils.java#L140-L152 |
66,309 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaUtils.java | SibRaUtils.objectsNotEqual | public static boolean objectsNotEqual(final Object one, final Object two) {
return (one == null) ? (two != null) : (!one.equals(two));
} | java | public static boolean objectsNotEqual(final Object one, final Object two) {
return (one == null) ? (two != null) : (!one.equals(two));
} | [
"public",
"static",
"boolean",
"objectsNotEqual",
"(",
"final",
"Object",
"one",
",",
"final",
"Object",
"two",
")",
"{",
"return",
"(",
"one",
"==",
"null",
")",
"?",
"(",
"two",
"!=",
"null",
")",
":",
"(",
"!",
"one",
".",
"equals",
"(",
"two",
... | Compares two objects for equality.
@param one
the first object
@param two
the second object
@return <code>true</code> if the two objects are <b>not </b> equal,
othewise <code>false</code> | [
"Compares",
"two",
"objects",
"for",
"equality",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaUtils.java#L82-L86 |
66,310 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaUtils.java | SibRaUtils.addFieldToString | public static void addFieldToString(final StringBuffer buffer,
final String name, final Object value) {
buffer.append(" <");
buffer.append(name);
buffer.append("=");
buffer.append(value);
buffer.append(">");
} | java | public static void addFieldToString(final StringBuffer buffer,
final String name, final Object value) {
buffer.append(" <");
buffer.append(name);
buffer.append("=");
buffer.append(value);
buffer.append(">");
} | [
"public",
"static",
"void",
"addFieldToString",
"(",
"final",
"StringBuffer",
"buffer",
",",
"final",
"String",
"name",
",",
"final",
"Object",
"value",
")",
"{",
"buffer",
".",
"append",
"(",
"\" <\"",
")",
";",
"buffer",
".",
"append",
"(",
"name",
")",
... | Adds a string representation of the given field to the buffer.
@param buffer
the buffer
@param name
the name of the field
@param value
the value of the field | [
"Adds",
"a",
"string",
"representation",
"of",
"the",
"given",
"field",
"to",
"the",
"buffer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaUtils.java#L175-L184 |
66,311 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaUtils.java | SibRaUtils.addPasswordFieldToString | public static void addPasswordFieldToString(final StringBuffer buffer,
final String name, final Object value) {
addFieldToString(buffer, name, (value == null) ? null : "*****");
} | java | public static void addPasswordFieldToString(final StringBuffer buffer,
final String name, final Object value) {
addFieldToString(buffer, name, (value == null) ? null : "*****");
} | [
"public",
"static",
"void",
"addPasswordFieldToString",
"(",
"final",
"StringBuffer",
"buffer",
",",
"final",
"String",
"name",
",",
"final",
"Object",
"value",
")",
"{",
"addFieldToString",
"(",
"buffer",
",",
"name",
",",
"(",
"value",
"==",
"null",
")",
"... | Adds a string representation of the given password to the buffer. This
will contain a row of asterisks if the password is non-null.
@param buffer
the buffer
@param name
the name of the field
@param value
the value of the field | [
"Adds",
"a",
"string",
"representation",
"of",
"the",
"given",
"password",
"to",
"the",
"buffer",
".",
"This",
"will",
"contain",
"a",
"row",
"of",
"asterisks",
"if",
"the",
"password",
"is",
"non",
"-",
"null",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaUtils.java#L218-L223 |
66,312 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/runtime/HttpJspBase.java | HttpJspBase.service | public final void service(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
_jspService(request, response);
} | java | public final void service(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
_jspService(request, response);
} | [
"public",
"final",
"void",
"service",
"(",
"HttpServletRequest",
"request",
",",
"HttpServletResponse",
"response",
")",
"throws",
"ServletException",
",",
"IOException",
"{",
"_jspService",
"(",
"request",
",",
"response",
")",
";",
"}"
] | Entry point into service. | [
"Entry",
"point",
"into",
"service",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/runtime/HttpJspBase.java#L98-L101 |
66,313 | OpenLiberty/open-liberty | dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java | LongObjectHashMap.put | public Object put(long key, Object value)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "put", new Object[]{new Long(key), value, this});
if (value == null)
{
if (tc.isEntryEnabled()) Tr.exit(tc, "put", "IllegalArgumentException");
throw new IllegalArgumentException("Null is not a permitted value.");
}
... | java | public Object put(long key, Object value)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "put", new Object[]{new Long(key), value, this});
if (value == null)
{
if (tc.isEntryEnabled()) Tr.exit(tc, "put", "IllegalArgumentException");
throw new IllegalArgumentException("Null is not a permitted value.");
}
... | [
"public",
"Object",
"put",
"(",
"long",
"key",
",",
"Object",
"value",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"put\"",
",",
"new",
"Object",
"[",
"]",
"{",
"new",
"Long",
"(",
"key",... | Store the given value in the map, associating it with the given key. If the
map already contains an entry associated with the given key that entry will
be replaced.
@param key The key to associate with the entry
@param value The entry to be associated with the key
@return The entry replaced by this put operation, or nu... | [
"Store",
"the",
"given",
"value",
"in",
"the",
"map",
"associating",
"it",
"with",
"the",
"given",
"key",
".",
"If",
"the",
"map",
"already",
"contains",
"an",
"entry",
"associated",
"with",
"the",
"given",
"key",
"that",
"entry",
"will",
"be",
"replaced",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java#L145-L230 |
66,314 | OpenLiberty/open-liberty | dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java | LongObjectHashMap.remove | public Object remove(long key)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "remove", new Object[]{new Long(key), this});
int hash = getHashForExistingEntry(key);
Object result = null;
if (hash >= 0)
{
result = _values[hash];
}
if (result != null)
{
if (tc.isD... | java | public Object remove(long key)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "remove", new Object[]{new Long(key), this});
int hash = getHashForExistingEntry(key);
Object result = null;
if (hash >= 0)
{
result = _values[hash];
}
if (result != null)
{
if (tc.isD... | [
"public",
"Object",
"remove",
"(",
"long",
"key",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"remove\"",
",",
"new",
"Object",
"[",
"]",
"{",
"new",
"Long",
"(",
"key",
")",
",",
"this",... | Remove the entry from the map that is associated with
the given key.
@param key The key associated with the object that is to be removed
@return The object that has been removed from the map, or null if no object was removed.
Null can also be returned if the given key was previously associated with a null value. | [
"Remove",
"the",
"entry",
"from",
"the",
"map",
"that",
"is",
"associated",
"with",
"the",
"given",
"key",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java#L239-L261 |
66,315 | OpenLiberty/open-liberty | dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java | LongObjectHashMap.get | public Object get(long key)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "get", new Object[]{new Long(key), this});
int hash = getHashForExistingEntry(key);
Object value = null;
if (hash >= 0)
{
value = _values[hash];
}
if (tc.isEntryEnabled()) Tr.exit(tc, "get", ... | java | public Object get(long key)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "get", new Object[]{new Long(key), this});
int hash = getHashForExistingEntry(key);
Object value = null;
if (hash >= 0)
{
value = _values[hash];
}
if (tc.isEntryEnabled()) Tr.exit(tc, "get", ... | [
"public",
"Object",
"get",
"(",
"long",
"key",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"get\"",
",",
"new",
"Object",
"[",
"]",
"{",
"new",
"Long",
"(",
"key",
")",
",",
"this",
"}"... | Return the entry from the map associated with the given key
@param key the key whose associated value is to be returned
@return the entry in the map associated with the given key. | [
"Return",
"the",
"entry",
"from",
"the",
"map",
"associated",
"with",
"the",
"given",
"key"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java#L268-L282 |
66,316 | OpenLiberty/open-liberty | dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java | LongObjectHashMap.getHashForKey | private int getHashForKey(long key)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getHashForKey", new Object[]{new Long(key), this});
int hash = (int) (key % _mapSize);
if (hash < 0) hash = -hash;
if (tc.isEntryEnabled()) Tr.exit(tc, "getHashForKey", new Integer(hash));
return hash;
} | java | private int getHashForKey(long key)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getHashForKey", new Object[]{new Long(key), this});
int hash = (int) (key % _mapSize);
if (hash < 0) hash = -hash;
if (tc.isEntryEnabled()) Tr.exit(tc, "getHashForKey", new Integer(hash));
return hash;
} | [
"private",
"int",
"getHashForKey",
"(",
"long",
"key",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getHashForKey\"",
",",
"new",
"Object",
"[",
"]",
"{",
"new",
"Long",
"(",
"key",
")",
",... | suitable int index into the map | [
"suitable",
"int",
"index",
"into",
"the",
"map"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.util/src/com/ibm/tx/util/LongObjectHashMap.java#L371-L380 |
66,317 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security.feature/src/com/ibm/ws/webcontainer/security/feature/internal/FeatureAuthorizationTable.java | FeatureAuthorizationTable.processConfigProps | private void processConfigProps(Map<String, Object> props) {
if (props == null || props.isEmpty())
return;
id = (String) props.get(CFG_KEY_ID);
if (id == null) {
Tr.error(tc, "AUTHZ_ROLE_ID_IS_NULL");
return;
}
rolePids = (String[]) props.get(C... | java | private void processConfigProps(Map<String, Object> props) {
if (props == null || props.isEmpty())
return;
id = (String) props.get(CFG_KEY_ID);
if (id == null) {
Tr.error(tc, "AUTHZ_ROLE_ID_IS_NULL");
return;
}
rolePids = (String[]) props.get(C... | [
"private",
"void",
"processConfigProps",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"props",
")",
"{",
"if",
"(",
"props",
"==",
"null",
"||",
"props",
".",
"isEmpty",
"(",
")",
")",
"return",
";",
"id",
"=",
"(",
"String",
")",
"props",
".",
"... | Process the sytemRole properties from the server.xml.
@param props | [
"Process",
"the",
"sytemRole",
"properties",
"from",
"the",
"server",
".",
"xml",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security.feature/src/com/ibm/ws/webcontainer/security/feature/internal/FeatureAuthorizationTable.java#L107-L119 |
66,318 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/ClassLoaderConfigHelper.java | ClassLoaderConfigHelper.retrieveConfig | private Configuration retrieveConfig(NestedConfigHelper configHelper, ConfigurationAdmin configAdmin) throws InitWithoutConfig {
if (configHelper == null)
throw new InitWithoutConfig("Configuration not found");
// We need configAdmin to list the configurations of nested classloader elements ... | java | private Configuration retrieveConfig(NestedConfigHelper configHelper, ConfigurationAdmin configAdmin) throws InitWithoutConfig {
if (configHelper == null)
throw new InitWithoutConfig("Configuration not found");
// We need configAdmin to list the configurations of nested classloader elements ... | [
"private",
"Configuration",
"retrieveConfig",
"(",
"NestedConfigHelper",
"configHelper",
",",
"ConfigurationAdmin",
"configAdmin",
")",
"throws",
"InitWithoutConfig",
"{",
"if",
"(",
"configHelper",
"==",
"null",
")",
"throw",
"new",
"InitWithoutConfig",
"(",
"\"Configu... | get the configuration object or die trying | [
"get",
"the",
"configuration",
"object",
"or",
"die",
"trying"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/ClassLoaderConfigHelper.java#L137-L172 |
66,319 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/ClassLoaderConfigHelper.java | ClassLoaderConfigHelper.getIds | private List<String> getIds(ConfigurationAdmin ca, String[] pids) {
final String methodName = "getIds(): ";
if (pids == null) {
return Collections.emptyList();
}
List<String> ids = new ArrayList<String>();
for (String pid : pids) {
try {
St... | java | private List<String> getIds(ConfigurationAdmin ca, String[] pids) {
final String methodName = "getIds(): ";
if (pids == null) {
return Collections.emptyList();
}
List<String> ids = new ArrayList<String>();
for (String pid : pids) {
try {
St... | [
"private",
"List",
"<",
"String",
">",
"getIds",
"(",
"ConfigurationAdmin",
"ca",
",",
"String",
"[",
"]",
"pids",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"getIds(): \"",
";",
"if",
"(",
"pids",
"==",
"null",
")",
"{",
"return",
"Collections",
... | Find the PID in the configAdmin and get the id corresponding to it. | [
"Find",
"the",
"PID",
"in",
"the",
"configAdmin",
"and",
"get",
"the",
"id",
"corresponding",
"to",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/ClassLoaderConfigHelper.java#L175-L203 |
66,320 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/ClassLoaderConfigHelper.java | ClassLoaderConfigHelper.folderContainsFiles | private boolean folderContainsFiles(File folder) {
if (folder != null) {
File[] files = folder.listFiles();
for (File file : files)
if (file.isFile())
return true;
for (File file : files)
if (file.isDirectory())
... | java | private boolean folderContainsFiles(File folder) {
if (folder != null) {
File[] files = folder.listFiles();
for (File file : files)
if (file.isFile())
return true;
for (File file : files)
if (file.isDirectory())
... | [
"private",
"boolean",
"folderContainsFiles",
"(",
"File",
"folder",
")",
"{",
"if",
"(",
"folder",
"!=",
"null",
")",
"{",
"File",
"[",
"]",
"files",
"=",
"folder",
".",
"listFiles",
"(",
")",
";",
"for",
"(",
"File",
"file",
":",
"files",
")",
"if",... | Breadth-first traversal of folder and any subdirectories looking for if any files exist | [
"Breadth",
"-",
"first",
"traversal",
"of",
"folder",
"and",
"any",
"subdirectories",
"looking",
"for",
"if",
"any",
"files",
"exist"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/ClassLoaderConfigHelper.java#L221-L233 |
66,321 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/ASN1Sequence.java | ASN1Sequence.getInstance | public static ASN1Sequence getInstance(
Object obj)
{
if (obj == null || obj instanceof ASN1Sequence)
{
return (ASN1Sequence)obj;
}
throw new IllegalArgumentException("unknown object in getInstance");
} | java | public static ASN1Sequence getInstance(
Object obj)
{
if (obj == null || obj instanceof ASN1Sequence)
{
return (ASN1Sequence)obj;
}
throw new IllegalArgumentException("unknown object in getInstance");
} | [
"public",
"static",
"ASN1Sequence",
"getInstance",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"obj",
"==",
"null",
"||",
"obj",
"instanceof",
"ASN1Sequence",
")",
"{",
"return",
"(",
"ASN1Sequence",
")",
"obj",
";",
"}",
"throw",
"new",
"IllegalArgumentExcep... | return an ASN1Sequence from the given object.
@param obj the object we want converted.
@exception IllegalArgumentException if the object cannot be converted. | [
"return",
"an",
"ASN1Sequence",
"from",
"the",
"given",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/ASN1Sequence.java#L32-L41 |
66,322 | OpenLiberty/open-liberty | dev/com.ibm.ws.javaee.ddmodel/src.gen/com/ibm/ws/javaee/ddmodel/webext/WebExtAdapter.java | WebExtAdapter.markError | private static boolean markError(OverlayContainer overlay, String errorTag) {
if ( overlay.getFromNonPersistentCache(errorTag, WebExtAdapter.class) == null ) {
overlay.addToNonPersistentCache(errorTag, WebExtAdapter.class, errorTag);
return true;
} else {
return false... | java | private static boolean markError(OverlayContainer overlay, String errorTag) {
if ( overlay.getFromNonPersistentCache(errorTag, WebExtAdapter.class) == null ) {
overlay.addToNonPersistentCache(errorTag, WebExtAdapter.class, errorTag);
return true;
} else {
return false... | [
"private",
"static",
"boolean",
"markError",
"(",
"OverlayContainer",
"overlay",
",",
"String",
"errorTag",
")",
"{",
"if",
"(",
"overlay",
".",
"getFromNonPersistentCache",
"(",
"errorTag",
",",
"WebExtAdapter",
".",
"class",
")",
"==",
"null",
")",
"{",
"ove... | Mark an error condition to an overlay container.
The tag is used as both the overlay key and the overlay value.
Each mark is not placed relative to particular data. Each mark
may be placed at most once.
@param overlay The overlay in which to place the mark.
@param errorTag The tag used as the mark.
@return True or ... | [
"Mark",
"an",
"error",
"condition",
"to",
"an",
"overlay",
"container",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.javaee.ddmodel/src.gen/com/ibm/ws/javaee/ddmodel/webext/WebExtAdapter.java#L69-L76 |
66,323 | OpenLiberty/open-liberty | dev/com.ibm.ws.javaee.ddmodel/src.gen/com/ibm/ws/javaee/ddmodel/webext/WebExtAdapter.java | WebExtAdapter.adapt | @Override
@FFDCIgnore(ParseException.class)
public com.ibm.ws.javaee.dd.webext.WebExt adapt(
Container root,
OverlayContainer rootOverlay,
ArtifactContainer artifactContainer,
Container containerToAdapt) throws UnableToAdaptException {
// What web extension is stored dep... | java | @Override
@FFDCIgnore(ParseException.class)
public com.ibm.ws.javaee.dd.webext.WebExt adapt(
Container root,
OverlayContainer rootOverlay,
ArtifactContainer artifactContainer,
Container containerToAdapt) throws UnableToAdaptException {
// What web extension is stored dep... | [
"@",
"Override",
"@",
"FFDCIgnore",
"(",
"ParseException",
".",
"class",
")",
"public",
"com",
".",
"ibm",
".",
"ws",
".",
"javaee",
".",
"dd",
".",
"webext",
".",
"WebExt",
"adapt",
"(",
"Container",
"root",
",",
"OverlayContainer",
"rootOverlay",
",",
... | Obtain the web extension for a module container.
There are four possibilities:
(1) The container has neither a web extension nor a configuration override of its
web extension. In this case, answer null: No web extension is available.
(2) The container has a web extension and does not have a configuration override
(... | [
"Obtain",
"the",
"web",
"extension",
"for",
"a",
"module",
"container",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.javaee.ddmodel/src.gen/com/ibm/ws/javaee/ddmodel/webext/WebExtAdapter.java#L116-L170 |
66,324 | OpenLiberty/open-liberty | dev/com.ibm.ws.javaee.ddmodel/src.gen/com/ibm/ws/javaee/ddmodel/webext/WebExtAdapter.java | WebExtAdapter.stripExtension | private String stripExtension(String moduleName) {
if ( moduleName.endsWith(".war") || moduleName.endsWith(".jar") ) {
return moduleName.substring(0, moduleName.length() - 4);
}
return moduleName;
} | java | private String stripExtension(String moduleName) {
if ( moduleName.endsWith(".war") || moduleName.endsWith(".jar") ) {
return moduleName.substring(0, moduleName.length() - 4);
}
return moduleName;
} | [
"private",
"String",
"stripExtension",
"(",
"String",
"moduleName",
")",
"{",
"if",
"(",
"moduleName",
".",
"endsWith",
"(",
"\".war\"",
")",
"||",
"moduleName",
".",
"endsWith",
"(",
"\".jar\"",
")",
")",
"{",
"return",
"moduleName",
".",
"substring",
"(",
... | Strip the extension from a module name.
Remove only ".war" or ".jar", and only if these are present in lower case.
The module name is as obtained from an application descriptor, or from a web
extension override, or from module information. Module names are usually,
but not always, simple file names. Module names ca... | [
"Strip",
"the",
"extension",
"from",
"a",
"module",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.javaee.ddmodel/src.gen/com/ibm/ws/javaee/ddmodel/webext/WebExtAdapter.java#L332-L337 |
66,325 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.isReconfigurable | public final boolean isReconfigurable(WSConnectionRequestInfoImpl cri, boolean reauth)
{
// The CRI is only reconfigurable if all fields which cannot be changed already match.
// Although sharding keys can sometimes be changed via connection.setShardingKey,
// the spec does not guarantee th... | java | public final boolean isReconfigurable(WSConnectionRequestInfoImpl cri, boolean reauth)
{
// The CRI is only reconfigurable if all fields which cannot be changed already match.
// Although sharding keys can sometimes be changed via connection.setShardingKey,
// the spec does not guarantee th... | [
"public",
"final",
"boolean",
"isReconfigurable",
"(",
"WSConnectionRequestInfoImpl",
"cri",
",",
"boolean",
"reauth",
")",
"{",
"// The CRI is only reconfigurable if all fields which cannot be changed already match.",
"// Although sharding keys can sometimes be changed via connection.setS... | Indicates whether a Connection with this CRI may be reconfigured to the specific CRI.
@param cri The CRI to test against.
@return true if a connection with the CRI represented by this class can be reconfigured
to the specified CRI. | [
"Indicates",
"whether",
"a",
"Connection",
"with",
"this",
"CRI",
"may",
"be",
"reconfigured",
"to",
"the",
"specific",
"CRI",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L419-L442 |
66,326 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchKerberosIdentities | private boolean matchKerberosIdentities(WSConnectionRequestInfoImpl cri) {
boolean flag = false;
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(this, tc, "matchKerberosIdentities", this, cri);
if (kerberosIdent... | java | private boolean matchKerberosIdentities(WSConnectionRequestInfoImpl cri) {
boolean flag = false;
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(this, tc, "matchKerberosIdentities", this, cri);
if (kerberosIdent... | [
"private",
"boolean",
"matchKerberosIdentities",
"(",
"WSConnectionRequestInfoImpl",
"cri",
")",
"{",
"boolean",
"flag",
"=",
"false",
";",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"... | Per JAVA Docs,
method returns true if the two names contain at least one primitive element in common.
If either of the names represents an anonymous entity, the method will return false. | [
"Per",
"JAVA",
"Docs",
"method",
"returns",
"true",
"if",
"the",
"two",
"names",
"contain",
"at",
"least",
"one",
"primitive",
"element",
"in",
"common",
".",
"If",
"either",
"of",
"the",
"names",
"represents",
"an",
"anonymous",
"entity",
"the",
"method",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L524-L549 |
66,327 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.match | private static final boolean match(Object obj1, Object obj2) {
return obj1 == obj2 || (obj1 != null && obj1.equals(obj2));
} | java | private static final boolean match(Object obj1, Object obj2) {
return obj1 == obj2 || (obj1 != null && obj1.equals(obj2));
} | [
"private",
"static",
"final",
"boolean",
"match",
"(",
"Object",
"obj1",
",",
"Object",
"obj2",
")",
"{",
"return",
"obj1",
"==",
"obj2",
"||",
"(",
"obj1",
"!=",
"null",
"&&",
"obj1",
".",
"equals",
"(",
"obj2",
")",
")",
";",
"}"
] | Determine if two objects, either of which may be null, are equal.
@param obj1
one object.
@param obj2
another object.
@return true if the objects are equal or are both null, otherwise false. | [
"Determine",
"if",
"two",
"objects",
"either",
"of",
"which",
"may",
"be",
"null",
"are",
"equal",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L562-L564 |
66,328 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchCatalog | private final boolean matchCatalog(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
String defaultValue = defaultCatalog == null ? cri.defaultCatalog : defaultCatalog;
return match(ivCatalog, cri.ivCatalog)
|| ivCatalog == null && matc... | java | private final boolean matchCatalog(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
String defaultValue = defaultCatalog == null ? cri.defaultCatalog : defaultCatalog;
return match(ivCatalog, cri.ivCatalog)
|| ivCatalog == null && matc... | [
"private",
"final",
"boolean",
"matchCatalog",
"(",
"WSConnectionRequestInfoImpl",
"cri",
")",
"{",
"// At least one of the CRIs should know the default value.",
"String",
"defaultValue",
"=",
"defaultCatalog",
"==",
"null",
"?",
"cri",
".",
"defaultCatalog",
":",
"defaultC... | Determine if the catalog property matches. It is considered to match if
- Both catalog values are unspecified.
- Both catalog values are the same value.
- One of the catalog values is unspecified and the other CRI requested the default value.
@return true if the catalogs match, otherwise false. | [
"Determine",
"if",
"the",
"catalog",
"property",
"matches",
".",
"It",
"is",
"considered",
"to",
"match",
"if",
"-",
"Both",
"catalog",
"values",
"are",
"unspecified",
".",
"-",
"Both",
"catalog",
"values",
"are",
"the",
"same",
"value",
".",
"-",
"One",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L574-L581 |
66,329 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchSchema | private final boolean matchSchema(WSConnectionRequestInfoImpl cri){
// At least one of the CRIs should know the default value.
String defaultValue = defaultSchema == null ? cri.defaultSchema : defaultSchema;
return match(ivSchema, cri.ivSchema)
|| ivSchema == null && match(defaul... | java | private final boolean matchSchema(WSConnectionRequestInfoImpl cri){
// At least one of the CRIs should know the default value.
String defaultValue = defaultSchema == null ? cri.defaultSchema : defaultSchema;
return match(ivSchema, cri.ivSchema)
|| ivSchema == null && match(defaul... | [
"private",
"final",
"boolean",
"matchSchema",
"(",
"WSConnectionRequestInfoImpl",
"cri",
")",
"{",
"// At least one of the CRIs should know the default value.",
"String",
"defaultValue",
"=",
"defaultSchema",
"==",
"null",
"?",
"cri",
".",
"defaultSchema",
":",
"defaultSche... | Determine if the schema property matches. It is considered to match if
- Both schema values are unspecified.
- Both schema values are the same value.
- One of the schema values is unspecified and the other CRI requested the default value.
@return true if the schema match, otherwise false. | [
"Determine",
"if",
"the",
"schema",
"property",
"matches",
".",
"It",
"is",
"considered",
"to",
"match",
"if",
"-",
"Both",
"schema",
"values",
"are",
"unspecified",
".",
"-",
"Both",
"schema",
"values",
"are",
"the",
"same",
"value",
".",
"-",
"One",
"o... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L591-L598 |
66,330 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchNetworkTimeout | private final boolean matchNetworkTimeout(WSConnectionRequestInfoImpl cri){
// At least one of the CRIs should know the default value.
int defaultValue = defaultNetworkTimeout == 0 ? cri.defaultNetworkTimeout : defaultNetworkTimeout;
return ivNetworkTimeout == cri.ivNetworkTimeout
... | java | private final boolean matchNetworkTimeout(WSConnectionRequestInfoImpl cri){
// At least one of the CRIs should know the default value.
int defaultValue = defaultNetworkTimeout == 0 ? cri.defaultNetworkTimeout : defaultNetworkTimeout;
return ivNetworkTimeout == cri.ivNetworkTimeout
... | [
"private",
"final",
"boolean",
"matchNetworkTimeout",
"(",
"WSConnectionRequestInfoImpl",
"cri",
")",
"{",
"// At least one of the CRIs should know the default value.",
"int",
"defaultValue",
"=",
"defaultNetworkTimeout",
"==",
"0",
"?",
"cri",
".",
"defaultNetworkTimeout",
"... | Determine if the networkTimeout property matches. It is considered to match if
- Both networkTimeout values are unspecified.
- Both networkTimeout values are the same value.
- One of the networkTimeout values is unspecified and the other CRI requested the default value.
@return true if the networkTimeouts match, other... | [
"Determine",
"if",
"the",
"networkTimeout",
"property",
"matches",
".",
"It",
"is",
"considered",
"to",
"match",
"if",
"-",
"Both",
"networkTimeout",
"values",
"are",
"unspecified",
".",
"-",
"Both",
"networkTimeout",
"values",
"are",
"the",
"same",
"value",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L608-L615 |
66,331 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchHoldability | private final boolean matchHoldability(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
int defaultValue = defaultHoldability == 0 ? cri.defaultHoldability : defaultHoldability;
return ivHoldability == cri.ivHoldability
|| ivHoldabilit... | java | private final boolean matchHoldability(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
int defaultValue = defaultHoldability == 0 ? cri.defaultHoldability : defaultHoldability;
return ivHoldability == cri.ivHoldability
|| ivHoldabilit... | [
"private",
"final",
"boolean",
"matchHoldability",
"(",
"WSConnectionRequestInfoImpl",
"cri",
")",
"{",
"// At least one of the CRIs should know the default value.",
"int",
"defaultValue",
"=",
"defaultHoldability",
"==",
"0",
"?",
"cri",
".",
"defaultHoldability",
":",
"de... | Determine if the result set holdability property matches. It is considered to match if
- Both holdability values are unspecified.
- Both holdability values are the same value.
- One of the holdability values is unspecified and the other CRI requested the default value.
@return true if the result set holdabilities matc... | [
"Determine",
"if",
"the",
"result",
"set",
"holdability",
"property",
"matches",
".",
"It",
"is",
"considered",
"to",
"match",
"if",
"-",
"Both",
"holdability",
"values",
"are",
"unspecified",
".",
"-",
"Both",
"holdability",
"values",
"are",
"the",
"same",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L625-L632 |
66,332 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchReadOnly | private final boolean matchReadOnly(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
Boolean defaultValue = defaultReadOnly == null ? cri.defaultReadOnly : defaultReadOnly;
return match(ivReadOnly, cri.ivReadOnly)
|| ivReadOnly == null... | java | private final boolean matchReadOnly(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
Boolean defaultValue = defaultReadOnly == null ? cri.defaultReadOnly : defaultReadOnly;
return match(ivReadOnly, cri.ivReadOnly)
|| ivReadOnly == null... | [
"private",
"final",
"boolean",
"matchReadOnly",
"(",
"WSConnectionRequestInfoImpl",
"cri",
")",
"{",
"// At least one of the CRIs should know the default value.",
"Boolean",
"defaultValue",
"=",
"defaultReadOnly",
"==",
"null",
"?",
"cri",
".",
"defaultReadOnly",
":",
"defa... | Determine if the read-only property matches. It is considered to match if
- Both read-only values are unspecified.
- Both read-only values are the same value.
- One of the read-only values is unspecified and the other CRI requested the default value.
@return true if the read-only values match, otherwise false. | [
"Determine",
"if",
"the",
"read",
"-",
"only",
"property",
"matches",
".",
"It",
"is",
"considered",
"to",
"match",
"if",
"-",
"Both",
"read",
"-",
"only",
"values",
"are",
"unspecified",
".",
"-",
"Both",
"read",
"-",
"only",
"values",
"are",
"the",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L642-L649 |
66,333 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchTypeMap | private final boolean matchTypeMap(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
Map<String, Class<?>> defaultValue = defaultTypeMap == null ? cri.defaultTypeMap : defaultTypeMap;
return matchTypeMap(ivTypeMap, cri.ivTypeMap)
|| ivT... | java | private final boolean matchTypeMap(WSConnectionRequestInfoImpl cri) {
// At least one of the CRIs should know the default value.
Map<String, Class<?>> defaultValue = defaultTypeMap == null ? cri.defaultTypeMap : defaultTypeMap;
return matchTypeMap(ivTypeMap, cri.ivTypeMap)
|| ivT... | [
"private",
"final",
"boolean",
"matchTypeMap",
"(",
"WSConnectionRequestInfoImpl",
"cri",
")",
"{",
"// At least one of the CRIs should know the default value.",
"Map",
"<",
"String",
",",
"Class",
"<",
"?",
">",
">",
"defaultValue",
"=",
"defaultTypeMap",
"==",
"null",... | Determine if the type map property matches. It is considered to match if
- Both type map values are unspecified.
- Both type map values are the same value.
- One of the type map values is unspecified and the other CRI requested the default value.
@return true if the type map values match, otherwise false. | [
"Determine",
"if",
"the",
"type",
"map",
"property",
"matches",
".",
"It",
"is",
"considered",
"to",
"match",
"if",
"-",
"Both",
"type",
"map",
"values",
"are",
"unspecified",
".",
"-",
"Both",
"type",
"map",
"values",
"are",
"the",
"same",
"value",
".",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L659-L666 |
66,334 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.matchTypeMap | public static final boolean matchTypeMap(Map<String, Class<?>> m1, Map<String, Class<?>> m2) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "matchTypeMap", new Object[] { m1, m2 });
boolean match = false;
... | java | public static final boolean matchTypeMap(Map<String, Class<?>> m1, Map<String, Class<?>> m2) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "matchTypeMap", new Object[] { m1, m2 });
boolean match = false;
... | [
"public",
"static",
"final",
"boolean",
"matchTypeMap",
"(",
"Map",
"<",
"String",
",",
"Class",
"<",
"?",
">",
">",
"m1",
",",
"Map",
"<",
"String",
",",
"Class",
"<",
"?",
">",
">",
"m2",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceCompon... | determines if two typeMaps match. Note that this method takes under account
an Oracle 11g change with TypeMap
@param m1
@param m2
@return | [
"determines",
"if",
"two",
"typeMaps",
"match",
".",
"Note",
"that",
"this",
"method",
"takes",
"under",
"account",
"an",
"Oracle",
"11g",
"change",
"with",
"TypeMap"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L676-L691 |
66,335 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setDefaultValues | public void setDefaultValues(String catalog, int holdability, Boolean readOnly, Map<String, Class<?>> typeMap,
String schema, int networkTimeout) {
defaultCatalog = catalog;
defaultHoldability = holdability;
defaultReadOnly = readOnly;
defaultTypeMap = ty... | java | public void setDefaultValues(String catalog, int holdability, Boolean readOnly, Map<String, Class<?>> typeMap,
String schema, int networkTimeout) {
defaultCatalog = catalog;
defaultHoldability = holdability;
defaultReadOnly = readOnly;
defaultTypeMap = ty... | [
"public",
"void",
"setDefaultValues",
"(",
"String",
"catalog",
",",
"int",
"holdability",
",",
"Boolean",
"readOnly",
",",
"Map",
"<",
"String",
",",
"Class",
"<",
"?",
">",
">",
"typeMap",
",",
"String",
"schema",
",",
"int",
"networkTimeout",
")",
"{",
... | Initialize default values that are used for unspecified properties.
This allows us to match unspecified values with specified values in another CRI.
@param catalog the default catalog value, or NULL if not supported.
@param holdability the default holdability value, or 0 if not supported.
@param readOnly the default r... | [
"Initialize",
"default",
"values",
"that",
"are",
"used",
"for",
"unspecified",
"properties",
".",
"This",
"allows",
"us",
"to",
"match",
"unspecified",
"values",
"with",
"specified",
"values",
"in",
"another",
"CRI",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L704-L712 |
66,336 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.isCRIChangable | public boolean isCRIChangable()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "isCRIChangable :", changable);
return changable;
} | java | public boolean isCRIChangable()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(this, tc, "isCRIChangable :", changable);
return changable;
} | [
"public",
"boolean",
"isCRIChangable",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"this",
",",
"tc",
",",
"\"isCRIChangable :\"",
",",
"changa... | returns boolean indicating if cri is changable or not. | [
"returns",
"boolean",
"indicating",
"if",
"cri",
"is",
"changable",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L828-L834 |
66,337 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setCatalog | public void setCatalog(String catalog) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR", new Object[]
{ "ConnectionRequestInfo cannot be modified, doing so may result in corruption: catalog, cri", catalog, this }));
}
... | java | public void setCatalog(String catalog) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR", new Object[]
{ "ConnectionRequestInfo cannot be modified, doing so may result in corruption: catalog, cri", catalog, this }));
}
... | [
"public",
"void",
"setCatalog",
"(",
"String",
"catalog",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"!",
"changable",
")",
"{",
"throw",
"new",
"SQLException",
"(",
"AdapterUtil",
".",
"getNLSMessage",
"(",
"\"WS_INTERNAL_ERROR\"",
",",
"new",
"Object",
"... | Change the value of the catalog property in the connection request information.
@param catalog The new value.
@throws IllegalArgumentException if the key is incorrect.
@throws SQLException if the connection request information is not editable. | [
"Change",
"the",
"value",
"of",
"the",
"catalog",
"property",
"in",
"the",
"connection",
"request",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L844-L854 |
66,338 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setHoldability | public void setHoldability(int holdability) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR", new Object[]
{ "ConnectionRequestInfo cannot be modified, doing so may result in corruption: holdability, cri", holdability, this }));... | java | public void setHoldability(int holdability) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR", new Object[]
{ "ConnectionRequestInfo cannot be modified, doing so may result in corruption: holdability, cri", holdability, this }));... | [
"public",
"void",
"setHoldability",
"(",
"int",
"holdability",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"!",
"changable",
")",
"{",
"throw",
"new",
"SQLException",
"(",
"AdapterUtil",
".",
"getNLSMessage",
"(",
"\"WS_INTERNAL_ERROR\"",
",",
"new",
"Object"... | Change the value of the result set holdability property in the connection request information.
@param holdability The new value.
@throws IllegalArgumentException if the key is incorrect.
@throws SQLException if the connection request information is not editable. | [
"Change",
"the",
"value",
"of",
"the",
"result",
"set",
"holdability",
"property",
"in",
"the",
"connection",
"request",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L863-L873 |
66,339 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setTransactionIsolationLevel | public void setTransactionIsolationLevel(int iso) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
"ConnectionRequestInfo cannot be modified, doing so may result in corruption: ... | java | public void setTransactionIsolationLevel(int iso) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
"ConnectionRequestInfo cannot be modified, doing so may result in corruption: ... | [
"public",
"void",
"setTransactionIsolationLevel",
"(",
"int",
"iso",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"!",
"changable",
")",
"{",
"throw",
"new",
"SQLException",
"(",
"AdapterUtil",
".",
"getNLSMessage",
"(",
"\"WS_INTERNAL_ERROR\"",
",",
"\"Connecti... | sets the isolation level for this CRI. The J2C team are aware of the change and they are
ok with setting the isolation level as the values are not part of the hashCode and hence any changes
there will not affect the bucket in which the mc will reside in the connection pool
We are in need for setting the cri in case the... | [
"sets",
"the",
"isolation",
"level",
"for",
"this",
"CRI",
".",
"The",
"J2C",
"team",
"are",
"aware",
"of",
"the",
"change",
"and",
"they",
"are",
"ok",
"with",
"setting",
"the",
"isolation",
"level",
"as",
"the",
"values",
"are",
"not",
"part",
"of",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L881-L891 |
66,340 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setReadOnly | public void setReadOnly(boolean readOnly) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
new Object[] {
... | java | public void setReadOnly(boolean readOnly) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
new Object[] {
... | [
"public",
"void",
"setReadOnly",
"(",
"boolean",
"readOnly",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"!",
"changable",
")",
"{",
"throw",
"new",
"SQLException",
"(",
"AdapterUtil",
".",
"getNLSMessage",
"(",
"\"WS_INTERNAL_ERROR\"",
",",
"new",
"Object",
... | sets the readonly for this CRI. The J2C team are aware of the change and they are
ok with setting the readonly as the values are not part of the hashCode and hence any changes
there will not affect the bucket in which the mc will reside in the connection pool.
We are in need for setting the cri in case the application ... | [
"sets",
"the",
"readonly",
"for",
"this",
"CRI",
".",
"The",
"J2C",
"team",
"are",
"aware",
"of",
"the",
"change",
"and",
"they",
"are",
"ok",
"with",
"setting",
"the",
"readonly",
"as",
"the",
"values",
"are",
"not",
"part",
"of",
"the",
"hashCode",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L899-L912 |
66,341 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setShardingKey | public void setShardingKey(Object shardingKey) throws SQLException {
if (!changable)
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
"ConnectionRequestInfo cannot be modified, doing so may result in corruption: shardingKey, cri", shardingKey, this));
if... | java | public void setShardingKey(Object shardingKey) throws SQLException {
if (!changable)
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
"ConnectionRequestInfo cannot be modified, doing so may result in corruption: shardingKey, cri", shardingKey, this));
if... | [
"public",
"void",
"setShardingKey",
"(",
"Object",
"shardingKey",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"!",
"changable",
")",
"throw",
"new",
"SQLException",
"(",
"AdapterUtil",
".",
"getNLSMessage",
"(",
"\"WS_INTERNAL_ERROR\"",
",",
"\"ConnectionRequestI... | Change the value of the sharding key property in the connection request information.
@param shardingKey the new value.
@throws SQLException if the connection request information is not editable. | [
"Change",
"the",
"value",
"of",
"the",
"sharding",
"key",
"property",
"in",
"the",
"connection",
"request",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L920-L929 |
66,342 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setSuperShardingKey | public void setSuperShardingKey(Object superShardingKey) throws SQLException {
if (!changable)
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
"ConnectionRequestInfo cannot be modified, doing so may result in corruption: superShardingKey, cri", superShardingKey,... | java | public void setSuperShardingKey(Object superShardingKey) throws SQLException {
if (!changable)
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR",
"ConnectionRequestInfo cannot be modified, doing so may result in corruption: superShardingKey, cri", superShardingKey,... | [
"public",
"void",
"setSuperShardingKey",
"(",
"Object",
"superShardingKey",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"!",
"changable",
")",
"throw",
"new",
"SQLException",
"(",
"AdapterUtil",
".",
"getNLSMessage",
"(",
"\"WS_INTERNAL_ERROR\"",
",",
"\"Connecti... | Change the value of the super sharding key property in the connection request information.
@param superShardingKey the new value.
@throws SQLException if the connection request information is not editable. | [
"Change",
"the",
"value",
"of",
"the",
"super",
"sharding",
"key",
"property",
"in",
"the",
"connection",
"request",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L937-L946 |
66,343 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.setTypeMap | public void setTypeMap(Map<String, Class<?>> map) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR", new Object[]
{ "ConnectionRequestInfo cannot be modified, doing so may result in corruption: type map, cri", map, this }));
... | java | public void setTypeMap(Map<String, Class<?>> map) throws SQLException {
if (!changable) {
throw new SQLException(AdapterUtil.getNLSMessage("WS_INTERNAL_ERROR", new Object[]
{ "ConnectionRequestInfo cannot be modified, doing so may result in corruption: type map, cri", map, this }));
... | [
"public",
"void",
"setTypeMap",
"(",
"Map",
"<",
"String",
",",
"Class",
"<",
"?",
">",
">",
"map",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"!",
"changable",
")",
"{",
"throw",
"new",
"SQLException",
"(",
"AdapterUtil",
".",
"getNLSMessage",
"(",
... | Change the value of the type map property in the connection request information.
@param map The new value.
@throws IllegalArgumentException if the key is incorrect.
@throws SQLException if the connection request information is not editable. | [
"Change",
"the",
"value",
"of",
"the",
"type",
"map",
"property",
"in",
"the",
"connection",
"request",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L955-L965 |
66,344 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java | WSConnectionRequestInfoImpl.createChangableCRIFromNon | public static WSConnectionRequestInfoImpl createChangableCRIFromNon(WSConnectionRequestInfoImpl oldCRI) {
WSConnectionRequestInfoImpl connInfo = new WSConnectionRequestInfoImpl(
oldCRI.getUserName(),
oldCRI.getPassword(),
oldCRI.getIsolatio... | java | public static WSConnectionRequestInfoImpl createChangableCRIFromNon(WSConnectionRequestInfoImpl oldCRI) {
WSConnectionRequestInfoImpl connInfo = new WSConnectionRequestInfoImpl(
oldCRI.getUserName(),
oldCRI.getPassword(),
oldCRI.getIsolatio... | [
"public",
"static",
"WSConnectionRequestInfoImpl",
"createChangableCRIFromNon",
"(",
"WSConnectionRequestInfoImpl",
"oldCRI",
")",
"{",
"WSConnectionRequestInfoImpl",
"connInfo",
"=",
"new",
"WSConnectionRequestInfoImpl",
"(",
"oldCRI",
".",
"getUserName",
"(",
")",
",",
"o... | utility to create changable CRI from non changable one.
@param oldCRI
@return | [
"utility",
"to",
"create",
"changable",
"CRI",
"from",
"non",
"changable",
"one",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSConnectionRequestInfoImpl.java#L1001-L1023 |
66,345 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/impl/ResourceAnnotationInjectionProvider.java | ResourceAnnotationInjectionProvider.processAnnotations | @Override
protected void processAnnotations(Object instance)
throws IllegalAccessException, InvocationTargetException, NamingException
{
if (context == null)
{
// No resource injection
return;
}
checkAnnotation(instance.getClass(), instance);... | java | @Override
protected void processAnnotations(Object instance)
throws IllegalAccessException, InvocationTargetException, NamingException
{
if (context == null)
{
// No resource injection
return;
}
checkAnnotation(instance.getClass(), instance);... | [
"@",
"Override",
"protected",
"void",
"processAnnotations",
"(",
"Object",
"instance",
")",
"throws",
"IllegalAccessException",
",",
"InvocationTargetException",
",",
"NamingException",
"{",
"if",
"(",
"context",
"==",
"null",
")",
"{",
"// No resource injection",
"re... | Inject resources in specified instance. | [
"Inject",
"resources",
"in",
"specified",
"instance",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/impl/ResourceAnnotationInjectionProvider.java#L89-L114 |
66,346 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/impl/ResourceAnnotationInjectionProvider.java | ResourceAnnotationInjectionProvider.lookupMethodResource | protected static void lookupMethodResource(javax.naming.Context context,
Object instance, Method method, String name)
throws NamingException, IllegalAccessException, InvocationTargetException
{
if (!method.getName().startsWith("set")
|| method.getParameterTypes().len... | java | protected static void lookupMethodResource(javax.naming.Context context,
Object instance, Method method, String name)
throws NamingException, IllegalAccessException, InvocationTargetException
{
if (!method.getName().startsWith("set")
|| method.getParameterTypes().len... | [
"protected",
"static",
"void",
"lookupMethodResource",
"(",
"javax",
".",
"naming",
".",
"Context",
"context",
",",
"Object",
"instance",
",",
"Method",
"method",
",",
"String",
"name",
")",
"throws",
"NamingException",
",",
"IllegalAccessException",
",",
"Invocat... | Inject resources in specified method. | [
"Inject",
"resources",
"in",
"specified",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/impl/ResourceAnnotationInjectionProvider.java#L202-L232 |
66,347 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java | ProducerSessionProxy._send | private void _send(SIBusMessage msg, SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededException,
SIErrorExcepti... | java | private void _send(SIBusMessage msg, SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededException,
SIErrorExcepti... | [
"private",
"void",
"_send",
"(",
"SIBusMessage",
"msg",
",",
"SITransaction",
"tran",
")",
"throws",
"SISessionUnavailableException",
",",
"SISessionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectionDroppedException",
",",
"SIResourceException",
",... | This method performs the actual send, but does no parameter checking
and gets no locks needed to perform the send. This should be done
by a suitable 'super'-method.
@param msg
@param tran
@throws com.ibm.wsspi.sib.core.exception.SISessionUnavailableException
@throws com.ibm.wsspi.sib.core.exception.SISessionDroppedEx... | [
"This",
"method",
"performs",
"the",
"actual",
"send",
"but",
"does",
"no",
"parameter",
"checking",
"and",
"gets",
"no",
"locks",
"needed",
"to",
"perform",
"the",
"send",
".",
"This",
"should",
"be",
"done",
"by",
"a",
"suitable",
"super",
"-",
"method",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java#L266-L328 |
66,348 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java | ProducerSessionProxy.sendEntireMessage | private void sendEntireMessage(SITransaction tran, SIBusMessage msg,
List<DataSlice> messageSlices, boolean requireReply,
short jfapPriority)
throws SIResourceException, SISessionUnavailableException,
SINotPossibleInCurrentConfig... | java | private void sendEntireMessage(SITransaction tran, SIBusMessage msg,
List<DataSlice> messageSlices, boolean requireReply,
short jfapPriority)
throws SIResourceException, SISessionUnavailableException,
SINotPossibleInCurrentConfig... | [
"private",
"void",
"sendEntireMessage",
"(",
"SITransaction",
"tran",
",",
"SIBusMessage",
"msg",
",",
"List",
"<",
"DataSlice",
">",
"messageSlices",
",",
"boolean",
"requireReply",
",",
"short",
"jfapPriority",
")",
"throws",
"SIResourceException",
",",
"SISession... | Sends the entire message in one big JFap message. This requires the allocation of one big
area of storage for the whole message. If the messageSlices parameter is not null then the
message has already been encoded and can just be added into the buffer without encoding again.
@param tran
@param msg
@param messageSlices... | [
"Sends",
"the",
"entire",
"message",
"in",
"one",
"big",
"JFap",
"message",
".",
"This",
"requires",
"the",
"allocation",
"of",
"one",
"big",
"area",
"of",
"storage",
"for",
"the",
"whole",
"message",
".",
"If",
"the",
"messageSlices",
"parameter",
"is",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java#L347-L380 |
66,349 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java | ProducerSessionProxy.sendData | private void sendData(CommsByteBuffer request, short jfapPriority, boolean requireReply,
SITransaction tran, int outboundSegmentType, int outboundNoReplySegmentType,
int replySegmentType)
throws SIResourceException, SISessionUnavailableException,
... | java | private void sendData(CommsByteBuffer request, short jfapPriority, boolean requireReply,
SITransaction tran, int outboundSegmentType, int outboundNoReplySegmentType,
int replySegmentType)
throws SIResourceException, SISessionUnavailableException,
... | [
"private",
"void",
"sendData",
"(",
"CommsByteBuffer",
"request",
",",
"short",
"jfapPriority",
",",
"boolean",
"requireReply",
",",
"SITransaction",
"tran",
",",
"int",
"outboundSegmentType",
",",
"int",
"outboundNoReplySegmentType",
",",
"int",
"replySegmentType",
"... | This helper method is used to send the final or only part of a message to our peer. It takes
care of whether we should be exchanging the message and deals with the exceptions returned.
@param request The request buffer
@param jfapPriority The JFap priority to send the message
@param requireReply Whether we require a r... | [
"This",
"helper",
"method",
"is",
"used",
"to",
"send",
"the",
"final",
"or",
"only",
"part",
"of",
"a",
"message",
"to",
"our",
"peer",
".",
"It",
"takes",
"care",
"of",
"whether",
"we",
"should",
"be",
"exchanging",
"the",
"message",
"and",
"deals",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java#L527-L594 |
66,350 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java | ProducerSessionProxy.close | public void close()
throws SIResourceException, SIConnectionLostException,
SIErrorException, SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close");
// Have we already been closed?
if (!isClosed())
... | java | public void close()
throws SIResourceException, SIConnectionLostException,
SIErrorException, SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close");
// Have we already been closed?
if (!isClosed())
... | [
"public",
"void",
"close",
"(",
")",
"throws",
"SIResourceException",
",",
"SIConnectionLostException",
",",
"SIErrorException",
",",
"SIConnectionDroppedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabl... | Closes the ProducerSession.
@throws com.ibm.websphere.sib.exception.SIResourceException
@throws com.ibm.wsspi.sib.core.exception.SIConnectionLostException
@throws com.ibm.websphere.sib.exception.SIErrorException
@throws com.ibm.wsspi.sib.core.exception.SIConnectionDroppedException | [
"Closes",
"the",
"ProducerSession",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProducerSessionProxy.java#L604-L663 |
66,351 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getFieldValue | private static Object getFieldValue(FieldClassValue fieldClassValue, Object obj) {
try {
return fieldClassValue.get(obj.getClass()).get(obj);
} catch (IllegalAccessException e) {
// FieldClassValueFactory returns ClassValue that make the Field
// accessible, so this s... | java | private static Object getFieldValue(FieldClassValue fieldClassValue, Object obj) {
try {
return fieldClassValue.get(obj.getClass()).get(obj);
} catch (IllegalAccessException e) {
// FieldClassValueFactory returns ClassValue that make the Field
// accessible, so this s... | [
"private",
"static",
"Object",
"getFieldValue",
"(",
"FieldClassValue",
"fieldClassValue",
",",
"Object",
"obj",
")",
"{",
"try",
"{",
"return",
"fieldClassValue",
".",
"get",
"(",
"obj",
".",
"getClass",
"(",
")",
")",
".",
"get",
"(",
"obj",
")",
";",
... | Get the value of a field from an object.
@param fieldClassValue the Field class value
@param obj the object
@return the field value | [
"Get",
"the",
"value",
"of",
"a",
"field",
"from",
"an",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L468-L476 |
66,352 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getLocalBeanWrapperProxyState | public static WrapperProxyState getLocalBeanWrapperProxyState(LocalBeanWrapperProxy obj) { // F58064
BusinessLocalWrapperProxy proxyStateHolder = (BusinessLocalWrapperProxy) getFieldValue(svLocalBeanWrapperProxyStateFieldClassValue, obj);
return proxyStateHolder.ivState;
} | java | public static WrapperProxyState getLocalBeanWrapperProxyState(LocalBeanWrapperProxy obj) { // F58064
BusinessLocalWrapperProxy proxyStateHolder = (BusinessLocalWrapperProxy) getFieldValue(svLocalBeanWrapperProxyStateFieldClassValue, obj);
return proxyStateHolder.ivState;
} | [
"public",
"static",
"WrapperProxyState",
"getLocalBeanWrapperProxyState",
"(",
"LocalBeanWrapperProxy",
"obj",
")",
"{",
"// F58064",
"BusinessLocalWrapperProxy",
"proxyStateHolder",
"=",
"(",
"BusinessLocalWrapperProxy",
")",
"getFieldValue",
"(",
"svLocalBeanWrapperProxyStateFi... | Returns the wrapper proxy object for an object that implements
LocalBeanWrapperProxy. This operation should never fail, but if it
does, exceptions will be thrown as EJBException.
@param obj the LocalBeanWrapperProxy
@return the wrapper proxy for the local bean wrapper proxy | [
"Returns",
"the",
"wrapper",
"proxy",
"object",
"for",
"an",
"object",
"that",
"implements",
"LocalBeanWrapperProxy",
".",
"This",
"operation",
"should",
"never",
"fail",
"but",
"if",
"it",
"does",
"exceptions",
"will",
"be",
"thrown",
"as",
"EJBException",
"."
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L502-L505 |
66,353 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.registerServant | protected void registerServant()
{
if (ivRemoteObjectWrapper != null)
{
// synchronized on the remote Wrapper to set the isRemoteRegistered flag
synchronized (ivRemoteObjectWrapper)
{
if (!isRemoteRegistered)
{
... | java | protected void registerServant()
{
if (ivRemoteObjectWrapper != null)
{
// synchronized on the remote Wrapper to set the isRemoteRegistered flag
synchronized (ivRemoteObjectWrapper)
{
if (!isRemoteRegistered)
{
... | [
"protected",
"void",
"registerServant",
"(",
")",
"{",
"if",
"(",
"ivRemoteObjectWrapper",
"!=",
"null",
")",
"{",
"// synchronized on the remote Wrapper to set the isRemoteRegistered flag",
"synchronized",
"(",
"ivRemoteObjectWrapper",
")",
"{",
"if",
"(",
"!",
"isRemote... | Register the remote wrapper servant to ORB. | [
"Register",
"the",
"remote",
"wrapper",
"servant",
"to",
"ORB",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L593-L660 |
66,354 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.registerServant | private void registerServant(BusinessRemoteWrapper wrapper, int i)
{
// synchronized on the remote Wrapper to set the isRemoteRegistered flag
synchronized (wrapper)
{
if (!ivBusinessRemoteRegistered[i])
{
try
{
if (!... | java | private void registerServant(BusinessRemoteWrapper wrapper, int i)
{
// synchronized on the remote Wrapper to set the isRemoteRegistered flag
synchronized (wrapper)
{
if (!ivBusinessRemoteRegistered[i])
{
try
{
if (!... | [
"private",
"void",
"registerServant",
"(",
"BusinessRemoteWrapper",
"wrapper",
",",
"int",
"i",
")",
"{",
"// synchronized on the remote Wrapper to set the isRemoteRegistered flag",
"synchronized",
"(",
"wrapper",
")",
"{",
"if",
"(",
"!",
"ivBusinessRemoteRegistered",
"[",... | d416391 added entire method. | [
"d416391",
"added",
"entire",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L666-L732 |
66,355 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.disconnect | protected void disconnect()
{
if (localWrapperProxyState != null) // F58064
{
localWrapperProxyState.disconnect();
}
if (ivBusinessLocalWrapperProxyStates != null) // F58064
{
for (WrapperProxyState state : ivBusinessLocalWrapperProxyStates)
... | java | protected void disconnect()
{
if (localWrapperProxyState != null) // F58064
{
localWrapperProxyState.disconnect();
}
if (ivBusinessLocalWrapperProxyStates != null) // F58064
{
for (WrapperProxyState state : ivBusinessLocalWrapperProxyStates)
... | [
"protected",
"void",
"disconnect",
"(",
")",
"{",
"if",
"(",
"localWrapperProxyState",
"!=",
"null",
")",
"// F58064",
"{",
"localWrapperProxyState",
".",
"disconnect",
"(",
")",
";",
"}",
"if",
"(",
"ivBusinessLocalWrapperProxyStates",
"!=",
"null",
")",
"// F5... | Disconnect all wrappers. Unregisters the remote wrapper servant from
ORB, and disconnects local wrapper proxy states. | [
"Disconnect",
"all",
"wrappers",
".",
"Unregisters",
"the",
"remote",
"wrapper",
"servant",
"from",
"ORB",
"and",
"disconnects",
"local",
"wrapper",
"proxy",
"states",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L738-L822 |
66,356 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getLocalObject | public EJBLocalObject getLocalObject()
{
if (localObject != null)
{
if (localWrapperProxyState != null &&
localWrapperProxyState.ivWrapper == null)
{
localWrapperProxyState.connect(ivBeanId, localWrapper);
}
return local... | java | public EJBLocalObject getLocalObject()
{
if (localObject != null)
{
if (localWrapperProxyState != null &&
localWrapperProxyState.ivWrapper == null)
{
localWrapperProxyState.connect(ivBeanId, localWrapper);
}
return local... | [
"public",
"EJBLocalObject",
"getLocalObject",
"(",
")",
"{",
"if",
"(",
"localObject",
"!=",
"null",
")",
"{",
"if",
"(",
"localWrapperProxyState",
"!=",
"null",
"&&",
"localWrapperProxyState",
".",
"ivWrapper",
"==",
"null",
")",
"{",
"localWrapperProxyState",
... | Returns a client proxy object for the local component view. | [
"Returns",
"a",
"client",
"proxy",
"object",
"for",
"the",
"local",
"component",
"view",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L829-L842 |
66,357 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getBusinessObject | public Object getBusinessObject(String interfaceName) throws RemoteException {
int interfaceIndex = ivBMD.getLocalBusinessInterfaceIndex(interfaceName);
if (interfaceIndex != -1) {
return getLocalBusinessObject(interfaceIndex);
}
interfaceIndex = ivBMD.getRemoteBusinessInter... | java | public Object getBusinessObject(String interfaceName) throws RemoteException {
int interfaceIndex = ivBMD.getLocalBusinessInterfaceIndex(interfaceName);
if (interfaceIndex != -1) {
return getLocalBusinessObject(interfaceIndex);
}
interfaceIndex = ivBMD.getRemoteBusinessInter... | [
"public",
"Object",
"getBusinessObject",
"(",
"String",
"interfaceName",
")",
"throws",
"RemoteException",
"{",
"int",
"interfaceIndex",
"=",
"ivBMD",
".",
"getLocalBusinessInterfaceIndex",
"(",
"interfaceName",
")",
";",
"if",
"(",
"interfaceIndex",
"!=",
"-",
"1",... | Method to get a business object given the name of the interface.
@param interfaceName the interface name
@return the business object
@throws IllegalStateException if the interface name is not valid
@throws RemoteException if an error occurs obtaining a remote object | [
"Method",
"to",
"get",
"a",
"business",
"object",
"given",
"the",
"name",
"of",
"the",
"interface",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L874-L886 |
66,358 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getLocalBusinessObject | public Object getLocalBusinessObject(int interfaceIndex)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getLocalBusinessObject : " +
ivBusinessLocalProxies[interfaceIndex].getClass().getName());
if (ivBusinessLocalWrapperProxySt... | java | public Object getLocalBusinessObject(int interfaceIndex)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getLocalBusinessObject : " +
ivBusinessLocalProxies[interfaceIndex].getClass().getName());
if (ivBusinessLocalWrapperProxySt... | [
"public",
"Object",
"getLocalBusinessObject",
"(",
"int",
"interfaceIndex",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getLocalBusinessOb... | Method to get the local business object, given the index of the
interface. The returned object will be a wrapper, a no-interface
wrapper, or a local wrapper proxy.
@param interfaceIndex index of the interface
@return the object at the passed in interface | [
"Method",
"to",
"get",
"the",
"local",
"business",
"object",
"given",
"the",
"index",
"of",
"the",
"interface",
".",
"The",
"returned",
"object",
"will",
"be",
"a",
"wrapper",
"a",
"no",
"-",
"interface",
"wrapper",
"or",
"a",
"local",
"wrapper",
"proxy",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L896-L910 |
66,359 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getLocalBusinessWrapperBase | public EJSWrapperBase getLocalBusinessWrapperBase(int interfaceIndex) {
if (interfaceIndex == 0 && ivBMD.ivLocalBean) {
return getLocalBeanWrapperBase((LocalBeanWrapper) ivBusinessLocal[0]);
}
return (EJSWrapperBase) ivBusinessLocal[0];
} | java | public EJSWrapperBase getLocalBusinessWrapperBase(int interfaceIndex) {
if (interfaceIndex == 0 && ivBMD.ivLocalBean) {
return getLocalBeanWrapperBase((LocalBeanWrapper) ivBusinessLocal[0]);
}
return (EJSWrapperBase) ivBusinessLocal[0];
} | [
"public",
"EJSWrapperBase",
"getLocalBusinessWrapperBase",
"(",
"int",
"interfaceIndex",
")",
"{",
"if",
"(",
"interfaceIndex",
"==",
"0",
"&&",
"ivBMD",
".",
"ivLocalBean",
")",
"{",
"return",
"getLocalBeanWrapperBase",
"(",
"(",
"LocalBeanWrapper",
")",
"ivBusines... | Method to get the local business wrapper base. | [
"Method",
"to",
"get",
"the",
"local",
"business",
"wrapper",
"base",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L915-L920 |
66,360 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getRemoteBusinessObject | public Object getRemoteBusinessObject(int interfaceIndex)
throws RemoteException
{
Class<?>[] bInterfaceClasses = ivBMD.ivBusinessRemoteInterfaceClasses;
BusinessRemoteWrapper wrapper = ivBusinessRemote[interfaceIndex];
if (TraceComponent.isAnyTracingEnabled() && tc.isDe... | java | public Object getRemoteBusinessObject(int interfaceIndex)
throws RemoteException
{
Class<?>[] bInterfaceClasses = ivBMD.ivBusinessRemoteInterfaceClasses;
BusinessRemoteWrapper wrapper = ivBusinessRemote[interfaceIndex];
if (TraceComponent.isAnyTracingEnabled() && tc.isDe... | [
"public",
"Object",
"getRemoteBusinessObject",
"(",
"int",
"interfaceIndex",
")",
"throws",
"RemoteException",
"{",
"Class",
"<",
"?",
">",
"[",
"]",
"bInterfaceClasses",
"=",
"ivBMD",
".",
"ivBusinessRemoteInterfaceClasses",
";",
"BusinessRemoteWrapper",
"wrapper",
"... | Method to get the remote business object, given the index of the
interface.
@param interfaceIndex index of the interface
@return the object at the passed in interface
@throws RemoteException | [
"Method",
"to",
"get",
"the",
"remote",
"business",
"object",
"given",
"the",
"index",
"of",
"the",
"interface",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L930-L946 |
66,361 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java | EJSWrapperCommon.getRemoteBusinessWrapper | public BusinessRemoteWrapper getRemoteBusinessWrapper(WrapperId wrapperId)
{
int remoteIndex = wrapperId.ivInterfaceIndex;
BusinessRemoteWrapper wrapper = null;
String wrapperInterfaceName = "";
if (remoteIndex < ivBusinessRemote.length)
{
wrapper = ivBusinessRemo... | java | public BusinessRemoteWrapper getRemoteBusinessWrapper(WrapperId wrapperId)
{
int remoteIndex = wrapperId.ivInterfaceIndex;
BusinessRemoteWrapper wrapper = null;
String wrapperInterfaceName = "";
if (remoteIndex < ivBusinessRemote.length)
{
wrapper = ivBusinessRemo... | [
"public",
"BusinessRemoteWrapper",
"getRemoteBusinessWrapper",
"(",
"WrapperId",
"wrapperId",
")",
"{",
"int",
"remoteIndex",
"=",
"wrapperId",
".",
"ivInterfaceIndex",
";",
"BusinessRemoteWrapper",
"wrapper",
"=",
"null",
";",
"String",
"wrapperInterfaceName",
"=",
"\"... | d419704 - rewrote for new WrapperId fields and remove the todo. | [
"d419704",
"-",
"rewrote",
"for",
"new",
"WrapperId",
"fields",
"and",
"remove",
"the",
"todo",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSWrapperCommon.java#L1067-L1108 |
66,362 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java | ThreadIdentitySecurityHelper.getAliasToFinalize | private String getAliasToFinalize(CMConfigData cmConfigData) {
String alias = null;
if (cmConfigData == null)
return alias; // Not expected, but being safe
// Check for DefaultPrincipalMapping alias from res-ref:
final String DEFAULT_PRINCIPAL_MAPPING = "DefaultPrincipalMap... | java | private String getAliasToFinalize(CMConfigData cmConfigData) {
String alias = null;
if (cmConfigData == null)
return alias; // Not expected, but being safe
// Check for DefaultPrincipalMapping alias from res-ref:
final String DEFAULT_PRINCIPAL_MAPPING = "DefaultPrincipalMap... | [
"private",
"String",
"getAliasToFinalize",
"(",
"CMConfigData",
"cmConfigData",
")",
"{",
"String",
"alias",
"=",
"null",
";",
"if",
"(",
"cmConfigData",
"==",
"null",
")",
"return",
"alias",
";",
"// Not expected, but being safe",
"// Check for DefaultPrincipalMapping ... | Get the jaas alias from the config. | [
"Get",
"the",
"jaas",
"alias",
"from",
"the",
"config",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java#L639-L666 |
66,363 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java | ThreadIdentitySecurityHelper.getPrivateGenericCredentials | private Set getPrivateGenericCredentials(final Subject subj) throws ResourceException {
Set privateGenericCredentials = null;
if (System.getSecurityManager() != null) {
try {
privateGenericCredentials = (Set) AccessController.doPrivileged(
... | java | private Set getPrivateGenericCredentials(final Subject subj) throws ResourceException {
Set privateGenericCredentials = null;
if (System.getSecurityManager() != null) {
try {
privateGenericCredentials = (Set) AccessController.doPrivileged(
... | [
"private",
"Set",
"getPrivateGenericCredentials",
"(",
"final",
"Subject",
"subj",
")",
"throws",
"ResourceException",
"{",
"Set",
"privateGenericCredentials",
"=",
"null",
";",
"if",
"(",
"System",
".",
"getSecurityManager",
"(",
")",
"!=",
"null",
")",
"{",
"t... | Return the set of private credentials of type GenericCredential from the
given subject.
Basically this method is a wrapper around Subject.getPrivateCredentials
with Java 2 Security handling. | [
"Return",
"the",
"set",
"of",
"private",
"credentials",
"of",
"type",
"GenericCredential",
"from",
"the",
"given",
"subject",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java#L771-L798 |
66,364 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java | ThreadIdentitySecurityHelper.setJ2CThreadIdentity | private Object setJ2CThreadIdentity(final Subject subj) throws ResourceException {
Object retObject = null;
try {
if (System.getSecurityManager() != null) {
retObject = AccessController.doPrivileged(
new PrivilegedEx... | java | private Object setJ2CThreadIdentity(final Subject subj) throws ResourceException {
Object retObject = null;
try {
if (System.getSecurityManager() != null) {
retObject = AccessController.doPrivileged(
new PrivilegedEx... | [
"private",
"Object",
"setJ2CThreadIdentity",
"(",
"final",
"Subject",
"subj",
")",
"throws",
"ResourceException",
"{",
"Object",
"retObject",
"=",
"null",
";",
"try",
"{",
"if",
"(",
"System",
".",
"getSecurityManager",
"(",
")",
"!=",
"null",
")",
"{",
"ret... | Apply the given subject's identity to the thread.
@return The identity token that must be supplied on the subsequent call to reset
the thread identity. | [
"Apply",
"the",
"given",
"subject",
"s",
"identity",
"to",
"the",
"thread",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java#L806-L844 |
66,365 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java | ThreadIdentitySecurityHelper.checkForUTOKENNotFoundError | private void checkForUTOKENNotFoundError(Subject subj) throws ResourceException {
// A Subject without a UTOKEN genericCredential can
// legitimately occur in the case where the resource
// adapter has indicated Thread Identity Support
// is "ALLOWED, but a valid Container-managed alias... | java | private void checkForUTOKENNotFoundError(Subject subj) throws ResourceException {
// A Subject without a UTOKEN genericCredential can
// legitimately occur in the case where the resource
// adapter has indicated Thread Identity Support
// is "ALLOWED, but a valid Container-managed alias... | [
"private",
"void",
"checkForUTOKENNotFoundError",
"(",
"Subject",
"subj",
")",
"throws",
"ResourceException",
"{",
"// A Subject without a UTOKEN genericCredential can",
"// legitimately occur in the case where the resource",
"// adapter has indicated Thread Identity Support",
"// is \"ALL... | Check for an unexpected condition when a UTOKEN is not found in the Subject.
@throws ResourceException if the condition is unexpected. | [
"Check",
"for",
"an",
"unexpected",
"condition",
"when",
"a",
"UTOKEN",
"is",
"not",
"found",
"in",
"the",
"Subject",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ThreadIdentitySecurityHelper.java#L851-L921 |
66,366 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java | ParserBase.copyStreams | protected void copyStreams(InputStream is, OutputStream os) throws IOException {
byte[] buffer = new byte[1024];
try {
int read;
while ((read = is.read(buffer)) != -1) {
os.write(buffer, 0, read);
buffer = new byte[1024];
}
} fi... | java | protected void copyStreams(InputStream is, OutputStream os) throws IOException {
byte[] buffer = new byte[1024];
try {
int read;
while ((read = is.read(buffer)) != -1) {
os.write(buffer, 0, read);
buffer = new byte[1024];
}
} fi... | [
"protected",
"void",
"copyStreams",
"(",
"InputStream",
"is",
",",
"OutputStream",
"os",
")",
"throws",
"IOException",
"{",
"byte",
"[",
"]",
"buffer",
"=",
"new",
"byte",
"[",
"1024",
"]",
";",
"try",
"{",
"int",
"read",
";",
"while",
"(",
"(",
"read"... | Reads from the input stream and copies to the output stream
@param is
@param os
@throws IOException | [
"Reads",
"from",
"the",
"input",
"stream",
"and",
"copies",
"to",
"the",
"output",
"stream"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java#L167-L181 |
66,367 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java | ParserBase.extractFileFromArchive | protected ExtractedFileInformation extractFileFromArchive(String fileName,
String regex) throws RepositoryArchiveException, RepositoryArchiveEntryNotFoundException, RepositoryArchiveIOException {
JarFile jarFile = null;
ExtractedFileInformat... | java | protected ExtractedFileInformation extractFileFromArchive(String fileName,
String regex) throws RepositoryArchiveException, RepositoryArchiveEntryNotFoundException, RepositoryArchiveIOException {
JarFile jarFile = null;
ExtractedFileInformat... | [
"protected",
"ExtractedFileInformation",
"extractFileFromArchive",
"(",
"String",
"fileName",
",",
"String",
"regex",
")",
"throws",
"RepositoryArchiveException",
",",
"RepositoryArchiveEntryNotFoundException",
",",
"RepositoryArchiveIOException",
"{",
"JarFile",
"jarFile",
"="... | Extract a file from a jar file to a temporary location on disk that is
deleted when the jvm exits.
@param fileName
The name of the archive file to extract the file from
@param regex
A regular expression, that is used to match the file to be
extracted from the archive. If more than one file matches the
regular expressi... | [
"Extract",
"a",
"file",
"from",
"a",
"jar",
"file",
"to",
"a",
"temporary",
"location",
"on",
"disk",
"that",
"is",
"deleted",
"when",
"the",
"jvm",
"exits",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java#L231-L297 |
66,368 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java | ParserBase.processLAandLI | protected void processLAandLI(File archive, RepositoryResourceWritable resource,
ProvisioningFeatureDefinition feature) throws IOException, RepositoryException {
String LAHeader = feature.getHeader(LA_HEADER_FEATURE);
String LIHeader = feature.getHeader(LI_HEADER_FEATUR... | java | protected void processLAandLI(File archive, RepositoryResourceWritable resource,
ProvisioningFeatureDefinition feature) throws IOException, RepositoryException {
String LAHeader = feature.getHeader(LA_HEADER_FEATURE);
String LIHeader = feature.getHeader(LI_HEADER_FEATUR... | [
"protected",
"void",
"processLAandLI",
"(",
"File",
"archive",
",",
"RepositoryResourceWritable",
"resource",
",",
"ProvisioningFeatureDefinition",
"feature",
")",
"throws",
"IOException",
",",
"RepositoryException",
"{",
"String",
"LAHeader",
"=",
"feature",
".",
"getH... | Locate and process license agreement and information files within a
feature
@param esa
@param resource
@throws IOException | [
"Locate",
"and",
"process",
"license",
"agreement",
"and",
"information",
"files",
"within",
"a",
"feature"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java#L513-L518 |
66,369 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java | ParserBase.processLAandLI | protected void processLAandLI(File archive, RepositoryResourceWritable resource,
Manifest manifest) throws RepositoryException, IOException {
Attributes attribs = manifest.getMainAttributes();
String LAHeader = attribs.getValue(LA_HEADER_PRODUCT);
String LIHeade... | java | protected void processLAandLI(File archive, RepositoryResourceWritable resource,
Manifest manifest) throws RepositoryException, IOException {
Attributes attribs = manifest.getMainAttributes();
String LAHeader = attribs.getValue(LA_HEADER_PRODUCT);
String LIHeade... | [
"protected",
"void",
"processLAandLI",
"(",
"File",
"archive",
",",
"RepositoryResourceWritable",
"resource",
",",
"Manifest",
"manifest",
")",
"throws",
"RepositoryException",
",",
"IOException",
"{",
"Attributes",
"attribs",
"=",
"manifest",
".",
"getMainAttributes",
... | Locate and process license agreement and information files within a jar
@param esa
@param resource
@throws IOException | [
"Locate",
"and",
"process",
"license",
"agreement",
"and",
"information",
"files",
"within",
"a",
"jar"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java#L527-L533 |
66,370 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java | ParserBase.getRequiresFeature | public List<String> getRequiresFeature(ArtifactMetadata amd) {
// Now check we have non-null input. I would like to check for valid
// features
// but as these may be user created I cannot find any way to do this so
// it
// is important there are no typos in the requires featur... | java | public List<String> getRequiresFeature(ArtifactMetadata amd) {
// Now check we have non-null input. I would like to check for valid
// features
// but as these may be user created I cannot find any way to do this so
// it
// is important there are no typos in the requires featur... | [
"public",
"List",
"<",
"String",
">",
"getRequiresFeature",
"(",
"ArtifactMetadata",
"amd",
")",
"{",
"// Now check we have non-null input. I would like to check for valid",
"// features",
"// but as these may be user created I cannot find any way to do this so",
"// it",
"// is import... | Take the require.feature comma separated list and return a List of the
entries
@return List - the required features | [
"Take",
"the",
"require",
".",
"feature",
"comma",
"separated",
"list",
"and",
"return",
"a",
"List",
"of",
"the",
"entries"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java#L769-L790 |
66,371 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java | ParserBase.processIcons | protected void processIcons(ArtifactMetadata amd, RepositoryResourceWritable res) throws RepositoryException {
String current = "";
String sizeString = "";
String iconName = "";
String iconNames = amd.getIcons();
if (iconNames != null) {
iconNames.replaceAll("\\s", "... | java | protected void processIcons(ArtifactMetadata amd, RepositoryResourceWritable res) throws RepositoryException {
String current = "";
String sizeString = "";
String iconName = "";
String iconNames = amd.getIcons();
if (iconNames != null) {
iconNames.replaceAll("\\s", "... | [
"protected",
"void",
"processIcons",
"(",
"ArtifactMetadata",
"amd",
",",
"RepositoryResourceWritable",
"res",
")",
"throws",
"RepositoryException",
"{",
"String",
"current",
"=",
"\"\"",
";",
"String",
"sizeString",
"=",
"\"\"",
";",
"String",
"iconName",
"=",
"\... | Process icons from the properties file
@param amd
Metadata
@param res
Resource to add icons to
@throws RepositoryException | [
"Process",
"icons",
"from",
"the",
"properties",
"file"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/ParserBase.java#L801-L845 |
66,372 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java | MQLinkHandler.reconstitute | public void reconstitute(
MessageProcessor processor,
HashMap durableSubscriptionsTable,
int startMode) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "reconstitute",
new Object[] { processor, durableSubscriptionsTable, Int... | java | public void reconstitute(
MessageProcessor processor,
HashMap durableSubscriptionsTable,
int startMode) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "reconstitute",
new Object[] { processor, durableSubscriptionsTable, Int... | [
"public",
"void",
"reconstitute",
"(",
"MessageProcessor",
"processor",
",",
"HashMap",
"durableSubscriptionsTable",
",",
"int",
"startMode",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".... | Complete recovery of a MQLinkLocalizationItemStream retrieved from the
MessageStore.
@param processor
@param destinationHandler to use in reconstitution
@throws SIResourceException | [
"Complete",
"recovery",
"of",
"a",
"MQLinkLocalizationItemStream",
"retrieved",
"from",
"the",
"MessageStore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java#L178-L297 |
66,373 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java | MQLinkHandler.registerLink | public void registerLink() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "registerLink");
// Tell TRM that the link exists
try
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
SibTr.debug(tc, "Regis... | java | public void registerLink() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "registerLink");
// Tell TRM that the link exists
try
{
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
SibTr.debug(tc, "Regis... | [
"public",
"void",
"registerLink",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"registerLink\"",
... | Registers the link with WLM
@throws SIResourceException | [
"Registers",
"the",
"link",
"with",
"WLM"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java#L735-L765 |
66,374 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java | MQLinkHandler.deregisterLink | public void deregisterLink()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "deregisterLink");
//Deregister the link with TRM
deregisterDestination();
// Tell TRM that the link should be undefined
if (TraceComponent.isAnyTracingEnabled() && tc.isDebu... | java | public void deregisterLink()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "deregisterLink");
//Deregister the link with TRM
deregisterDestination();
// Tell TRM that the link should be undefined
if (TraceComponent.isAnyTracingEnabled() && tc.isDebu... | [
"public",
"void",
"deregisterLink",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"deregisterLink\"",
")",
";",
"//Deregister the l... | De-registers the link from WLM
@throws SIResourceException | [
"De",
"-",
"registers",
"the",
"link",
"from",
"WLM"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java#L771-L784 |
66,375 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java | MQLinkHandler.stop | public void stop(int mode) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stop");
super.stop(mode);
// Signal the MQLink component to stop
try
{
if(_mqLinkObject != null)
_mqLinkObject.stop();
}
catch (SIReso... | java | public void stop(int mode) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stop");
super.stop(mode);
// Signal the MQLink component to stop
try
{
if(_mqLinkObject != null)
_mqLinkObject.stop();
}
catch (SIReso... | [
"public",
"void",
"stop",
"(",
"int",
"mode",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"stop\"",
")",
";",
"super",
".",
"s... | This stop method overrides the stop method in BaseDestinationHandler and is driven when the ME
is stopped. As well as performing the normal stop processing for the MQLink object, it also
ensures that the uuid of the the MQLink is undefined from the set managed by the TRM. Otherwise,
there is the potential to add the uu... | [
"This",
"stop",
"method",
"overrides",
"the",
"stop",
"method",
"in",
"BaseDestinationHandler",
"and",
"is",
"driven",
"when",
"the",
"ME",
"is",
"stopped",
".",
"As",
"well",
"as",
"performing",
"the",
"normal",
"stop",
"processing",
"for",
"the",
"MQLink",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java#L976-L1013 |
66,376 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java | MQLinkHandler.announceMPStarted | public void announceMPStarted(
int startMode,
JsMessagingEngine me) throws SIResourceException, SIException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"announceMPStarted",
new Object[] {
startMode,
me });
... | java | public void announceMPStarted(
int startMode,
JsMessagingEngine me) throws SIResourceException, SIException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"announceMPStarted",
new Object[] {
startMode,
me });
... | [
"public",
"void",
"announceMPStarted",
"(",
"int",
"startMode",
",",
"JsMessagingEngine",
"me",
")",
"throws",
"SIResourceException",
",",
"SIException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"("... | Alert the MQLink and PSB components that MP has now started.
@param startMode
@param me
@throws SIException
@throws SIResourceException | [
"Alert",
"the",
"MQLink",
"and",
"PSB",
"components",
"that",
"MP",
"has",
"now",
"started",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java#L1081-L1100 |
66,377 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java | MQLinkHandler.destroy | public void destroy() throws SIResourceException, SIException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"destroy");
// Drive destroy against the associated MQLink object
if(_mqLinkObject != null)
_mqLinkObject.destroy();
... | java | public void destroy() throws SIResourceException, SIException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"destroy");
// Drive destroy against the associated MQLink object
if(_mqLinkObject != null)
_mqLinkObject.destroy();
... | [
"public",
"void",
"destroy",
"(",
")",
"throws",
"SIResourceException",
",",
"SIException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"... | Alert the MQLink and PSB components that destroy has been driven.
@throws SIException
@throws SIResourceException | [
"Alert",
"the",
"MQLink",
"and",
"PSB",
"components",
"that",
"destroy",
"has",
"been",
"driven",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/MQLinkHandler.java#L1108-L1123 |
66,378 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsp/src/org/apache/jasper/runtime/JspWriterImpl.java | JspWriterImpl.recycle | void recycle() {
flushed = false;
closed = false;
out = null;
nextChar = 0;
converterBuffer.clear(); //PM19500
response = null; //PM23029
} | java | void recycle() {
flushed = false;
closed = false;
out = null;
nextChar = 0;
converterBuffer.clear(); //PM19500
response = null; //PM23029
} | [
"void",
"recycle",
"(",
")",
"{",
"flushed",
"=",
"false",
";",
"closed",
"=",
"false",
";",
"out",
"=",
"null",
";",
"nextChar",
"=",
"0",
";",
"converterBuffer",
".",
"clear",
"(",
")",
";",
"//PM19500",
"response",
"=",
"null",
";",
"//PM23029",
"... | Package-level access | [
"Package",
"-",
"level",
"access"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/org/apache/jasper/runtime/JspWriterImpl.java#L156-L163 |
66,379 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsp/src/org/apache/jasper/runtime/JspWriterImpl.java | JspWriterImpl.clear | public final void clear() throws IOException {
if ((bufferSize == 0) && (out != null))
// clear() is illegal after any unbuffered output (JSP.5.5)
throw new IllegalStateException("jsp.error.ise_on_clear");
if (flushed)
throw new IOException("jsp.error.attempt_to_clea... | java | public final void clear() throws IOException {
if ((bufferSize == 0) && (out != null))
// clear() is illegal after any unbuffered output (JSP.5.5)
throw new IllegalStateException("jsp.error.ise_on_clear");
if (flushed)
throw new IOException("jsp.error.attempt_to_clea... | [
"public",
"final",
"void",
"clear",
"(",
")",
"throws",
"IOException",
"{",
"if",
"(",
"(",
"bufferSize",
"==",
"0",
")",
"&&",
"(",
"out",
"!=",
"null",
")",
")",
"// clear() is illegal after any unbuffered output (JSP.5.5)",
"throw",
"new",
"IllegalStateExceptio... | Discard the output buffer. | [
"Discard",
"the",
"output",
"buffer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/org/apache/jasper/runtime/JspWriterImpl.java#L226-L239 |
66,380 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/productinfo/ProductInfo.java | ProductInfo.getUserExtensionVersionFiles | public static File[] getUserExtensionVersionFiles(File installDir) {
File[] versionFiles = null;
String userDirLoc = System.getenv(BootstrapConstants.ENV_WLP_USER_DIR);
File userDir = (userDirLoc != null) ? new File(userDirLoc) : ((installDir != null) ? new File(installDir, "usr") : null);
... | java | public static File[] getUserExtensionVersionFiles(File installDir) {
File[] versionFiles = null;
String userDirLoc = System.getenv(BootstrapConstants.ENV_WLP_USER_DIR);
File userDir = (userDirLoc != null) ? new File(userDirLoc) : ((installDir != null) ? new File(installDir, "usr") : null);
... | [
"public",
"static",
"File",
"[",
"]",
"getUserExtensionVersionFiles",
"(",
"File",
"installDir",
")",
"{",
"File",
"[",
"]",
"versionFiles",
"=",
"null",
";",
"String",
"userDirLoc",
"=",
"System",
".",
"getenv",
"(",
"BootstrapConstants",
".",
"ENV_WLP_USER_DIR... | Retrieves the product extension jar bundles located in the installation's usr directory.
@return The array of product extension jar bundles in the default (usr) location. | [
"Retrieves",
"the",
"product",
"extension",
"jar",
"bundles",
"located",
"in",
"the",
"installation",
"s",
"usr",
"directory",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/productinfo/ProductInfo.java#L233-L247 |
66,381 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/WIMUserRegistry.java | WIMUserRegistry.getUserFromUniqueID | private String getUserFromUniqueID(String id) {
if (id == null) {
return "";
}
id = id.trim();
int realmDelimiterIndex = id.indexOf("/");
if (realmDelimiterIndex < 0) {
return "";
} else {
return id.substring(realmDelimiterIndex + 1);
... | java | private String getUserFromUniqueID(String id) {
if (id == null) {
return "";
}
id = id.trim();
int realmDelimiterIndex = id.indexOf("/");
if (realmDelimiterIndex < 0) {
return "";
} else {
return id.substring(realmDelimiterIndex + 1);
... | [
"private",
"String",
"getUserFromUniqueID",
"(",
"String",
"id",
")",
"{",
"if",
"(",
"id",
"==",
"null",
")",
"{",
"return",
"\"\"",
";",
"}",
"id",
"=",
"id",
".",
"trim",
"(",
")",
";",
"int",
"realmDelimiterIndex",
"=",
"id",
".",
"indexOf",
"(",... | New method added as an alternative of getUserFromUniqueId method of WSSecurityPropagationHelper | [
"New",
"method",
"added",
"as",
"an",
"alternative",
"of",
"getUserFromUniqueId",
"method",
"of",
"WSSecurityPropagationHelper"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/WIMUserRegistry.java#L513-L524 |
66,382 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.checkNotClosed | private void checkNotClosed() throws SIConnectionUnavailableException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkNotClosed");
//Synchronize on the closed object to prevent it being changed while we check it.
synchronized (this)
... | java | private void checkNotClosed() throws SIConnectionUnavailableException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkNotClosed");
//Synchronize on the closed object to prevent it being changed while we check it.
synchronized (this)
... | [
"private",
"void",
"checkNotClosed",
"(",
")",
"throws",
"SIConnectionUnavailableException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"che... | Check if this connection has been closed. If it has, a SIObjectClosedException
is thrown.
@throws SIConnectionUnavailableException | [
"Check",
"if",
"this",
"connection",
"has",
"been",
"closed",
".",
"If",
"it",
"has",
"a",
"SIObjectClosedException",
"is",
"thrown",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L246-L273 |
66,383 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.removeBrowserSession | void removeBrowserSession(BrowserSessionImpl browser)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeBrowserSession", browser);
synchronized (_browsers)
{
_browsers.remove(browser);
}
if (TraceComponent.isAny... | java | void removeBrowserSession(BrowserSessionImpl browser)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeBrowserSession", browser);
synchronized (_browsers)
{
_browsers.remove(browser);
}
if (TraceComponent.isAny... | [
"void",
"removeBrowserSession",
"(",
"BrowserSessionImpl",
"browser",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeBrowserSession\""... | This method simply removes a Browser Session from our list. It is generally
called by the Browser Session as it is closing down.
@param browser | [
"This",
"method",
"simply",
"removes",
"a",
"Browser",
"Session",
"from",
"our",
"list",
".",
"It",
"is",
"generally",
"called",
"by",
"the",
"Browser",
"Session",
"as",
"it",
"is",
"closing",
"down",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L704-L715 |
66,384 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.removeConsumerSession | void removeConsumerSession(ConsumerSessionImpl consumer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumerSession", consumer);
synchronized (_consumers)
{
_consumers.remove(consumer);
}
_messageProcess... | java | void removeConsumerSession(ConsumerSessionImpl consumer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumerSession", consumer);
synchronized (_consumers)
{
_consumers.remove(consumer);
}
_messageProcess... | [
"void",
"removeConsumerSession",
"(",
"ConsumerSessionImpl",
"consumer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeConsumerSessio... | This method simply removes a Consumer Session from our list. It is generally
called by the Consumer Session as it is closing down.
@param consumer | [
"This",
"method",
"simply",
"removes",
"a",
"Consumer",
"Session",
"from",
"our",
"list",
".",
"It",
"is",
"generally",
"called",
"by",
"the",
"Consumer",
"Session",
"as",
"it",
"is",
"closing",
"down",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L723-L737 |
66,385 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.removeProducerSession | void removeProducerSession(ProducerSessionImpl producer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeProducerSession");
synchronized (_producers)
{
_producers.remove(producer);
}
if (TraceComponent.isAnyTra... | java | void removeProducerSession(ProducerSessionImpl producer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeProducerSession");
synchronized (_producers)
{
_producers.remove(producer);
}
if (TraceComponent.isAnyTra... | [
"void",
"removeProducerSession",
"(",
"ProducerSessionImpl",
"producer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeProducerSessio... | This method simply removes a Producer Session from our list. It is generally
called by the Producer Session as it is closing down.
@param producer | [
"This",
"method",
"simply",
"removes",
"a",
"Producer",
"Session",
"from",
"our",
"list",
".",
"It",
"is",
"generally",
"called",
"by",
"the",
"Producer",
"Session",
"as",
"it",
"is",
"closing",
"down",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L745-L755 |
66,386 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.internalCreateProducerSession | private ProducerSession internalCreateProducerSession(
SIDestinationAddress destAddress,
DestinationType destinationType,
boolean system,
... | java | private ProducerSession internalCreateProducerSession(
SIDestinationAddress destAddress,
DestinationType destinationType,
boolean system,
... | [
"private",
"ProducerSession",
"internalCreateProducerSession",
"(",
"SIDestinationAddress",
"destAddress",
",",
"DestinationType",
"destinationType",
",",
"boolean",
"system",
",",
"SecurityContext",
"secContext",
",",
"boolean",
"keepSecurityUserid",
",",
"boolean",
"fixedMe... | Method that creates the producer session.
@param destAddress
@param destinationType
@param system
@param discriminator
@param testDiscrimAtCreate
@param fixedMessagePoint
@param preferLocal
@return
@throws SINotAuthorizedException
@throws SIDestinationNotFoundException
@throws SIDestinationWrongTypeException
@throws S... | [
"Method",
"that",
"creates",
"the",
"producer",
"session",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L1005-L1077 |
66,387 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.checkTemporary | private void checkTemporary(DestinationHandler destination, boolean mqinterop)
throws SITemporaryDestinationNotFoundException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkTemporary", new Object[] { destination, Boolean.valueOf(mqin... | java | private void checkTemporary(DestinationHandler destination, boolean mqinterop)
throws SITemporaryDestinationNotFoundException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkTemporary", new Object[] { destination, Boolean.valueOf(mqin... | [
"private",
"void",
"checkTemporary",
"(",
"DestinationHandler",
"destination",
",",
"boolean",
"mqinterop",
")",
"throws",
"SITemporaryDestinationNotFoundException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled... | Checks to see if the destination is temporary and the connection
used to create the temp destination is the same as the one trying to
access it.
Checking skipped if this is a mqinterop request
@param destination
@param mqinterop
@throws SITemporaryDestinationNotFoundException If the temp destination wasn't
created us... | [
"Checks",
"to",
"see",
"if",
"the",
"destination",
"is",
"temporary",
"and",
"the",
"connection",
"used",
"to",
"create",
"the",
"temp",
"destination",
"is",
"the",
"same",
"as",
"the",
"one",
"trying",
"to",
"access",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L1228-L1257 |
66,388 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.internalCreateConsumerSession | private ConsumerSession internalCreateConsumerSession(
SIDestinationAddress destAddr,
String alternateUser,
DestinationType destinationType,
... | java | private ConsumerSession internalCreateConsumerSession(
SIDestinationAddress destAddr,
String alternateUser,
DestinationType destinationType,
... | [
"private",
"ConsumerSession",
"internalCreateConsumerSession",
"(",
"SIDestinationAddress",
"destAddr",
",",
"String",
"alternateUser",
",",
"DestinationType",
"destinationType",
",",
"SelectionCriteria",
"criteria",
",",
"Reliability",
"reliability",
",",
"boolean",
"enableR... | Internal method for creating the consumer.
@param destAddr
@param alternateUser
@param destinationType
@param discriminator
@param selector
@param reliability
@param enableReadAhead
@param nolocal
@param forwardScanning
@param system
@param unrecoverableReliability
@param bifurcatable
@param mqinterop
@return | [
"Internal",
"method",
"for",
"creating",
"the",
"consumer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L1277-L1342 |
66,389 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.checkDurableSubscriptionInformation | private SIBUuid8 checkDurableSubscriptionInformation(String subscriptionName,
String durableSubscriptionHome,
SIDestinationAddress destinationAddress,
... | java | private SIBUuid8 checkDurableSubscriptionInformation(String subscriptionName,
String durableSubscriptionHome,
SIDestinationAddress destinationAddress,
... | [
"private",
"SIBUuid8",
"checkDurableSubscriptionInformation",
"(",
"String",
"subscriptionName",
",",
"String",
"durableSubscriptionHome",
",",
"SIDestinationAddress",
"destinationAddress",
",",
"boolean",
"supportsMultipleConsumers",
",",
"boolean",
"nolocal",
",",
"boolean",
... | Checks made for durable subscription support.
returns the uuid of the durable sub home
Checks that the connection isn't closed
Checks that the subscription name isn't null
Checks that the destination address isn't null
Checks that the supports multiple consumers and noLocal aren't both set. | [
"Checks",
"made",
"for",
"durable",
"subscription",
"support",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L2705-L2811 |
66,390 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.internalReceiveNoWait | private SIBusMessage internalReceiveNoWait(SITransaction tran,
Reliability unrecoverableReliability,
SIDestinationAddress destAddr,
DestinationType destinationType,
... | java | private SIBusMessage internalReceiveNoWait(SITransaction tran,
Reliability unrecoverableReliability,
SIDestinationAddress destAddr,
DestinationType destinationType,
... | [
"private",
"SIBusMessage",
"internalReceiveNoWait",
"(",
"SITransaction",
"tran",
",",
"Reliability",
"unrecoverableReliability",
",",
"SIDestinationAddress",
"destAddr",
",",
"DestinationType",
"destinationType",
",",
"SelectionCriteria",
"criteria",
",",
"Reliability",
"rel... | Internal implementation for receiving no wait | [
"Internal",
"implementation",
"for",
"receiving",
"no",
"wait"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L3249-L3358 |
66,391 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.createBrowserSession | private BrowserSession createBrowserSession(
SIDestinationAddress destinationAddress,
DestinationType destinationType,
SelectionCriteria criteria,
... | java | private BrowserSession createBrowserSession(
SIDestinationAddress destinationAddress,
DestinationType destinationType,
SelectionCriteria criteria,
... | [
"private",
"BrowserSession",
"createBrowserSession",
"(",
"SIDestinationAddress",
"destinationAddress",
",",
"DestinationType",
"destinationType",
",",
"SelectionCriteria",
"criteria",
",",
"boolean",
"system",
",",
"String",
"alternateUser",
",",
"boolean",
"gatherMessages",... | Creates the Browser session.
@param destName
@param destinationAddress
@param discriminator
@param selector
@param system
@return
@throws SIDiscriminatorSyntaxException
@throws SISelectorSyntaxException | [
"Creates",
"the",
"Browser",
"session",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L3645-L3728 |
66,392 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.isDestinationPrefixValid | private static final boolean isDestinationPrefixValid(String destinationPrefix)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isDestinationPrefixValid", destinationPrefix);
boolean isValid = true; // Assume the prefix is valid until we know otherwise... | java | private static final boolean isDestinationPrefixValid(String destinationPrefix)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isDestinationPrefixValid", destinationPrefix);
boolean isValid = true; // Assume the prefix is valid until we know otherwise... | [
"private",
"static",
"final",
"boolean",
"isDestinationPrefixValid",
"(",
"String",
"destinationPrefix",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Determines whether a destination prefix for a System destination is valid or not.
<p>If the destination prefix has more than 24
characters, then it is invalid.
<p>The destination prefix is invalid if it contains any characters not in the following
list:
<ul>
<li>a-z (lower-case alphas)</li>
<li>A-Z (upper-case alphas)... | [
"Determines",
"whether",
"a",
"destination",
"prefix",
"for",
"a",
"System",
"destination",
"is",
"valid",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L5142-L5189 |
66,393 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.getMQLinkPubSubBridgeItemStream | @Override
public ItemStream getMQLinkPubSubBridgeItemStream(String mqLinkUuidStr)
throws SIException
{
MQLinkHandler mqLinkHandler = null;
ItemStream mqLinkPubSubBridgeItemStream = null;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Sib... | java | @Override
public ItemStream getMQLinkPubSubBridgeItemStream(String mqLinkUuidStr)
throws SIException
{
MQLinkHandler mqLinkHandler = null;
ItemStream mqLinkPubSubBridgeItemStream = null;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Sib... | [
"@",
"Override",
"public",
"ItemStream",
"getMQLinkPubSubBridgeItemStream",
"(",
"String",
"mqLinkUuidStr",
")",
"throws",
"SIException",
"{",
"MQLinkHandler",
"mqLinkHandler",
"=",
"null",
";",
"ItemStream",
"mqLinkPubSubBridgeItemStream",
"=",
"null",
";",
"if",
"(",
... | Retrieves the MQLink's PubSubBridge ItemStream
@param name of the MQLink | [
"Retrieves",
"the",
"MQLink",
"s",
"PubSubBridge",
"ItemStream"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L5823-L5880 |
66,394 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.removeBifurcatedConsumerSession | void removeBifurcatedConsumerSession(BifurcatedConsumerSessionImpl bifurcatedConsumer)
{
if (TraceComponent.isAnyTracingEnabled() && CoreSPIConnection.tc.isEntryEnabled())
SibTr.entry(CoreSPIConnection.tc, "removeBifurcatedConsumerSession",
new Object[] { this, bifurcated... | java | void removeBifurcatedConsumerSession(BifurcatedConsumerSessionImpl bifurcatedConsumer)
{
if (TraceComponent.isAnyTracingEnabled() && CoreSPIConnection.tc.isEntryEnabled())
SibTr.entry(CoreSPIConnection.tc, "removeBifurcatedConsumerSession",
new Object[] { this, bifurcated... | [
"void",
"removeBifurcatedConsumerSession",
"(",
"BifurcatedConsumerSessionImpl",
"bifurcatedConsumer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"CoreSPIConnection",
".",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
"."... | Remove a bifurcated consumer from the connection list.
@param bifurcatedConsumer | [
"Remove",
"a",
"bifurcated",
"consumer",
"from",
"the",
"connection",
"list",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L6025-L6039 |
66,395 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.checkConsumerDiscriminatorAccess | private boolean checkConsumerDiscriminatorAccess(DestinationHandler destination,
String discriminator,
SecurityContext secContext)
throws SIDiscriminatorSyntaxException
{
if (TraceC... | java | private boolean checkConsumerDiscriminatorAccess(DestinationHandler destination,
String discriminator,
SecurityContext secContext)
throws SIDiscriminatorSyntaxException
{
if (TraceC... | [
"private",
"boolean",
"checkConsumerDiscriminatorAccess",
"(",
"DestinationHandler",
"destination",
",",
"String",
"discriminator",
",",
"SecurityContext",
"secContext",
")",
"throws",
"SIDiscriminatorSyntaxException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabl... | Checks the authority of a consumer to consume from a discriminator | [
"Checks",
"the",
"authority",
"of",
"a",
"consumer",
"to",
"consume",
"from",
"a",
"discriminator"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L6552-L6594 |
66,396 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.checkInquireAuthority | private void checkInquireAuthority(DestinationHandler destination,
String destinationName,
String busName,
SecurityContext secContext,
boolean temporary)
... | java | private void checkInquireAuthority(DestinationHandler destination,
String destinationName,
String busName,
SecurityContext secContext,
boolean temporary)
... | [
"private",
"void",
"checkInquireAuthority",
"(",
"DestinationHandler",
"destination",
",",
"String",
"destinationName",
",",
"String",
"busName",
",",
"SecurityContext",
"secContext",
",",
"boolean",
"temporary",
")",
"throws",
"SINotAuthorizedException",
"{",
"if",
"("... | Checks the authority to inquire on a destination | [
"Checks",
"the",
"authority",
"to",
"inquire",
"on",
"a",
"destination"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L6703-L6807 |
66,397 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.isSIBServerSubject | private boolean isSIBServerSubject()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isSIBServerSubject");
boolean ispriv = false;
if (_subject != null)
ispriv = _messageProcessor.getAuthorisationUtils().isSIBServerSubject(_subjec... | java | private boolean isSIBServerSubject()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isSIBServerSubject");
boolean ispriv = false;
if (_subject != null)
ispriv = _messageProcessor.getAuthorisationUtils().isSIBServerSubject(_subjec... | [
"private",
"boolean",
"isSIBServerSubject",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isSIBServerSubject\"",
")",
";",
"boolea... | Returns true if the subject associated with the connection is the
privileged SIBServerSubject.
@return true if SIBServerSubject | [
"Returns",
"true",
"if",
"the",
"subject",
"associated",
"with",
"the",
"connection",
"is",
"the",
"privileged",
"SIBServerSubject",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L6955-L6969 |
66,398 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.isMulticastEnabled | @Override
public boolean isMulticastEnabled()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isMulticastEnabled");
boolean enabled = _messageProcessor.isMulticastEnabled();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())... | java | @Override
public boolean isMulticastEnabled()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isMulticastEnabled");
boolean enabled = _messageProcessor.isMulticastEnabled();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())... | [
"@",
"Override",
"public",
"boolean",
"isMulticastEnabled",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isMulticastEnabled\"",
"... | Returns true if multicast is enabled | [
"Returns",
"true",
"if",
"multicast",
"is",
"enabled"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L6974-L6985 |
66,399 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java | ConnectionImpl.getMulticastProperties | @Override
public MulticastProperties getMulticastProperties()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getMulticastProperties");
MulticastProperties props = _messageProcessor.getMulticastProperties();
if (TraceComponent.isAnyTracin... | java | @Override
public MulticastProperties getMulticastProperties()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getMulticastProperties");
MulticastProperties props = _messageProcessor.getMulticastProperties();
if (TraceComponent.isAnyTracin... | [
"@",
"Override",
"public",
"MulticastProperties",
"getMulticastProperties",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMultica... | Returns the MulticastProperties for this messaging engine
null if multicast is not enabled. | [
"Returns",
"the",
"MulticastProperties",
"for",
"this",
"messaging",
"engine",
"null",
"if",
"multicast",
"is",
"not",
"enabled",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConnectionImpl.java#L6991-L7003 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.