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,400
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java
CacheLoader.start
public final void start(long loaderInterval, JsMessagingEngine jsme) throws MessageStoreRuntimeException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", Long.valueOf(loaderInterval)); messagingEngine = jsme; if (loaderInterval >= 0) // Use ...
java
public final void start(long loaderInterval, JsMessagingEngine jsme) throws MessageStoreRuntimeException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", Long.valueOf(loaderInterval)); messagingEngine = jsme; if (loaderInterval >= 0) // Use ...
[ "public", "final", "void", "start", "(", "long", "loaderInterval", ",", "JsMessagingEngine", "jsme", ")", "throws", "MessageStoreRuntimeException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")",...
Start the CacheLoader daemon. @param loaderInterval A time in seconds which will be used as the interval between cycles. If a negative number is given (the default case), then the interval is picked up from a custom property. @param jsme the Messaging Engine instance @throws MessageStoreRuntimeException
[ "Start", "the", "CacheLoader", "daemon", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java#L116-L208
110,401
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java
CacheLoader.stop
public final void stop() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop"); synchronized (alarmLock) { if (enabled) { loaderStopTime = timeNow(); enabled = false; shutdown ...
java
public final void stop() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop"); synchronized (alarmLock) { if (enabled) { loaderStopTime = timeNow(); enabled = false; shutdown ...
[ "public", "final", "void", "stop", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"stop\"", ")", ";", "synchroniz...
Stop the CacheLoader daemon.
[ "Stop", "the", "CacheLoader", "daemon", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java#L213-L233
110,402
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java
CacheLoader.saveStartTime
private int saveStartTime(long time) { int indexUsed = diagIndex; cycleTime[diagIndex++] = time; if (diagIndex >= MAX_DIAG_LOG) { diagIndex = 0; } return indexUsed; }
java
private int saveStartTime(long time) { int indexUsed = diagIndex; cycleTime[diagIndex++] = time; if (diagIndex >= MAX_DIAG_LOG) { diagIndex = 0; } return indexUsed; }
[ "private", "int", "saveStartTime", "(", "long", "time", ")", "{", "int", "indexUsed", "=", "diagIndex", ";", "cycleTime", "[", "diagIndex", "++", "]", "=", "time", ";", "if", "(", "diagIndex", ">=", "MAX_DIAG_LOG", ")", "{", "diagIndex", "=", "0", ";", ...
Keep last n cycle start times for diagnostic dump. @param time the time this cycle started. @return the log index used for this entry.
[ "Keep", "last", "n", "cycle", "start", "times", "for", "diagnostic", "dump", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java#L348-L357
110,403
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java
CacheLoader.scheduleAlarm
private Alarm scheduleAlarm(long timeOut) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "scheduleAlarm timeOut=" + timeOut); Alarm alarm = AlarmManager.createNonDeferrable(timeOut, this); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabl...
java
private Alarm scheduleAlarm(long timeOut) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "scheduleAlarm timeOut=" + timeOut); Alarm alarm = AlarmManager.createNonDeferrable(timeOut, this); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabl...
[ "private", "Alarm", "scheduleAlarm", "(", "long", "timeOut", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"scheduleAlarm...
Schedule the next alarm. @param timeOut the interval for the alarm.
[ "Schedule", "the", "next", "alarm", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/expiry/CacheLoader.java#L363-L371
110,404
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java
ClientSideConnection.getSICoreConnection
public SICoreConnection getSICoreConnection() throws SIConnectionLostException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSICoreConnection"); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "Building connection prox...
java
public SICoreConnection getSICoreConnection() throws SIConnectionLostException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSICoreConnection"); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "Building connection prox...
[ "public", "SICoreConnection", "getSICoreConnection", "(", ")", "throws", "SIConnectionLostException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",...
Returns the SICoreConnection associated with this connection. The actual proxy object will have been created and saved in the conversation state when the server returned us the information about the connection. So, here we just retrieve it and return it. @see ClientConnection#setSICoreConnection(SICoreConnection) @re...
[ "Returns", "the", "SICoreConnection", "associated", "with", "this", "connection", ".", "The", "actual", "proxy", "object", "will", "have", "been", "created", "and", "saved", "in", "the", "conversation", "state", "when", "the", "server", "returned", "us", "the", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java#L383-L395
110,405
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java
ClientSideConnection.sendMFPSchema
public void sendMFPSchema(byte[] schemaData) throws SIConnectionLostException, SIConnectionDroppedException, SIConnectionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "sendMFPSchema"); if (TraceComponent.isA...
java
public void sendMFPSchema(byte[] schemaData) throws SIConnectionLostException, SIConnectionDroppedException, SIConnectionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "sendMFPSchema"); if (TraceComponent.isA...
[ "public", "void", "sendMFPSchema", "(", "byte", "[", "]", "schemaData", ")", "throws", "SIConnectionLostException", ",", "SIConnectionDroppedException", ",", "SIConnectionUnavailableException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&"...
Attempts to send an MFP message schema to the peer at the highest possible priority. At Message encode time MFP can discover that the destination entity cannot decode the message about to be sent. This method is then called to send a top priority transmission containing the message schema ahead of the message relying o...
[ "Attempts", "to", "send", "an", "MFP", "message", "schema", "to", "the", "peer", "at", "the", "highest", "possible", "priority", ".", "At", "Message", "encode", "time", "MFP", "can", "discover", "that", "the", "destination", "entity", "cannot", "decode", "th...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java#L539-L564
110,406
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java
ClientSideConnection.close
public void close() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close"); // We should close the underlying connection at this point try { Conversation conv = getConversation(); if (conv != null) conv.close(); } catch...
java
public void close() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close"); // We should close the underlying connection at this point try { Conversation conv = getConversation(); if (conv != null) conv.close(); } catch...
[ "public", "void", "close", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"close\"", ")", ";", "// We should close ...
Performs a controlled close of this connection. It is not valid to invoke this method whilst within connect processing. If possible, a close request is proporgated to the remote "peer" associated with this ClientConnection.
[ "Performs", "a", "controlled", "close", "of", "this", "connection", ".", "It", "is", "not", "valid", "to", "invoke", "this", "method", "whilst", "within", "connect", "processing", ".", "If", "possible", "a", "close", "request", "is", "proporgated", "to", "th...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java#L572-L592
110,407
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java
ClientSideConnection.connectionClosed
public void connectionClosed(Object linkLevelAttachement) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "connectionClosed", linkLevelAttachement); try { // Get hold of MFP and inform it of connection closure CompHandshake ch = (CompHands...
java
public void connectionClosed(Object linkLevelAttachement) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "connectionClosed", linkLevelAttachement); try { // Get hold of MFP and inform it of connection closure CompHandshake ch = (CompHands...
[ "public", "void", "connectionClosed", "(", "Object", "linkLevelAttachement", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", ...
Called when the JFap channel has closed the underlying connection. At this point we can inform MFP so that they can delete the schema information that refered to this connection. @param linkLevelAttachement
[ "Called", "when", "the", "JFap", "channel", "has", "closed", "the", "underlying", "connection", ".", "At", "this", "point", "we", "can", "inform", "MFP", "so", "that", "they", "can", "delete", "the", "schema", "information", "that", "refered", "to", "this", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java#L621-L638
110,408
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java
ClientSideConnection.requestMFPSchemata
public byte[] requestMFPSchemata(byte[] schemaData) throws SIConnectionLostException, SIConnectionDroppedException, SIConnectionUnavailableException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "requestMFPSchemata");...
java
public byte[] requestMFPSchemata(byte[] schemaData) throws SIConnectionLostException, SIConnectionDroppedException, SIConnectionUnavailableException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "requestMFPSchemata");...
[ "public", "byte", "[", "]", "requestMFPSchemata", "(", "byte", "[", "]", "schemaData", ")", "throws", "SIConnectionLostException", ",", "SIConnectionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIErrorException", "{", "if", "(", "TraceComponent", "....
Used to synchronously request an MFP schema from the server. This code will block until the server replies with the requested data. @param schemaData The data used to request the schema. @return Returns the data
[ "Used", "to", "synchronously", "request", "an", "MFP", "schema", "from", "the", "server", ".", "This", "code", "will", "block", "until", "the", "server", "replies", "with", "the", "requested", "data", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java#L648-L690
110,409
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java
ClientSideConnection.setSchemaSet
public void setSchemaSet(ConnectionSchemaSet schemaSet) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSchemaSet", schemaSet); getConversation().setSchemaSet(schemaSet); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, ...
java
public void setSchemaSet(ConnectionSchemaSet schemaSet) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSchemaSet", schemaSet); getConversation().setSchemaSet(schemaSet); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, ...
[ "public", "void", "setSchemaSet", "(", "ConnectionSchemaSet", "schemaSet", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\...
setSchemaSet Sets the schemaSet in the underlying Connection. @param schemaSet The SchemaSet which pertains to the Connection.
[ "setSchemaSet", "Sets", "the", "schemaSet", "in", "the", "underlying", "Connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java#L698-L703
110,410
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java
ClientSideConnection.getSchemaSet
public ConnectionSchemaSet getSchemaSet() throws SIConnectionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSchemaSet"); ConnectionSchemaSet result = getConversation().getSchemaSet(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntry...
java
public ConnectionSchemaSet getSchemaSet() throws SIConnectionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getSchemaSet"); ConnectionSchemaSet result = getConversation().getSchemaSet(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntry...
[ "public", "ConnectionSchemaSet", "getSchemaSet", "(", ")", "throws", "SIConnectionDroppedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ","...
getSchemaSet Returns the MFP SchemaSet which pertains to the underlying Connection. @throws SIConnectionDroppedException Thrown if the underlying connection is closed. @return ConnectionSchemaSet The SchemaSet belonging to the underlying Connection.
[ "getSchemaSet", "Returns", "the", "MFP", "SchemaSet", "which", "pertains", "to", "the", "underlying", "Connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientSideConnection.java#L713-L719
110,411
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/LoggedOutJwtSsoCookieCache.java
LoggedOutJwtSsoCookieCache.toDigest
private static String toDigest(String input) { md.reset(); try { md.update(input.getBytes("UTF-8")); } catch (UnsupportedEncodingException e) { } String result = com.ibm.ws.common.internal.encoder.Base64Coder.base64EncodeToString(md.digest()); //String result ...
java
private static String toDigest(String input) { md.reset(); try { md.update(input.getBytes("UTF-8")); } catch (UnsupportedEncodingException e) { } String result = com.ibm.ws.common.internal.encoder.Base64Coder.base64EncodeToString(md.digest()); //String result ...
[ "private", "static", "String", "toDigest", "(", "String", "input", ")", "{", "md", ".", "reset", "(", ")", ";", "try", "{", "md", ".", "update", "(", "input", ".", "getBytes", "(", "\"UTF-8\"", ")", ")", ";", "}", "catch", "(", "UnsupportedEncodingExce...
store as digests to save space
[ "store", "as", "digests", "to", "save", "space" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/LoggedOutJwtSsoCookieCache.java#L50-L59
110,412
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/PaddingLogRecord.java
PaddingLogRecord.getBuffers
protected ObjectManagerByteArrayOutputStream[] getBuffers() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "getBuffers"); ObjectManagerByteArrayOut...
java
protected ObjectManagerByteArrayOutputStream[] getBuffers() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "getBuffers"); ObjectManagerByteArrayOut...
[ "protected", "ObjectManagerByteArrayOutputStream", "[", "]", "getBuffers", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", ...
Gives back the serialized LogRecord as an arrays of bytes. @return ObjectManagerByteArrayOutputStream[] the buffers containing the serialized LogRecord.
[ "Gives", "back", "the", "serialized", "LogRecord", "as", "an", "arrays", "of", "bytes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/PaddingLogRecord.java#L194-L217
110,413
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/RemoteExceptionMappingStrategy.java
RemoteExceptionMappingStrategy.mapCSIException
private Exception mapCSIException(EJSDeployedSupport s, CSIException e) throws CSIException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "mapCSIException: " + e); } Exception mappedException = null; String message = " "; // F...
java
private Exception mapCSIException(EJSDeployedSupport s, CSIException e) throws CSIException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "mapCSIException: " + e); } Exception mappedException = null; String message = " "; // F...
[ "private", "Exception", "mapCSIException", "(", "EJSDeployedSupport", "s", ",", "CSIException", "e", ")", "throws", "CSIException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "...
150727 - rewrote most of this method and changed signature.
[ "150727", "-", "rewrote", "most", "of", "this", "method", "and", "changed", "signature", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/RemoteExceptionMappingStrategy.java#L380-L558
110,414
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/RemoteExceptionMappingStrategy.java
RemoteExceptionMappingStrategy.mapEJBException
private Exception mapEJBException(EJSDeployedSupport s, EJBException e) throws CSIException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "mapEJBException: " + e); } Exception mappedException = null; String message = " "; // F...
java
private Exception mapEJBException(EJSDeployedSupport s, EJBException e) throws CSIException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "mapEJBException: " + e); } Exception mappedException = null; String message = " "; // F...
[ "private", "Exception", "mapEJBException", "(", "EJSDeployedSupport", "s", ",", "EJBException", "e", ")", "throws", "CSIException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "...
150727 - added entire method.
[ "150727", "-", "added", "entire", "method", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/RemoteExceptionMappingStrategy.java#L600-L683
110,415
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractListView.java
AbstractListView.getFirst
public Token getFirst(Transaction transaction) throws ObjectManagerException { Iterator iterator = iterator(); return (Token) iterator.next(transaction); }
java
public Token getFirst(Transaction transaction) throws ObjectManagerException { Iterator iterator = iterator(); return (Token) iterator.next(transaction); }
[ "public", "Token", "getFirst", "(", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "Iterator", "iterator", "=", "iterator", "(", ")", ";", "return", "(", "Token", ")", "iterator", ".", "next", "(", "transaction", ")", ";", "}" ]
Retrieves, but does not delete the first entry in the list visible to a transaction. @param Transaction controling visibility of the elements. @return the first element in the list. @exception java.util.NoSuchElementException if there is nothing in the list or it has already been deleted by some other uncommited trans...
[ "Retrieves", "but", "does", "not", "delete", "the", "first", "entry", "in", "the", "list", "visible", "to", "a", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractListView.java#L100-L105
110,416
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/lifecycle/CODIClientSideWindow.java
CODIClientSideWindow.addParameters
public static String addParameters(ExternalContext externalContext, String url, boolean addRequestParameter, boolean addPageParameter, boolean encodeValues) { StringBuilder finalUrl = new StringBuilder(url); boolean existingParameters = url.contains("?"); ...
java
public static String addParameters(ExternalContext externalContext, String url, boolean addRequestParameter, boolean addPageParameter, boolean encodeValues) { StringBuilder finalUrl = new StringBuilder(url); boolean existingParameters = url.contains("?"); ...
[ "public", "static", "String", "addParameters", "(", "ExternalContext", "externalContext", ",", "String", "url", ",", "boolean", "addRequestParameter", ",", "boolean", "addPageParameter", ",", "boolean", "encodeValues", ")", "{", "StringBuilder", "finalUrl", "=", "new"...
Adds the current request-parameters to the given url @param externalContext current external-context @param url current url @param addRequestParameter flag which indicates if the request params should be added or not @param addPageParameter flag which indicates if the view params should be added or not {@see ViewParame...
[ "Adds", "the", "current", "request", "-", "parameters", "to", "the", "given", "url" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/lifecycle/CODIClientSideWindow.java#L330-L379
110,417
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/anycast/AttachedRemoteSubscriberIterator.java
AttachedRemoteSubscriberIterator.next
public Object next() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "next"); } Object result; if (hasNext()) { AnycastInputHandler aih = (AnycastInputHandler) anycastIHIterator.next(); result = aih.getControlAdapter(); } else { result = null; ...
java
public Object next() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "next"); } Object result; if (hasNext()) { AnycastInputHandler aih = (AnycastInputHandler) anycastIHIterator.next(); result = aih.getControlAdapter(); } else { result = null; ...
[ "public", "Object", "next", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"next\"", ")", ";", "}", "Object", "result", ";", "if", "(", "hasNext", "(", ")", ")", "{", "AnycastIn...
This method returns the attached remote subscriber control or null if there isn't one. @return SIMPAttachedRemoteSubscriberControl @see java.util.Iterator#next()
[ "This", "method", "returns", "the", "attached", "remote", "subscriber", "control", "or", "null", "if", "there", "isn", "t", "one", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/anycast/AttachedRemoteSubscriberIterator.java#L92-L116
110,418
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/discrim/SingleDiscriminatorAlgorithm.java
SingleDiscriminatorAlgorithm.discriminate
public int discriminate(VirtualConnection vc, Object discrimData, ConnectionLink prevChannelLink) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "discriminate: " + vc); } ConnectionLink nextChannelLink = nextChannel.getConnectionLink(vc); pr...
java
public int discriminate(VirtualConnection vc, Object discrimData, ConnectionLink prevChannelLink) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "discriminate: " + vc); } ConnectionLink nextChannelLink = nextChannel.getConnectionLink(vc); pr...
[ "public", "int", "discriminate", "(", "VirtualConnection", "vc", ",", "Object", "discrimData", ",", "ConnectionLink", "prevChannelLink", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")"...
Use a VirtualConnection rather than a InboundVirtualConnection for discrimination
[ "Use", "a", "VirtualConnection", "rather", "than", "a", "InboundVirtualConnection", "for", "discrimination" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/discrim/SingleDiscriminatorAlgorithm.java#L57-L65
110,419
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/MetaTagHandlerImpl.java
MetaTagHandlerImpl.createMetaRuleset
protected MetaRuleset createMetaRuleset(Class type) { ParameterCheck.notNull("type", type); return new MetaRulesetImpl(this.tag, type); }
java
protected MetaRuleset createMetaRuleset(Class type) { ParameterCheck.notNull("type", type); return new MetaRulesetImpl(this.tag, type); }
[ "protected", "MetaRuleset", "createMetaRuleset", "(", "Class", "type", ")", "{", "ParameterCheck", ".", "notNull", "(", "\"type\"", ",", "type", ")", ";", "return", "new", "MetaRulesetImpl", "(", "this", ".", "tag", ",", "type", ")", ";", "}" ]
Extend this method in order to add your own rules. @param type @return
[ "Extend", "this", "method", "in", "order", "to", "add", "your", "own", "rules", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/MetaTagHandlerImpl.java#L46-L51
110,420
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/WsLogRecord.java
WsLogRecord.setThrown
@Override public void setThrown(Throwable thrown) { if (thrown != null) { super.setThrown(thrown); this.ivStackTrace = DataFormatHelper.throwableToString(thrown); } }
java
@Override public void setThrown(Throwable thrown) { if (thrown != null) { super.setThrown(thrown); this.ivStackTrace = DataFormatHelper.throwableToString(thrown); } }
[ "@", "Override", "public", "void", "setThrown", "(", "Throwable", "thrown", ")", "{", "if", "(", "thrown", "!=", "null", ")", "{", "super", ".", "setThrown", "(", "thrown", ")", ";", "this", ".", "ivStackTrace", "=", "DataFormatHelper", ".", "throwableToSt...
Set a throwable associated with the log event. @param throwable a throwable
[ "Set", "a", "throwable", "associated", "with", "the", "log", "event", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/WsLogRecord.java#L407-L413
110,421
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/WsLogRecord.java
WsLogRecord.createWsLogRecord
public static WsLogRecord createWsLogRecord(TraceComponent tc, Level level, String msg, Object[] msgParms) { WsLogRecord retMe = new WsLogRecord(level, msg); retMe.setLoggerName(tc.getName()); retMe.setParameters(msgParms); retMe.setTraceClass(tc.getTraceClass()); retMe.setResou...
java
public static WsLogRecord createWsLogRecord(TraceComponent tc, Level level, String msg, Object[] msgParms) { WsLogRecord retMe = new WsLogRecord(level, msg); retMe.setLoggerName(tc.getName()); retMe.setParameters(msgParms); retMe.setTraceClass(tc.getTraceClass()); retMe.setResou...
[ "public", "static", "WsLogRecord", "createWsLogRecord", "(", "TraceComponent", "tc", ",", "Level", "level", ",", "String", "msg", ",", "Object", "[", "]", "msgParms", ")", "{", "WsLogRecord", "retMe", "=", "new", "WsLogRecord", "(", "level", ",", "msg", ")",...
Static method constructs a WsLogRecord object using the given parameters. This bridges Tr-based trace and Logger based trace
[ "Static", "method", "constructs", "a", "WsLogRecord", "object", "using", "the", "given", "parameters", ".", "This", "bridges", "Tr", "-", "based", "trace", "and", "Logger", "based", "trace" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/WsLogRecord.java#L514-L529
110,422
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ejs/container/ClientAsyncResult.java
ClientAsyncResult.isCancelled
public boolean isCancelled() { if (svLogger.isLoggable(Level.FINER)) svLogger.logp(Level.FINER, CLASS_NAME, "isCancelled", toString()); return (ivCancellationException != null); // d614969 }
java
public boolean isCancelled() { if (svLogger.isLoggable(Level.FINER)) svLogger.logp(Level.FINER, CLASS_NAME, "isCancelled", toString()); return (ivCancellationException != null); // d614969 }
[ "public", "boolean", "isCancelled", "(", ")", "{", "if", "(", "svLogger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", "svLogger", ".", "logp", "(", "Level", ".", "FINER", ",", "CLASS_NAME", ",", "\"isCancelled\"", ",", "toString", "(", ")", ...
This method allows clients to check the Future object to see if the asynchronous method was canceled before it got a chance to execute.
[ "This", "method", "allows", "clients", "to", "check", "the", "Future", "object", "to", "see", "if", "the", "asynchronous", "method", "was", "canceled", "before", "it", "got", "a", "chance", "to", "execute", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ejs/container/ClientAsyncResult.java#L180-L184
110,423
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ejs/container/ClientAsyncResult.java
ClientAsyncResult.waitForResult
private Object waitForResult(long timeoutMillis) throws ExecutionException, InterruptedException, TimeoutException, RemoteException { // F16043 final boolean isTraceOn = svLogger.isLoggable(Level.FINER); if (isTraceOn) svLogger.entering(CLASS_NAME, "waitForResult", Long.v...
java
private Object waitForResult(long timeoutMillis) throws ExecutionException, InterruptedException, TimeoutException, RemoteException { // F16043 final boolean isTraceOn = svLogger.isLoggable(Level.FINER); if (isTraceOn) svLogger.entering(CLASS_NAME, "waitForResult", Long.v...
[ "private", "Object", "waitForResult", "(", "long", "timeoutMillis", ")", "throws", "ExecutionException", ",", "InterruptedException", ",", "TimeoutException", ",", "RemoteException", "{", "// F16043", "final", "boolean", "isTraceOn", "=", "svLogger", ".", "isLoggable", ...
Waits for a result using RemoteAsyncResultExtended. @param timeoutMillis the positive number of milliseconds to wait, or 0 to wait forever @see RemoteAsyncResultExtended#waitForResult
[ "Waits", "for", "a", "result", "using", "RemoteAsyncResultExtended", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ejs/container/ClientAsyncResult.java#L350-L440
110,424
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationNamePattern.java
DestinationNamePattern.prepare
public void prepare() throws SIDiscriminatorSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "prepare"); // The user has specified a pattern to match against, check whether it is // wildcarded patternIsWildcarded = mpm.isWildCar...
java
public void prepare() throws SIDiscriminatorSyntaxException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "prepare"); // The user has specified a pattern to match against, check whether it is // wildcarded patternIsWildcarded = mpm.isWildCar...
[ "public", "void", "prepare", "(", ")", "throws", "SIDiscriminatorSyntaxException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"prepare\"", ...
If a pattern is wildcarded we csn parse it up front. @throws SIDiscriminatorSyntaxException
[ "If", "a", "pattern", "is", "wildcarded", "we", "csn", "parse", "it", "up", "front", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationNamePattern.java#L68-L91
110,425
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationNamePattern.java
DestinationNamePattern.match
public boolean match(String destinationName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "match", destinationName); boolean matches = false; if(!patternIsWildcarded) { // Match the name directly through String equality matches ...
java
public boolean match(String destinationName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "match", destinationName); boolean matches = false; if(!patternIsWildcarded) { // Match the name directly through String equality matches ...
[ "public", "boolean", "match", "(", "String", "destinationName", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"match\"", ",", "destina...
Match a string against the pattern represented by this object.
[ "Match", "a", "string", "against", "the", "pattern", "represented", "by", "this", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationNamePattern.java#L96-L159
110,426
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java
WSJdbcWrapper.createClosedException
protected final SQLRecoverableException createClosedException(String ifc) { String message = AdapterUtil.getNLSMessage("OBJECT_CLOSED", ifc); return new SQLRecoverableException(message, "08003", 0); }
java
protected final SQLRecoverableException createClosedException(String ifc) { String message = AdapterUtil.getNLSMessage("OBJECT_CLOSED", ifc); return new SQLRecoverableException(message, "08003", 0); }
[ "protected", "final", "SQLRecoverableException", "createClosedException", "(", "String", "ifc", ")", "{", "String", "message", "=", "AdapterUtil", ".", "getNLSMessage", "(", "\"OBJECT_CLOSED\"", ",", "ifc", ")", ";", "return", "new", "SQLRecoverableException", "(", ...
Create an SQLRecoverableException if exception mapping is enabled, or SQLRecoverableException if exception mapping is disabled. @param ifc the simple interface name (such as Connection) of the closed wrapper. @return an exception indicating the object is closed.
[ "Create", "an", "SQLRecoverableException", "if", "exception", "mapping", "is", "enabled", "or", "SQLRecoverableException", "if", "exception", "mapping", "is", "disabled", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java#L108-L111
110,427
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java
WSJdbcWrapper.invokeOperation
Object invokeOperation(Object implObject, Method method, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { TraceComponent tc = getTracer(); if (tc.isDebugEnabled()) Tr.debug(this, tc, ...
java
Object invokeOperation(Object implObject, Method method, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { TraceComponent tc = getTracer(); if (tc.isDebugEnabled()) Tr.debug(this, tc, ...
[ "Object", "invokeOperation", "(", "Object", "implObject", ",", "Method", "method", ",", "Object", "[", "]", "args", ")", "throws", "IllegalAccessException", ",", "IllegalArgumentException", ",", "InvocationTargetException", ",", "SQLException", "{", "TraceComponent", ...
Invokes a method on the specified object. The data source must override this method to account for dynamic configuration changes. @param implObject the instance on which the operation is invoked. @param method the method that is invoked. @param args the parameters to the method. @throws IllegalAccessException if the ...
[ "Invokes", "a", "method", "on", "the", "specified", "object", ".", "The", "data", "source", "must", "override", "this", "method", "to", "account", "for", "dynamic", "configuration", "changes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java#L325-L334
110,428
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java
WSJdbcWrapper.isWrapperFor
public boolean isWrapperFor(Class<?> interfaceClass) throws SQLException { TraceComponent tc = getTracer(); if (tc.isEntryEnabled()) Tr.entry(this, tc, "isWrapperFor", interfaceClass); boolean isWrapper; try { activate(); isWrapper = interfaceClass.is...
java
public boolean isWrapperFor(Class<?> interfaceClass) throws SQLException { TraceComponent tc = getTracer(); if (tc.isEntryEnabled()) Tr.entry(this, tc, "isWrapperFor", interfaceClass); boolean isWrapper; try { activate(); isWrapper = interfaceClass.is...
[ "public", "boolean", "isWrapperFor", "(", "Class", "<", "?", ">", "interfaceClass", ")", "throws", "SQLException", "{", "TraceComponent", "tc", "=", "getTracer", "(", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(...
Finds out if unwrap can be successfully invoked for the specified interface. @param interfaceClass the requested interface. @return true if unwrap can be invoked, otherwise false. @throws SQLException if an error occurs.
[ "Finds", "out", "if", "unwrap", "can", "be", "successfully", "invoked", "for", "the", "specified", "interface", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java#L358-L397
110,429
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java
WSJdbcWrapper.unwrap
@SuppressWarnings("unchecked") public <T> T unwrap(final Class<T> interfaceClass) throws SQLException { TraceComponent tc = getTracer(); if (tc.isEntryEnabled()) Tr.entry(this, tc, "unwrap", interfaceClass); activate(); Object result; // Return the curren...
java
@SuppressWarnings("unchecked") public <T> T unwrap(final Class<T> interfaceClass) throws SQLException { TraceComponent tc = getTracer(); if (tc.isEntryEnabled()) Tr.entry(this, tc, "unwrap", interfaceClass); activate(); Object result; // Return the curren...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "<", "T", ">", "T", "unwrap", "(", "final", "Class", "<", "T", ">", "interfaceClass", ")", "throws", "SQLException", "{", "TraceComponent", "tc", "=", "getTracer", "(", ")", ";", "if", "(", "t...
Return a class that implements the requested interface, if possible. @param interfaceClass the interface to unwrap. @throws SQLException if this wrapper does not wrap any instances of the requested interface.
[ "Return", "a", "class", "that", "implements", "the", "requested", "interface", "if", "possible", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcWrapper.java#L426-L509
110,430
OpenLiberty/open-liberty
dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPAKeyFileCreatorImpl.java
LTPAKeyFileCreatorImpl.getRealmName
private String getRealmName() { String realm = "defaultRealm"; try { UserRegistry ur = RegistryHelper.getUserRegistry(null); if (ur != null) { String r = ur.getRealm(); if (r != null) { realm = r; } }...
java
private String getRealmName() { String realm = "defaultRealm"; try { UserRegistry ur = RegistryHelper.getUserRegistry(null); if (ur != null) { String r = ur.getRealm(); if (r != null) { realm = r; } }...
[ "private", "String", "getRealmName", "(", ")", "{", "String", "realm", "=", "\"defaultRealm\"", ";", "try", "{", "UserRegistry", "ur", "=", "RegistryHelper", ".", "getUserRegistry", "(", "null", ")", ";", "if", "(", "ur", "!=", "null", ")", "{", "String", ...
Obtains the realm name of the configured UserRegistry, if one is available. @return The configured realm name, or "defaultRealm" if no UserRegistry is present
[ "Obtains", "the", "realm", "name", "of", "the", "configured", "UserRegistry", "if", "one", "is", "available", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPAKeyFileCreatorImpl.java#L40-L57
110,431
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service/src/com/ibm/ws/container/service/naming/JavaColonNamespaceBindings.java
JavaColonNamespaceBindings.getContextName
static String getContextName(String name) { int index = name.lastIndexOf('/'); return index == -1 ? "" : name.substring(0, index); }
java
static String getContextName(String name) { int index = name.lastIndexOf('/'); return index == -1 ? "" : name.substring(0, index); }
[ "static", "String", "getContextName", "(", "String", "name", ")", "{", "int", "index", "=", "name", ".", "lastIndexOf", "(", "'", "'", ")", ";", "return", "index", "==", "-", "1", "?", "\"\"", ":", "name", ".", "substring", "(", "0", ",", "index", ...
Return the context @param name @return
[ "Return", "the", "context" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service/src/com/ibm/ws/container/service/naming/JavaColonNamespaceBindings.java#L92-L95
110,432
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service/src/com/ibm/ws/container/service/naming/JavaColonNamespaceBindings.java
JavaColonNamespaceBindings.bind
public void bind(String name, T binding) { put(name, binding); Map<String, Map<String, NameClassPair>> bindingsByContext = this.contextBindings; if (bindingsByContext != null) { addContextBinding(bindingsByContext, name, binding); } Set<String> contexts = this.conte...
java
public void bind(String name, T binding) { put(name, binding); Map<String, Map<String, NameClassPair>> bindingsByContext = this.contextBindings; if (bindingsByContext != null) { addContextBinding(bindingsByContext, name, binding); } Set<String> contexts = this.conte...
[ "public", "void", "bind", "(", "String", "name", ",", "T", "binding", ")", "{", "put", "(", "name", ",", "binding", ")", ";", "Map", "<", "String", ",", "Map", "<", "String", ",", "NameClassPair", ">", ">", "bindingsByContext", "=", "this", ".", "con...
Adds a binding. @param name the namespace name (e.g., "jdbc/ds") @param binding the binding object
[ "Adds", "a", "binding", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service/src/com/ibm/ws/container/service/naming/JavaColonNamespaceBindings.java#L108-L120
110,433
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service/src/com/ibm/ws/container/service/naming/JavaColonNamespaceBindings.java
JavaColonNamespaceBindings.lookup
public T lookup(String name) throws NamingException { T binding = super.get(name); if (binding != null) { return binding; } // Binding does not exist. Check if any the contexts are bindings. String contextName = name; while (!(contextName = getContextName(co...
java
public T lookup(String name) throws NamingException { T binding = super.get(name); if (binding != null) { return binding; } // Binding does not exist. Check if any the contexts are bindings. String contextName = name; while (!(contextName = getContextName(co...
[ "public", "T", "lookup", "(", "String", "name", ")", "throws", "NamingException", "{", "T", "binding", "=", "super", ".", "get", "(", "name", ")", ";", "if", "(", "binding", "!=", "null", ")", "{", "return", "binding", ";", "}", "// Binding does not exis...
Looks up a binding. @param name the name passed to {@link #bind} @return the binding, or null if unavailable @throws NotContextException if a lookup attempts to use a binding as a context name
[ "Looks", "up", "a", "binding", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service/src/com/ibm/ws/container/service/naming/JavaColonNamespaceBindings.java#L144-L159
110,434
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java
ManagedBeanOBase.setEnterpriseBean
public void setEnterpriseBean(Object bean) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "setEnterpriseBean : " + Util.identity(bean)); ivEjbInstance = bean; }
java
public void setEnterpriseBean(Object bean) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "setEnterpriseBean : " + Util.identity(bean)); ivEjbInstance = bean; }
[ "public", "void", "setEnterpriseBean", "(", "Object", "bean", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\"setEnterpriseBean : \"", "+", ...
Set the actual bean instance. The instance variable should only be set by this method, allowing subclasses to override and perform additional setup when the instance is set. @param instance the actual bean instance
[ "Set", "the", "actual", "bean", "instance", ".", "The", "instance", "variable", "should", "only", "be", "set", "by", "this", "method", "allowing", "subclasses", "to", "override", "and", "perform", "additional", "setup", "when", "the", "instance", "is", "set", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java#L81-L85
110,435
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java
ManagedBeanOBase.createInterceptors
private void createInterceptors(InterceptorMetaData imd) { ivInterceptors = new Object[imd.ivInterceptorClasses.length]; try { imd.createInterceptorInstances(getInjectionEngine(), ivInterceptors, ivEjbManagedObjectContext, this); } catch (Throwable t) { FFDCFilter.proces...
java
private void createInterceptors(InterceptorMetaData imd) { ivInterceptors = new Object[imd.ivInterceptorClasses.length]; try { imd.createInterceptorInstances(getInjectionEngine(), ivInterceptors, ivEjbManagedObjectContext, this); } catch (Throwable t) { FFDCFilter.proces...
[ "private", "void", "createInterceptors", "(", "InterceptorMetaData", "imd", ")", "{", "ivInterceptors", "=", "new", "Object", "[", "imd", ".", "ivInterceptorClasses", ".", "length", "]", ";", "try", "{", "imd", ".", "createInterceptorInstances", "(", "getInjection...
Creates and the interceptor instances for the bean.
[ "Creates", "and", "the", "interceptor", "instances", "for", "the", "bean", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java#L90-L101
110,436
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java
ManagedBeanOBase.injectInstance
protected void injectInstance(ManagedObject<?> managedObject, Object instance, InjectionTargetContext injectionContext) throws EJBException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "injectInstance : " + Util.identity...
java
protected void injectInstance(ManagedObject<?> managedObject, Object instance, InjectionTargetContext injectionContext) throws EJBException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "injectInstance : " + Util.identity...
[ "protected", "void", "injectInstance", "(", "ManagedObject", "<", "?", ">", "managedObject", ",", "Object", "instance", ",", "InjectionTargetContext", "injectionContext", ")", "throws", "EJBException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", ...
Performs resource injection for the managed object instance. Subclasses may override this method to perform additional injection like processing, such as setting the EJBContext via the 2.x APIs. @param managedObject managed object instance @param instance ejb object instance @param injectionContext context data assoc...
[ "Performs", "resource", "injection", "for", "the", "managed", "object", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java#L129-L166
110,437
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java
ManagedBeanOBase.createInterceptorsAndInstance
protected void createInterceptorsAndInstance(CallbackContextHelper contextHelper) throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInterceptorsAndInstance : " + contextHelper); ...
java
protected void createInterceptorsAndInstance(CallbackContextHelper contextHelper) throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInterceptorsAndInstance : " + contextHelper); ...
[ "protected", "void", "createInterceptorsAndInstance", "(", "CallbackContextHelper", "contextHelper", ")", "throws", "InvocationTargetException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn",...
Method for creating interceptors prior to the creation of the bean instance, in case @AroundConstruct exists. <p>
[ "Method", "for", "creating", "interceptors", "prior", "to", "the", "creation", "of", "the", "bean", "instance", "in", "case" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java#L189-L249
110,438
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java
ManagedBeanOBase.createInstance
private void createInstance() throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInstance"); ManagedObjectFactory<?> ejbManagedObjectFactory = home.beanMetaData.ivEnterpriseBean...
java
private void createInstance() throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInstance"); ManagedObjectFactory<?> ejbManagedObjectFactory = home.beanMetaData.ivEnterpriseBean...
[ "private", "void", "createInstance", "(", ")", "throws", "InvocationTargetException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")"...
Creates the bean instance using either the ManagedObjectFactory or constructor.
[ "Creates", "the", "bean", "instance", "using", "either", "the", "ManagedObjectFactory", "or", "constructor", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java#L254-L268
110,439
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java
ManagedBeanOBase.createInstanceUsingMOF
@SuppressWarnings("unchecked") private void createInstanceUsingMOF(ManagedObjectFactory<?> ejbManagedObjectFactory) throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInstanceUsingMO...
java
@SuppressWarnings("unchecked") private void createInstanceUsingMOF(ManagedObjectFactory<?> ejbManagedObjectFactory) throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInstanceUsingMO...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "void", "createInstanceUsingMOF", "(", "ManagedObjectFactory", "<", "?", ">", "ejbManagedObjectFactory", ")", "throws", "InvocationTargetException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent",...
Creates the bean instance using either the ManagedObjectFactory.
[ "Creates", "the", "bean", "instance", "using", "either", "the", "ManagedObjectFactory", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java#L273-L309
110,440
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java
ManagedBeanOBase.createInstanceUsingConstructor
private void createInstanceUsingConstructor() throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInstanceUsingConstructor"); try { if (isTraceOn && tc.isDebugEnabled...
java
private void createInstanceUsingConstructor() throws InvocationTargetException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "createInstanceUsingConstructor"); try { if (isTraceOn && tc.isDebugEnabled...
[ "private", "void", "createInstanceUsingConstructor", "(", ")", "throws", "InvocationTargetException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "...
Creates the bean instance using the constructor.
[ "Creates", "the", "bean", "instance", "using", "the", "constructor", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ManagedBeanOBase.java#L314-L335
110,441
OpenLiberty/open-liberty
dev/com.ibm.ws.security.jca/src/com/ibm/ws/security/jca/internal/AuthDataServiceImpl.java
AuthDataServiceImpl.optimize
private void optimize(final Subject subject) { if (System.getSecurityManager() == null) subject.setReadOnly(); else AccessController.doPrivileged(new PrivilegedAction<Void>() { @Override public Void run() { subject.setReadOnly()...
java
private void optimize(final Subject subject) { if (System.getSecurityManager() == null) subject.setReadOnly(); else AccessController.doPrivileged(new PrivilegedAction<Void>() { @Override public Void run() { subject.setReadOnly()...
[ "private", "void", "optimize", "(", "final", "Subject", "subject", ")", "{", "if", "(", "System", ".", "getSecurityManager", "(", ")", "==", "null", ")", "subject", ".", "setReadOnly", "(", ")", ";", "else", "AccessController", ".", "doPrivileged", "(", "n...
To optimize the subject the subject must be marked as read only and be placed in the cache.
[ "To", "optimize", "the", "subject", "the", "subject", "must", "be", "marked", "as", "read", "only", "and", "be", "placed", "in", "the", "cache", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jca/src/com/ibm/ws/security/jca/internal/AuthDataServiceImpl.java#L208-L219
110,442
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.filemonitor/src/com/ibm/ws/kernel/filemonitor/internal/MonitorHolder.java
MonitorHolder.start
private synchronized void start() { // only reschedule if monitor is still active (not in the process of being initialized or destroyed // don't schedule a task if there are no monitors or the monitorInterval was set to 0 // don't schedule a task if the framework is stopping if (schedule...
java
private synchronized void start() { // only reschedule if monitor is still active (not in the process of being initialized or destroyed // don't schedule a task if there are no monitors or the monitorInterval was set to 0 // don't schedule a task if the framework is stopping if (schedule...
[ "private", "synchronized", "void", "start", "(", ")", "{", "// only reschedule if monitor is still active (not in the process of being initialized or destroyed", "// don't schedule a task if there are no monitors or the monitorInterval was set to 0", "// don't schedule a task if the framework is s...
Start monitoring the file collection
[ "Start", "monitoring", "the", "file", "collection" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.filemonitor/src/com/ibm/ws/kernel/filemonitor/internal/MonitorHolder.java#L449-L463
110,443
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.filemonitor/src/com/ibm/ws/kernel/filemonitor/internal/MonitorHolder.java
MonitorHolder.doDestroy
private boolean doDestroy() { // Try to obtain the scan lock to destroy all associated monitors // Other users of the scanLock should check the destroy flag // before they release the lock to determine whether or not // resources should be destroyed if (scanLock.tryLock()) { ...
java
private boolean doDestroy() { // Try to obtain the scan lock to destroy all associated monitors // Other users of the scanLock should check the destroy flag // before they release the lock to determine whether or not // resources should be destroyed if (scanLock.tryLock()) { ...
[ "private", "boolean", "doDestroy", "(", ")", "{", "// Try to obtain the scan lock to destroy all associated monitors", "// Other users of the scanLock should check the destroy flag", "// before they release the lock to determine whether or not", "// resources should be destroyed", "if", "(", ...
Will actually destroy the monitors if and only if the monitor state has already been set to DESTROY.
[ "Will", "actually", "destroy", "the", "monitors", "if", "and", "only", "if", "the", "monitor", "state", "has", "already", "been", "set", "to", "DESTROY", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.filemonitor/src/com/ibm/ws/kernel/filemonitor/internal/MonitorHolder.java#L515-L546
110,444
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.filemonitor/src/com/ibm/ws/kernel/filemonitor/internal/MonitorHolder.java
MonitorHolder.processFileRefresh
void processFileRefresh(boolean doFilterPaths, String listenerFilter) { externalScan(null, null, null, doFilterPaths, listenerFilter); }
java
void processFileRefresh(boolean doFilterPaths, String listenerFilter) { externalScan(null, null, null, doFilterPaths, listenerFilter); }
[ "void", "processFileRefresh", "(", "boolean", "doFilterPaths", ",", "String", "listenerFilter", ")", "{", "externalScan", "(", "null", ",", "null", ",", "null", ",", "doFilterPaths", ",", "listenerFilter", ")", ";", "}" ]
Processes file refresh operations for specific listeners. @param doFilterPaths The filter indicator. If true, input paths are filtered against pending file events. If false, all pending file events are processed. @param listenerFilter The filter string that allows only those listeners with a matching id to be called t...
[ "Processes", "file", "refresh", "operations", "for", "specific", "listeners", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.filemonitor/src/com/ibm/ws/kernel/filemonitor/internal/MonitorHolder.java#L1142-L1144
110,445
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringBrowseCursor.java
GatheringBrowseCursor.next
public JsMessage next() throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "next"); JsMessage msg = null; Iterator<BrowseCursor> it = cursors.iterator(); while(it.hasNext() && msg==null) msg = it.ne...
java
public JsMessage next() throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "next"); JsMessage msg = null; Iterator<BrowseCursor> it = cursors.iterator(); while(it.hasNext() && msg==null) msg = it.ne...
[ "public", "JsMessage", "next", "(", ")", "throws", "SIResourceException", ",", "SISessionDroppedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "t...
The gathering browse will browse messages from the local itemstream as a priority. If none are found it will move through the other queue points until it finds a message.
[ "The", "gathering", "browse", "will", "browse", "messages", "from", "the", "local", "itemstream", "as", "a", "priority", ".", "If", "none", "are", "found", "it", "will", "move", "through", "the", "other", "queue", "points", "until", "it", "finds", "a", "me...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringBrowseCursor.java#L81-L95
110,446
OpenLiberty/open-liberty
dev/com.ibm.ws.install.map/src/com/ibm/ws/install/map/InstallMap.java
InstallMap.sortFile
public static void sortFile(List<File> jarsList, final String fName) { Collections.sort(jarsList, new Comparator<File>() { @Override public int compare(File f1, File f2) { String f1Name = f1.getName(); f1Name = f1Name.substring(fName.length() + 1, f1Name.l...
java
public static void sortFile(List<File> jarsList, final String fName) { Collections.sort(jarsList, new Comparator<File>() { @Override public int compare(File f1, File f2) { String f1Name = f1.getName(); f1Name = f1Name.substring(fName.length() + 1, f1Name.l...
[ "public", "static", "void", "sortFile", "(", "List", "<", "File", ">", "jarsList", ",", "final", "String", "fName", ")", "{", "Collections", ".", "sort", "(", "jarsList", ",", "new", "Comparator", "<", "File", ">", "(", ")", "{", "@", "Override", "publ...
Compare files in jarsList based on file name's length Sort the files depending on the comparison @param jarsList -abstract representation of file/directory names @param fName - name of file
[ "Compare", "files", "in", "jarsList", "based", "on", "file", "name", "s", "length", "Sort", "the", "files", "depending", "on", "the", "comparison" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install.map/src/com/ibm/ws/install/map/InstallMap.java#L323-L338
110,447
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/URL/ParserUtils.java
ParserUtils.encode
public static String encode(String s) { if (s == null) { return null; } StringBuilder builder = null; int begin = 0; for (int i = 0, length = s.length(); i < length; i++) { char ch = s.charAt(i); // RFC 2396, Section 3.3. See also: ...
java
public static String encode(String s) { if (s == null) { return null; } StringBuilder builder = null; int begin = 0; for (int i = 0, length = s.length(); i < length; i++) { char ch = s.charAt(i); // RFC 2396, Section 3.3. See also: ...
[ "public", "static", "String", "encode", "(", "String", "s", ")", "{", "if", "(", "s", "==", "null", ")", "{", "return", "null", ";", "}", "StringBuilder", "builder", "=", "null", ";", "int", "begin", "=", "0", ";", "for", "(", "int", "i", "=", "0...
Encodes a URL path string. This method is suitable only for URL path strings and is unsuitable for other URL components. @param s the string to encode @return the encoded string
[ "Encodes", "a", "URL", "path", "string", ".", "This", "method", "is", "suitable", "only", "for", "URL", "path", "strings", "and", "is", "unsuitable", "for", "other", "URL", "components", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/URL/ParserUtils.java#L23-L155
110,448
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/URL/ParserUtils.java
ParserUtils.appendURLEscapeEncoding
private static void appendURLEscapeEncoding(StringBuilder builder, int ch) { builder.append('%'); builder.append(Character.forDigit(ch >> 4, 16)); builder.append(Character.forDigit(ch & 0xf, 16)); }
java
private static void appendURLEscapeEncoding(StringBuilder builder, int ch) { builder.append('%'); builder.append(Character.forDigit(ch >> 4, 16)); builder.append(Character.forDigit(ch & 0xf, 16)); }
[ "private", "static", "void", "appendURLEscapeEncoding", "(", "StringBuilder", "builder", ",", "int", "ch", ")", "{", "builder", ".", "append", "(", "'", "'", ")", ";", "builder", ".", "append", "(", "Character", ".", "forDigit", "(", "ch", ">>", "4", ","...
Append a URL escape encoding for the specified character byte.
[ "Append", "a", "URL", "escape", "encoding", "for", "the", "specified", "character", "byte", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/URL/ParserUtils.java#L158-L162
110,449
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpISCWriteErrorCallback.java
HttpISCWriteErrorCallback.complete
@Override public void complete(VirtualConnection vc) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "complete() called: vc=" + vc); } // The VC might be null if the channel was destroyed before the callback completes if (vc != null) { ...
java
@Override public void complete(VirtualConnection vc) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "complete() called: vc=" + vc); } // The VC might be null if the channel was destroyed before the callback completes if (vc != null) { ...
[ "@", "Override", "public", "void", "complete", "(", "VirtualConnection", "vc", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\"comp...
Called by the device side channel when the write has finished. @param vc
[ "Called", "by", "the", "device", "side", "channel", "when", "the", "write", "has", "finished", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpISCWriteErrorCallback.java#L54-L65
110,450
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpISCWriteErrorCallback.java
HttpISCWriteErrorCallback.error
@Override public void error(VirtualConnection vc, Throwable t) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "error() called: vc=" + vc + " t=" + t); } // The VC might be null if the channel was destroyed before the callback completes ...
java
@Override public void error(VirtualConnection vc, Throwable t) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "error() called: vc=" + vc + " t=" + t); } // The VC might be null if the channel was destroyed before the callback completes ...
[ "@", "Override", "public", "void", "error", "(", "VirtualConnection", "vc", ",", "Throwable", "t", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "("...
Called by the devide side channel when the write had an error. @param vc @param t
[ "Called", "by", "the", "devide", "side", "channel", "when", "the", "write", "had", "an", "error", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpISCWriteErrorCallback.java#L73-L91
110,451
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.startTable
protected void startTable(FacesContext facesContext, UIComponent uiComponent) throws IOException { ResponseWriter writer = facesContext.getResponseWriter(); writer.startElement(HTML.TABLE_ELEM, uiComponent); Map<String, List<ClientBehavior>> behaviors = null; if (uiComponent...
java
protected void startTable(FacesContext facesContext, UIComponent uiComponent) throws IOException { ResponseWriter writer = facesContext.getResponseWriter(); writer.startElement(HTML.TABLE_ELEM, uiComponent); Map<String, List<ClientBehavior>> behaviors = null; if (uiComponent...
[ "protected", "void", "startTable", "(", "FacesContext", "facesContext", ",", "UIComponent", "uiComponent", ")", "throws", "IOException", "{", "ResponseWriter", "writer", "=", "facesContext", ".", "getResponseWriter", "(", ")", ";", "writer", ".", "startElement", "("...
actually render the start of the table
[ "actually", "render", "the", "start", "of", "the", "table" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L133-L195
110,452
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.encodeChildren
public void encodeChildren(FacesContext facesContext, UIComponent component) throws IOException { RendererUtils.checkParamValidity(facesContext, component, UIData.class); beforeBody(facesContext, (UIData) component); encodeInnerHtml(facesContext, component); afterBody(facesContext...
java
public void encodeChildren(FacesContext facesContext, UIComponent component) throws IOException { RendererUtils.checkParamValidity(facesContext, component, UIData.class); beforeBody(facesContext, (UIData) component); encodeInnerHtml(facesContext, component); afterBody(facesContext...
[ "public", "void", "encodeChildren", "(", "FacesContext", "facesContext", ",", "UIComponent", "component", ")", "throws", "IOException", "{", "RendererUtils", ".", "checkParamValidity", "(", "facesContext", ",", "component", ",", "UIData", ".", "class", ")", ";", "...
Render the TBODY section of the html table. See also method encodeInnerHtml. @see javax.faces.render.Renderer#encodeChildren(FacesContext, UIComponent)
[ "Render", "the", "TBODY", "section", "of", "the", "html", "table", ".", "See", "also", "method", "encodeInnerHtml", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L202-L211
110,453
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.renderCaptionFacet
protected void renderCaptionFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException { HtmlRendererUtils.renderTableCaption(facesContext, writer, component); }
java
protected void renderCaptionFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException { HtmlRendererUtils.renderTableCaption(facesContext, writer, component); }
[ "protected", "void", "renderCaptionFacet", "(", "FacesContext", "facesContext", ",", "ResponseWriter", "writer", ",", "UIComponent", "component", ")", "throws", "IOException", "{", "HtmlRendererUtils", ".", "renderTableCaption", "(", "facesContext", ",", "writer", ",", ...
Renders the caption facet. @param facesContext the <code>FacesContext</code>. @param writer the <code>ResponseWriter</code>. @param component the parent <code>UIComponent</code> containing the facets. @throws IOException if an exception occurs.
[ "Renders", "the", "caption", "facet", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L220-L224
110,454
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.renderColgroupsFacet
protected void renderColgroupsFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException { UIComponent colgroupsFacet = component.getFacet("colgroups"); if (colgroupsFacet == null) { // no facet to be rendered return;...
java
protected void renderColgroupsFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException { UIComponent colgroupsFacet = component.getFacet("colgroups"); if (colgroupsFacet == null) { // no facet to be rendered return;...
[ "protected", "void", "renderColgroupsFacet", "(", "FacesContext", "facesContext", ",", "ResponseWriter", "writer", ",", "UIComponent", "component", ")", "throws", "IOException", "{", "UIComponent", "colgroupsFacet", "=", "component", ".", "getFacet", "(", "\"colgroups\"...
Renders the colgroups facet. @param facesContext the <code>FacesContext</code>. @param writer the <code>ResponseWriter</code>. @param component the parent <code>UIComponent</code> containing the facets. @throws IOException if an exception occurs. @since 2.0
[ "Renders", "the", "colgroups", "facet", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L234-L246
110,455
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.getStyles
protected static Styles getStyles(UIData uiData) { String rowClasses; String columnClasses; if(uiData instanceof HtmlDataTable) { rowClasses = ((HtmlDataTable)uiData).getRowClasses(); columnClasses = ((HtmlDataTable)uiData).getColumnClasses(); } ...
java
protected static Styles getStyles(UIData uiData) { String rowClasses; String columnClasses; if(uiData instanceof HtmlDataTable) { rowClasses = ((HtmlDataTable)uiData).getRowClasses(); columnClasses = ((HtmlDataTable)uiData).getColumnClasses(); } ...
[ "protected", "static", "Styles", "getStyles", "(", "UIData", "uiData", ")", "{", "String", "rowClasses", ";", "String", "columnClasses", ";", "if", "(", "uiData", "instanceof", "HtmlDataTable", ")", "{", "rowClasses", "=", "(", "(", "HtmlDataTable", ")", "uiDa...
Gets styles for the specified component.
[ "Gets", "styles", "for", "the", "specified", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L251-L266
110,456
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.renderRowStart
protected void renderRowStart( FacesContext facesContext, ResponseWriter writer, UIData uiData, Styles styles, int rowStyleIndex) throws IOException { writer.startElement(HTML.TR_ELEM, null); // uiData); renderRowStyle(facesContext, writer, uiData, styles, ro...
java
protected void renderRowStart( FacesContext facesContext, ResponseWriter writer, UIData uiData, Styles styles, int rowStyleIndex) throws IOException { writer.startElement(HTML.TR_ELEM, null); // uiData); renderRowStyle(facesContext, writer, uiData, styles, ro...
[ "protected", "void", "renderRowStart", "(", "FacesContext", "facesContext", ",", "ResponseWriter", "writer", ",", "UIData", "uiData", ",", "Styles", "styles", ",", "int", "rowStyleIndex", ")", "throws", "IOException", "{", "writer", ".", "startElement", "(", "HTML...
Renders the start of a new row of body content. @param facesContext the <code>FacesContext</code>. @param writer the <code>ResponseWriter</code>. @param uiData the <code>UIData</code> being rendered. @throws IOException if an exceptoin occurs.
[ "Renders", "the", "start", "of", "a", "new", "row", "of", "body", "content", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L698-L714
110,457
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.renderRowEnd
protected void renderRowEnd( FacesContext facesContext, ResponseWriter writer, UIData uiData) throws IOException { writer.endElement(HTML.TR_ELEM); }
java
protected void renderRowEnd( FacesContext facesContext, ResponseWriter writer, UIData uiData) throws IOException { writer.endElement(HTML.TR_ELEM); }
[ "protected", "void", "renderRowEnd", "(", "FacesContext", "facesContext", ",", "ResponseWriter", "writer", ",", "UIData", "uiData", ")", "throws", "IOException", "{", "writer", ".", "endElement", "(", "HTML", ".", "TR_ELEM", ")", ";", "}" ]
Renders the end of a row of body content. @param facesContext the <code>FacesContext</code>. @param writer the <code>ResponseWriter</code>. @param uiData the <code>UIData</code> being rendered. @throws IOException if an exceptoin occurs.
[ "Renders", "the", "end", "of", "a", "row", "of", "body", "content", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L733-L739
110,458
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.endTable
protected void endTable(FacesContext facesContext, UIComponent uiComponent) throws IOException { ResponseWriter writer = facesContext.getResponseWriter(); writer.endElement(HTML.TABLE_ELEM); }
java
protected void endTable(FacesContext facesContext, UIComponent uiComponent) throws IOException { ResponseWriter writer = facesContext.getResponseWriter(); writer.endElement(HTML.TABLE_ELEM); }
[ "protected", "void", "endTable", "(", "FacesContext", "facesContext", ",", "UIComponent", "uiComponent", ")", "throws", "IOException", "{", "ResponseWriter", "writer", "=", "facesContext", ".", "getResponseWriter", "(", ")", ";", "writer", ".", "endElement", "(", ...
actually render the end of the table
[ "actually", "render", "the", "end", "of", "the", "table" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L902-L906
110,459
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.renderTableHeaderRow
protected void renderTableHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent headerFacet, String headerStyleClass, int colspan) throws IOException { renderTableHeaderOrFooterRow(facesContext, writer, component, headerFacet, headerStyleClass, ...
java
protected void renderTableHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent headerFacet, String headerStyleClass, int colspan) throws IOException { renderTableHeaderOrFooterRow(facesContext, writer, component, headerFacet, headerStyleClass, ...
[ "protected", "void", "renderTableHeaderRow", "(", "FacesContext", "facesContext", ",", "ResponseWriter", "writer", ",", "UIComponent", "component", ",", "UIComponent", "headerFacet", ",", "String", "headerStyleClass", ",", "int", "colspan", ")", "throws", "IOException",...
Renders the header row of the table being rendered. @param facesContext the <code>FacesContext</code>. @param writer the <code>ResponseWriter</code>. @param component the <code>UIComponent</code> for whom a table is being rendered. @param headerFacet the facet for the header. @param headerStyleClass the styleClass of t...
[ "Renders", "the", "header", "row", "of", "the", "table", "being", "rendered", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L1049-L1055
110,460
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.renderTableFooterRow
protected void renderTableFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent footerFacet, String footerStyleClass, int colspan) throws IOException { renderTableHeaderOrFooterRow(facesContext, writer, component, footerFacet, footerStyleClass, HTML.TD_EL...
java
protected void renderTableFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent footerFacet, String footerStyleClass, int colspan) throws IOException { renderTableHeaderOrFooterRow(facesContext, writer, component, footerFacet, footerStyleClass, HTML.TD_EL...
[ "protected", "void", "renderTableFooterRow", "(", "FacesContext", "facesContext", ",", "ResponseWriter", "writer", ",", "UIComponent", "component", ",", "UIComponent", "footerFacet", ",", "String", "footerStyleClass", ",", "int", "colspan", ")", "throws", "IOException",...
Renders the footer row of the table being rendered. @param facesContext the <code>FacesContext</code>. @param writer the <code>ResponseWriter</code>. @param component the <code>UIComponent</code> for whom a table is being rendered. @param footerFacet the facet for the footer. @param footerStyleClass the styleClass of t...
[ "Renders", "the", "footer", "row", "of", "the", "table", "being", "rendered", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L1068-L1073
110,461
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
HtmlTableRendererBase.renderSpacerCell
protected void renderSpacerCell(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException { UIComponent spacer = getNewspaperTableSpacer(component); if(spacer == null) { return; } writer.startElement(HTML.TD_EL...
java
protected void renderSpacerCell(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException { UIComponent spacer = getNewspaperTableSpacer(component); if(spacer == null) { return; } writer.startElement(HTML.TD_EL...
[ "protected", "void", "renderSpacerCell", "(", "FacesContext", "facesContext", ",", "ResponseWriter", "writer", ",", "UIComponent", "component", ")", "throws", "IOException", "{", "UIComponent", "spacer", "=", "getNewspaperTableSpacer", "(", "component", ")", ";", "if"...
Renders a spacer between adjacent newspaper columns.
[ "Renders", "a", "spacer", "between", "adjacent", "newspaper", "columns", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java#L1190-L1203
110,462
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/TraceUtils.java
TraceUtils.getTrace
public static Trace getTrace(Class sourceClass, String traceGroup) { Class traceFactoryClass; Object ret = null; try { traceFactoryClass = Class.forName("com.ibm.ws.sib.matchspace.utils.TraceFactory"); Class[] params = new Class[]{Class.class, String.class}; Method getTraceMethod ...
java
public static Trace getTrace(Class sourceClass, String traceGroup) { Class traceFactoryClass; Object ret = null; try { traceFactoryClass = Class.forName("com.ibm.ws.sib.matchspace.utils.TraceFactory"); Class[] params = new Class[]{Class.class, String.class}; Method getTraceMethod ...
[ "public", "static", "Trace", "getTrace", "(", "Class", "sourceClass", ",", "String", "traceGroup", ")", "{", "Class", "traceFactoryClass", ";", "Object", "ret", "=", "null", ";", "try", "{", "traceFactoryClass", "=", "Class", ".", "forName", "(", "\"com.ibm.ws...
Wrapper method to get the trace via the Factory. @param Class the sourceClass @return Trace implementatiion for the source class.
[ "Wrapper", "method", "to", "get", "the", "trace", "via", "the", "Factory", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/TraceUtils.java#L23-L44
110,463
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/mxbean/QueuedMessageDetail.java
QueuedMessageDetail.updateMessageWaitTime
private long updateMessageWaitTime() { // Store in the message the amount of time it was on the queue long timeNow = java.lang.System.currentTimeMillis(); long latestWaitTimeUpdate = calculateWaitTimeUpdate(timeNow); long messageWaitTime = latestWaitTimeUpdate + _js_messageWaitTime.longValue(); return me...
java
private long updateMessageWaitTime() { // Store in the message the amount of time it was on the queue long timeNow = java.lang.System.currentTimeMillis(); long latestWaitTimeUpdate = calculateWaitTimeUpdate(timeNow); long messageWaitTime = latestWaitTimeUpdate + _js_messageWaitTime.longValue(); return me...
[ "private", "long", "updateMessageWaitTime", "(", ")", "{", "// Store in the message the amount of time it was on the queue", "long", "timeNow", "=", "java", ".", "lang", ".", "System", ".", "currentTimeMillis", "(", ")", ";", "long", "latestWaitTimeUpdate", "=", "calcul...
Update the message wait time @return
[ "Update", "the", "message", "wait", "time" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/mxbean/QueuedMessageDetail.java#L296-L304
110,464
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.setMessageListener
@Override public void setMessageListener(MessageListener listener) throws JMSException { // pass control to the internal method boolean checkManaged = true; _setMessageListener(listener, checkManaged); }
java
@Override public void setMessageListener(MessageListener listener) throws JMSException { // pass control to the internal method boolean checkManaged = true; _setMessageListener(listener, checkManaged); }
[ "@", "Override", "public", "void", "setMessageListener", "(", "MessageListener", "listener", ")", "throws", "JMSException", "{", "// pass control to the internal method", "boolean", "checkManaged", "=", "true", ";", "_setMessageListener", "(", "listener", ",", "checkManag...
assign a MessageListener to this consumer for async message delivery. @param listener an instance of MessageListener supplied by an application for the purpose of consuming messages. If null, remove any previously assigned MessageListener. @see javax.jms.MessageConsumer#setMessageListener(MessageListener)
[ "assign", "a", "MessageListener", "to", "this", "consumer", "for", "async", "message", "delivery", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L316-L321
110,465
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.start
protected void start() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start"); // We call start regardless of whether this is synchronous or async if (coreConsumerSession != null) { try { syn...
java
protected void start() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start"); // We call start regardless of whether this is synchronous or async if (coreConsumerSession != null) { try { syn...
[ "protected", "void", "start", "(", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"start\"", "...
Method start.
[ "Method", "start", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L659-L701
110,466
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.stop
protected void stop() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop"); if (coreConsumerSession != null) { try { coreConsumerSession.stop(); } catch (SIException sice) { ...
java
protected void stop() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop"); if (coreConsumerSession != null) { try { coreConsumerSession.stop(); } catch (SIException sice) { ...
[ "protected", "void", "stop", "(", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"stop\"", ")"...
Method stop.
[ "Method", "stop", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L706-L742
110,467
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.checkClosed
void checkClosed() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "checkClosed"); synchronized (closedLock) { if (closed) { throw (JMSException) JmsErrorUtils.newThrowable(javax.jms.IllegalStateExcepti...
java
void checkClosed() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "checkClosed"); synchronized (closedLock) { if (closed) { throw (JMSException) JmsErrorUtils.newThrowable(javax.jms.IllegalStateExcepti...
[ "void", "checkClosed", "(", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"checkClosed\"", ")",...
This method is called at the beginning of every method that should not work if the consumer has been closed. It prevents further execution by throwing a JMSException with a suitable "I'm closed" message.
[ "This", "method", "is", "called", "at", "the", "beginning", "of", "every", "method", "that", "should", "not", "work", "if", "the", "consumer", "has", "been", "closed", ".", "It", "prevents", "further", "execution", "by", "throwing", "a", "JMSException", "wit...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L749-L764
110,468
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.setAsyncListener
private void setAsyncListener(MessageListener listener) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setAsyncListener", listener); consumer = new Consumer(listener, session, sessionAckMode); try { // Consum...
java
private void setAsyncListener(MessageListener listener) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setAsyncListener", listener); consumer = new Consumer(listener, session, sessionAckMode); try { // Consum...
[ "private", "void", "setAsyncListener", "(", "MessageListener", "listener", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "thi...
internal method for assigning a message listener
[ "internal", "method", "for", "assigning", "a", "message", "listener" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L837-L893
110,469
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.removeAsyncListener
private void removeAsyncListener() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "removeAsyncListener"); // if the consumer is null, there is nothing to do if (consumer != null) { try { // sto...
java
private void removeAsyncListener() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "removeAsyncListener"); // if the consumer is null, there is nothing to do if (consumer != null) { try { // sto...
[ "private", "void", "removeAsyncListener", "(", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"r...
This method is used to remove an existing asynchronous consumer from the core consumer object, and reset the JMS consumer back to sychronous receipt mode. 13/01/04 Modified so that it can be called repeatedly, and restores the started state of the core consumer session after running.
[ "This", "method", "is", "used", "to", "remove", "an", "existing", "asynchronous", "consumer", "from", "the", "core", "consumer", "object", "and", "reset", "the", "JMS", "consumer", "back", "to", "sychronous", "receipt", "mode", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L903-L958
110,470
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.getNoLocalFlag
boolean getNoLocalFlag() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getNoLocalFlag"); checkClosed(); boolean nl = props.noLocal(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) S...
java
boolean getNoLocalFlag() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getNoLocalFlag"); checkClosed(); boolean nl = props.noLocal(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) S...
[ "boolean", "getNoLocalFlag", "(", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getNoLocalFlag\"...
Get the noLocal flag. @return noLocal
[ "Get", "the", "noLocal", "flag", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L965-L973
110,471
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java
JmsMsgConsumerImpl.emergencyClose
private void emergencyClose() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "emergencyClose"); try { if (coreConsumerSession != null) coreConsumerSession.close(); } catch (SIException e) { // No FFDC ...
java
private void emergencyClose() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "emergencyClose"); try { if (coreConsumerSession != null) coreConsumerSession.close(); } catch (SIException e) { // No FFDC ...
[ "private", "void", "emergencyClose", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"emergencyClose\"", ")", ";", "...
Provides a minimalist abrupt shutdown of the consumer. This method is used from the async delivery code, and its primary purpose is to prevent further message loss in the face of unrecoverable errors during message delivery.
[ "Provides", "a", "minimalist", "abrupt", "shutdown", "of", "the", "consumer", ".", "This", "method", "is", "used", "from", "the", "async", "delivery", "code", "and", "its", "primary", "purpose", "is", "to", "prevent", "further", "message", "loss", "in", "the...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsMsgConsumerImpl.java#L1150-L1172
110,472
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.1.common/src/com/ibm/ws/jaxrs20/security/LibertySimpleAuthorizingInterceptor.java
LibertySimpleAuthorizingInterceptor.parseClassSecurity
private boolean parseClassSecurity(Class<?> cls, SecurityContext sc) { // try DenyAll DenyAll denyAll = cls.getAnnotation(DenyAll.class); if (denyAll != null) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Found class level @DenyAl...
java
private boolean parseClassSecurity(Class<?> cls, SecurityContext sc) { // try DenyAll DenyAll denyAll = cls.getAnnotation(DenyAll.class); if (denyAll != null) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Found class level @DenyAl...
[ "private", "boolean", "parseClassSecurity", "(", "Class", "<", "?", ">", "cls", ",", "SecurityContext", "sc", ")", "{", "// try DenyAll", "DenyAll", "denyAll", "=", "cls", ".", "getAnnotation", "(", "DenyAll", ".", "class", ")", ";", "if", "(", "denyAll", ...
parse security JSR250 annotations at the class level
[ "parse", "security", "JSR250", "annotations", "at", "the", "class", "level" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.1.common/src/com/ibm/ws/jaxrs20/security/LibertySimpleAuthorizingInterceptor.java#L111-L147
110,473
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/serializable/TaskFailure.java
TaskFailure.getReason
@Trivial public final short getReason() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(this, tc, "getReason", toString(reason)); return reason; }
java
@Trivial public final short getReason() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(this, tc, "getReason", toString(reason)); return reason; }
[ "@", "Trivial", "public", "final", "short", "getReason", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "this", ",", "tc", ",", "\"getReason\"",...
Returns the reason code for the task failure. @return the reason code for the task failure.
[ "Returns", "the", "reason", "code", "for", "the", "task", "failure", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/serializable/TaskFailure.java#L142-L147
110,474
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/SystemConfiguration.java
SystemConfiguration.registerService
private void registerService(BundleContext bc, String name, Object serviceInstance) { Dictionary<String, Object> properties = new Hashtable<String, Object>(); properties.put("service.vendor", "IBM"); bc.registerService(name, serviceInstance, properties); }
java
private void registerService(BundleContext bc, String name, Object serviceInstance) { Dictionary<String, Object> properties = new Hashtable<String, Object>(); properties.put("service.vendor", "IBM"); bc.registerService(name, serviceInstance, properties); }
[ "private", "void", "registerService", "(", "BundleContext", "bc", ",", "String", "name", ",", "Object", "serviceInstance", ")", "{", "Dictionary", "<", "String", ",", "Object", ">", "properties", "=", "new", "Hashtable", "<", "String", ",", "Object", ">", "(...
Register a service with default properties
[ "Register", "a", "service", "with", "default", "properties" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/SystemConfiguration.java#L124-L128
110,475
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/SystemConfiguration.java
SystemConfiguration.addDefaultConfiguration
BaseConfiguration addDefaultConfiguration(String pid, Dictionary<String, String> props) throws ConfigUpdateException { return defaultConfiguration.add(pid, props, serverXMLConfig, variableRegistry); }
java
BaseConfiguration addDefaultConfiguration(String pid, Dictionary<String, String> props) throws ConfigUpdateException { return defaultConfiguration.add(pid, props, serverXMLConfig, variableRegistry); }
[ "BaseConfiguration", "addDefaultConfiguration", "(", "String", "pid", ",", "Dictionary", "<", "String", ",", "String", ">", "props", ")", "throws", "ConfigUpdateException", "{", "return", "defaultConfiguration", ".", "add", "(", "pid", ",", "props", ",", "serverXM...
Add configuration to the default configuration add runtime @param pid @param props @return
[ "Add", "configuration", "to", "the", "default", "configuration", "add", "runtime" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/SystemConfiguration.java#L190-L192
110,476
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/SystemConfiguration.java
SystemConfiguration.addDefaultConfiguration
BaseConfiguration addDefaultConfiguration(InputStream defaultConfig) throws ConfigValidationException, ConfigUpdateException { return defaultConfiguration.add(defaultConfig, serverXMLConfig, variableRegistry); }
java
BaseConfiguration addDefaultConfiguration(InputStream defaultConfig) throws ConfigValidationException, ConfigUpdateException { return defaultConfiguration.add(defaultConfig, serverXMLConfig, variableRegistry); }
[ "BaseConfiguration", "addDefaultConfiguration", "(", "InputStream", "defaultConfig", ")", "throws", "ConfigValidationException", ",", "ConfigUpdateException", "{", "return", "defaultConfiguration", ".", "add", "(", "defaultConfig", ",", "serverXMLConfig", ",", "variableRegist...
Add configuration to the default configuration at runtime using a url @param pid @param props @return @throws ConfigUpdateException @throws ConfigValidationException
[ "Add", "configuration", "to", "the", "default", "configuration", "at", "runtime", "using", "a", "url" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/SystemConfiguration.java#L203-L205
110,477
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/messaging/service/JsMainAdminServiceImpl.java
JsMainAdminServiceImpl.activate
@Override public void activate(ComponentContext context, Map<String, Object> properties, ConfigurationAdmin configAdmin) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "activate", new Object[] { context, properties, ...
java
@Override public void activate(ComponentContext context, Map<String, Object> properties, ConfigurationAdmin configAdmin) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "activate", new Object[] { context, properties, ...
[ "@", "Override", "public", "void", "activate", "(", "ComponentContext", "context", ",", "Map", "<", "String", ",", "Object", ">", "properties", ",", "ConfigurationAdmin", "configAdmin", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")",...
Constructs the JsMEConfig object based upon the Map and Activates various ME components
[ "Constructs", "the", "JsMEConfig", "object", "based", "upon", "the", "Map", "and", "Activates", "various", "ME", "components" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/messaging/service/JsMainAdminServiceImpl.java#L82-L134
110,478
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/messaging/service/JsMainAdminServiceImpl.java
JsMainAdminServiceImpl.initialize
private void initialize(ComponentContext context, Map<String, Object> properties, ConfigurationAdmin configAdmin) throws InvalidFileStoreConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "initi...
java
private void initialize(ComponentContext context, Map<String, Object> properties, ConfigurationAdmin configAdmin) throws InvalidFileStoreConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "initi...
[ "private", "void", "initialize", "(", "ComponentContext", "context", ",", "Map", "<", "String", ",", "Object", ">", "properties", ",", "ConfigurationAdmin", "configAdmin", ")", "throws", "InvalidFileStoreConfigurationException", "{", "if", "(", "TraceComponent", ".", ...
Initializes the JsMEConfig Object Creates a defaultQueue and defaultTopic as well.If filestore is not mentioned in server.xml an default filestore is created @param context @param properties @throws InvalidFileStoreConfigurationException
[ "Initializes", "the", "JsMEConfig", "Object", "Creates", "a", "defaultQueue", "and", "defaultTopic", "as", "well", ".", "If", "filestore", "is", "not", "mentioned", "in", "server", ".", "xml", "an", "default", "filestore", "is", "created" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/messaging/service/JsMainAdminServiceImpl.java#L145-L198
110,479
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/messaging/service/JsMainAdminServiceImpl.java
JsMainAdminServiceImpl.populateFileStore
private void populateFileStore(Map<String, Object> properties, SIBFileStore filestore, ConfigurationAdmin configAdmin) throws InvalidFileStoreConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entr...
java
private void populateFileStore(Map<String, Object> properties, SIBFileStore filestore, ConfigurationAdmin configAdmin) throws InvalidFileStoreConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entr...
[ "private", "void", "populateFileStore", "(", "Map", "<", "String", ",", "Object", ">", "properties", ",", "SIBFileStore", "filestore", ",", "ConfigurationAdmin", "configAdmin", ")", "throws", "InvalidFileStoreConfigurationException", "{", "if", "(", "TraceComponent", ...
A SIBFilestore object is created using the filestore tag mentioned in the server.xml If nothing is mentioned in the server.xml the defaults are considered @param properties @param filestore @param configAdmin @throws InvalidFileStoreConfigurationException
[ "A", "SIBFilestore", "object", "is", "created", "using", "the", "filestore", "tag", "mentioned", "in", "the", "server", ".", "xml", "If", "nothing", "is", "mentioned", "in", "the", "server", ".", "xml", "the", "defaults", "are", "considered" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/messaging/service/JsMainAdminServiceImpl.java#L545-L612
110,480
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/config/MpConfigUtil.java
MpConfigUtil.getMpConfigMap
protected Map<String, String> getMpConfigMap(MpConfigProxyService service, ClassLoader cl, Map<String, String> map) { Arrays.asList(MpConstants.ISSUER, MpConstants.PUBLIC_KEY, MpConstants.KEY_LOCATION).forEach(s -> getMpConfig(service, cl, s, map)); return map; }
java
protected Map<String, String> getMpConfigMap(MpConfigProxyService service, ClassLoader cl, Map<String, String> map) { Arrays.asList(MpConstants.ISSUER, MpConstants.PUBLIC_KEY, MpConstants.KEY_LOCATION).forEach(s -> getMpConfig(service, cl, s, map)); return map; }
[ "protected", "Map", "<", "String", ",", "String", ">", "getMpConfigMap", "(", "MpConfigProxyService", "service", ",", "ClassLoader", "cl", ",", "Map", "<", "String", ",", "String", ">", "map", ")", "{", "Arrays", ".", "asList", "(", "MpConstants", ".", "IS...
no null check. make sure that the caller sets non null objects.
[ "no", "null", "check", ".", "make", "sure", "that", "the", "caller", "sets", "non", "null", "objects", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/config/MpConfigUtil.java#L69-L72
110,481
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/config/MpConfigUtil.java
MpConfigUtil.getMpConfig
@FFDCIgnore({ NoSuchElementException.class }) protected Map<String, String> getMpConfig(MpConfigProxyService service, ClassLoader cl, String propertyName, Map<String, String> map) { try { String value = service.getConfigValue(cl, propertyName, String.class).trim(); if (!value.isEmpt...
java
@FFDCIgnore({ NoSuchElementException.class }) protected Map<String, String> getMpConfig(MpConfigProxyService service, ClassLoader cl, String propertyName, Map<String, String> map) { try { String value = service.getConfigValue(cl, propertyName, String.class).trim(); if (!value.isEmpt...
[ "@", "FFDCIgnore", "(", "{", "NoSuchElementException", ".", "class", "}", ")", "protected", "Map", "<", "String", ",", "String", ">", "getMpConfig", "(", "MpConfigProxyService", "service", ",", "ClassLoader", "cl", ",", "String", "propertyName", ",", "Map", "<...
no null check other than cl. make sure that the caller sets non null objects.
[ "no", "null", "check", "other", "than", "cl", ".", "make", "sure", "that", "the", "caller", "sets", "non", "null", "objects", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/config/MpConfigUtil.java#L75-L92
110,482
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/compiler/FaceletsCompilerSupport.java
FaceletsCompilerSupport.loadLibraries
public void loadLibraries(FacesContext context, Compiler compiler) { ExternalContext eContext = context.getExternalContext(); MyfacesConfig config = MyfacesConfig.getCurrentInstance(eContext); // Initialize Runtime Libraries compiler.addTagLibrary(new CoreLibrary()); compile...
java
public void loadLibraries(FacesContext context, Compiler compiler) { ExternalContext eContext = context.getExternalContext(); MyfacesConfig config = MyfacesConfig.getCurrentInstance(eContext); // Initialize Runtime Libraries compiler.addTagLibrary(new CoreLibrary()); compile...
[ "public", "void", "loadLibraries", "(", "FacesContext", "context", ",", "Compiler", "compiler", ")", "{", "ExternalContext", "eContext", "=", "context", ".", "getExternalContext", "(", ")", ";", "MyfacesConfig", "config", "=", "MyfacesConfig", ".", "getCurrentInstan...
Load the various tag libraries for Facelets. @param context the current FacesContext @param compiler the page compiler
[ "Load", "the", "various", "tag", "libraries", "for", "Facelets", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/compiler/FaceletsCompilerSupport.java#L88-L163
110,483
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/compiler/FaceletsCompilerSupport.java
FaceletsCompilerSupport.loadDecorators
public void loadDecorators(FacesContext context, Compiler compiler) { String param = WebConfigParamUtils.getStringInitParameter(context.getExternalContext(), PARAMS_DECORATORS); if (param != null) { for (String decorator : param.split(";")) { try ...
java
public void loadDecorators(FacesContext context, Compiler compiler) { String param = WebConfigParamUtils.getStringInitParameter(context.getExternalContext(), PARAMS_DECORATORS); if (param != null) { for (String decorator : param.split(";")) { try ...
[ "public", "void", "loadDecorators", "(", "FacesContext", "context", ",", "Compiler", "compiler", ")", "{", "String", "param", "=", "WebConfigParamUtils", ".", "getStringInitParameter", "(", "context", ".", "getExternalContext", "(", ")", ",", "PARAMS_DECORATORS", ")...
Load the various decorators for Facelets. @param context the current FacesContext @param compiler the page compiler
[ "Load", "the", "various", "decorators", "for", "Facelets", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/compiler/FaceletsCompilerSupport.java#L173-L194
110,484
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipCachingServiceImpl.java
ZipCachingServiceImpl.getZipFileHandle
private static ZipFileHandle getZipFileHandle(String path) throws IOException { synchronized ( zipFileHandlesLock ) { ZipFileHandle handle = zipFileHandles.get(path); if ( handle == null ) { handle = new ZipFileHandleImpl(path); zipFileHandles.put(path, ha...
java
private static ZipFileHandle getZipFileHandle(String path) throws IOException { synchronized ( zipFileHandlesLock ) { ZipFileHandle handle = zipFileHandles.get(path); if ( handle == null ) { handle = new ZipFileHandleImpl(path); zipFileHandles.put(path, ha...
[ "private", "static", "ZipFileHandle", "getZipFileHandle", "(", "String", "path", ")", "throws", "IOException", "{", "synchronized", "(", "zipFileHandlesLock", ")", "{", "ZipFileHandle", "handle", "=", "zipFileHandles", ".", "get", "(", "path", ")", ";", "if", "(...
Answer a zip file handle for a specified path. The handle is not initially opened. (See {@link #openZipFile(String)} for more details.) @param path The path to the handle which is to be retrieved. @return The zip file handle for the path. @throws IOException Thrown in case of a problem obtaining the zip file handl...
[ "Answer", "a", "zip", "file", "handle", "for", "a", "specified", "path", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/cache/internal/ZipCachingServiceImpl.java#L187-L196
110,485
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/filter/FilterChainContents.java
FilterChainContents.addFilter
public void addFilter(String filterName) { _hasFilters = true; //PM93069 Start if(!WCCustomProperties.DENY_DUPLICATE_FILTER_IN_CHAIN){ _filterNames.add(filterName); } else { if(! _filterNames.contains(filterName)){ // if unique then add in the chain...
java
public void addFilter(String filterName) { _hasFilters = true; //PM93069 Start if(!WCCustomProperties.DENY_DUPLICATE_FILTER_IN_CHAIN){ _filterNames.add(filterName); } else { if(! _filterNames.contains(filterName)){ // if unique then add in the chain...
[ "public", "void", "addFilter", "(", "String", "filterName", ")", "{", "_hasFilters", "=", "true", ";", "//PM93069 Start", "if", "(", "!", "WCCustomProperties", ".", "DENY_DUPLICATE_FILTER_IN_CHAIN", ")", "{", "_filterNames", ".", "add", "(", "filterName", ")", "...
Adds a filter name to the name vector for this chain @param the filter name to add
[ "Adds", "a", "filter", "name", "to", "the", "name", "vector", "for", "this", "chain" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/filter/FilterChainContents.java#L53-L71
110,486
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.isHeaderinSuppressedHeadersList
private boolean isHeaderinSuppressedHeadersList(String headername) { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } boolean suppressHeader = false; if(headername != null){ Iterator itList = suppressheadersList.iterator(); ...
java
private boolean isHeaderinSuppressedHeadersList(String headername) { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } boolean suppressHeader = false; if(headername != null){ Iterator itList = suppressheadersList.iterator(); ...
[ "private", "boolean", "isHeaderinSuppressedHeadersList", "(", "String", "headername", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "boolean", "suppressHeader", "=", "false", ";"...
Returns true if header can be suppressed, or false if not.
[ "Returns", "true", "if", "header", "can", "be", "suppressed", "or", "false", "if", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L482-L501
110,487
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getDateHeader
public long getDateHeader(String name) { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } // 321485 // PK80362 Start // If the getDateHeader method cannot translate the header to a Date object, an IllegalArgumentException is thrown ...
java
public long getDateHeader(String name) { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } // 321485 // PK80362 Start // If the getDateHeader method cannot translate the header to a Date object, an IllegalArgumentException is thrown ...
[ "public", "long", "getDateHeader", "(", "String", "name", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "// 321485", "// PK80362 Start", "// If the getDateHeader method cannot transl...
Returns the value of a date header field, or -1 if not found. The case of the header field name is ignored. @param name the case-insensitive header field name
[ "Returns", "the", "value", "of", "a", "date", "header", "field", "or", "-", "1", "if", "not", "found", ".", "The", "case", "of", "the", "header", "field", "name", "is", "ignored", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L508-L525
110,488
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getHeaderNames
public Enumeration getHeaderNames() { // 321485 if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"getHeaderNames", "this->"+this+": "); } if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ ...
java
public Enumeration getHeaderNames() { // 321485 if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"getHeaderNames", "this->"+this+": "); } if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ ...
[ "public", "Enumeration", "getHeaderNames", "(", ")", "{", "// 321485", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "logger", ".", "isLoggable", "(", "Level", ".", "FINE", ")", ")", "{", "//306998.15", "logger", ".", "logp", "(", ...
Returns an enumeration of strings representing the header names for this request. Some server implementations do not allow headers to be accessed in this way, in which case this method will return null.
[ "Returns", "an", "enumeration", "of", "strings", "representing", "the", "header", "names", "for", "this", "request", ".", "Some", "server", "implementations", "do", "not", "allow", "headers", "to", "be", "accessed", "in", "this", "way", "in", "which", "case", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L584-L609
110,489
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getInputStream
public ServletInputStream getInputStream() throws IOException { if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { logger.logp(Level.FINE, CLASS_NAME,"getInputStream", "this->"+this+": gotReader = " + _srtRequestHelper._gotReader); } if (WCCustomProperties.C...
java
public ServletInputStream getInputStream() throws IOException { if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { logger.logp(Level.FINE, CLASS_NAME,"getInputStream", "this->"+this+": gotReader = " + _srtRequestHelper._gotReader); } if (WCCustomProperties.C...
[ "public", "ServletInputStream", "getInputStream", "(", ")", "throws", "IOException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "logger", ".", "isLoggable", "(", "Level", ".", "FINE", ")", ")", "{", "logger", ".", "logp", "...
Returns an input stream for reading binary request data. Note for MultiRead: If this is the first call - register an observer to get a notification (alertClose()) when input stream is closed. If this is first call afterClose, restart the input stream. This will cause a notification (alertOpen()) that the input stream ...
[ "Returns", "an", "input", "stream", "for", "reading", "binary", "request", "data", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L1116-L1143
110,490
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getAuthType
public String getAuthType() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } String authType = null; //if (com.ibm.ws.security.core.SecurityContext.isSecurityEnabled()) if(((WebAppDispatcherContext)this.getDispatchContext()).isS...
java
public String getAuthType() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } String authType = null; //if (com.ibm.ws.security.core.SecurityContext.isSecurityEnabled()) if(((WebAppDispatcherContext)this.getDispatchContext()).isS...
[ "public", "String", "getAuthType", "(", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "String", "authType", "=", "null", ";", "//if (com.ibm.ws.security.core.SecurityContext.isSecu...
Returns the authentication scheme of the request, or null if none. Same as the CGI variable AUTH_TYPE.
[ "Returns", "the", "authentication", "scheme", "of", "the", "request", "or", "null", "if", "none", ".", "Same", "as", "the", "CGI", "variable", "AUTH_TYPE", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L1473-L1507
110,491
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getParameter
public String getParameter(String name) { // 321485 if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"getParameter", " name --> " + name); } if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ ...
java
public String getParameter(String name) { // 321485 if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"getParameter", " name --> " + name); } if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ ...
[ "public", "String", "getParameter", "(", "String", "name", ")", "{", "// 321485", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "logger", ".", "isLoggable", "(", "Level", ".", "FINE", ")", ")", "{", "//306998.15", "logger", ".", ...
Returns the value of the specified parameter for the request. For example, in an HTTP servlet this would return the value of the specified query string parameter. This must be used when the application is sure that there is only one value for the parameter. For multiple valued parameters, use getParameterValues. @param...
[ "Returns", "the", "value", "of", "the", "specified", "parameter", "for", "the", "request", ".", "For", "example", "in", "an", "HTTP", "servlet", "this", "would", "return", "the", "value", "of", "the", "specified", "query", "string", "parameter", ".", "This",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L1892-L1912
110,492
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getParameterValues
public String[] getParameterValues(String name) { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } parseParameters(); // 321485 String[] values = (String[]) SRTServletRequestThreadData.getInstance().getParameters().get(name); ...
java
public String[] getParameterValues(String name) { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } parseParameters(); // 321485 String[] values = (String[]) SRTServletRequestThreadData.getInstance().getParameters().get(name); ...
[ "public", "String", "[", "]", "getParameterValues", "(", "String", "name", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "parseParameters", "(", ")", ";", "// 321485", "Str...
Returns the value of the specified parameter for the request. For example, in an HTTP servlet this would return the value of the specified query string parameter. @param name the parameter name @return an array of values for the passed parameter name. If there are no values then return null.
[ "Returns", "the", "value", "of", "the", "specified", "parameter", "for", "the", "request", ".", "For", "example", "in", "an", "HTTP", "servlet", "this", "would", "return", "the", "value", "of", "the", "specified", "query", "string", "parameter", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L1939-L1961
110,493
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getPathInfo
public String getPathInfo() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } SRTServletRequestThreadData reqData=SRTServletRequestThreadData.getInstance(); // Begin PK06988, strip session id of when url rewriting is enabled ...
java
public String getPathInfo() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } SRTServletRequestThreadData reqData=SRTServletRequestThreadData.getInstance(); // Begin PK06988, strip session id of when url rewriting is enabled ...
[ "public", "String", "getPathInfo", "(", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "SRTServletRequestThreadData", "reqData", "=", "SRTServletRequestThreadData", ".", "getInstanc...
Returns null since this request has no concept of servlet mappings. This method will be overidden by the webapp layer.
[ "Returns", "null", "since", "this", "request", "has", "no", "concept", "of", "servlet", "mappings", ".", "This", "method", "will", "be", "overidden", "by", "the", "webapp", "layer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L1967-L1998
110,494
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getQueryString
public String getQueryString() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } SRTServletRequestThreadData reqData = SRTServletRequestThreadData.getInstance(); if (reqData.getQueryString()==null && !reqData.isQSSetExplicit()) ...
java
public String getQueryString() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } SRTServletRequestThreadData reqData = SRTServletRequestThreadData.getInstance(); if (reqData.getQueryString()==null && !reqData.isQSSetExplicit()) ...
[ "public", "String", "getQueryString", "(", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "SRTServletRequestThreadData", "reqData", "=", "SRTServletRequestThreadData", ".", "getInst...
Returns the query string part of the servlet URI, or null if none. Same as the CGI variable QUERY_STRING.
[ "Returns", "the", "query", "string", "part", "of", "the", "servlet", "URI", "or", "null", "if", "none", ".", "Same", "as", "the", "CGI", "variable", "QUERY_STRING", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2046-L2064
110,495
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getRemoteUser
public String getRemoteUser() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } String remoteUser = null; Principal principal = getUserPrincipal(); if (principal == null) { //remoteUser = null; if (_reques...
java
public String getRemoteUser() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } String remoteUser = null; Principal principal = getUserPrincipal(); if (principal == null) { //remoteUser = null; if (_reques...
[ "public", "String", "getRemoteUser", "(", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "String", "remoteUser", "=", "null", ";", "Principal", "principal", "=", "getUserPrinc...
Returns the name of the user making this request, or null if not known. Same as the CGI variable REMOTE_USER. This logic is delegatd to the registered IWebAppSecurityCollaborator.
[ "Returns", "the", "name", "of", "the", "user", "making", "this", "request", "or", "null", "if", "not", "known", ".", "Same", "as", "the", "CGI", "variable", "REMOTE_USER", ".", "This", "logic", "is", "delegatd", "to", "the", "registered", "IWebAppSecurityCol...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2100-L2124
110,496
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getRequestURI
public String getRequestURI() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } // Begin PK06988, strip session id of when url rewriting is enabled SRTServletRequestThreadData reqData = SRTServletRequestThreadData.getInstance(); i...
java
public String getRequestURI() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } // Begin PK06988, strip session id of when url rewriting is enabled SRTServletRequestThreadData reqData = SRTServletRequestThreadData.getInstance(); i...
[ "public", "String", "getRequestURI", "(", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "// Begin PK06988, strip session id of when url rewriting is enabled", "SRTServletRequestThreadData"...
Returns the request URI as string.
[ "Returns", "the", "request", "URI", "as", "string", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2143-L2167
110,497
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.getServerName
public String getServerName() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } String sName = this._request.getServerName(); // if (sName == null || sName.equalsIgnoreCase("localhost")) if (sName == null || sName.length() == 0) ...
java
public String getServerName() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } String sName = this._request.getServerName(); // if (sName == null || sName.equalsIgnoreCase("localhost")) if (sName == null || sName.length() == 0) ...
[ "public", "String", "getServerName", "(", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "String", "sName", "=", "this", ".", "_request", ".", "getServerName", "(", ")", "...
Returns the host name of the server that received the request. Same as the CGI variable SERVER_NAME.
[ "Returns", "the", "host", "name", "of", "the", "server", "that", "received", "the", "request", ".", "Same", "as", "the", "CGI", "variable", "SERVER_NAME", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2173-L2205
110,498
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.isRequestedSessionIdValid
public boolean isRequestedSessionIdValid() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } // 321485 boolean sessionInvalid = _requestContext.isRequestedSessionIdValid(((WebAppDispatcherContext) this.getDispatchContext()).getWebApp()); ...
java
public boolean isRequestedSessionIdValid() { if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } // 321485 boolean sessionInvalid = _requestContext.isRequestedSessionIdValid(((WebAppDispatcherContext) this.getDispatchContext()).getWebApp()); ...
[ "public", "boolean", "isRequestedSessionIdValid", "(", ")", "{", "if", "(", "WCCustomProperties", ".", "CHECK_REQUEST_OBJECT_IN_USE", ")", "{", "checkRequestObjectInUse", "(", ")", ";", "}", "// 321485", "boolean", "sessionInvalid", "=", "_requestContext", ".", "isReq...
If the session doesn't exist, then the Id that came in is invalid. If there is no sessionID in the request, then it's not valid.
[ "If", "the", "session", "doesn", "t", "exist", "then", "the", "Id", "that", "came", "in", "is", "invalid", ".", "If", "there", "is", "no", "sessionID", "in", "the", "request", "then", "it", "s", "not", "valid", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2274-L2285
110,499
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java
SRTServletRequest.parsePostData
protected Hashtable parsePostData() throws IOException { if( getContentLength() > 0){ if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15 logger.logp(Level.FINE, CLASS_NAME,"parsePostData", "parsing post data based upon content length"); ...
java
protected Hashtable parsePostData() throws IOException { if( getContentLength() > 0){ if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15 logger.logp(Level.FINE, CLASS_NAME,"parsePostData", "parsing post data based upon content length"); ...
[ "protected", "Hashtable", "parsePostData", "(", ")", "throws", "IOException", "{", "if", "(", "getContentLength", "(", ")", ">", "0", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "logger", ".", "isLoggable", "(", "Level"...
Added for servlet 3.1 support - method is overidden by SRTServletRequest31
[ "Added", "for", "servlet", "3", ".", "1", "support", "-", "method", "is", "overidden", "by", "SRTServletRequest31" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2514-L2523