id int32 0 165k | repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 |
|---|---|---|---|---|---|---|---|---|---|---|---|
110,200 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java | LinkedList.newCursor | public Cursor newCursor(String name)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "newCursor", name);
Cursor cursor = new Cursor(name,this,true);
if (tc.isEntryEnabled())
SibTr.exit(tc, "newCursor", cursor);
return cursor;
} | java | public Cursor newCursor(String name)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "newCursor", name);
Cursor cursor = new Cursor(name,this,true);
if (tc.isEntryEnabled())
SibTr.exit(tc, "newCursor", cursor);
return cursor;
} | [
"public",
"Cursor",
"newCursor",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"newCursor\"",
",",
"name",
")",
";",
"Cursor",
"cursor",
"=",
"new",
"Cursor",
"(",
"na... | Synchronized. Creates a new cursor over this list, initially sitting
at the top of the list. | [
"Synchronized",
".",
"Creates",
"a",
"new",
"cursor",
"over",
"this",
"list",
"initially",
"sitting",
"at",
"the",
"top",
"of",
"the",
"list",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java#L61-L72 |
110,201 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java | LinkedList.newCursorAtBottom | public Cursor newCursorAtBottom(String name)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "newCursorAtBottom", name);
Cursor cursor = new Cursor(name,this,false);
if (tc.isEntryEnabled())
SibTr.exit(tc, "newCursorAtBottom", cursor);
return cursor;
} | java | public Cursor newCursorAtBottom(String name)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "newCursorAtBottom", name);
Cursor cursor = new Cursor(name,this,false);
if (tc.isEntryEnabled())
SibTr.exit(tc, "newCursorAtBottom", cursor);
return cursor;
} | [
"public",
"Cursor",
"newCursorAtBottom",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"newCursorAtBottom\"",
",",
"name",
")",
";",
"Cursor",
"cursor",
"=",
"new",
"Curso... | Synchronized. Creates a new cursor over this list, initially sitting
at the bottoms of the list. | [
"Synchronized",
".",
"Creates",
"a",
"new",
"cursor",
"over",
"this",
"list",
"initially",
"sitting",
"at",
"the",
"bottoms",
"of",
"the",
"list",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java#L78-L89 |
110,202 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java | LinkedList.insertAtBottom | public Entry insertAtBottom(Entry entry)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "insertAtBottom", new Object[] { entry });
//only add in the new entry if it is not already in a list.
if(entry.parentList == null)
{
//if the list is empty
if(last == null)
{
//double ... | java | public Entry insertAtBottom(Entry entry)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "insertAtBottom", new Object[] { entry });
//only add in the new entry if it is not already in a list.
if(entry.parentList == null)
{
//if the list is empty
if(last == null)
{
//double ... | [
"public",
"Entry",
"insertAtBottom",
"(",
"Entry",
"entry",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"insertAtBottom\"",
",",
"new",
"Object",
"[",
"]",
"{",
"entry",
"}",
")",
";",
"//... | Synchronized. Insert a new entry in to the list at the bottom.
The new entry must not be already in any list, including this one.
@param entry The entry to be added.
@return The entry after it has been added | [
"Synchronized",
".",
"Insert",
"a",
"new",
"entry",
"in",
"to",
"the",
"list",
"at",
"the",
"bottom",
".",
"The",
"new",
"entry",
"must",
"not",
"be",
"already",
"in",
"any",
"list",
"including",
"this",
"one",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java#L109-L166 |
110,203 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java | LinkedList.insertAfter | public Entry insertAfter(Entry newEntry, Entry insertAfter)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "insertAfter", new Object[] { newEntry, insertAfter });
Entry insertedEntry = null;
//check that the params are not null, if either is, there is nothing to do.
if(newEntry != null &&
... | java | public Entry insertAfter(Entry newEntry, Entry insertAfter)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "insertAfter", new Object[] { newEntry, insertAfter });
Entry insertedEntry = null;
//check that the params are not null, if either is, there is nothing to do.
if(newEntry != null &&
... | [
"public",
"Entry",
"insertAfter",
"(",
"Entry",
"newEntry",
",",
"Entry",
"insertAfter",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"insertAfter\"",
",",
"new",
"Object",
"[",
"]",
"{",
"ne... | Synchronized. Insert an entry into the list after a given one. The
new entry must not already be in a list. The entry after which the new
one is to be inserted must be in this list.
@param newEntry The entry to be added.
@param insertAfter The entry after which the new one is to be inserted | [
"Synchronized",
".",
"Insert",
"an",
"entry",
"into",
"the",
"list",
"after",
"a",
"given",
"one",
".",
"The",
"new",
"entry",
"must",
"not",
"already",
"be",
"in",
"a",
"list",
".",
"The",
"entry",
"after",
"which",
"the",
"new",
"one",
"is",
"to",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java#L248-L267 |
110,204 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java | LinkedList.transfer | public void transfer(LinkedList transferFrom)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "transfer", new Object[] { transferFrom });
//synchronize on the other list so that we can call the internal,
//unsynchronized methods and access the entries in the list directly
synchronized(transferFrom)
... | java | public void transfer(LinkedList transferFrom)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "transfer", new Object[] { transferFrom });
//synchronize on the other list so that we can call the internal,
//unsynchronized methods and access the entries in the list directly
synchronized(transferFrom)
... | [
"public",
"void",
"transfer",
"(",
"LinkedList",
"transferFrom",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"transfer\"",
",",
"new",
"Object",
"[",
"]",
"{",
"transferFrom",
"}",
")",
";",... | Synchronized. Transfer all of the entries in a given list in to
this one. This is the same as removing each one from the given
list and inserting it in to this list at the bottom.
@param transferFrom The list from which the entries are to be transfered from. | [
"Synchronized",
".",
"Transfer",
"all",
"of",
"the",
"entries",
"in",
"a",
"given",
"list",
"in",
"to",
"this",
"one",
".",
"This",
"is",
"the",
"same",
"as",
"removing",
"each",
"one",
"from",
"the",
"given",
"list",
"and",
"inserting",
"it",
"in",
"t... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/linkedlist/LinkedList.java#L386-L407 |
110,205 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java | AbstractJPAComponent.startingApplication | protected JPAApplInfo startingApplication(JPAApplInfo applInfo) throws RuntimeWarning {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled()) {
Tr.entry(tc, "startingApplication : " + applInfo.getApplName());
}
String applName ... | java | protected JPAApplInfo startingApplication(JPAApplInfo applInfo) throws RuntimeWarning {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled()) {
Tr.entry(tc, "startingApplication : " + applInfo.getApplName());
}
String applName ... | [
"protected",
"JPAApplInfo",
"startingApplication",
"(",
"JPAApplInfo",
"applInfo",
")",
"throws",
"RuntimeWarning",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"is... | Process application "starting" event. | [
"Process",
"application",
"starting",
"event",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java#L97-L127 |
110,206 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java | AbstractJPAComponent.startedApplication | public void startedApplication(JPAApplInfo applInfo)
throws RuntimeWarning // d406994.2
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "startedApplication : " + applInfo.getApplName());
// ... | java | public void startedApplication(JPAApplInfo applInfo)
throws RuntimeWarning // d406994.2
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "startedApplication : " + applInfo.getApplName());
// ... | [
"public",
"void",
"startedApplication",
"(",
"JPAApplInfo",
"applInfo",
")",
"throws",
"RuntimeWarning",
"// d406994.2",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
"."... | Process application "started" event. | [
"Process",
"application",
"started",
"event",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java#L132-L153 |
110,207 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java | AbstractJPAComponent.destroyingApplication | public void destroyingApplication(JPAApplInfo applInfo)
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "destroyingApplication : " + applInfo.getApplName());
applInfo.closeAllScopeModules();
applList.re... | java | public void destroyingApplication(JPAApplInfo applInfo)
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "destroyingApplication : " + applInfo.getApplName());
applInfo.closeAllScopeModules();
applList.re... | [
"public",
"void",
"destroyingApplication",
"(",
"JPAApplInfo",
"applInfo",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"T... | Process application "destroying" event. | [
"Process",
"application",
"destroying",
"event",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java#L158-L172 |
110,208 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java | AbstractJPAComponent.getSortedAppNames | protected Set<String> getSortedAppNames()
{
if (applList == null)
{
return Collections.emptySet();
}
Set<String> appNames = applList.keySet();
// Per Collections.synchronizedMap javadoc, must synchronize on map when
// iterating over any of the collectio... | java | protected Set<String> getSortedAppNames()
{
if (applList == null)
{
return Collections.emptySet();
}
Set<String> appNames = applList.keySet();
// Per Collections.synchronizedMap javadoc, must synchronize on map when
// iterating over any of the collectio... | [
"protected",
"Set",
"<",
"String",
">",
"getSortedAppNames",
"(",
")",
"{",
"if",
"(",
"applList",
"==",
"null",
")",
"{",
"return",
"Collections",
".",
"emptySet",
"(",
")",
";",
"}",
"Set",
"<",
"String",
">",
"appNames",
"=",
"applList",
".",
"keySe... | Convenience method for trace that obtains a sorted list of the known JPA
application names. This method is thread safe. | [
"Convenience",
"method",
"for",
"trace",
"that",
"obtains",
"a",
"sorted",
"list",
"of",
"the",
"known",
"JPA",
"application",
"names",
".",
"This",
"method",
"is",
"thread",
"safe",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/AbstractJPAComponent.java#L395-L410 |
110,209 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.servlet.3.1/src/com/ibm/ws/webcontainer31/osgi/webapp/WebApp31.java | WebApp31.createAsyncListener | public <T extends EventListener> T createAsyncListener(Class<T> classToCreate) throws ServletException {
return super.createListener(classToCreate);
} | java | public <T extends EventListener> T createAsyncListener(Class<T> classToCreate) throws ServletException {
return super.createListener(classToCreate);
} | [
"public",
"<",
"T",
"extends",
"EventListener",
">",
"T",
"createAsyncListener",
"(",
"Class",
"<",
"T",
">",
"classToCreate",
")",
"throws",
"ServletException",
"{",
"return",
"super",
".",
"createListener",
"(",
"classToCreate",
")",
";",
"}"
] | This method should only be used to create an AsyncListener as the WebApp31.createListener no longer accepts AsyncListeners
as per the specification. This method is currently called from AsyncContext31Impl.createListener.
@param classToCreate
@return
@throws ServletException | [
"This",
"method",
"should",
"only",
"be",
"used",
"to",
"create",
"an",
"AsyncListener",
"as",
"the",
"WebApp31",
".",
"createListener",
"no",
"longer",
"accepts",
"AsyncListeners",
"as",
"per",
"the",
"specification",
".",
"This",
"method",
"is",
"currently",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.servlet.3.1/src/com/ibm/ws/webcontainer31/osgi/webapp/WebApp31.java#L505-L507 |
110,210 | OpenLiberty/open-liberty | dev/com.ibm.ws.jndi/src/com/ibm/ws/jndi/internal/JNDIObjectFactory.java | JNDIObjectFactory.setLibrary | @Reference(name = REFERENCE_LIBRARY, service = Library.class)
protected void setLibrary(ServiceReference<Library> ref) {
libraryRef.setReference(ref);
} | java | @Reference(name = REFERENCE_LIBRARY, service = Library.class)
protected void setLibrary(ServiceReference<Library> ref) {
libraryRef.setReference(ref);
} | [
"@",
"Reference",
"(",
"name",
"=",
"REFERENCE_LIBRARY",
",",
"service",
"=",
"Library",
".",
"class",
")",
"protected",
"void",
"setLibrary",
"(",
"ServiceReference",
"<",
"Library",
">",
"ref",
")",
"{",
"libraryRef",
".",
"setReference",
"(",
"ref",
")",
... | The reference target is specified via metatype | [
"The",
"reference",
"target",
"is",
"specified",
"via",
"metatype"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jndi/src/com/ibm/ws/jndi/internal/JNDIObjectFactory.java#L58-L61 |
110,211 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchingStrategy.java | MatchingStrategy.match | public static MatchResponse match(SecurityConstraintCollection securityConstraintCollection, String resourceName, String method) {
MatchingStrategy matchingStrategy = getMatchingStrategy(method);
return matchingStrategy.performMatch(securityConstraintCollection, resourceName, method);
} | java | public static MatchResponse match(SecurityConstraintCollection securityConstraintCollection, String resourceName, String method) {
MatchingStrategy matchingStrategy = getMatchingStrategy(method);
return matchingStrategy.performMatch(securityConstraintCollection, resourceName, method);
} | [
"public",
"static",
"MatchResponse",
"match",
"(",
"SecurityConstraintCollection",
"securityConstraintCollection",
",",
"String",
"resourceName",
",",
"String",
"method",
")",
"{",
"MatchingStrategy",
"matchingStrategy",
"=",
"getMatchingStrategy",
"(",
"method",
")",
";"... | Determine what constraints match the given resource access.
@param securityConstraintCollection the security constraints to iterate through.
@param resourceName the resource name.
@param method the HTTP method.
@return the match response. | [
"Determine",
"what",
"constraints",
"match",
"the",
"given",
"resource",
"access",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchingStrategy.java#L40-L43 |
110,212 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchingStrategy.java | MatchingStrategy.getCollectionMatch | protected CollectionMatch getCollectionMatch(List<WebResourceCollection> webResourceCollections, String resourceName, String method) {
CollectionMatch bestMatch = getInitialCollectionMatch();
for (WebResourceCollection webResourceCollection : webResourceCollections) {
CollectionMatch curren... | java | protected CollectionMatch getCollectionMatch(List<WebResourceCollection> webResourceCollections, String resourceName, String method) {
CollectionMatch bestMatch = getInitialCollectionMatch();
for (WebResourceCollection webResourceCollection : webResourceCollections) {
CollectionMatch curren... | [
"protected",
"CollectionMatch",
"getCollectionMatch",
"(",
"List",
"<",
"WebResourceCollection",
">",
"webResourceCollections",
",",
"String",
"resourceName",
",",
"String",
"method",
")",
"{",
"CollectionMatch",
"bestMatch",
"=",
"getInitialCollectionMatch",
"(",
")",
... | Gets the match for the resource access. The web resource collections are
individually used to determine what is the match for this resource access. The best match is selected.
The seven standard HTTP methods are,
GET, POST, DELETE, PUT, HEAD, OPTIONS, and TRACE.
@param resourceName The resource name.
@param method The... | [
"Gets",
"the",
"match",
"for",
"the",
"resource",
"access",
".",
"The",
"web",
"resource",
"collections",
"are",
"individually",
"used",
"to",
"determine",
"what",
"is",
"the",
"match",
"for",
"this",
"resource",
"access",
".",
"The",
"best",
"match",
"is",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchingStrategy.java#L165-L180 |
110,213 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchingStrategy.java | MatchingStrategy.selectBestCollectionMatch | protected CollectionMatch selectBestCollectionMatch(CollectionMatch previousMatch, CollectionMatch currentMatch) {
CollectionMatch bestMatch = null;
if (previousMatch == null) {
bestMatch = currentMatch;
} else if (previousMatch.isDenyMatchByOmission()) {
bestMatch = pre... | java | protected CollectionMatch selectBestCollectionMatch(CollectionMatch previousMatch, CollectionMatch currentMatch) {
CollectionMatch bestMatch = null;
if (previousMatch == null) {
bestMatch = currentMatch;
} else if (previousMatch.isDenyMatchByOmission()) {
bestMatch = pre... | [
"protected",
"CollectionMatch",
"selectBestCollectionMatch",
"(",
"CollectionMatch",
"previousMatch",
",",
"CollectionMatch",
"currentMatch",
")",
"{",
"CollectionMatch",
"bestMatch",
"=",
"null",
";",
"if",
"(",
"previousMatch",
"==",
"null",
")",
"{",
"bestMatch",
"... | Exact match is best,
then path match with longest URI matched,
finally extension match. | [
"Exact",
"match",
"is",
"best",
"then",
"path",
"match",
"with",
"longest",
"URI",
"matched",
"finally",
"extension",
"match",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchingStrategy.java#L204-L231 |
110,214 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java | FaceletCompositionContextImpl.getFirstValidationGroupFromStack | @Override
public String getFirstValidationGroupFromStack()
{
if (_validationGroupsStack != null && !_validationGroupsStack.isEmpty())
{
return _validationGroupsStack.getFirst(); // top-of-stack
}
return null;
} | java | @Override
public String getFirstValidationGroupFromStack()
{
if (_validationGroupsStack != null && !_validationGroupsStack.isEmpty())
{
return _validationGroupsStack.getFirst(); // top-of-stack
}
return null;
} | [
"@",
"Override",
"public",
"String",
"getFirstValidationGroupFromStack",
"(",
")",
"{",
"if",
"(",
"_validationGroupsStack",
"!=",
"null",
"&&",
"!",
"_validationGroupsStack",
".",
"isEmpty",
"(",
")",
")",
"{",
"return",
"_validationGroupsStack",
".",
"getFirst",
... | Gets the top of the validationGroups stack.
@return
@since 2.0 | [
"Gets",
"the",
"top",
"of",
"the",
"validationGroups",
"stack",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java#L370-L378 |
110,215 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java | FaceletCompositionContextImpl.pushValidationGroupsToStack | @Override
public void pushValidationGroupsToStack(String validationGroups)
{
if (_validationGroupsStack == null)
{
_validationGroupsStack = new LinkedList<String>();
}
_validationGroupsStack.addFirst(validationGroups);
} | java | @Override
public void pushValidationGroupsToStack(String validationGroups)
{
if (_validationGroupsStack == null)
{
_validationGroupsStack = new LinkedList<String>();
}
_validationGroupsStack.addFirst(validationGroups);
} | [
"@",
"Override",
"public",
"void",
"pushValidationGroupsToStack",
"(",
"String",
"validationGroups",
")",
"{",
"if",
"(",
"_validationGroupsStack",
"==",
"null",
")",
"{",
"_validationGroupsStack",
"=",
"new",
"LinkedList",
"<",
"String",
">",
"(",
")",
";",
"}"... | Pushes validationGroups to the stack.
@param validationGroups
@since 2.0 | [
"Pushes",
"validationGroups",
"to",
"the",
"stack",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java#L398-L407 |
110,216 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java | FaceletCompositionContextImpl.pushExcludedValidatorIdToStack | @Override
public void pushExcludedValidatorIdToStack(String validatorId)
{
if (_excludedValidatorIdsStack == null)
{
_excludedValidatorIdsStack = new LinkedList<String>();
}
_excludedValidatorIdsStack.addFirst(validatorId);
} | java | @Override
public void pushExcludedValidatorIdToStack(String validatorId)
{
if (_excludedValidatorIdsStack == null)
{
_excludedValidatorIdsStack = new LinkedList<String>();
}
_excludedValidatorIdsStack.addFirst(validatorId);
} | [
"@",
"Override",
"public",
"void",
"pushExcludedValidatorIdToStack",
"(",
"String",
"validatorId",
")",
"{",
"if",
"(",
"_excludedValidatorIdsStack",
"==",
"null",
")",
"{",
"_excludedValidatorIdsStack",
"=",
"new",
"LinkedList",
"<",
"String",
">",
"(",
")",
";",... | Pushes validatorId to the stack of excluded validatorIds.
@param validatorId
@since 2.0 | [
"Pushes",
"validatorId",
"to",
"the",
"stack",
"of",
"excluded",
"validatorIds",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java#L442-L451 |
110,217 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java | FaceletCompositionContextImpl.increaseComponentLevelMarkedForDeletion | private void increaseComponentLevelMarkedForDeletion()
{
_deletionLevel++;
if (_componentsMarkedForDeletion.size() <= _deletionLevel)
{
_componentsMarkedForDeletion.add(new HashMap<String, UIComponent>());
}
} | java | private void increaseComponentLevelMarkedForDeletion()
{
_deletionLevel++;
if (_componentsMarkedForDeletion.size() <= _deletionLevel)
{
_componentsMarkedForDeletion.add(new HashMap<String, UIComponent>());
}
} | [
"private",
"void",
"increaseComponentLevelMarkedForDeletion",
"(",
")",
"{",
"_deletionLevel",
"++",
";",
"if",
"(",
"_componentsMarkedForDeletion",
".",
"size",
"(",
")",
"<=",
"_deletionLevel",
")",
"{",
"_componentsMarkedForDeletion",
".",
"add",
"(",
"new",
"Has... | Add a level of components marked for deletion. | [
"Add",
"a",
"level",
"of",
"components",
"marked",
"for",
"deletion",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java#L768-L776 |
110,218 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java | FaceletCompositionContextImpl.decreaseComponentLevelMarkedForDeletion | private void decreaseComponentLevelMarkedForDeletion()
{
//The common case is this co
if (!_componentsMarkedForDeletion.get(_deletionLevel).isEmpty())
{
_componentsMarkedForDeletion.get(_deletionLevel).clear();
}
_deletionLevel--;
} | java | private void decreaseComponentLevelMarkedForDeletion()
{
//The common case is this co
if (!_componentsMarkedForDeletion.get(_deletionLevel).isEmpty())
{
_componentsMarkedForDeletion.get(_deletionLevel).clear();
}
_deletionLevel--;
} | [
"private",
"void",
"decreaseComponentLevelMarkedForDeletion",
"(",
")",
"{",
"//The common case is this co",
"if",
"(",
"!",
"_componentsMarkedForDeletion",
".",
"get",
"(",
"_deletionLevel",
")",
".",
"isEmpty",
"(",
")",
")",
"{",
"_componentsMarkedForDeletion",
".",
... | Remove the last component level from the components marked to be deleted. The components are removed
from this list because they are deleted from the tree. This is done in ComponentSupport.finalizeForDeletion.
@return the array of components that are removed. | [
"Remove",
"the",
"last",
"component",
"level",
"from",
"the",
"components",
"marked",
"to",
"be",
"deleted",
".",
"The",
"components",
"are",
"removed",
"from",
"this",
"list",
"because",
"they",
"are",
"deleted",
"from",
"the",
"tree",
".",
"This",
"is",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java#L784-L792 |
110,219 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java | FaceletCompositionContextImpl.markComponentForDeletion | private void markComponentForDeletion(String id , UIComponent component)
{
_componentsMarkedForDeletion.get(_deletionLevel).put(id, component);
} | java | private void markComponentForDeletion(String id , UIComponent component)
{
_componentsMarkedForDeletion.get(_deletionLevel).put(id, component);
} | [
"private",
"void",
"markComponentForDeletion",
"(",
"String",
"id",
",",
"UIComponent",
"component",
")",
"{",
"_componentsMarkedForDeletion",
".",
"get",
"(",
"_deletionLevel",
")",
".",
"put",
"(",
"id",
",",
"component",
")",
";",
"}"
] | Mark a component to be deleted from the tree. The component to be deleted is addded on the
current level. This is done from ComponentSupport.markForDeletion
@param id
@param component the component marked for deletion. | [
"Mark",
"a",
"component",
"to",
"be",
"deleted",
"from",
"the",
"tree",
".",
"The",
"component",
"to",
"be",
"deleted",
"is",
"addded",
"on",
"the",
"current",
"level",
".",
"This",
"is",
"done",
"from",
"ComponentSupport",
".",
"markForDeletion"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java#L800-L803 |
110,220 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java | FaceletCompositionContextImpl.removeComponentForDeletion | private UIComponent removeComponentForDeletion(String id)
{
UIComponent removedComponent = _componentsMarkedForDeletion.get(_deletionLevel).remove(id);
if (removedComponent != null && _deletionLevel > 0)
{
_componentsMarkedForDeletion.get(_deletionLevel-1).remove(id);
}
... | java | private UIComponent removeComponentForDeletion(String id)
{
UIComponent removedComponent = _componentsMarkedForDeletion.get(_deletionLevel).remove(id);
if (removedComponent != null && _deletionLevel > 0)
{
_componentsMarkedForDeletion.get(_deletionLevel-1).remove(id);
}
... | [
"private",
"UIComponent",
"removeComponentForDeletion",
"(",
"String",
"id",
")",
"{",
"UIComponent",
"removedComponent",
"=",
"_componentsMarkedForDeletion",
".",
"get",
"(",
"_deletionLevel",
")",
".",
"remove",
"(",
"id",
")",
";",
"if",
"(",
"removedComponent",
... | Remove a component from the last level of components marked to be deleted.
@param id | [
"Remove",
"a",
"component",
"from",
"the",
"last",
"level",
"of",
"components",
"marked",
"to",
"be",
"deleted",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java#L810-L818 |
110,221 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSTransactionFactory.java | MSTransactionFactory.createAutoCommitTransaction | public ExternalAutoCommitTransaction createAutoCommitTransaction()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createAutoCommitTransaction");
ExternalAutoCommitTransaction instance = new MSAutoCommitTransaction(_ms, _persistence, getMaximumTransactionSize());... | java | public ExternalAutoCommitTransaction createAutoCommitTransaction()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createAutoCommitTransaction");
ExternalAutoCommitTransaction instance = new MSAutoCommitTransaction(_ms, _persistence, getMaximumTransactionSize());... | [
"public",
"ExternalAutoCommitTransaction",
"createAutoCommitTransaction",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createAutoCommit... | This method returns an object that represents a zero-phase or AutoCommit
transaction. It can be used to ensure that a piece of work is carried out
at once, essentially outside of a transaction coordination scope.
@return An instance of AutoCommitTransaction | [
"This",
"method",
"returns",
"an",
"object",
"that",
"represents",
"a",
"zero",
"-",
"phase",
"or",
"AutoCommit",
"transaction",
".",
"It",
"can",
"be",
"used",
"to",
"ensure",
"that",
"a",
"piece",
"of",
"work",
"is",
"carried",
"out",
"at",
"once",
"es... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSTransactionFactory.java#L59-L67 |
110,222 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSTransactionFactory.java | MSTransactionFactory.createLocalTransaction | public ExternalLocalTransaction createLocalTransaction()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createLocalTransaction");
ExternalLocalTransaction instance;
if (_persistenceSupports1PCOptimisation)
{
instance = new MS... | java | public ExternalLocalTransaction createLocalTransaction()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createLocalTransaction");
ExternalLocalTransaction instance;
if (_persistenceSupports1PCOptimisation)
{
instance = new MS... | [
"public",
"ExternalLocalTransaction",
"createLocalTransaction",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createLocalTransaction\"",... | This method is used to create a LocalResource that can either be enlisted as
a particpant in a WebSphere LocalTransactionCoordination scope or used directly
to demarcate a one-phase Resource Manager Local Transaction.
@return An instance of Object | [
"This",
"method",
"is",
"used",
"to",
"create",
"a",
"LocalResource",
"that",
"can",
"either",
"be",
"enlisted",
"as",
"a",
"particpant",
"in",
"a",
"WebSphere",
"LocalTransactionCoordination",
"scope",
"or",
"used",
"directly",
"to",
"demarcate",
"a",
"one",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSTransactionFactory.java#L77-L94 |
110,223 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSTransactionFactory.java | MSTransactionFactory.createXAResource | public ExternalXAResource createXAResource()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createXAResource");
ExternalXAResource instance = new MSDelegatingXAResource(_ms, _persistence, getMaximumTransactionSize());
if (TraceComponent.isAnyTracingEnab... | java | public ExternalXAResource createXAResource()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createXAResource");
ExternalXAResource instance = new MSDelegatingXAResource(_ms, _persistence, getMaximumTransactionSize());
if (TraceComponent.isAnyTracingEnab... | [
"public",
"ExternalXAResource",
"createXAResource",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createXAResource\"",
")",
";",
"... | This method is used to create an XAResource that can be enlisted as a
particpant in a two-phase XA compliant transaction.
@return An instance of XAResource | [
"This",
"method",
"is",
"used",
"to",
"create",
"an",
"XAResource",
"that",
"can",
"be",
"enlisted",
"as",
"a",
"particpant",
"in",
"a",
"two",
"-",
"phase",
"XA",
"compliant",
"transaction",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSTransactionFactory.java#L103-L111 |
110,224 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/impl/JFapOutboundConnLink.java | JFapOutboundConnLink.getChannelAccessor | public Object getChannelAccessor() // F177053
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getChannelAccessor"); // F177053
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "getChannelAccessor", this); // F177053
return this;
} | java | public Object getChannelAccessor() // F177053
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getChannelAccessor"); // F177053
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "getChannelAccessor", this); // F177053
return this;
} | [
"public",
"Object",
"getChannelAccessor",
"(",
")",
"// F177053",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getChannelAccessor\"",
")",
";",
"// F177053",
"if",
"(",
"tc",
".",
"isE... | Returns the interface provided by this channel. Always ourself. | [
"Returns",
"the",
"interface",
"provided",
"by",
"this",
"channel",
".",
"Always",
"ourself",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/impl/JFapOutboundConnLink.java#L99-L104 |
110,225 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/impl/JFapOutboundConnLink.java | JFapOutboundConnLink.getMetaData | public ConversationMetaData getMetaData()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getMetaData");
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "getMetaData", metaData);
return metaData;
} | java | public ConversationMetaData getMetaData()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "getMetaData");
if (tc.isEntryEnabled()) SibTr.exit(this, tc, "getMetaData", metaData);
return metaData;
} | [
"public",
"ConversationMetaData",
"getMetaData",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getMetaData\"",
")",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")... | begin D196678.10.1 | [
"begin",
"D196678",
".",
"10",
".",
"1"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/impl/JFapOutboundConnLink.java#L148-L153 |
110,226 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/impl/JFapOutboundConnLink.java | JFapOutboundConnLink.connect | @SuppressWarnings("unchecked") // Channel Framework implements state map...
public void connect(Object address) throws Exception
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "connect", address);
final JFapAddress jfapAddress = (JFapAddress) address;
if ((jfapAddress != null) && (jfapAddress... | java | @SuppressWarnings("unchecked") // Channel Framework implements state map...
public void connect(Object address) throws Exception
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "connect", address);
final JFapAddress jfapAddress = (JFapAddress) address;
if ((jfapAddress != null) && (jfapAddress... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"// Channel Framework implements state map...",
"public",
"void",
"connect",
"(",
"Object",
"address",
")",
"throws",
"Exception",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry"... | end D196678.10.1 | [
"end",
"D196678",
".",
"10",
".",
"1"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/impl/JFapOutboundConnLink.java#L156-L172 |
110,227 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/SplitControllerImpl.java | SplitControllerImpl.buildSubJobBatchWorkUnits | private void buildSubJobBatchWorkUnits() {
List<Flow> flows = this.split.getFlows();
splitFlowWorkUnits = new ArrayList<BatchSplitFlowWorkUnit>();
for (Flow flow : flows) {
// 1. First, we build the subjob JSLJob model for flows in split
JSLJob splitFlowJSLJob = Parall... | java | private void buildSubJobBatchWorkUnits() {
List<Flow> flows = this.split.getFlows();
splitFlowWorkUnits = new ArrayList<BatchSplitFlowWorkUnit>();
for (Flow flow : flows) {
// 1. First, we build the subjob JSLJob model for flows in split
JSLJob splitFlowJSLJob = Parall... | [
"private",
"void",
"buildSubJobBatchWorkUnits",
"(",
")",
"{",
"List",
"<",
"Flow",
">",
"flows",
"=",
"this",
".",
"split",
".",
"getFlows",
"(",
")",
";",
"splitFlowWorkUnits",
"=",
"new",
"ArrayList",
"<",
"BatchSplitFlowWorkUnit",
">",
"(",
")",
";",
"... | about reobtaining. | [
"about",
"reobtaining",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/SplitControllerImpl.java#L157-L174 |
110,228 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java | PerfLevelDescriptor.getShortPath | public String[] getShortPath() {
if (path == null || path.length == 0)
return null;
int index = 0;
if (path[0].equals(pmiroot)) {
index = 1;
}
if (index == 0)
return path;
String[] ret = new String[path.length - index];
for (in... | java | public String[] getShortPath() {
if (path == null || path.length == 0)
return null;
int index = 0;
if (path[0].equals(pmiroot)) {
index = 1;
}
if (index == 0)
return path;
String[] ret = new String[path.length - index];
for (in... | [
"public",
"String",
"[",
"]",
"getShortPath",
"(",
")",
"{",
"if",
"(",
"path",
"==",
"null",
"||",
"path",
".",
"length",
"==",
"0",
")",
"return",
"null",
";",
"int",
"index",
"=",
"0",
";",
"if",
"(",
"path",
"[",
"0",
"]",
".",
"equals",
"(... | Returns the path of the PerfLevelDescriptor without the preleading "pmi". | [
"Returns",
"the",
"path",
"of",
"the",
"PerfLevelDescriptor",
"without",
"the",
"preleading",
"pmi",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java#L96-L111 |
110,229 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java | PerfLevelDescriptor.comparePath | public int comparePath(String[] otherPath) {
if (path == null)
return -1;
else if (otherPath == null)
return 1;
int minLen = (path.length < otherPath.length) ? path.length : otherPath.length;
for (int i = 0; i < minLen; i++) {
int result = path[i].co... | java | public int comparePath(String[] otherPath) {
if (path == null)
return -1;
else if (otherPath == null)
return 1;
int minLen = (path.length < otherPath.length) ? path.length : otherPath.length;
for (int i = 0; i < minLen; i++) {
int result = path[i].co... | [
"public",
"int",
"comparePath",
"(",
"String",
"[",
"]",
"otherPath",
")",
"{",
"if",
"(",
"path",
"==",
"null",
")",
"return",
"-",
"1",
";",
"else",
"if",
"(",
"otherPath",
"==",
"null",
")",
"return",
"1",
";",
"int",
"minLen",
"=",
"(",
"path",... | Returns 0 if exactly same | [
"Returns",
"0",
"if",
"exactly",
"same"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java#L123-L138 |
110,230 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java | PerfLevelDescriptor.isSubPath | public boolean isSubPath(String[] otherPath) {
if (path == null || otherPath == null)
return false;
if (path.length >= otherPath.length)
return false;
for (int i = 0; i < path.length; i++) {
int result = path[i].compareTo(otherPath[i]);
if (resul... | java | public boolean isSubPath(String[] otherPath) {
if (path == null || otherPath == null)
return false;
if (path.length >= otherPath.length)
return false;
for (int i = 0; i < path.length; i++) {
int result = path[i].compareTo(otherPath[i]);
if (resul... | [
"public",
"boolean",
"isSubPath",
"(",
"String",
"[",
"]",
"otherPath",
")",
"{",
"if",
"(",
"path",
"==",
"null",
"||",
"otherPath",
"==",
"null",
")",
"return",
"false",
";",
"if",
"(",
"path",
".",
"length",
">=",
"otherPath",
".",
"length",
")",
... | Returns true if it's path is a subpath of otherPath | [
"Returns",
"true",
"if",
"it",
"s",
"path",
"is",
"a",
"subpath",
"of",
"otherPath"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java#L150-L164 |
110,231 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java | PerfLevelDescriptor.getModuleName | public String getModuleName() {
if (moduleID != null) {
return moduleID;
}
if (path != null && path.length > MODULE_INDEX)
return path[1];
else
return null;
} | java | public String getModuleName() {
if (moduleID != null) {
return moduleID;
}
if (path != null && path.length > MODULE_INDEX)
return path[1];
else
return null;
} | [
"public",
"String",
"getModuleName",
"(",
")",
"{",
"if",
"(",
"moduleID",
"!=",
"null",
")",
"{",
"return",
"moduleID",
";",
"}",
"if",
"(",
"path",
"!=",
"null",
"&&",
"path",
".",
"length",
">",
"MODULE_INDEX",
")",
"return",
"path",
"[",
"1",
"]"... | Returns the module name in the path | [
"Returns",
"the",
"module",
"name",
"in",
"the",
"path"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java#L169-L178 |
110,232 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java | PerfLevelDescriptor.getSubmoduleName | public String getSubmoduleName() {
if (path != null && path.length > SUBMODULE_INDEX)
return path[SUBMODULE_INDEX];
else
return null;
} | java | public String getSubmoduleName() {
if (path != null && path.length > SUBMODULE_INDEX)
return path[SUBMODULE_INDEX];
else
return null;
} | [
"public",
"String",
"getSubmoduleName",
"(",
")",
"{",
"if",
"(",
"path",
"!=",
"null",
"&&",
"path",
".",
"length",
">",
"SUBMODULE_INDEX",
")",
"return",
"path",
"[",
"SUBMODULE_INDEX",
"]",
";",
"else",
"return",
"null",
";",
"}"
] | Returns the submodule name in the path | [
"Returns",
"the",
"submodule",
"name",
"in",
"the",
"path"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/PerfLevelDescriptor.java#L183-L188 |
110,233 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginExtensionProcessor.java | FormLoginExtensionProcessor.getStoredReq | @Sensitive
private String getStoredReq(HttpServletRequest req, ReferrerURLCookieHandler referrerURLHandler) {
String storedReq = referrerURLHandler.getReferrerURLFromCookies(req, ReferrerURLCookieHandler.REFERRER_URL_COOKIENAME);
if (storedReq != null) {
if (storedReq.equals("/"))
... | java | @Sensitive
private String getStoredReq(HttpServletRequest req, ReferrerURLCookieHandler referrerURLHandler) {
String storedReq = referrerURLHandler.getReferrerURLFromCookies(req, ReferrerURLCookieHandler.REFERRER_URL_COOKIENAME);
if (storedReq != null) {
if (storedReq.equals("/"))
... | [
"@",
"Sensitive",
"private",
"String",
"getStoredReq",
"(",
"HttpServletRequest",
"req",
",",
"ReferrerURLCookieHandler",
"referrerURLHandler",
")",
"{",
"String",
"storedReq",
"=",
"referrerURLHandler",
".",
"getReferrerURLFromCookies",
"(",
"req",
",",
"ReferrerURLCooki... | Always be redirecting to a stored req with the web app... strip any initial slash
@param req
@param referrerURLHandler
@return storedReq | [
"Always",
"be",
"redirecting",
"to",
"a",
"stored",
"req",
"with",
"the",
"web",
"app",
"...",
"strip",
"any",
"initial",
"slash"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginExtensionProcessor.java#L241-L253 |
110,234 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginExtensionProcessor.java | FormLoginExtensionProcessor.getCustomReloginErrorPage | private String getCustomReloginErrorPage(HttpServletRequest req) {
String reLogin = CookieHelper.getCookieValue(req.getCookies(), ReferrerURLCookieHandler.CUSTOM_RELOGIN_URL_COOKIENAME);
if (reLogin != null && reLogin.length() > 0) {
if (reLogin.indexOf("?") < 0)
reLogin += "... | java | private String getCustomReloginErrorPage(HttpServletRequest req) {
String reLogin = CookieHelper.getCookieValue(req.getCookies(), ReferrerURLCookieHandler.CUSTOM_RELOGIN_URL_COOKIENAME);
if (reLogin != null && reLogin.length() > 0) {
if (reLogin.indexOf("?") < 0)
reLogin += "... | [
"private",
"String",
"getCustomReloginErrorPage",
"(",
"HttpServletRequest",
"req",
")",
"{",
"String",
"reLogin",
"=",
"CookieHelper",
".",
"getCookieValue",
"(",
"req",
".",
"getCookies",
"(",
")",
",",
"ReferrerURLCookieHandler",
".",
"CUSTOM_RELOGIN_URL_COOKIENAME",... | Get custom error page that specified in the custom login page
@param req
@return | [
"Get",
"custom",
"error",
"page",
"that",
"specified",
"in",
"the",
"custom",
"login",
"page"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginExtensionProcessor.java#L337-L344 |
110,235 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateBindDn | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateBindDn(boolean immediateOnly) {
try {
return elHelper.processString("bindDn", this.idStoreDefinition.bindDn(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent.isAnyTracingEnabled() &&... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateBindDn(boolean immediateOnly) {
try {
return elHelper.processString("bindDn", this.idStoreDefinition.bindDn(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent.isAnyTracingEnabled() &&... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateBindDn",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"bindDn\"",
",",
"this",
".",
"idStoreDefinition... | Evaluate and return the bindDn.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The bindDn or null if immediateOnly==true AND the value is not evaluated... | [
"Evaluate",
"and",
"return",
"the",
"bindDn",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L153-L163 |
110,236 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateBindDnPassword | @FFDCIgnore(IllegalArgumentException.class)
private ProtectedString evaluateBindDnPassword(boolean immediateOnly) {
String result;
try {
result = elHelper.processString("bindDnPassword", this.idStoreDefinition.bindDnPassword(), immediateOnly, true);
} catch (IllegalArgumentExcep... | java | @FFDCIgnore(IllegalArgumentException.class)
private ProtectedString evaluateBindDnPassword(boolean immediateOnly) {
String result;
try {
result = elHelper.processString("bindDnPassword", this.idStoreDefinition.bindDnPassword(), immediateOnly, true);
} catch (IllegalArgumentExcep... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"ProtectedString",
"evaluateBindDnPassword",
"(",
"boolean",
"immediateOnly",
")",
"{",
"String",
"result",
";",
"try",
"{",
"result",
"=",
"elHelper",
".",
"processString",
"(",
"\"... | Evaluate and return the bindDnPassword.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The bindDnPassword or null if immediateOnly==true AND the value ... | [
"Evaluate",
"and",
"return",
"the",
"bindDnPassword",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L174-L187 |
110,237 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateCallerBaseDn | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerBaseDn(boolean immediateOnly) {
try {
return elHelper.processString("callerBaseDn", this.idStoreDefinition.callerBaseDn(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent.isAnyT... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerBaseDn(boolean immediateOnly) {
try {
return elHelper.processString("callerBaseDn", this.idStoreDefinition.callerBaseDn(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent.isAnyT... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateCallerBaseDn",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"callerBaseDn\"",
",",
"this",
".",
"idSto... | Evaluate and return the callerBaseDn.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The callerBaseDn or null if immediateOnly==true AND the value is n... | [
"Evaluate",
"and",
"return",
"the",
"callerBaseDn",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L198-L208 |
110,238 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateCallerNameAttribute | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerNameAttribute(boolean immediateOnly) {
try {
return elHelper.processString("callerNameAttribute", this.idStoreDefinition.callerNameAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
if (... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerNameAttribute(boolean immediateOnly) {
try {
return elHelper.processString("callerNameAttribute", this.idStoreDefinition.callerNameAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
if (... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateCallerNameAttribute",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"callerNameAttribute\"",
",",
"this",
... | Evaluate and return the callerNameAttribute.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The callerNameAttribute or null if immediateOnly==true AND ... | [
"Evaluate",
"and",
"return",
"the",
"callerNameAttribute",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L219-L229 |
110,239 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateCallerSearchBase | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerSearchBase(boolean immediateOnly) {
try {
return elHelper.processString("callerSearchBase", this.idStoreDefinition.callerSearchBase(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComp... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerSearchBase(boolean immediateOnly) {
try {
return elHelper.processString("callerSearchBase", this.idStoreDefinition.callerSearchBase(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComp... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateCallerSearchBase",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"callerSearchBase\"",
",",
"this",
".",
... | Evaluate and return the callerSearchBase.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The callerSearchBase or null if immediateOnly==true AND the va... | [
"Evaluate",
"and",
"return",
"the",
"callerSearchBase",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L240-L250 |
110,240 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateCallerSearchFilter | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerSearchFilter(boolean immediateOnly) {
try {
return elHelper.processString("callerSearchFilter", this.idStoreDefinition.callerSearchFilter(), immediateOnly);
} catch (IllegalArgumentException e) {
if (Tra... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateCallerSearchFilter(boolean immediateOnly) {
try {
return elHelper.processString("callerSearchFilter", this.idStoreDefinition.callerSearchFilter(), immediateOnly);
} catch (IllegalArgumentException e) {
if (Tra... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateCallerSearchFilter",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"callerSearchFilter\"",
",",
"this",
"... | Evaluate and return the callerSearchFilter.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The callerSearchFilter or null if immediateOnly==true AND th... | [
"Evaluate",
"and",
"return",
"the",
"callerSearchFilter",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L261-L271 |
110,241 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateCallerSearchScope | @FFDCIgnore(IllegalArgumentException.class)
private LdapSearchScope evaluateCallerSearchScope(boolean immediateOnly) {
try {
return elHelper.processLdapSearchScope("callerSearchScopeExpression", this.idStoreDefinition.callerSearchScopeExpression(), this.idStoreDefinition.callerSearchScope(),
... | java | @FFDCIgnore(IllegalArgumentException.class)
private LdapSearchScope evaluateCallerSearchScope(boolean immediateOnly) {
try {
return elHelper.processLdapSearchScope("callerSearchScopeExpression", this.idStoreDefinition.callerSearchScopeExpression(), this.idStoreDefinition.callerSearchScope(),
... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"LdapSearchScope",
"evaluateCallerSearchScope",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processLdapSearchScope",
"(",
"\"callerSearchScopeExpressio... | Evaluate and return the callerSearchScope.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The callerSearchScope or null if immediateOnly==true AND the ... | [
"Evaluate",
"and",
"return",
"the",
"callerSearchScope",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L282-L293 |
110,242 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateGroupMemberAttribute | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupMemberAttribute(boolean immediateOnly) {
try {
return elHelper.processString("groupMemberAttribute", this.idStoreDefinition.groupMemberAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
i... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupMemberAttribute(boolean immediateOnly) {
try {
return elHelper.processString("groupMemberAttribute", this.idStoreDefinition.groupMemberAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
i... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateGroupMemberAttribute",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"groupMemberAttribute\"",
",",
"this",... | Evaluate and return the groupMemberAttribute.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The groupMemberAttribute or null if immediateOnly==true AN... | [
"Evaluate",
"and",
"return",
"the",
"groupMemberAttribute",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L304-L314 |
110,243 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateGroupMemberOfAttribute | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupMemberOfAttribute(boolean immediateOnly) {
try {
return elHelper.processString("groupMemberOfAttribute", this.idStoreDefinition.groupMemberOfAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupMemberOfAttribute(boolean immediateOnly) {
try {
return elHelper.processString("groupMemberOfAttribute", this.idStoreDefinition.groupMemberOfAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateGroupMemberOfAttribute",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"groupMemberOfAttribute\"",
",",
"th... | Evaluate and return the groupMemberOfAttribute.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The groupMemberOfAttribute or null if immediateOnly==tru... | [
"Evaluate",
"and",
"return",
"the",
"groupMemberOfAttribute",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L325-L335 |
110,244 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateGroupNameAttribute | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupNameAttribute(boolean immediateOnly) {
try {
return elHelper.processString("groupNameAttribute", this.idStoreDefinition.groupNameAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
if (Tra... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupNameAttribute(boolean immediateOnly) {
try {
return elHelper.processString("groupNameAttribute", this.idStoreDefinition.groupNameAttribute(), immediateOnly);
} catch (IllegalArgumentException e) {
if (Tra... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateGroupNameAttribute",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"groupNameAttribute\"",
",",
"this",
"... | Evaluate and return the groupNameAttribute.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The groupNameAttribute or null if immediateOnly==true AND th... | [
"Evaluate",
"and",
"return",
"the",
"groupNameAttribute",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L346-L356 |
110,245 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateGroupSearchBase | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupSearchBase(boolean immediateOnly) {
try {
return elHelper.processString("groupSearchBase", this.idStoreDefinition.groupSearchBase(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceCompone... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupSearchBase(boolean immediateOnly) {
try {
return elHelper.processString("groupSearchBase", this.idStoreDefinition.groupSearchBase(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceCompone... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateGroupSearchBase",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"groupSearchBase\"",
",",
"this",
".",
... | Evaluate and return the groupSearchBase.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The groupSearchBase or null if immediateOnly==true AND the valu... | [
"Evaluate",
"and",
"return",
"the",
"groupSearchBase",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L367-L377 |
110,246 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateGroupSearchFilter | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupSearchFilter(boolean immediateOnly) {
try {
return elHelper.processString("groupSearchFilter", this.idStoreDefinition.groupSearchFilter(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceC... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateGroupSearchFilter(boolean immediateOnly) {
try {
return elHelper.processString("groupSearchFilter", this.idStoreDefinition.groupSearchFilter(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceC... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateGroupSearchFilter",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"groupSearchFilter\"",
",",
"this",
"."... | Evaluate and return the groupSearchFilter.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The groupSearchFilter or null if immediateOnly==true AND the ... | [
"Evaluate",
"and",
"return",
"the",
"groupSearchFilter",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L388-L399 |
110,247 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateGroupSearchScope | @FFDCIgnore(IllegalArgumentException.class)
private LdapSearchScope evaluateGroupSearchScope(boolean immediateOnly) {
try {
return elHelper.processLdapSearchScope("groupSearchScopeExpression", this.idStoreDefinition.groupSearchScopeExpression(), this.idStoreDefinition.groupSearchScope(),
... | java | @FFDCIgnore(IllegalArgumentException.class)
private LdapSearchScope evaluateGroupSearchScope(boolean immediateOnly) {
try {
return elHelper.processLdapSearchScope("groupSearchScopeExpression", this.idStoreDefinition.groupSearchScopeExpression(), this.idStoreDefinition.groupSearchScope(),
... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"LdapSearchScope",
"evaluateGroupSearchScope",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processLdapSearchScope",
"(",
"\"groupSearchScopeExpression\... | Evaluate and return the groupSearchScope.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The groupSearchScope or null if immediateOnly==true AND the va... | [
"Evaluate",
"and",
"return",
"the",
"groupSearchScope",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L410-L421 |
110,248 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateMaxResults | @FFDCIgnore(IllegalArgumentException.class)
private Integer evaluateMaxResults(boolean immediateOnly) {
try {
return elHelper.processInt("maxResultsExpression", this.idStoreDefinition.maxResultsExpression(), this.idStoreDefinition.maxResults(), immediateOnly);
} catch (IllegalArgumentExc... | java | @FFDCIgnore(IllegalArgumentException.class)
private Integer evaluateMaxResults(boolean immediateOnly) {
try {
return elHelper.processInt("maxResultsExpression", this.idStoreDefinition.maxResultsExpression(), this.idStoreDefinition.maxResults(), immediateOnly);
} catch (IllegalArgumentExc... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"Integer",
"evaluateMaxResults",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processInt",
"(",
"\"maxResultsExpression\"",
",",
"this",
".",
"i... | Evaluate and return the maxResults.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The maxResults or null if immediateOnly==true AND the value is not e... | [
"Evaluate",
"and",
"return",
"the",
"maxResults",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L432-L442 |
110,249 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluatePriority | @FFDCIgnore(IllegalArgumentException.class)
private Integer evaluatePriority(boolean immediateOnly) {
try {
return elHelper.processInt("priorityExpression", this.idStoreDefinition.priorityExpression(), this.idStoreDefinition.priority(), immediateOnly);
} catch (IllegalArgumentException e... | java | @FFDCIgnore(IllegalArgumentException.class)
private Integer evaluatePriority(boolean immediateOnly) {
try {
return elHelper.processInt("priorityExpression", this.idStoreDefinition.priorityExpression(), this.idStoreDefinition.priority(), immediateOnly);
} catch (IllegalArgumentException e... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"Integer",
"evaluatePriority",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processInt",
"(",
"\"priorityExpression\"",
",",
"this",
".",
"idSto... | Evaluate and return the priority.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The priority or null if immediateOnly==true AND the value is not evalu... | [
"Evaluate",
"and",
"return",
"the",
"priority",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L453-L463 |
110,250 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateReadTimeout | @FFDCIgnore(IllegalArgumentException.class)
private Integer evaluateReadTimeout(boolean immediateOnly) {
try {
return elHelper.processInt("readTimeoutExpression", this.idStoreDefinition.readTimeoutExpression(), this.idStoreDefinition.readTimeout(), immediateOnly);
} catch (IllegalArgumen... | java | @FFDCIgnore(IllegalArgumentException.class)
private Integer evaluateReadTimeout(boolean immediateOnly) {
try {
return elHelper.processInt("readTimeoutExpression", this.idStoreDefinition.readTimeoutExpression(), this.idStoreDefinition.readTimeout(), immediateOnly);
} catch (IllegalArgumen... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"Integer",
"evaluateReadTimeout",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processInt",
"(",
"\"readTimeoutExpression\"",
",",
"this",
".",
... | Evaluate and return the readTimeout.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The readTimeout or null if immediateOnly==true AND the value is not... | [
"Evaluate",
"and",
"return",
"the",
"readTimeout",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L474-L484 |
110,251 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateUrl | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateUrl(boolean immediateOnly) {
try {
return elHelper.processString("url", this.idStoreDefinition.url(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isWar... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateUrl(boolean immediateOnly) {
try {
return elHelper.processString("url", this.idStoreDefinition.url(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isWar... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateUrl",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"url\"",
",",
"this",
".",
"idStoreDefinition",
"... | Evaluate and return the url.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The url or null if immediateOnly==true AND the value is not evaluated
from ... | [
"Evaluate",
"and",
"return",
"the",
"url",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L495-L505 |
110,252 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java | LdapIdentityStoreDefinitionWrapper.evaluateUseFor | @FFDCIgnore(IllegalArgumentException.class)
private Set<ValidationType> evaluateUseFor(boolean immediateOnly) {
try {
return elHelper.processUseFor(this.idStoreDefinition.useForExpression(), this.idStoreDefinition.useFor(), immediateOnly);
} catch (IllegalArgumentException e) {
... | java | @FFDCIgnore(IllegalArgumentException.class)
private Set<ValidationType> evaluateUseFor(boolean immediateOnly) {
try {
return elHelper.processUseFor(this.idStoreDefinition.useForExpression(), this.idStoreDefinition.useFor(), immediateOnly);
} catch (IllegalArgumentException e) {
... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"Set",
"<",
"ValidationType",
">",
"evaluateUseFor",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processUseFor",
"(",
"this",
".",
"idStoreDe... | Evaluate and return the useFor.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The useFor or null if immediateOnly==true AND the value is not evaluated... | [
"Evaluate",
"and",
"return",
"the",
"useFor",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/LdapIdentityStoreDefinitionWrapper.java#L516-L530 |
110,253 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/object/hpel/LogRecordStack.java | LogRecordStack.getStack | public static StackInfo getStack() {
StackInfo result = MDC.get();
return result == null ? new StackInfo() : result;
} | java | public static StackInfo getStack() {
StackInfo result = MDC.get();
return result == null ? new StackInfo() : result;
} | [
"public",
"static",
"StackInfo",
"getStack",
"(",
")",
"{",
"StackInfo",
"result",
"=",
"MDC",
".",
"get",
"(",
")",
";",
"return",
"result",
"==",
"null",
"?",
"new",
"StackInfo",
"(",
")",
":",
"result",
";",
"}"
] | Returns current stack information. It is called by log handler to get
thread specific information which is either passed for the record in a
request or obtained from the thread directly.
@return {@link StackInfo} instance setup in the current thread | [
"Returns",
"current",
"stack",
"information",
".",
"It",
"is",
"called",
"by",
"log",
"handler",
"to",
"get",
"thread",
"specific",
"information",
"which",
"is",
"either",
"passed",
"for",
"the",
"record",
"in",
"a",
"request",
"or",
"obtained",
"from",
"the... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/object/hpel/LogRecordStack.java#L55-L58 |
110,254 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/object/hpel/LogRecordStack.java | LogRecordStack.getThreadID | public static int getThreadID() {
StackInfo result = MDC.get();
return result == null ? HpelHelper.getIntThreadId() : result.threadId;
} | java | public static int getThreadID() {
StackInfo result = MDC.get();
return result == null ? HpelHelper.getIntThreadId() : result.threadId;
} | [
"public",
"static",
"int",
"getThreadID",
"(",
")",
"{",
"StackInfo",
"result",
"=",
"MDC",
".",
"get",
"(",
")",
";",
"return",
"result",
"==",
"null",
"?",
"HpelHelper",
".",
"getIntThreadId",
"(",
")",
":",
"result",
".",
"threadId",
";",
"}"
] | Returns thread id from the current stack. It is called by log handler
to get thread id which is either passed for the record in a request or
obtained from the thread directly.
@return thread id from the stack. | [
"Returns",
"thread",
"id",
"from",
"the",
"current",
"stack",
".",
"It",
"is",
"called",
"by",
"log",
"handler",
"to",
"get",
"thread",
"id",
"which",
"is",
"either",
"passed",
"for",
"the",
"record",
"in",
"a",
"request",
"or",
"obtained",
"from",
"the"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/object/hpel/LogRecordStack.java#L67-L70 |
110,255 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/object/hpel/LogRecordStack.java | LogRecordStack.getExtensions | public static Map<String,String> getExtensions() {
StackInfo result = MDC.get();
if (result == null) {
return StackInfo.collectExtensions();
} else {
return result.extensions;
}
} | java | public static Map<String,String> getExtensions() {
StackInfo result = MDC.get();
if (result == null) {
return StackInfo.collectExtensions();
} else {
return result.extensions;
}
} | [
"public",
"static",
"Map",
"<",
"String",
",",
"String",
">",
"getExtensions",
"(",
")",
"{",
"StackInfo",
"result",
"=",
"MDC",
".",
"get",
"(",
")",
";",
"if",
"(",
"result",
"==",
"null",
")",
"{",
"return",
"StackInfo",
".",
"collectExtensions",
"(... | Returns context extensions from the current stack. It is called by log handler
to get extensions which are either passed for the record in a request or
obtained from the thread directly.
@return extensions from the stack. | [
"Returns",
"context",
"extensions",
"from",
"the",
"current",
"stack",
".",
"It",
"is",
"called",
"by",
"log",
"handler",
"to",
"get",
"extensions",
"which",
"are",
"either",
"passed",
"for",
"the",
"record",
"in",
"a",
"request",
"or",
"obtained",
"from",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/object/hpel/LogRecordStack.java#L79-L86 |
110,256 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/ProxyReferenceStream.java | ProxyReferenceStream.setPubSubInputHandler | public void setPubSubInputHandler(PubSubInputHandler pubSubInputHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setPubSubInputHandler", pubSubInputHandler);
this.pubSubInputHandler = pubSubInputHandler;
if (TraceComponent.isAnyTracingEnabled() && tc.isEn... | java | public void setPubSubInputHandler(PubSubInputHandler pubSubInputHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setPubSubInputHandler", pubSubInputHandler);
this.pubSubInputHandler = pubSubInputHandler;
if (TraceComponent.isAnyTracingEnabled() && tc.isEn... | [
"public",
"void",
"setPubSubInputHandler",
"(",
"PubSubInputHandler",
"pubSubInputHandler",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\... | Method setPubSubInputHandler.
@param pubSubInputHandler | [
"Method",
"setPubSubInputHandler",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/ProxyReferenceStream.java#L93-L99 |
110,257 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/LocalTransactionWrapper.java | LocalTransactionWrapper.getResourceName | @Override
public String getResourceName() {
String nameString = null;
nameString = mcWrapper.gConfigProps.getXpathId();
return nameString;
} | java | @Override
public String getResourceName() {
String nameString = null;
nameString = mcWrapper.gConfigProps.getXpathId();
return nameString;
} | [
"@",
"Override",
"public",
"String",
"getResourceName",
"(",
")",
"{",
"String",
"nameString",
"=",
"null",
";",
"nameString",
"=",
"mcWrapper",
".",
"gConfigProps",
".",
"getXpathId",
"(",
")",
";",
"return",
"nameString",
";",
"}"
] | The most meaningful string to return is the xpath unique identifier | [
"The",
"most",
"meaningful",
"string",
"to",
"return",
"is",
"the",
"xpath",
"unique",
"identifier"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/LocalTransactionWrapper.java#L94-L102 |
110,258 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/exitpoint/systemcontext/SystemContextFactory.java | SystemContextFactory.getConstructor | private static Constructor getConstructor()
{
if (_tc.isEntryEnabled()) SibTr.entry(_tc, "getConstructor");
if (_constructor == null)
{
try
{
Class clazz = Class.forName("com.ibm.ws.sib.exitpoint.systemcontext.SystemContextImpl");
_constructor = clazz.getConstructor(new Cl... | java | private static Constructor getConstructor()
{
if (_tc.isEntryEnabled()) SibTr.entry(_tc, "getConstructor");
if (_constructor == null)
{
try
{
Class clazz = Class.forName("com.ibm.ws.sib.exitpoint.systemcontext.SystemContextImpl");
_constructor = clazz.getConstructor(new Cl... | [
"private",
"static",
"Constructor",
"getConstructor",
"(",
")",
"{",
"if",
"(",
"_tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"_tc",
",",
"\"getConstructor\"",
")",
";",
"if",
"(",
"_constructor",
"==",
"null",
")",
"{",
"try",... | This method creates and returns the constructor of the SystemContextImpl.
@return The SystemContextImpl constructor. | [
"This",
"method",
"creates",
"and",
"returns",
"the",
"constructor",
"of",
"the",
"SystemContextImpl",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/exitpoint/systemcontext/SystemContextFactory.java#L85-L110 |
110,259 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java | BatchUpdateDaemon.invalidateByTemplate | public void invalidateByTemplate(String template, boolean waitOnInvalidation, DCache cache) {
synchronized (this) {
BatchUpdateList bul = getUpdateList(cache);
bul.invalidateByTemplateEvents.put(template, new InvalidateByTemplateEvent(template, CachePerf.LOCAL));
}
if (wa... | java | public void invalidateByTemplate(String template, boolean waitOnInvalidation, DCache cache) {
synchronized (this) {
BatchUpdateList bul = getUpdateList(cache);
bul.invalidateByTemplateEvents.put(template, new InvalidateByTemplateEvent(template, CachePerf.LOCAL));
}
if (wa... | [
"public",
"void",
"invalidateByTemplate",
"(",
"String",
"template",
",",
"boolean",
"waitOnInvalidation",
",",
"DCache",
"cache",
")",
"{",
"synchronized",
"(",
"this",
")",
"{",
"BatchUpdateList",
"bul",
"=",
"getUpdateList",
"(",
"cache",
")",
";",
"bul",
"... | This invalidates all cache entries in all caches whose template
is specified.
@param template The Template that is used to to invalidate fragments.
@param waitOnInvalidation True indicates that this method should
not return until all invalidations have taken effect.
False indicates that the invalidations will take eff... | [
"This",
"invalidates",
"all",
"cache",
"entries",
"in",
"all",
"caches",
"whose",
"template",
"is",
"specified",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java#L95-L103 |
110,260 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java | BatchUpdateDaemon.cacheCommand_Clear | public void cacheCommand_Clear(boolean waitOnInvalidation, DCache cache) {
String template = cache.getCacheName();
synchronized (this) {
BatchUpdateList bul = getUpdateList(cache);
bul.invalidateByIdEvents.clear();
bul.invalidateByTemplateEvents.clear();
b... | java | public void cacheCommand_Clear(boolean waitOnInvalidation, DCache cache) {
String template = cache.getCacheName();
synchronized (this) {
BatchUpdateList bul = getUpdateList(cache);
bul.invalidateByIdEvents.clear();
bul.invalidateByTemplateEvents.clear();
b... | [
"public",
"void",
"cacheCommand_Clear",
"(",
"boolean",
"waitOnInvalidation",
",",
"DCache",
"cache",
")",
"{",
"String",
"template",
"=",
"cache",
".",
"getCacheName",
"(",
")",
";",
"synchronized",
"(",
"this",
")",
"{",
"BatchUpdateList",
"bul",
"=",
"getUp... | This will send a "CLEAR" command to all caches. | [
"This",
"will",
"send",
"a",
"CLEAR",
"command",
"to",
"all",
"caches",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java#L108-L123 |
110,261 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java | BatchUpdateDaemon.invalidateById | public void invalidateById(Object id, boolean waitOnInvalidation, DCache cache) {
invalidateById(id, CachePerf.DIRECT, waitOnInvalidation, cache, Cache.CHECK_PREINVALIDATION_LISTENER);
} | java | public void invalidateById(Object id, boolean waitOnInvalidation, DCache cache) {
invalidateById(id, CachePerf.DIRECT, waitOnInvalidation, cache, Cache.CHECK_PREINVALIDATION_LISTENER);
} | [
"public",
"void",
"invalidateById",
"(",
"Object",
"id",
",",
"boolean",
"waitOnInvalidation",
",",
"DCache",
"cache",
")",
"{",
"invalidateById",
"(",
"id",
",",
"CachePerf",
".",
"DIRECT",
",",
"waitOnInvalidation",
",",
"cache",
",",
"Cache",
".",
"CHECK_PR... | This invalidates all cache entries in all caches whose cache id
or data id is specified. Assumes this is the result of a direct
invalidation.
@param id The id (cache id or data id) that is used to to
invalidate fragments.
@param waitOnInvalidation True indicates that this method should
not return until all invalidatio... | [
"This",
"invalidates",
"all",
"cache",
"entries",
"in",
"all",
"caches",
"whose",
"cache",
"id",
"or",
"data",
"id",
"is",
"specified",
".",
"Assumes",
"this",
"is",
"the",
"result",
"of",
"a",
"direct",
"invalidation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java#L181-L183 |
110,262 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java | BatchUpdateDaemon.pushExternalCacheFragment | public synchronized void pushExternalCacheFragment(ExternalInvalidation externalCacheFragment, DCache cache) {
BatchUpdateList bul = getUpdateList(cache);
bul.pushECFEvents.add(externalCacheFragment);
} | java | public synchronized void pushExternalCacheFragment(ExternalInvalidation externalCacheFragment, DCache cache) {
BatchUpdateList bul = getUpdateList(cache);
bul.pushECFEvents.add(externalCacheFragment);
} | [
"public",
"synchronized",
"void",
"pushExternalCacheFragment",
"(",
"ExternalInvalidation",
"externalCacheFragment",
",",
"DCache",
"cache",
")",
"{",
"BatchUpdateList",
"bul",
"=",
"getUpdateList",
"(",
"cache",
")",
";",
"bul",
".",
"pushECFEvents",
".",
"add",
"(... | This allows an external cache fragment to be added to the
BatchUpdateDaemon.
@param cacheEntry The external cache fragment to be added. | [
"This",
"allows",
"an",
"external",
"cache",
"fragment",
"to",
"be",
"added",
"to",
"the",
"BatchUpdateDaemon",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/BatchUpdateDaemon.java#L202-L205 |
110,263 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/CommsServerByteBuffer.java | CommsServerByteBuffer.getMEMEMessage | public synchronized AbstractMessage getMEMEMessage() throws Exception {
if (tc.isEntryEnabled())
SibTr.entry(this, tc, "getMEMEMessage");
// GRRRRRRRRRRRR Read the FAP Clifford
int messageLength = getInt();
boolean isControlMessage = get() == CommsConstants.MEME_CONTROLMESSA... | java | public synchronized AbstractMessage getMEMEMessage() throws Exception {
if (tc.isEntryEnabled())
SibTr.entry(this, tc, "getMEMEMessage");
// GRRRRRRRRRRRR Read the FAP Clifford
int messageLength = getInt();
boolean isControlMessage = get() == CommsConstants.MEME_CONTROLMESSA... | [
"public",
"synchronized",
"AbstractMessage",
"getMEMEMessage",
"(",
")",
"throws",
"Exception",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getMEMEMessage\"",
")",
";",
"// GRRRRRRRRRRRR Re... | This method will retrieve an ME-ME message from the buffer. A JsMessage or ControlMessage may
be returned from this method.
@return Returns an ME-ME message
@throws Exception if the message cannot be decoded | [
"This",
"method",
"will",
"retrieve",
"an",
"ME",
"-",
"ME",
"message",
"from",
"the",
"buffer",
".",
"A",
"JsMessage",
"or",
"ControlMessage",
"may",
"be",
"returned",
"from",
"this",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/CommsServerByteBuffer.java#L181-L226 |
110,264 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/CommsServerByteBuffer.java | CommsServerByteBuffer.putMEMEMessageWithoutEncode | public synchronized int putMEMEMessageWithoutEncode(AbstractMessage memeMessage,
List<DataSlice> messageParts) {
if (tc.isEntryEnabled())
SibTr.entry(this, tc, "putMEMEMessageWithoutEncode",
new Object... | java | public synchronized int putMEMEMessageWithoutEncode(AbstractMessage memeMessage,
List<DataSlice> messageParts) {
if (tc.isEntryEnabled())
SibTr.entry(this, tc, "putMEMEMessageWithoutEncode",
new Object... | [
"public",
"synchronized",
"int",
"putMEMEMessageWithoutEncode",
"(",
"AbstractMessage",
"memeMessage",
",",
"List",
"<",
"DataSlice",
">",
"messageParts",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",... | This method puts a message into the buffer using the already encoded messageParts parameter.
This is for the case where the encoding has already been performed. The memeMessage parameter
is used to ensure the correct message type is worked out.
@param memeMessage
@param messageParts
@return Returns the overall length... | [
"This",
"method",
"puts",
"a",
"message",
"into",
"the",
"buffer",
"using",
"the",
"already",
"encoded",
"messageParts",
"parameter",
".",
"This",
"is",
"for",
"the",
"case",
"where",
"the",
"encoding",
"has",
"already",
"been",
"performed",
".",
"The",
"mem... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/CommsServerByteBuffer.java#L274-L313 |
110,265 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigRetriever.java | ConfigRetriever.lookupPid | String lookupPid(ConfigID referenceId) {
ExtendedConfiguration config = caSupport.lookupConfiguration(referenceId);
String pid = (config == null) ? null : config.getPid();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "lookupPid(): Lookup of " + refe... | java | String lookupPid(ConfigID referenceId) {
ExtendedConfiguration config = caSupport.lookupConfiguration(referenceId);
String pid = (config == null) ? null : config.getPid();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "lookupPid(): Lookup of " + refe... | [
"String",
"lookupPid",
"(",
"ConfigID",
"referenceId",
")",
"{",
"ExtendedConfiguration",
"config",
"=",
"caSupport",
".",
"lookupConfiguration",
"(",
"referenceId",
")",
";",
"String",
"pid",
"=",
"(",
"config",
"==",
"null",
")",
"?",
"null",
":",
"config",
... | Find a configuration PID from a configuration ID.
@param referenceId the ID to lookup
@return the configuration PID, or null if no configuration is found | [
"Find",
"a",
"configuration",
"PID",
"from",
"a",
"configuration",
"ID",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigRetriever.java#L52-L59 |
110,266 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigRetriever.java | ConfigRetriever.getPid | String getPid(ConfigID configId) throws ConfigNotFoundException {
ExtendedConfiguration config = getConfiguration(configId);
String pid = config.getPid();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getPid(): Lookup of " + configId + " configurati... | java | String getPid(ConfigID configId) throws ConfigNotFoundException {
ExtendedConfiguration config = getConfiguration(configId);
String pid = config.getPid();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getPid(): Lookup of " + configId + " configurati... | [
"String",
"getPid",
"(",
"ConfigID",
"configId",
")",
"throws",
"ConfigNotFoundException",
"{",
"ExtendedConfiguration",
"config",
"=",
"getConfiguration",
"(",
"configId",
")",
";",
"String",
"pid",
"=",
"config",
".",
"getPid",
"(",
")",
";",
"if",
"(",
"Tra... | Find or create a PID for a configuration ID.
@param configId the ID to lookup or create
@return the configuration PID | [
"Find",
"or",
"create",
"a",
"PID",
"for",
"a",
"configuration",
"ID",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigRetriever.java#L67-L74 |
110,267 | OpenLiberty/open-liberty | dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/SchemaManager.java | SchemaManager.overrideDatabaseTerminationToken | private void overrideDatabaseTerminationToken(Map<Object, Object> props) {
String overrideTermToken = null;
String platformClassName = _dbMgr.getDatabasePlatformClassName(_pui);
if (platformClassName != null) {
overrideTermToken = platformTerminationToken.get(platformClassName);
... | java | private void overrideDatabaseTerminationToken(Map<Object, Object> props) {
String overrideTermToken = null;
String platformClassName = _dbMgr.getDatabasePlatformClassName(_pui);
if (platformClassName != null) {
overrideTermToken = platformTerminationToken.get(platformClassName);
... | [
"private",
"void",
"overrideDatabaseTerminationToken",
"(",
"Map",
"<",
"Object",
",",
"Object",
">",
"props",
")",
"{",
"String",
"overrideTermToken",
"=",
"null",
";",
"String",
"platformClassName",
"=",
"_dbMgr",
".",
"getDatabasePlatformClassName",
"(",
"_pui",
... | Helper method that will override the termination token if the database detected is in our
platformTerminationToken list. | [
"Helper",
"method",
"that",
"will",
"override",
"the",
"termination",
"token",
"if",
"the",
"database",
"detected",
"is",
"in",
"our",
"platformTerminationToken",
"list",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence/src/com/ibm/wsspi/persistence/internal/SchemaManager.java#L163-L182 |
110,268 | OpenLiberty/open-liberty | dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/PromptX509TrustManager.java | PromptX509TrustManager.generateDigest | private String generateDigest(String algorithmName, X509Certificate cert) {
try {
MessageDigest md = MessageDigest.getInstance(algorithmName);
md.update(cert.getEncoded());
byte data[] = md.digest();
StringBuilder buffer = new StringBuilder(3 * data.length);
... | java | private String generateDigest(String algorithmName, X509Certificate cert) {
try {
MessageDigest md = MessageDigest.getInstance(algorithmName);
md.update(cert.getEncoded());
byte data[] = md.digest();
StringBuilder buffer = new StringBuilder(3 * data.length);
... | [
"private",
"String",
"generateDigest",
"(",
"String",
"algorithmName",
",",
"X509Certificate",
"cert",
")",
"{",
"try",
"{",
"MessageDigest",
"md",
"=",
"MessageDigest",
".",
"getInstance",
"(",
"algorithmName",
")",
";",
"md",
".",
"update",
"(",
"cert",
".",... | This method is used to create a "SHA-1" or "MD5" digest on an
X509Certificate as the "fingerprint".
@param algorithmName
@param cert
@return String | [
"This",
"method",
"is",
"used",
"to",
"create",
"a",
"SHA",
"-",
"1",
"or",
"MD5",
"digest",
"on",
"an",
"X509Certificate",
"as",
"the",
"fingerprint",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/utils/PromptX509TrustManager.java#L72-L94 |
110,269 | OpenLiberty/open-liberty | dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/WSATAsyncResource.java | WSATAsyncResource.prepareOperation | public int prepareOperation() throws XAException, XAResourceNotAvailableException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "prepareOperation", new Object[] { this });
final int retVal = getXAResource().prepare(_xid);
if (tc.isEntryEnabled())
Tr.exit(tc, "prepareOpera... | java | public int prepareOperation() throws XAException, XAResourceNotAvailableException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "prepareOperation", new Object[] { this });
final int retVal = getXAResource().prepare(_xid);
if (tc.isEntryEnabled())
Tr.exit(tc, "prepareOpera... | [
"public",
"int",
"prepareOperation",
"(",
")",
"throws",
"XAException",
",",
"XAResourceNotAvailableException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"prepareOperation\"",
",",
"new",
"Object",
"[",
... | It's gonna be called asynchronously | [
"It",
"s",
"gonna",
"be",
"called",
"asynchronously"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/WSATAsyncResource.java#L72-L82 |
110,270 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/DefaultConfigurationList.java | DefaultConfigurationList.writeDefaultConfiguration | public void writeDefaultConfiguration(ManifestFileProcessor mfp) {
try {
try {
// Build the list of configurations
buildDefaultConfigurationList(mfp);
// Write <defaultConfiguration>
startDefaultConfigurationSection();
... | java | public void writeDefaultConfiguration(ManifestFileProcessor mfp) {
try {
try {
// Build the list of configurations
buildDefaultConfigurationList(mfp);
// Write <defaultConfiguration>
startDefaultConfigurationSection();
... | [
"public",
"void",
"writeDefaultConfiguration",
"(",
"ManifestFileProcessor",
"mfp",
")",
"{",
"try",
"{",
"try",
"{",
"// Build the list of configurations",
"buildDefaultConfigurationList",
"(",
"mfp",
")",
";",
"// Write <defaultConfiguration>",
"startDefaultConfigurationSecti... | Builds a representation of default configuration and writes it out to the feature list file
@param mfp | [
"Builds",
"a",
"representation",
"of",
"default",
"configuration",
"and",
"writes",
"it",
"out",
"to",
"the",
"feature",
"list",
"file"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/DefaultConfigurationList.java#L347-L388 |
110,271 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/DefaultConfigurationList.java | DefaultConfigurationList.getFeatureString | private String getFeatureString(Set<String> featureNames) {
StringBuilder featureBuilder = new StringBuilder();
if (featureNames != null) {
Iterator<String> iter = featureNames.iterator();
while (iter.hasNext()) {
featureBuilder.append(iter.next());
... | java | private String getFeatureString(Set<String> featureNames) {
StringBuilder featureBuilder = new StringBuilder();
if (featureNames != null) {
Iterator<String> iter = featureNames.iterator();
while (iter.hasNext()) {
featureBuilder.append(iter.next());
... | [
"private",
"String",
"getFeatureString",
"(",
"Set",
"<",
"String",
">",
"featureNames",
")",
"{",
"StringBuilder",
"featureBuilder",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"if",
"(",
"featureNames",
"!=",
"null",
")",
"{",
"Iterator",
"<",
"String",
">... | Build a comma separated string based on the set of feature names.
@return | [
"Build",
"a",
"comma",
"separated",
"string",
"based",
"on",
"the",
"set",
"of",
"feature",
"names",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/DefaultConfigurationList.java#L395-L407 |
110,272 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/DefaultConfigurationList.java | DefaultConfigurationList.buildDefaultConfigurationList | private void buildDefaultConfigurationList(ManifestFileProcessor mfp) {
for (Map.Entry<String, ProvisioningFeatureDefinition> entry : features.entrySet()) {
ProvisioningFeatureDefinition feature = entry.getValue();
Collection<FeatureResource> featureResources = feature.getConstituents(S... | java | private void buildDefaultConfigurationList(ManifestFileProcessor mfp) {
for (Map.Entry<String, ProvisioningFeatureDefinition> entry : features.entrySet()) {
ProvisioningFeatureDefinition feature = entry.getValue();
Collection<FeatureResource> featureResources = feature.getConstituents(S... | [
"private",
"void",
"buildDefaultConfigurationList",
"(",
"ManifestFileProcessor",
"mfp",
")",
"{",
"for",
"(",
"Map",
".",
"Entry",
"<",
"String",
",",
"ProvisioningFeatureDefinition",
">",
"entry",
":",
"features",
".",
"entrySet",
"(",
")",
")",
"{",
"Provisio... | Build a map of bundles to the features that enable them.
@param mfp
@throws IOException
@throws BundleException
@throws XMLStreamException
@throws ParserConfigurationException
@throws SAXException
@throws TransformerException | [
"Build",
"a",
"map",
"of",
"bundles",
"to",
"the",
"features",
"that",
"enable",
"them",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/DefaultConfigurationList.java#L445-L459 |
110,273 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxPrimaryKey.java | TxPrimaryKey.toBytes | public byte[] toBytes()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "toBytes");
final byte[] result = new byte[16];
final int t1 = (int)(_timestamp >> 32 & 0xFFFFFFFFL);
final int t2 = (int)(_timestamp & 0xFFFFFFFFL);
Util.setBytesFromInt(result, 0, 4, t1);
Util.setByte... | java | public byte[] toBytes()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "toBytes");
final byte[] result = new byte[16];
final int t1 = (int)(_timestamp >> 32 & 0xFFFFFFFFL);
final int t2 = (int)(_timestamp & 0xFFFFFFFFL);
Util.setBytesFromInt(result, 0, 4, t1);
Util.setByte... | [
"public",
"byte",
"[",
"]",
"toBytes",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"toBytes\"",
")",
";",
"final",
"byte",
"[",
"]",
"result",
"=",
"new",
"byte",
"[",
"16",
"]",
"... | Build a native TxPrimaryKey suitable for recreating with the mainline
constructor.
<pre>
struct search_key_t {
double timestamp;
unsigned long epochNumber;
unsigned long sequenceNumber;
};
</pre> | [
"Build",
"a",
"native",
"TxPrimaryKey",
"suitable",
"for",
"recreating",
"with",
"the",
"mainline",
"constructor",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TxPrimaryKey.java#L188-L203 |
110,274 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/ProducerType.java | ProducerType.getProducerType | public final static ProducerType getProducerType(Byte aValue) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(tc,"Value = " + aValue);
return set[aValue.intValue()];
} | java | public final static ProducerType getProducerType(Byte aValue) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(tc,"Value = " + aValue);
return set[aValue.intValue()];
} | [
"public",
"final",
"static",
"ProducerType",
"getProducerType",
"(",
"Byte",
"aValue",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"SibTr",
".",
"debug",
"(",
"tc",
",",
"\"... | Returns the corresponding ProducerType for a given Byte.
This method should NOT be called by any code outside the MFP component.
It is only public so that it can be accessed by sub-packages.
@param aValue The Byte for which an ProducerType is required.
@return The corresponding ProducerType | [
"Returns",
"the",
"corresponding",
"ProducerType",
"for",
"a",
"given",
"Byte",
".",
"This",
"method",
"should",
"NOT",
"be",
"called",
"by",
"any",
"code",
"outside",
"the",
"MFP",
"component",
".",
"It",
"is",
"only",
"public",
"so",
"that",
"it",
"can",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/ProducerType.java#L65-L68 |
110,275 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java | H2Headers.decodeHeader | public static H2HeaderField decodeHeader(WsByteBuffer buffer, H2HeaderTable table) throws CompressionException {
return decodeHeader(buffer, table, true, false, null);
} | java | public static H2HeaderField decodeHeader(WsByteBuffer buffer, H2HeaderTable table) throws CompressionException {
return decodeHeader(buffer, table, true, false, null);
} | [
"public",
"static",
"H2HeaderField",
"decodeHeader",
"(",
"WsByteBuffer",
"buffer",
",",
"H2HeaderTable",
"table",
")",
"throws",
"CompressionException",
"{",
"return",
"decodeHeader",
"(",
"buffer",
",",
"table",
",",
"true",
",",
"false",
",",
"null",
")",
";"... | Decode header bytes without validating against connection settings
@param WsByteBuffer
@param H2HeaderTable
@return H2HeaderField
@throws CompressionException | [
"Decode",
"header",
"bytes",
"without",
"validating",
"against",
"connection",
"settings"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java#L43-L45 |
110,276 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java | H2Headers.decodeFragment | private static String decodeFragment(WsByteBuffer buffer) throws CompressionException {
String decodedResult = null;
try {
byte currentByte = buffer.get();
//Reset back position to decode the integer length of this segment.
buffer.position(buffer.position() - 1);
... | java | private static String decodeFragment(WsByteBuffer buffer) throws CompressionException {
String decodedResult = null;
try {
byte currentByte = buffer.get();
//Reset back position to decode the integer length of this segment.
buffer.position(buffer.position() - 1);
... | [
"private",
"static",
"String",
"decodeFragment",
"(",
"WsByteBuffer",
"buffer",
")",
"throws",
"CompressionException",
"{",
"String",
"decodedResult",
"=",
"null",
";",
"try",
"{",
"byte",
"currentByte",
"=",
"buffer",
".",
"get",
"(",
")",
";",
"//Reset back po... | Decode a Fragment of the Header. Fragment in this case refers to the bytes that
represent the integer length and octets length of either the Name or Value of
a Header. For instance, in the case of the Name, the fragment is
+---+---+-----------------------+
| H | Name Length (7+) |
+---+---------------------------+
| N... | [
"Decode",
"a",
"Fragment",
"of",
"the",
"Header",
".",
"Fragment",
"in",
"this",
"case",
"refers",
"to",
"the",
"bytes",
"that",
"represent",
"the",
"integer",
"length",
"and",
"octets",
"length",
"of",
"either",
"the",
"Name",
"or",
"Value",
"of",
"a",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java#L283-L317 |
110,277 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java | H2Headers.checkIsValidH2Header | private static void checkIsValidH2Header(H2HeaderField header, boolean isTrailerField) throws CompressionException {
if (!header.getName().startsWith(":")) {
String headerName = header.getName();
String headerValue = header.getValue();
for (String name : HpackConstants.conne... | java | private static void checkIsValidH2Header(H2HeaderField header, boolean isTrailerField) throws CompressionException {
if (!header.getName().startsWith(":")) {
String headerName = header.getName();
String headerValue = header.getValue();
for (String name : HpackConstants.conne... | [
"private",
"static",
"void",
"checkIsValidH2Header",
"(",
"H2HeaderField",
"header",
",",
"boolean",
"isTrailerField",
")",
"throws",
"CompressionException",
"{",
"if",
"(",
"!",
"header",
".",
"getName",
"(",
")",
".",
"startsWith",
"(",
"\":\"",
")",
")",
"{... | Validate a H2HeaderField object
@param H2HeaderField
@throws CompressionException if the H2HeaderField is not valid | [
"Validate",
"a",
"H2HeaderField",
"object"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java#L442-L463 |
110,278 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java | H2Headers.getContentLengthValue | public static int getContentLengthValue(H2HeaderField header) {
if ("content-length".equalsIgnoreCase(header.getName())) {
return Integer.parseInt(header.getValue());
}
return -1;
} | java | public static int getContentLengthValue(H2HeaderField header) {
if ("content-length".equalsIgnoreCase(header.getName())) {
return Integer.parseInt(header.getValue());
}
return -1;
} | [
"public",
"static",
"int",
"getContentLengthValue",
"(",
"H2HeaderField",
"header",
")",
"{",
"if",
"(",
"\"content-length\"",
".",
"equalsIgnoreCase",
"(",
"header",
".",
"getName",
"(",
")",
")",
")",
"{",
"return",
"Integer",
".",
"parseInt",
"(",
"header",... | Get the content length value from a header, if one exists
@param H2HeaderField
@return the content-length value, or -1 if no content-length is found | [
"Get",
"the",
"content",
"length",
"value",
"from",
"a",
"header",
"if",
"one",
"exists"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/hpack/H2Headers.java#L489-L494 |
110,279 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/webcontainerext/ws/PrepareJspHelper.java | PrepareJspHelper.createListOfEntries | protected synchronized void createListOfEntries(Container container) {
listOfEntries = new ArrayList<String>();
for (Entry entry : container) {
String entryName = entry.getName();
try {
Container dirContainer = entry.adapt(Container.class);
if (dir... | java | protected synchronized void createListOfEntries(Container container) {
listOfEntries = new ArrayList<String>();
for (Entry entry : container) {
String entryName = entry.getName();
try {
Container dirContainer = entry.adapt(Container.class);
if (dir... | [
"protected",
"synchronized",
"void",
"createListOfEntries",
"(",
"Container",
"container",
")",
"{",
"listOfEntries",
"=",
"new",
"ArrayList",
"<",
"String",
">",
"(",
")",
";",
"for",
"(",
"Entry",
"entry",
":",
"container",
")",
"{",
"String",
"entryName",
... | only called by single thread before others are spawned, but going to synchronize to fix findbugs | [
"only",
"called",
"by",
"single",
"thread",
"before",
"others",
"are",
"spawned",
"but",
"going",
"to",
"synchronize",
"to",
"fix",
"findbugs"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/webcontainerext/ws/PrepareJspHelper.java#L213-L239 |
110,280 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/webcontainerext/ws/PrepareJspHelper.java | PrepareJspHelper.getJsp | protected synchronized File getJsp() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINER)) {
logger.logp(Level.FINER, CLASS_NAME, "getJsp", "enter");
}
File[] children;
try {
if (_counter % _notify == 0) {
i... | java | protected synchronized File getJsp() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINER)) {
logger.logp(Level.FINER, CLASS_NAME, "getJsp", "enter");
}
File[] children;
try {
if (_counter % _notify == 0) {
i... | [
"protected",
"synchronized",
"File",
"getJsp",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINER",
")",
")",
"{... | near the beginning | [
"near",
"the",
"beginning"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/webcontainerext/ws/PrepareJspHelper.java#L265-L331 |
110,281 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.setRequestNumber | public void setRequestNumber(int requestNumber) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setRequestNumber", requestNumber);
this.requestNumber = requestNumber;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | java | public void setRequestNumber(int requestNumber) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setRequestNumber", requestNumber);
this.requestNumber = requestNumber;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | [
"public",
"void",
"setRequestNumber",
"(",
"int",
"requestNumber",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"setRequ... | Set the request number.
@param requestNumber The request number. | [
"Set",
"the",
"request",
"number",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L181-L187 |
110,282 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.setComplete | public synchronized void setComplete(boolean completed) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setComplete", completed);
this.completed = completed;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.e... | java | public synchronized void setComplete(boolean completed) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setComplete", completed);
this.completed = completed;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.e... | [
"public",
"synchronized",
"void",
"setComplete",
"(",
"boolean",
"completed",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",... | Sets whether we have set a response or not.
@param completed | [
"Sets",
"whether",
"we",
"have",
"set",
"a",
"response",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L205-L211 |
110,283 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.setCATTimer | public void setCATTimer(Alarm alarm) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setCATTimer", alarm);
this.alarm = alarm;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this, tc, "setCATTimer");
... | java | public void setCATTimer(Alarm alarm) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setCATTimer", alarm);
this.alarm = alarm;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this, tc, "setCATTimer");
... | [
"public",
"void",
"setCATTimer",
"(",
"Alarm",
"alarm",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"setCATTimer\"",
... | Sets the Alarm that is running with asynch session.
@param alarm | [
"Sets",
"the",
"Alarm",
"that",
"is",
"running",
"with",
"asynch",
"session",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L218-L224 |
110,284 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.stopSession | public void stopSession() throws SIException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "stopSession");
mainConsumer.getConsumerSession().stop();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this... | java | public void stopSession() throws SIException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "stopSession");
mainConsumer.getConsumerSession().stop();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this... | [
"public",
"void",
"stopSession",
"(",
")",
"throws",
"SIException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"stopSession... | Stops the main consumer session so that we can be sure
that no more messages will be delivered.
@throws SIException | [
"Stops",
"the",
"main",
"consumer",
"session",
"so",
"that",
"we",
"can",
"be",
"sure",
"that",
"no",
"more",
"messages",
"will",
"be",
"delivered",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L232-L238 |
110,285 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.setTransaction | public void setTransaction(int tran) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setTransaction", tran);
this.transaction = tran;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this, tc, "setTransa... | java | public void setTransaction(int tran) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setTransaction", tran);
this.transaction = tran;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this, tc, "setTransa... | [
"public",
"void",
"setTransaction",
"(",
"int",
"tran",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"setTransaction\"",... | This method will set the transaction that the current
receive should be performed with.
@param tran | [
"This",
"method",
"will",
"set",
"the",
"transaction",
"that",
"the",
"current",
"receive",
"should",
"be",
"performed",
"with",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L246-L252 |
110,286 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.sendEntireMessage | private void sendEntireMessage(JsMessage jsMessage, List<DataSlice> messageSlices)
throws UnsupportedEncodingException, MessageCopyFailedException,
IncorrectMessageTypeException, MessageEncodeFailedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled(... | java | private void sendEntireMessage(JsMessage jsMessage, List<DataSlice> messageSlices)
throws UnsupportedEncodingException, MessageCopyFailedException,
IncorrectMessageTypeException, MessageEncodeFailedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled(... | [
"private",
"void",
"sendEntireMessage",
"(",
"JsMessage",
"jsMessage",
",",
"List",
"<",
"DataSlice",
">",
"messageSlices",
")",
"throws",
"UnsupportedEncodingException",
",",
"MessageCopyFailedException",
",",
"IncorrectMessageTypeException",
",",
"MessageEncodeFailedExcepti... | Sends the message in one transmission back down to our peer. 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 jsMess... | [
"Sends",
"the",
"message",
"in",
"one",
"transmission",
"back",
"down",
"to",
"our",
"peer",
".",
"If",
"the",
"messageSlices",
"parameter",
"is",
"not",
"null",
"then",
"the",
"message",
"has",
"already",
"been",
"encoded",
"and",
"does",
"not",
"need",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L576-L637 |
110,287 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.sendNoMessageToClient | protected void sendNoMessageToClient() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "sendNoMessageToClient");
// Ensure that we set the flag that we have done all we can
setCurrentlyDoingReceiveWithWait(false);
setComplete(true);
... | java | protected void sendNoMessageToClient() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "sendNoMessageToClient");
// Ensure that we set the flag that we have done all we can
setCurrentlyDoingReceiveWithWait(false);
setComplete(true);
... | [
"protected",
"void",
"sendNoMessageToClient",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"sendNoMessageToClient\"",
... | This method will send a message to the client informing it that
no message was received. | [
"This",
"method",
"will",
"send",
"a",
"message",
"to",
"the",
"client",
"informing",
"it",
"that",
"no",
"message",
"was",
"received",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L643-L685 |
110,288 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.sendErrorToClient | protected void sendErrorToClient(Throwable e, String probeId) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "sendErrorToClient", new Object[] { e, probeId });
setComplete(true);
setCurrentlyDoingReceiveWithWait(false);
StaticCATHel... | java | protected void sendErrorToClient(Throwable e, String probeId) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "sendErrorToClient", new Object[] { e, probeId });
setComplete(true);
setCurrentlyDoingReceiveWithWait(false);
StaticCATHel... | [
"protected",
"void",
"sendErrorToClient",
"(",
"Throwable",
"e",
",",
"String",
"probeId",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",... | This method sends an exception to the client and marks the reader
that a response has been sent to the client.
@param e The exception to send back
@param probeId The probe id. | [
"This",
"method",
"sends",
"an",
"exception",
"to",
"the",
"client",
"and",
"marks",
"the",
"reader",
"that",
"a",
"response",
"has",
"been",
"sent",
"to",
"the",
"client",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L694-L705 |
110,289 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.deliverAsynchExceptionToClient | private void deliverAsynchExceptionToClient(Throwable throwable, String probeId) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "deliverAsynchExceptionToClient", throwable);
if (!isComplete()) {
if (alarm != null) {
if (T... | java | private void deliverAsynchExceptionToClient(Throwable throwable, String probeId) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "deliverAsynchExceptionToClient", throwable);
if (!isComplete()) {
if (alarm != null) {
if (T... | [
"private",
"void",
"deliverAsynchExceptionToClient",
"(",
"Throwable",
"throwable",
",",
"String",
"probeId",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
... | Common routine used by all the connection listener methods that
deliver an exception to the client. | [
"Common",
"routine",
"used",
"by",
"all",
"the",
"connection",
"listener",
"methods",
"that",
"deliver",
"an",
"exception",
"to",
"the",
"client",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L731-L762 |
110,290 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java | CATSyncAsynchReader.hasMETerminated | public boolean hasMETerminated() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "hasMETerminated");
final boolean hasMETerminated = ((ConversationState) mainConsumer.getConversation().getAttachment()).hasMETerminated();
if (TraceComponent.isA... | java | public boolean hasMETerminated() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "hasMETerminated");
final boolean hasMETerminated = ((ConversationState) mainConsumer.getConversation().getAttachment()).hasMETerminated();
if (TraceComponent.isA... | [
"public",
"boolean",
"hasMETerminated",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"hasMETerminated\"",
")",
";",... | Returns the value of hasMETerminated from the ConversationState object associated with this object.
@see ConversationState#hasMETerminated()
@return | [
"Returns",
"the",
"value",
"of",
"hasMETerminated",
"from",
"the",
"ConversationState",
"object",
"associated",
"with",
"this",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATSyncAsynchReader.java#L810-L817 |
110,291 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/FeatureDependencyChecker.java | FeatureDependencyChecker.isUninstallable | public Collection<ProvisioningFeatureDefinition> isUninstallable(UninstallAsset uninstallAsset, Collection<ProvisioningFeatureDefinition> installedFeatureDefinitions,
Collection<String> uninstallInstallFeatures, boolean isChecking) {
Collectio... | java | public Collection<ProvisioningFeatureDefinition> isUninstallable(UninstallAsset uninstallAsset, Collection<ProvisioningFeatureDefinition> installedFeatureDefinitions,
Collection<String> uninstallInstallFeatures, boolean isChecking) {
Collectio... | [
"public",
"Collection",
"<",
"ProvisioningFeatureDefinition",
">",
"isUninstallable",
"(",
"UninstallAsset",
"uninstallAsset",
",",
"Collection",
"<",
"ProvisioningFeatureDefinition",
">",
"installedFeatureDefinitions",
",",
"Collection",
"<",
"String",
">",
"uninstallInstall... | Verfiy whether the feature is uninstallable and there is no other installed
features still require this feature.
@param uninstallAsset feature to be uninstalled
@param installedFeatures installed features
@return the name/symbolic name of the feature which still requires the uninstalling feature.
Return null if there ... | [
"Verfiy",
"whether",
"the",
"feature",
"is",
"uninstallable",
"and",
"there",
"is",
"no",
"other",
"installed",
"features",
"still",
"require",
"this",
"feature",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/FeatureDependencyChecker.java#L82-L107 |
110,292 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/FeatureDependencyChecker.java | FeatureDependencyChecker.determineOrder | public List<UninstallAsset> determineOrder(List<UninstallAsset> list) {
Map<String, Integer> visited = new HashMap<String, Integer>();
Map<String, UninstallAsset> assetsMap = new HashMap<String, UninstallAsset>();
for (UninstallAsset ua : list) {
assetsMap.put(ua.getProvisioningFeatu... | java | public List<UninstallAsset> determineOrder(List<UninstallAsset> list) {
Map<String, Integer> visited = new HashMap<String, Integer>();
Map<String, UninstallAsset> assetsMap = new HashMap<String, UninstallAsset>();
for (UninstallAsset ua : list) {
assetsMap.put(ua.getProvisioningFeatu... | [
"public",
"List",
"<",
"UninstallAsset",
">",
"determineOrder",
"(",
"List",
"<",
"UninstallAsset",
">",
"list",
")",
"{",
"Map",
"<",
"String",
",",
"Integer",
">",
"visited",
"=",
"new",
"HashMap",
"<",
"String",
",",
"Integer",
">",
"(",
")",
";",
"... | Determine the order of the features according to their dependency
Use DFS approach to solve the Topological Sort problem.
visited map will be used to store the order of the asset
the DFS will search for all the assets without required features, and work its way backward to find the order.
@param list list of the featu... | [
"Determine",
"the",
"order",
"of",
"the",
"features",
"according",
"to",
"their",
"dependency",
"Use",
"DFS",
"approach",
"to",
"solve",
"the",
"Topological",
"Sort",
"problem",
".",
"visited",
"map",
"will",
"be",
"used",
"to",
"store",
"the",
"order",
"of"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/FeatureDependencyChecker.java#L118-L133 |
110,293 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.homeEnabled | protected final void homeEnabled()
{
if (!enabled)
{
// Provide some meaningful message text. d350987
String msgTxt =
"The referenced version of the " + j2eeName.getComponent() +
" ... | java | protected final void homeEnabled()
{
if (!enabled)
{
// Provide some meaningful message text. d350987
String msgTxt =
"The referenced version of the " + j2eeName.getComponent() +
" ... | [
"protected",
"final",
"void",
"homeEnabled",
"(",
")",
"{",
"if",
"(",
"!",
"enabled",
")",
"{",
"// Provide some meaningful message text. d350987",
"String",
"msgTxt",
"=",
"\"The referenced version of the \"",
"+",
"j2eeName",
".",
"getComponent",
... | Throw a runtime exception if this home is not open for business. | [
"Throw",
"a",
"runtime",
"exception",
"if",
"this",
"home",
"is",
"not",
"open",
"for",
"business",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L342-L376 |
110,294 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.preLoadBeanPool | private void preLoadBeanPool() {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.debug(tc, "preLoadBeanPool: " + j2eeName);
synchronized (beanPool) {
Object oldClassLoader = ThreadContextAccessor.UNCHANGED;
... | java | private void preLoadBeanPool() {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.debug(tc, "preLoadBeanPool: " + j2eeName);
synchronized (beanPool) {
Object oldClassLoader = ThreadContextAccessor.UNCHANGED;
... | [
"private",
"void",
"preLoadBeanPool",
"(",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",... | Pre-load the BeanPool if the BeanPool min value has been configured as a
'hard' limit. Any exceptions encountered will be ignored, and the pool
just not pre-loaded. Currently only supported for Stateless Session
beans. | [
"Pre",
"-",
"load",
"the",
"BeanPool",
"if",
"the",
"BeanPool",
"min",
"value",
"has",
"been",
"configured",
"as",
"a",
"hard",
"limit",
".",
"Any",
"exceptions",
"encountered",
"will",
"be",
"ignored",
"and",
"the",
"pool",
"just",
"not",
"pre",
"-",
"l... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L597-L638 |
110,295 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.destroy | public synchronized void destroy()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled())
Tr.event(tc, "Destroying home ", new Object[] { this, j2eeName });
if (!enabled) {
return;
}
// F743-1751 - Explicitly destroy singletons since they are not... | java | public synchronized void destroy()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled())
Tr.event(tc, "Destroying home ", new Object[] { this, j2eeName });
if (!enabled) {
return;
}
// F743-1751 - Explicitly destroy singletons since they are not... | [
"public",
"synchronized",
"void",
"destroy",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEventEnabled",
"(",
")",
")",
"Tr",
".",
"event",
"(",
"tc",
",",
"\"Destroying home \"",
",",
"new",
"Object... | Disable this home instance and free all resources associated
with it. | [
"Disable",
"this",
"home",
"instance",
"and",
"free",
"all",
"resources",
"associated",
"with",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L644-L674 |
110,296 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.getWrapperSet | public final HomeWrapperSet getWrapperSet() // d648522, d739542
throws CSIException,
RemoteException
{
EJSWrapperCommon w = getWrapper();
Remote remote = beanMetaData.homeRemoteImplClass == null ? null : w.getRemoteWrapper();
Object local = beanMetaData.homeLocalImplC... | java | public final HomeWrapperSet getWrapperSet() // d648522, d739542
throws CSIException,
RemoteException
{
EJSWrapperCommon w = getWrapper();
Remote remote = beanMetaData.homeRemoteImplClass == null ? null : w.getRemoteWrapper();
Object local = beanMetaData.homeLocalImplC... | [
"public",
"final",
"HomeWrapperSet",
"getWrapperSet",
"(",
")",
"// d648522, d739542",
"throws",
"CSIException",
",",
"RemoteException",
"{",
"EJSWrapperCommon",
"w",
"=",
"getWrapper",
"(",
")",
";",
"Remote",
"remote",
"=",
"beanMetaData",
".",
"homeRemoteImplClass"... | Gets the set of wrappers for binding this home to naming. | [
"Gets",
"the",
"set",
"of",
"wrappers",
"for",
"binding",
"this",
"home",
"to",
"naming",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L766-L774 |
110,297 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.createBeanO | @Override
public BeanO createBeanO(EJBThreadData threadData, ContainerTx tx, BeanId id)
throws RemoteException
{
homeEnabled();
BeanO result = createBeanO(threadData, tx, true, null); // d630940
result.setId(id);
return result;
} | java | @Override
public BeanO createBeanO(EJBThreadData threadData, ContainerTx tx, BeanId id)
throws RemoteException
{
homeEnabled();
BeanO result = createBeanO(threadData, tx, true, null); // d630940
result.setId(id);
return result;
} | [
"@",
"Override",
"public",
"BeanO",
"createBeanO",
"(",
"EJBThreadData",
"threadData",
",",
"ContainerTx",
"tx",
",",
"BeanId",
"id",
")",
"throws",
"RemoteException",
"{",
"homeEnabled",
"(",
")",
";",
"BeanO",
"result",
"=",
"createBeanO",
"(",
"threadData",
... | Added ContainerTx d168509; added EJBThreadData d630940 | [
"Added",
"ContainerTx",
"d168509",
";",
"added",
"EJBThreadData",
"d630940"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L1072-L1080 |
110,298 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.createBusinessObject | public Object createBusinessObject(String businessInterfaceName,
boolean useSupporting)
throws CreateException,
RemoteException,
ClassNotFoundException,
EJBConfigurationException
{
final bo... | java | public Object createBusinessObject(String businessInterfaceName,
boolean useSupporting)
throws CreateException,
RemoteException,
ClassNotFoundException,
EJBConfigurationException
{
final bo... | [
"public",
"Object",
"createBusinessObject",
"(",
"String",
"businessInterfaceName",
",",
"boolean",
"useSupporting",
")",
"throws",
"CreateException",
",",
"RemoteException",
",",
"ClassNotFoundException",
",",
"EJBConfigurationException",
"{",
"final",
"boolean",
"isTraceO... | d366807.4 | [
"d366807",
".",
"4"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L1414-L1491 |
110,299 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.createRemoteBusinessObject | public Object createRemoteBusinessObject(int interfaceIndex, ManagedObjectContext context)
throws RemoteException,
CreateException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc,... | java | public Object createRemoteBusinessObject(int interfaceIndex, ManagedObjectContext context)
throws RemoteException,
CreateException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc,... | [
"public",
"Object",
"createRemoteBusinessObject",
"(",
"int",
"interfaceIndex",
",",
"ManagedObjectContext",
"context",
")",
"throws",
"RemoteException",
",",
"CreateException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
... | Method to create a remote business reference object. Once the index
of the interface is found, it is then passed through the EJSWrapperCommon
for the rest of the logic.
@param interfaceIndex the remote business interface index
@param context the context for creating the object, or null | [
"Method",
"to",
"create",
"a",
"remote",
"business",
"reference",
"object",
".",
"Once",
"the",
"index",
"of",
"the",
"interface",
"is",
"found",
"it",
"is",
"then",
"passed",
"through",
"the",
"EJSWrapperCommon",
"for",
"the",
"rest",
"of",
"the",
"logic",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L1660-L1679 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.