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
69,900
OpenLiberty/open-liberty
dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLWriteServiceContext.java
SSLWriteServiceContext.close
public void close() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "close"); } synchronized (closeSync) { if (closeCalled) { return; } closeCalled = true; // Release the buffer used ...
java
public void close() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "close"); } synchronized (closeSync) { if (closeCalled) { return; } closeCalled = true; // Release the buffer used ...
[ "public", "void", "close", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"close\"", ")", ";", "}", "synchronized", "(", "...
Release the potential input buffer that was created during encryption.
[ "Release", "the", "potential", "input", "buffer", "that", "was", "created", "during", "encryption", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLWriteServiceContext.java#L827-L854
69,901
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/SubjectPublicKeyInfo.java
SubjectPublicKeyInfo.getPublicKey
public DERObject getPublicKey() throws IOException { ByteArrayInputStream bIn = new ByteArrayInputStream(keyData.getBytes()); ASN1InputStream aIn = new ASN1InputStream(bIn); return aIn.readObject(); }
java
public DERObject getPublicKey() throws IOException { ByteArrayInputStream bIn = new ByteArrayInputStream(keyData.getBytes()); ASN1InputStream aIn = new ASN1InputStream(bIn); return aIn.readObject(); }
[ "public", "DERObject", "getPublicKey", "(", ")", "throws", "IOException", "{", "ByteArrayInputStream", "bIn", "=", "new", "ByteArrayInputStream", "(", "keyData", ".", "getBytes", "(", ")", ")", ";", "ASN1InputStream", "aIn", "=", "new", "ASN1InputStream", "(", "...
for when the public key is an encoded object - if the bitstring can't be decoded this routine throws an IOException. @exception IOException - if the bit string doesn't represent a DER encoded object.
[ "for", "when", "the", "public", "key", "is", "an", "encoded", "object", "-", "if", "the", "bitstring", "can", "t", "be", "decoded", "this", "routine", "throws", "an", "IOException", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/SubjectPublicKeyInfo.java#L102-L109
69,902
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/remap/AddVersionFieldClassAdapter.java
AddVersionFieldClassAdapter.visitEnd
@Override public void visitEnd() { if (!fieldAlreadyExists) { FieldVisitor fv = super.visitField( Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL + Opcodes.ACC_STATIC, versionFieldName, ...
java
@Override public void visitEnd() { if (!fieldAlreadyExists) { FieldVisitor fv = super.visitField( Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL + Opcodes.ACC_STATIC, versionFieldName, ...
[ "@", "Override", "public", "void", "visitEnd", "(", ")", "{", "if", "(", "!", "fieldAlreadyExists", ")", "{", "FieldVisitor", "fv", "=", "super", ".", "visitField", "(", "Opcodes", ".", "ACC_PUBLIC", "+", "Opcodes", ".", "ACC_FINAL", "+", "Opcodes", ".", ...
End of class visitor that creates a version field definition if an existing definition wasn't observed.
[ "End", "of", "class", "visitor", "that", "creates", "a", "version", "field", "definition", "if", "an", "existing", "definition", "wasn", "t", "observed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/remap/AddVersionFieldClassAdapter.java#L72-L85
69,903
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setNonPersistentMapping
@Override public void setNonPersistentMapping(String nonPersistentMapping) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setNonPersistentMapping", nonPersistentMapping); if (nonPersistentMapping == null) { throw...
java
@Override public void setNonPersistentMapping(String nonPersistentMapping) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setNonPersistentMapping", nonPersistentMapping); if (nonPersistentMapping == null) { throw...
[ "@", "Override", "public", "void", "setNonPersistentMapping", "(", "String", "nonPersistentMapping", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ...
default non persistent mapping is EXPRESS_NONPERSISTENT, null non persistent mapping is not valid.
[ "default", "non", "persistent", "mapping", "is", "EXPRESS_NONPERSISTENT", "null", "non", "persistent", "mapping", "is", "not", "valid", "." ]
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/JmsConnectionFactoryImpl.java#L117-L153
69,904
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setPersistentMapping
@Override public void setPersistentMapping(String persistentMapping) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setPersistentMapping", persistentMapping); if (persistentMapping == null) { throw (JMSException)...
java
@Override public void setPersistentMapping(String persistentMapping) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setPersistentMapping", persistentMapping); if (persistentMapping == null) { throw (JMSException)...
[ "@", "Override", "public", "void", "setPersistentMapping", "(", "String", "persistentMapping", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", ...
default persistent mapping is RELIABLE_PERSISTENT, null persistent mapping is not valid.
[ "default", "persistent", "mapping", "is", "RELIABLE_PERSISTENT", "null", "persistent", "mapping", "is", "not", "valid", "." ]
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/JmsConnectionFactoryImpl.java#L159-L195
69,905
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setConnectionProximity
@Override public void setConnectionProximity(String newConnectionProximity) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setConnectionProximity", newConnectionProximity); // Check for null and empty string, and set to defa...
java
@Override public void setConnectionProximity(String newConnectionProximity) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setConnectionProximity", newConnectionProximity); // Check for null and empty string, and set to defa...
[ "@", "Override", "public", "void", "setConnectionProximity", "(", "String", "newConnectionProximity", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ...
Set the connection proximity 181802.2 @param newConnectionProximity The connection proximity to use @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#setConnectionProximity(java.lang.String)
[ "Set", "the", "connection", "proximity", "181802", ".", "2" ]
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/JmsConnectionFactoryImpl.java#L298-L325
69,906
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setTargetTransportChain
@Override public void setTargetTransportChain(String newTargetTransportChain) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTargetTransportChain", newTargetTransportChain); jcaManagedConnectionFactory.setTargetTransportCh...
java
@Override public void setTargetTransportChain(String newTargetTransportChain) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTargetTransportChain", newTargetTransportChain); jcaManagedConnectionFactory.setTargetTransportCh...
[ "@", "Override", "public", "void", "setTargetTransportChain", "(", "String", "newTargetTransportChain", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr"...
Set the remote protocol 181802.2 @param newTargetTransportChain The remote protocol to use @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#setRemoteProtocol(java.lang.String)
[ "Set", "the", "remote", "protocol", "181802", ".", "2" ]
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/JmsConnectionFactoryImpl.java#L368-L375
69,907
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setTarget
@Override public void setTarget(String newTargetGroup) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTarget", newTargetGroup); jcaManagedConnectionFactory.setTarget(newTargetGroup); if (TraceComponent.isAnyTracing...
java
@Override public void setTarget(String newTargetGroup) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTarget", newTargetGroup); jcaManagedConnectionFactory.setTarget(newTargetGroup); if (TraceComponent.isAnyTracing...
[ "@", "Override", "public", "void", "setTarget", "(", "String", "newTargetGroup", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "...
Set the target 181802.2 @param newTargetGroup The target to use @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#setTarget(java.lang.String)
[ "Set", "the", "target", "181802", ".", "2" ]
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/JmsConnectionFactoryImpl.java#L384-L391
69,908
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setTargetType
@Override public void setTargetType(String newTargetType) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTargetType", newTargetType); // Check for null and empty string, and set to default value if found if ((newT...
java
@Override public void setTargetType(String newTargetType) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTargetType", newTargetType); // Check for null and empty string, and set to default value if found if ((newT...
[ "@", "Override", "public", "void", "setTargetType", "(", "String", "newTargetType", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", ...
Set the target type 181802.2 @param newTargetType The target type to use @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#setTargetType(java.lang.String)
[ "Set", "the", "target", "type", "181802", ".", "2" ]
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/JmsConnectionFactoryImpl.java#L400-L426
69,909
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setTemporaryQueueNamePrefix
@Override public void setTemporaryQueueNamePrefix(String prefix) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTemporaryQueueNamePrefix", prefix); if (prefix != null && !prefix.equals("")) { jcaManagedConnect...
java
@Override public void setTemporaryQueueNamePrefix(String prefix) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTemporaryQueueNamePrefix", prefix); if (prefix != null && !prefix.equals("")) { jcaManagedConnect...
[ "@", "Override", "public", "void", "setTemporaryQueueNamePrefix", "(", "String", "prefix", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "e...
Set the temp queue name prefix 188482 @param prefix The String prefix to use @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#setTemporaryQueueNamePrefix(java.lang.String)
[ "Set", "the", "temp", "queue", "name", "prefix", "188482" ]
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/JmsConnectionFactoryImpl.java#L435-L449
69,910
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setMulticastInterface
@Override public void setMulticastInterface(String mi) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setMulticastInterface", mi); jcaManagedConnectionFactory.setMulticastInterface(mi); if (TraceComponent.isAnyTracingEnabled() && tc.isEn...
java
@Override public void setMulticastInterface(String mi) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setMulticastInterface", mi); jcaManagedConnectionFactory.setMulticastInterface(mi); if (TraceComponent.isAnyTracingEnabled() && tc.isEn...
[ "@", "Override", "public", "void", "setMulticastInterface", "(", "String", "mi", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ...
Set network interface to be used for multicast data. @param mi The IP address of the network interface. @see ApiJmsConstants.MULTICAST_INTERFACE_NONE
[ "Set", "network", "interface", "to", "be", "used", "for", "multicast", "data", "." ]
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/JmsConnectionFactoryImpl.java#L541-L548
69,911
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setSubscriptionProtocol
@Override public void setSubscriptionProtocol(String p) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSubscriptionProtocol", p); if (ApiJmsConstants.SUBSCRIPTION_PROTOCOL_UNICAST.equals(p) || ApiJmsConstants....
java
@Override public void setSubscriptionProtocol(String p) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSubscriptionProtocol", p); if (ApiJmsConstants.SUBSCRIPTION_PROTOCOL_UNICAST.equals(p) || ApiJmsConstants....
[ "@", "Override", "public", "void", "setSubscriptionProtocol", "(", "String", "p", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", ...
Set the subscription protocol to be used for the transmission of message data from the ME to the client. @param the protocol to use. @see ApiJmsConstants.SUBSCRIPTION_PROTOCOL_UNICAST @see ApiJmsConstants.SUBSCRIPTION_PROTOCOL_MULTICAST @see ApiJmsConstants.SUBSCRIPTION_PROTOCOL_UNICAST_AND_MULTICAST
[ "Set", "the", "subscription", "protocol", "to", "be", "used", "for", "the", "transmission", "of", "message", "data", "from", "the", "ME", "to", "the", "client", "." ]
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/JmsConnectionFactoryImpl.java#L559-L577
69,912
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java
JmsConnectionFactoryImpl.setProducerDoesNotModifyPayloadAfterSet
@Override public void setProducerDoesNotModifyPayloadAfterSet(String propertyValue) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setProducerDoesNotModifyPayloadAfterSet", propertyValue); // First of all, convert null and e...
java
@Override public void setProducerDoesNotModifyPayloadAfterSet(String propertyValue) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setProducerDoesNotModifyPayloadAfterSet", propertyValue); // First of all, convert null and e...
[ "@", "Override", "public", "void", "setProducerDoesNotModifyPayloadAfterSet", "(", "String", "propertyValue", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "...
Sets the property that indicates if the producer will modify the payload after setting it. @param propertyValue containing the property value. @throws JMSException In the event of an invalid value
[ "Sets", "the", "property", "that", "indicates", "if", "the", "producer", "will", "modify", "the", "payload", "after", "setting", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsConnectionFactoryImpl.java#L585-L609
69,913
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/CRLDistPoint.java
CRLDistPoint.getDistributionPoints
public DistributionPoint[] getDistributionPoints() { DistributionPoint[] dp = new DistributionPoint[seq.size()]; for (int i = 0; i != seq.size(); i++) { dp[i] = DistributionPoint.getInstance(seq.getObjectAt(i)); } return dp; }
java
public DistributionPoint[] getDistributionPoints() { DistributionPoint[] dp = new DistributionPoint[seq.size()]; for (int i = 0; i != seq.size(); i++) { dp[i] = DistributionPoint.getInstance(seq.getObjectAt(i)); } return dp; }
[ "public", "DistributionPoint", "[", "]", "getDistributionPoints", "(", ")", "{", "DistributionPoint", "[", "]", "dp", "=", "new", "DistributionPoint", "[", "seq", ".", "size", "(", ")", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "!=", "seq",...
Return the distribution points making up the sequence. @return DistributionPoint[]
[ "Return", "the", "distribution", "points", "making", "up", "the", "sequence", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/CRLDistPoint.java#L75-L85
69,914
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/J2CUtilityClass.java
J2CUtilityClass.getNextThrowable
public static Throwable getNextThrowable(Throwable t) { Throwable nextThrowable = null; if (t != null) { // try getCause first. nextThrowable = t.getCause(); if (nextThrowable == null) { // if getCause returns null, look for the JDBC and JCA specifi...
java
public static Throwable getNextThrowable(Throwable t) { Throwable nextThrowable = null; if (t != null) { // try getCause first. nextThrowable = t.getCause(); if (nextThrowable == null) { // if getCause returns null, look for the JDBC and JCA specifi...
[ "public", "static", "Throwable", "getNextThrowable", "(", "Throwable", "t", ")", "{", "Throwable", "nextThrowable", "=", "null", ";", "if", "(", "t", "!=", "null", ")", "{", "// try getCause first.", "nextThrowable", "=", "t", ".", "getCause", "(", ")", ";",...
Finds the next Throwable object from the one provided. @param t The throwable to start with @return The next or linked, or initial cause.
[ "Finds", "the", "next", "Throwable", "object", "from", "the", "one", "provided", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/J2CUtilityClass.java#L89-L110
69,915
OpenLiberty/open-liberty
dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/ChangeControl.java
ChangeControl.getCheckPoint
public List<com.ibm.wsspi.security.wim.model.CheckPointType> getCheckPoint() { if (checkPoint == null) { checkPoint = new ArrayList<com.ibm.wsspi.security.wim.model.CheckPointType>(); } return this.checkPoint; }
java
public List<com.ibm.wsspi.security.wim.model.CheckPointType> getCheckPoint() { if (checkPoint == null) { checkPoint = new ArrayList<com.ibm.wsspi.security.wim.model.CheckPointType>(); } return this.checkPoint; }
[ "public", "List", "<", "com", ".", "ibm", ".", "wsspi", ".", "security", ".", "wim", ".", "model", ".", "CheckPointType", ">", "getCheckPoint", "(", ")", "{", "if", "(", "checkPoint", "==", "null", ")", "{", "checkPoint", "=", "new", "ArrayList", "<", ...
Gets the value of the checkPoint property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the checkPoint property. <p> For example, to...
[ "Gets", "the", "value", "of", "the", "checkPoint", "property", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/ChangeControl.java#L117-L122
69,916
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringConsumerKey.java
GatheringConsumerKey.isKeyReady
public boolean isKeyReady() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "isKeyReady"); boolean returnValue = false; if(keyGroup == null) returnValue = ready; else //check if the ordering context is ready returnValue = keyGroup.isKeyRe...
java
public boolean isKeyReady() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "isKeyReady"); boolean returnValue = false; if(keyGroup == null) returnValue = ready; else //check if the ordering context is ready returnValue = keyGroup.isKeyRe...
[ "public", "boolean", "isKeyReady", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"isKeyReady\"", ")", ";", "boolean", "returnValu...
Determine if this key is ready No need to synchronize as this should be called under the readyConsumerPointLock
[ "Determine", "if", "this", "key", "is", "ready", "No", "need", "to", "synchronize", "as", "this", "should", "be", "called", "under", "the", "readyConsumerPointLock" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringConsumerKey.java#L297-L313
69,917
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringConsumerKey.java
GatheringConsumerKey.markNotReady
public synchronized void markNotReady() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "markNotReady"); // No-op if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "markNotReady"); }
java
public synchronized void markNotReady() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "markNotReady"); // No-op if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "markNotReady"); }
[ "public", "synchronized", "void", "markNotReady", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"markNotReady\"", ")", ";", "// N...
No-op for gathering
[ "No", "-", "op", "for", "gathering" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringConsumerKey.java#L316-L325
69,918
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringConsumerKey.java
GatheringConsumerKey.reattachConsumer
public void reattachConsumer(SIBUuid8 uuid, ConsumableKey ck) throws SINotPossibleInCurrentConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "reattachConsumer", new Object[] {uuid, ck}); long timeout = LocalConsumerPoint.NO_WAIT; ...
java
public void reattachConsumer(SIBUuid8 uuid, ConsumableKey ck) throws SINotPossibleInCurrentConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "reattachConsumer", new Object[] {uuid, ck}); long timeout = LocalConsumerPoint.NO_WAIT; ...
[ "public", "void", "reattachConsumer", "(", "SIBUuid8", "uuid", ",", "ConsumableKey", "ck", ")", "throws", "SINotPossibleInCurrentConfigurationException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ...
Also add the consumer key back into the list.
[ "Also", "add", "the", "consumer", "key", "back", "into", "the", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/GatheringConsumerKey.java#L530-L575
69,919
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java
AbstractObjectStore.like
public Token like(Token likeToken) { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "like", new Object[] { likeToken }); // See if we already have a copy of the object in memo...
java
public Token like(Token likeToken) { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "like", new Object[] { likeToken }); // See if we already have a copy of the object in memo...
[ "public", "Token", "like", "(", "Token", "likeToken", ")", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ",", "\"like\"", ",", "n...
References a ManagedObject at the same location in the store. Used to make sure that the caller is refering to the same object as all other users of the ManagedObject. @param likeToken which is a prototype of the Token we are looking for. @return the definitive version of the Token.
[ "References", "a", "ManagedObject", "at", "the", "same", "location", "in", "the", "store", ".", "Used", "to", "make", "sure", "that", "the", "caller", "is", "refering", "to", "the", "same", "object", "as", "all", "other", "users", "of", "the", "ManagedObje...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java#L265-L300
69,920
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java
AbstractObjectStore.allocate
public Token allocate(ManagedObject objectToStore) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "allocate", objectToStore); ...
java
public Token allocate(ManagedObject objectToStore) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "allocate", objectToStore); ...
[ "public", "Token", "allocate", "(", "ManagedObject", "objectToStore", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "th...
Allocate a Token for the ManagedObject. @param objectToStore to be allocated a token. @return Token allocated. @throws ObjectManagerException
[ "Allocate", "a", "Token", "for", "the", "ManagedObject", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java#L310-L408
69,921
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java
AbstractObjectStore.getIdentifier
public int getIdentifier() { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) { trace.entry(this, cclass , "getIdentifier" ); trace.exit(this, cclass , "getIdentifier" ...
java
public int getIdentifier() { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) { trace.entry(this, cclass , "getIdentifier" ); trace.exit(this, cclass , "getIdentifier" ...
[ "public", "int", "getIdentifier", "(", ")", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "{", "trace", ".", "entry", "(", "this", ",", "cclass", ",", "\"getIdentifier\"", ")", ";", ...
The identifier of the ObjectStore, unique within this ObjectManager. @return int the objectStore identifier
[ "The", "identifier", "of", "the", "ObjectStore", "unique", "within", "this", "ObjectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java#L584-L598
69,922
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java
AbstractObjectStore.setIdentifier
public void setIdentifier(int identifier) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "setIdentifier", new Object[] { new Integer...
java
public void setIdentifier(int identifier) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "setIdentifier", new Object[] { new Integer...
[ "public", "void", "setIdentifier", "(", "int", "identifier", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",...
Set the identifier of the Object Store, unique within this ObjectManager. @param identifier the assigned objectStore identifier @throws ObjectManagerException
[ "Set", "the", "identifier", "of", "the", "Object", "Store", "unique", "within", "this", "ObjectManager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java#L606-L640
69,923
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java
AbstractObjectStore.getName
public final String getName() { final String methodName = "getName"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) { trace.entry(this, cclass, methodName); trace.exit(this, cclass, methodName, new Object[] { storeName }); } return storeName; }
java
public final String getName() { final String methodName = "getName"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) { trace.entry(this, cclass, methodName); trace.exit(this, cclass, methodName, new Object[] { storeName }); } return storeName; }
[ "public", "final", "String", "getName", "(", ")", "{", "final", "String", "methodName", "=", "\"getName\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "{", "trace", ".", "entry", ...
The name of the ObjectStore. @return String the objectStore name
[ "The", "name", "of", "the", "ObjectStore", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractObjectStore.java#L647-L654
69,924
OpenLiberty/open-liberty
dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/UserRegistryServiceImpl.java
UserRegistryServiceImpl.autoDetectUserRegistry
private UserRegistry autoDetectUserRegistry(boolean exceptionOnError) throws RegistryException { // Determine if there is a federation registry configured. UserRegistry ur = getFederationRegistry(exceptionOnError); synchronized (userRegistrySync) { if (ur != null) { s...
java
private UserRegistry autoDetectUserRegistry(boolean exceptionOnError) throws RegistryException { // Determine if there is a federation registry configured. UserRegistry ur = getFederationRegistry(exceptionOnError); synchronized (userRegistrySync) { if (ur != null) { s...
[ "private", "UserRegistry", "autoDetectUserRegistry", "(", "boolean", "exceptionOnError", ")", "throws", "RegistryException", "{", "// Determine if there is a federation registry configured.", "UserRegistry", "ur", "=", "getFederationRegistry", "(", "exceptionOnError", ")", ";", ...
When a configuration element is not defined, use some "auto-detect" logic to try and return the single UserRegistry. If there is no service, or multiple services, that is considered an error case which "auto-detect" can not resolve. @return @throws RegistryException
[ "When", "a", "configuration", "element", "is", "not", "defined", "use", "some", "auto", "-", "detect", "logic", "to", "try", "and", "return", "the", "single", "UserRegistry", ".", "If", "there", "is", "no", "service", "or", "multiple", "services", "that", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/UserRegistryServiceImpl.java#L391-L429
69,925
OpenLiberty/open-liberty
dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/UserRegistryServiceImpl.java
UserRegistryServiceImpl.getUserRegistryFromConfiguration
private UserRegistry getUserRegistryFromConfiguration() throws RegistryException { String[] refIds = this.refId; if (refIds == null || refIds.length == 0) { // Can look for config.source = file // If thats set, and we're missing this, we can error. // If its not set, ...
java
private UserRegistry getUserRegistryFromConfiguration() throws RegistryException { String[] refIds = this.refId; if (refIds == null || refIds.length == 0) { // Can look for config.source = file // If thats set, and we're missing this, we can error. // If its not set, ...
[ "private", "UserRegistry", "getUserRegistryFromConfiguration", "(", ")", "throws", "RegistryException", "{", "String", "[", "]", "refIds", "=", "this", ".", "refId", ";", "if", "(", "refIds", "==", "null", "||", "refIds", ".", "length", "==", "0", ")", "{", ...
When a configuration element is defined, use it to resolve the effective UserRegistry configuration. @return @throws RegistryException
[ "When", "a", "configuration", "element", "is", "defined", "use", "it", "to", "resolve", "the", "effective", "UserRegistry", "configuration", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/UserRegistryServiceImpl.java#L447-L471
69,926
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/AioTCPReadRequestContextImpl.java
AioTCPReadRequestContextImpl.processSyncReadRequest
public long processSyncReadRequest(long numBytes, int timeout) throws IOException { long bytesRead = 0; boolean freeJIT = false; IOException exThisTime = null; immedTimeoutRequested = false; setJITAllocateAction(false); this.jITAllocatedDirect = false; // alloca...
java
public long processSyncReadRequest(long numBytes, int timeout) throws IOException { long bytesRead = 0; boolean freeJIT = false; IOException exThisTime = null; immedTimeoutRequested = false; setJITAllocateAction(false); this.jITAllocatedDirect = false; // alloca...
[ "public", "long", "processSyncReadRequest", "(", "long", "numBytes", ",", "int", "timeout", ")", "throws", "IOException", "{", "long", "bytesRead", "=", "0", ";", "boolean", "freeJIT", "=", "false", ";", "IOException", "exThisTime", "=", "null", ";", "immedTim...
that apply here
[ "that", "apply", "here" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/AioTCPReadRequestContextImpl.java#L127-L183
69,927
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java
JSONSAXHandler.startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes attrs) throws SAXException { if (logger.isLoggable(Level.FINER)) logger.exiting(className, "startElement(String,String,String,org.xml.sax.Attributes)"); Properties props = new Properties(); int attr...
java
public void startElement(String namespaceURI, String localName, String qName, Attributes attrs) throws SAXException { if (logger.isLoggable(Level.FINER)) logger.exiting(className, "startElement(String,String,String,org.xml.sax.Attributes)"); Properties props = new Properties(); int attr...
[ "public", "void", "startElement", "(", "String", "namespaceURI", ",", "String", "localName", ",", "String", "qName", ",", "Attributes", "attrs", ")", "throws", "SAXException", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")",...
This function parses an IFix top level element and all its children.
[ "This", "function", "parses", "an", "IFix", "top", "level", "element", "and", "all", "its", "children", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java#L100-L129
69,928
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java
JSONSAXHandler.endElement
public void endElement(String uri, String localName, String qName) throws SAXException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "endElement(String,String,String)"); if (!previousObjects.isEmpty()) { this.current = (JSONObject)this.previousObjects.pop...
java
public void endElement(String uri, String localName, String qName) throws SAXException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "endElement(String,String,String)"); if (!previousObjects.isEmpty()) { this.current = (JSONObject)this.previousObjects.pop...
[ "public", "void", "endElement", "(", "String", "uri", ",", "String", "localName", ",", "String", "qName", ")", "throws", "SAXException", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", "logger", ".", "entering", "(", "c...
Function ends a tag in this iFix parser.
[ "Function", "ends", "a", "tag", "in", "this", "iFix", "parser", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java#L134-L149
69,929
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java
JSONSAXHandler.flushBuffer
public void flushBuffer() throws IOException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "flushBuffer()"); if (this.osWriter != null) { this.osWriter.flush(); } if (logger.isLoggable(Level.FINER)) logger.exiting(className, "flushBuffer()...
java
public void flushBuffer() throws IOException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "flushBuffer()"); if (this.osWriter != null) { this.osWriter.flush(); } if (logger.isLoggable(Level.FINER)) logger.exiting(className, "flushBuffer()...
[ "public", "void", "flushBuffer", "(", ")", "throws", "IOException", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", "logger", ".", "entering", "(", "className", ",", "\"flushBuffer()\"", ")", ";", "if", "(", "this", "."...
Method to flush out anything remaining in the buffers.
[ "Method", "to", "flush", "out", "anything", "remaining", "in", "the", "buffers", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java#L190-L201
69,930
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java
JSONSAXHandler.startJSON
private void startJSON() throws SAXException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "startJSON()"); this.head = new JSONObject("",null); this.current = head; if (logger.isLoggable(Level.FINER)) logger.exiting(className, "startJSON()"); }
java
private void startJSON() throws SAXException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "startJSON()"); this.head = new JSONObject("",null); this.current = head; if (logger.isLoggable(Level.FINER)) logger.exiting(className, "startJSON()"); }
[ "private", "void", "startJSON", "(", ")", "throws", "SAXException", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", "logger", ".", "entering", "(", "className", ",", "\"startJSON()\"", ")", ";", "this", ".", "head", "="...
Internal method to start JSON generation.
[ "Internal", "method", "to", "start", "JSON", "generation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java#L206-L215
69,931
OpenLiberty/open-liberty
dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java
JSONSAXHandler.endJSON
private void endJSON() throws SAXException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "endJSON()"); try { this.head.writeObject(this.osWriter, 0, true, this.compact); this.head = null; this.current = null; this....
java
private void endJSON() throws SAXException { if (logger.isLoggable(Level.FINER)) logger.entering(className, "endJSON()"); try { this.head.writeObject(this.osWriter, 0, true, this.compact); this.head = null; this.current = null; this....
[ "private", "void", "endJSON", "(", ")", "throws", "SAXException", "{", "if", "(", "logger", ".", "isLoggable", "(", "Level", ".", "FINER", ")", ")", "logger", ".", "entering", "(", "className", ",", "\"endJSON()\"", ")", ";", "try", "{", "this", ".", "...
Internal method to end the JSON generation and to write out the resultant JSON text and reset the internal state of the hander.
[ "Internal", "method", "to", "end", "the", "JSON", "generation", "and", "to", "write", "out", "the", "resultant", "JSON", "text", "and", "reset", "the", "internal", "state", "of", "the", "hander", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/internal/JSONSAXHandler.java#L221-L241
69,932
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java
JmsJcaManagedConnectionFactoryImpl.matchManagedConnections
@Override final public ManagedConnection matchManagedConnections( final Set connectionSet, final Subject subject, final ConnectionRequestInfo requestInfo) { if (TraceComponent.isAnyTracingE...
java
@Override final public ManagedConnection matchManagedConnections( final Set connectionSet, final Subject subject, final ConnectionRequestInfo requestInfo) { if (TraceComponent.isAnyTracingE...
[ "@", "Override", "final", "public", "ManagedConnection", "matchManagedConnections", "(", "final", "Set", "connectionSet", ",", "final", "Subject", "subject", ",", "final", "ConnectionRequestInfo", "requestInfo", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracin...
Returns a matching connection from the candidate set of connections. @param connectionSet the candidate set of connections @param subject the subject @param requestInfo the request information @return the matching connection, if any
[ "Returns", "a", "matching", "connection", "from", "the", "candidate", "set", "of", "connections", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java#L508-L593
69,933
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java
JmsJcaManagedConnectionFactoryImpl.getTrmProperties
Map getTrmProperties() { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "getTrmProperties"); } final Map trmProperties = new HashMap(); final String trmBusName = getBusName(); if ((trmBusName != null) && (!trmBusName....
java
Map getTrmProperties() { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "getTrmProperties"); } final Map trmProperties = new HashMap(); final String trmBusName = getBusName(); if ((trmBusName != null) && (!trmBusName....
[ "Map", "getTrmProperties", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "TRACE", ",", "\"getTrmProperties\"", ")", ";", ...
Returns the map of properties required by TRM. @return the map of TRM properties
[ "Returns", "the", "map", "of", "properties", "required", "by", "TRM", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java#L1567-L1644
69,934
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java
JmsJcaManagedConnectionFactoryImpl.getReference
Reference getReference() { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "getReference"); } // Create a reference object describing this class final Reference reference = new Reference(getConnectionType(), ...
java
Reference getReference() { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "getReference"); } // Create a reference object describing this class final Reference reference = new Reference(getConnectionType(), ...
[ "Reference", "getReference", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "TRACE", ",", "\"getReference\"", ")", ";", ...
Returns a reference for this managed connection factory. @return a reference for this managed connection factory
[ "Returns", "a", "reference", "for", "this", "managed", "connection", "factory", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java#L1779-L1818
69,935
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java
JmsJcaManagedConnectionFactoryImpl.setReference
public void setReference(final Reference reference) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "setReference", reference); } // Make sure no-one can pull the rug from beneath us. synchronized (_properties) { ...
java
public void setReference(final Reference reference) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "setReference", reference); } // Make sure no-one can pull the rug from beneath us. synchronized (_properties) { ...
[ "public", "void", "setReference", "(", "final", "Reference", "reference", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "TRACE...
Initializes this managed connection factory using the given reference. @param reference the reference
[ "Initializes", "this", "managed", "connection", "factory", "using", "the", "given", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java#L1826-L1842
69,936
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java
JmsJcaManagedConnectionFactoryImpl.getObjectInstance
@Override public Object getObjectInstance(final Object object, final Name name, final Context context, final Hashtable environment) throws Exception { JmsConnectionFactory jmsConnectionFactory = null; if (TraceComponent.isAnyTracingEnabled() ...
java
@Override public Object getObjectInstance(final Object object, final Name name, final Context context, final Hashtable environment) throws Exception { JmsConnectionFactory jmsConnectionFactory = null; if (TraceComponent.isAnyTracingEnabled() ...
[ "@", "Override", "public", "Object", "getObjectInstance", "(", "final", "Object", "object", ",", "final", "Name", "name", ",", "final", "Context", "context", ",", "final", "Hashtable", "environment", ")", "throws", "Exception", "{", "JmsConnectionFactory", "jmsCon...
Constructs an object factory which constructs a managed connection factory, calls the non-managed createConnectionFactory and then calls the setReference on the JMSConnFactory. @param object the referenceable object to be created @param name the name @param context the naming context @param environment the environment...
[ "Constructs", "an", "object", "factory", "which", "constructs", "a", "managed", "connection", "factory", "calls", "the", "non", "-", "managed", "createConnectionFactory", "and", "then", "calls", "the", "setReference", "on", "the", "JMSConnFactory", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jmsra/impl/JmsJcaManagedConnectionFactoryImpl.java#L1859-L1913
69,937
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsTraceRouterImpl.java
WsTraceRouterImpl.setWsTraceHandler
public void setWsTraceHandler(String id, WsTraceHandler ref) { if (id != null && ref != null) { RERWLOCK.writeLock().lock(); try { wsTraceHandlerServices.put(id, ref); /* * Route prev traces to the new LogHandler. * ...
java
public void setWsTraceHandler(String id, WsTraceHandler ref) { if (id != null && ref != null) { RERWLOCK.writeLock().lock(); try { wsTraceHandlerServices.put(id, ref); /* * Route prev traces to the new LogHandler. * ...
[ "public", "void", "setWsTraceHandler", "(", "String", "id", ",", "WsTraceHandler", "ref", ")", "{", "if", "(", "id", "!=", "null", "&&", "ref", "!=", "null", ")", "{", "RERWLOCK", ".", "writeLock", "(", ")", ".", "lock", "(", ")", ";", "try", "{", ...
Add the wsTraceHandler ref. 1 or more LogHandlers may be set.
[ "Add", "the", "wsTraceHandler", "ref", ".", "1", "or", "more", "LogHandlers", "may", "be", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsTraceRouterImpl.java#L67-L93
69,938
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsTraceRouterImpl.java
WsTraceRouterImpl.routeToAll
protected boolean routeToAll(RoutedMessage routedTrace, Set<String> logHandlerIds) { for (String logHandlerId : logHandlerIds) { routeTo(routedTrace, logHandlerId); } return true; //for now return true. Later we might have a config/flag to check whether to log normally or not. ...
java
protected boolean routeToAll(RoutedMessage routedTrace, Set<String> logHandlerIds) { for (String logHandlerId : logHandlerIds) { routeTo(routedTrace, logHandlerId); } return true; //for now return true. Later we might have a config/flag to check whether to log normally or not. ...
[ "protected", "boolean", "routeToAll", "(", "RoutedMessage", "routedTrace", ",", "Set", "<", "String", ">", "logHandlerIds", ")", "{", "for", "(", "String", "logHandlerId", ":", "logHandlerIds", ")", "{", "routeTo", "(", "routedTrace", ",", "logHandlerId", ")", ...
Route the trace to all LogHandlers in the set. @return true if the set contained DEFAULT, which means the msg should be logged normally as well. false otherwise.
[ "Route", "the", "trace", "to", "all", "LogHandlers", "in", "the", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsTraceRouterImpl.java#L136-L143
69,939
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsTraceRouterImpl.java
WsTraceRouterImpl.routeTo
protected void routeTo(RoutedMessage routedTrace, String logHandlerId) { WsTraceHandler wsTraceHandler = wsTraceHandlerServices.get(logHandlerId); if (wsTraceHandler != null) { wsTraceHandler.publish(routedTrace); } }
java
protected void routeTo(RoutedMessage routedTrace, String logHandlerId) { WsTraceHandler wsTraceHandler = wsTraceHandlerServices.get(logHandlerId); if (wsTraceHandler != null) { wsTraceHandler.publish(routedTrace); } }
[ "protected", "void", "routeTo", "(", "RoutedMessage", "routedTrace", ",", "String", "logHandlerId", ")", "{", "WsTraceHandler", "wsTraceHandler", "=", "wsTraceHandlerServices", ".", "get", "(", "logHandlerId", ")", ";", "if", "(", "wsTraceHandler", "!=", "null", "...
Route the traces to the LogHandler identified by the given logHandlerId. @param msg The fully formatted trace. @param logRecord The associated LogRecord, in case the LogHandler needs it. @param logHandlerId The LogHandler ID in which to route.
[ "Route", "the", "traces", "to", "the", "LogHandler", "identified", "by", "the", "given", "logHandlerId", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsTraceRouterImpl.java#L152-L157
69,940
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchingImpl.java
MatchingImpl.createMatchSpace
public MatchSpace createMatchSpace(Identifier rootId, boolean enableCacheing) { MatchSpace matchSpace = new MatchSpaceImpl(rootId, enableCacheing); return matchSpace; }
java
public MatchSpace createMatchSpace(Identifier rootId, boolean enableCacheing) { MatchSpace matchSpace = new MatchSpaceImpl(rootId, enableCacheing); return matchSpace; }
[ "public", "MatchSpace", "createMatchSpace", "(", "Identifier", "rootId", ",", "boolean", "enableCacheing", ")", "{", "MatchSpace", "matchSpace", "=", "new", "MatchSpaceImpl", "(", "rootId", ",", "enableCacheing", ")", ";", "return", "matchSpace", ";", "}" ]
Create a concrete instance of a MatchSpace
[ "Create", "a", "concrete", "instance", "of", "a", "MatchSpace" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchingImpl.java#L99-L104
69,941
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchingImpl.java
MatchingImpl.createOperator
public Operator createOperator(int op, Selector operand) { Operator operator = new OperatorImpl(op, operand); return operator; }
java
public Operator createOperator(int op, Selector operand) { Operator operator = new OperatorImpl(op, operand); return operator; }
[ "public", "Operator", "createOperator", "(", "int", "op", ",", "Selector", "operand", ")", "{", "Operator", "operator", "=", "new", "OperatorImpl", "(", "op", ",", "operand", ")", ";", "return", "operator", ";", "}" ]
Create a concrete instance of an Operator
[ "Create", "a", "concrete", "instance", "of", "an", "Operator" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchingImpl.java#L268-L273
69,942
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchingImpl.java
MatchingImpl.createLikeOperator
public Operator createLikeOperator(Selector ar, String pattern, boolean escaped, char escape) { Object parsed = Pattern.parsePattern(pattern, escaped, escape); if (parsed == null) return null; else if (parsed == Pattern.matchMany) return createOperator(Selector.NOT, createOperator(Selector.ISNULL, ar));...
java
public Operator createLikeOperator(Selector ar, String pattern, boolean escaped, char escape) { Object parsed = Pattern.parsePattern(pattern, escaped, escape); if (parsed == null) return null; else if (parsed == Pattern.matchMany) return createOperator(Selector.NOT, createOperator(Selector.ISNULL, ar));...
[ "public", "Operator", "createLikeOperator", "(", "Selector", "ar", ",", "String", "pattern", ",", "boolean", "escaped", ",", "char", "escape", ")", "{", "Object", "parsed", "=", "Pattern", ".", "parsePattern", "(", "pattern", ",", "escaped", ",", "escape", "...
Create a concrete instance of a LikeOperator
[ "Create", "a", "concrete", "instance", "of", "a", "LikeOperator" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchingImpl.java#L301-L313
69,943
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/RequestUtils.java
RequestUtils.getURIForCurrentDispatch
public static String getURIForCurrentDispatch (HttpServletRequest req){ String includeURI = (String) req.getAttribute(WebAppRequestDispatcher.REQUEST_URI_INCLUDE_ATTR); if (includeURI == null) return req.getRequestURI(); else return includeURI; }
java
public static String getURIForCurrentDispatch (HttpServletRequest req){ String includeURI = (String) req.getAttribute(WebAppRequestDispatcher.REQUEST_URI_INCLUDE_ATTR); if (includeURI == null) return req.getRequestURI(); else return includeURI; }
[ "public", "static", "String", "getURIForCurrentDispatch", "(", "HttpServletRequest", "req", ")", "{", "String", "includeURI", "=", "(", "String", ")", "req", ".", "getAttribute", "(", "WebAppRequestDispatcher", ".", "REQUEST_URI_INCLUDE_ATTR", ")", ";", "if", "(", ...
Used to retrive the "true" uri that represents the current request. If include request_uri attribute is set, it returns that value. Otherwise, it returns the default of req.getRequestUri @param req @return
[ "Used", "to", "retrive", "the", "true", "uri", "that", "represents", "the", "current", "request", ".", "If", "include", "request_uri", "attribute", "is", "set", "it", "returns", "that", "value", ".", "Otherwise", "it", "returns", "the", "default", "of", "req...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/RequestUtils.java#L657-L663
69,944
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeJobExecution.java
RuntimeJobExecution.publishEvent
private void publishEvent(WSJobInstance objectToPublish, String eventToPublish) { if (getBatchEventsPublisher() != null) { getBatchEventsPublisher().publishJobInstanceEvent(objectToPublish, eventToPublish, correlationId); } }
java
private void publishEvent(WSJobInstance objectToPublish, String eventToPublish) { if (getBatchEventsPublisher() != null) { getBatchEventsPublisher().publishJobInstanceEvent(objectToPublish, eventToPublish, correlationId); } }
[ "private", "void", "publishEvent", "(", "WSJobInstance", "objectToPublish", ",", "String", "eventToPublish", ")", "{", "if", "(", "getBatchEventsPublisher", "(", ")", "!=", "null", ")", "{", "getBatchEventsPublisher", "(", ")", ".", "publishJobInstanceEvent", "(", ...
Publish event for this job instance @param jobInstance @param eventToBePublished
[ "Publish", "event", "for", "this", "job", "instance" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeJobExecution.java#L150-L155
69,945
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeJobExecution.java
RuntimeJobExecution.publishEvent
private void publishEvent(WSJobExecution execution, WSJobInstance jobInstance, BatchStatus batchStatus) { if (batchStatus == BatchStatus.FAILED) { publishEvent(execution, BatchEventsPublisher.TOPIC_EXECUTION_FAILED); publishEvent(jobInstance, BatchEventsPublisher.TOPIC_INSTANCE_FAILED);...
java
private void publishEvent(WSJobExecution execution, WSJobInstance jobInstance, BatchStatus batchStatus) { if (batchStatus == BatchStatus.FAILED) { publishEvent(execution, BatchEventsPublisher.TOPIC_EXECUTION_FAILED); publishEvent(jobInstance, BatchEventsPublisher.TOPIC_INSTANCE_FAILED);...
[ "private", "void", "publishEvent", "(", "WSJobExecution", "execution", ",", "WSJobInstance", "jobInstance", ",", "BatchStatus", "batchStatus", ")", "{", "if", "(", "batchStatus", "==", "BatchStatus", ".", "FAILED", ")", "{", "publishEvent", "(", "execution", ",", ...
Helper method to publish execution data to appropriate topic per batchStatus @param execution @param jobInstance @param batchStatus
[ "Helper", "method", "to", "publish", "execution", "data", "to", "appropriate", "topic", "per", "batchStatus" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeJobExecution.java#L215-L235
69,946
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadManager.java
ThreadManager.getInstance
public static ThreadManager getInstance() { if (thisClass == null) { thisClass = new ThreadManager(); String useInheritableThreadLocalString = SSLConfigManager.getInstance().getGlobalProperty(Constants.SSLPROP_USE_INHERITABLE_THREAD_LOCAL); if (useInheritableThreadLocalStrin...
java
public static ThreadManager getInstance() { if (thisClass == null) { thisClass = new ThreadManager(); String useInheritableThreadLocalString = SSLConfigManager.getInstance().getGlobalProperty(Constants.SSLPROP_USE_INHERITABLE_THREAD_LOCAL); if (useInheritableThreadLocalStrin...
[ "public", "static", "ThreadManager", "getInstance", "(", ")", "{", "if", "(", "thisClass", "==", "null", ")", "{", "thisClass", "=", "new", "ThreadManager", "(", ")", ";", "String", "useInheritableThreadLocalString", "=", "SSLConfigManager", ".", "getInstance", ...
Access the singleton instance of this class. @return ThreadManager
[ "Access", "the", "singleton", "instance", "of", "this", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadManager.java#L55-L68
69,947
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadManager.java
ThreadManager.getThreadContext
public ThreadContext getThreadContext() { if (useInheritableThreadLocal && !SSLConfigManager.getInstance().isServerProcess()) { ThreadContext context = inheritableThreadLocStorage.get(); if (context == null) { context = new ThreadContext(); inheritableThr...
java
public ThreadContext getThreadContext() { if (useInheritableThreadLocal && !SSLConfigManager.getInstance().isServerProcess()) { ThreadContext context = inheritableThreadLocStorage.get(); if (context == null) { context = new ThreadContext(); inheritableThr...
[ "public", "ThreadContext", "getThreadContext", "(", ")", "{", "if", "(", "useInheritableThreadLocal", "&&", "!", "SSLConfigManager", ".", "getInstance", "(", ")", ".", "isServerProcess", "(", ")", ")", "{", "ThreadContext", "context", "=", "inheritableThreadLocStora...
Access the current thread context. @return ThreadContext
[ "Access", "the", "current", "thread", "context", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ThreadManager.java#L75-L93
69,948
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.stop
public void stop() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "stop"); ivIsInitialized = false; if (isTraceOn && tc.isEntryEnabled()) Tr.exit(tc, "stop"); }
java
public void stop() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "stop"); ivIsInitialized = false; if (isTraceOn && tc.isEntryEnabled()) Tr.exit(tc, "stop"); }
[ "public", "void", "stop", "(", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\...
Set the initialized flag to false so that others may not NOT register in their start method.
[ "Set", "the", "initialized", "flag", "to", "false", "so", "that", "others", "may", "not", "NOT", "register", "in", "their", "start", "method", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L263-L271
69,949
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.registerInjectionProcessor
@Override public <A extends Annotation, AS extends Annotation> void registerInjectionProcessor (Class<? extends InjectionProcessor<A, AS>> processor, Class<A> annotation) throws InjectionException { if (OverrideInjectionProcess...
java
@Override public <A extends Annotation, AS extends Annotation> void registerInjectionProcessor (Class<? extends InjectionProcessor<A, AS>> processor, Class<A> annotation) throws InjectionException { if (OverrideInjectionProcess...
[ "@", "Override", "public", "<", "A", "extends", "Annotation", ",", "AS", "extends", "Annotation", ">", "void", "registerInjectionProcessor", "(", "Class", "<", "?", "extends", "InjectionProcessor", "<", "A", ",", "AS", ">", ">", "processor", ",", "Class", "<...
Registers the specified processor with the injection engine. If a processor was already registered with the specified annotation, that class will be returned otherwise a null will be returned. @param processor The processor class to be registered @param annotation The annotation class the processor is associated. @th...
[ "Registers", "the", "specified", "processor", "with", "the", "injection", "engine", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L283-L295
69,950
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.processInjectionMetaData
@Override public void processInjectionMetaData (HashMap<Class<?>, InjectionTarget[]> injectionTargetMap, ComponentNameSpaceConfiguration compNSConfig) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTr...
java
@Override public void processInjectionMetaData (HashMap<Class<?>, InjectionTarget[]> injectionTargetMap, ComponentNameSpaceConfiguration compNSConfig) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTr...
[ "@", "Override", "public", "void", "processInjectionMetaData", "(", "HashMap", "<", "Class", "<", "?", ">", ",", "InjectionTarget", "[", "]", ">", "injectionTargetMap", ",", "ComponentNameSpaceConfiguration", "compNSConfig", ")", "throws", "InjectionException", "{", ...
Populates the empty cookie map with cookies to be injections. @param injectionTargetMap An empty map to be populated with the injection targets from the merged xml and annotations. @param compNSConfig The component configuration information provided by the container. @throws InjectionException if an error occurs proce...
[ "Populates", "the", "empty", "cookie", "map", "with", "cookies", "to", "be", "injections", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L404-L441
69,951
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.processInjectionMetaData
protected void processInjectionMetaData(ComponentNameSpaceConfiguration compNSConfig, List<Class<?>> annotatedClasses) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEnt...
java
protected void processInjectionMetaData(ComponentNameSpaceConfiguration compNSConfig, List<Class<?>> annotatedClasses) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEnt...
[ "protected", "void", "processInjectionMetaData", "(", "ComponentNameSpaceConfiguration", "compNSConfig", ",", "List", "<", "Class", "<", "?", ">", ">", "annotatedClasses", ")", "throws", "InjectionException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ...
Processes injection metadata using the specified configuration with InjectionProcessorContext already set. @param compNSConfig the component configuration with InjectionProcessorContext already set @param annotatedClasses the list of classes that should be processed for annotations, or <tt>null</tt> if the list should...
[ "Processes", "injection", "metadata", "using", "the", "specified", "configuration", "with", "InjectionProcessorContext", "already", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L452-L529
69,952
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.checkAnnotationClasses
private void checkAnnotationClasses(ClassLoader loader) // d676633 { boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.entry(tc, "checkAnnotationClasses: " + loader); // All EJBs in an application share the same class loader. Onl...
java
private void checkAnnotationClasses(ClassLoader loader) // d676633 { boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.entry(tc, "checkAnnotationClasses: " + loader); // All EJBs in an application share the same class loader. Onl...
[ "private", "void", "checkAnnotationClasses", "(", "ClassLoader", "loader", ")", "// d676633", "{", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")",...
Check the specified class loader to check if it has overridden any annotation classes processed by the injection engine.
[ "Check", "the", "specified", "class", "loader", "to", "check", "if", "it", "has", "overridden", "any", "annotation", "classes", "processed", "by", "the", "injection", "engine", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L535-L602
69,953
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.inject
@Override public void inject(Object objectToInject, InjectionTarget injectionTarget) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "inject", obj...
java
@Override public void inject(Object objectToInject, InjectionTarget injectionTarget) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "inject", obj...
[ "@", "Override", "public", "void", "inject", "(", "Object", "objectToInject", ",", "InjectionTarget", "injectionTarget", ")", "throws", "InjectionException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if"...
This method handles the actual injection of injectedObject to the target beanObject using either the METHOD or FIELD specified in the injectionTarget.
[ "This", "method", "handles", "the", "actual", "injection", "of", "injectedObject", "to", "the", "target", "beanObject", "using", "either", "the", "METHOD", "or", "FIELD", "specified", "in", "the", "injectionTarget", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L822-L835
69,954
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.registerInjectionMetaDataListener
@Override public void registerInjectionMetaDataListener(InjectionMetaDataListener metaDataListener) { if (metaDataListener == null) { throw new IllegalArgumentException("A null InjectionMetaDataListener cannot be registered " + "with the injecti...
java
@Override public void registerInjectionMetaDataListener(InjectionMetaDataListener metaDataListener) { if (metaDataListener == null) { throw new IllegalArgumentException("A null InjectionMetaDataListener cannot be registered " + "with the injecti...
[ "@", "Override", "public", "void", "registerInjectionMetaDataListener", "(", "InjectionMetaDataListener", "metaDataListener", ")", "{", "if", "(", "metaDataListener", "==", "null", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"A null InjectionMetaDataListene...
This method will register an instance of an InjectionMetaDataListener with the current engine instance.
[ "This", "method", "will", "register", "an", "instance", "of", "an", "InjectionMetaDataListener", "with", "the", "current", "engine", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L887-L897
69,955
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.unregisterInjectionMetaDataListener
@Override public void unregisterInjectionMetaDataListener(InjectionMetaDataListener metaDataListener) { if (metaDataListener == null) { throw new IllegalArgumentException("A null InjectionMetaDataListener cannot be unregistered " + "from the inj...
java
@Override public void unregisterInjectionMetaDataListener(InjectionMetaDataListener metaDataListener) { if (metaDataListener == null) { throw new IllegalArgumentException("A null InjectionMetaDataListener cannot be unregistered " + "from the inj...
[ "@", "Override", "public", "void", "unregisterInjectionMetaDataListener", "(", "InjectionMetaDataListener", "metaDataListener", ")", "{", "if", "(", "metaDataListener", "==", "null", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"A null InjectionMetaDataListe...
This method will unregister an instance of an InjectionMetaDataListener with the current engine instance.
[ "This", "method", "will", "unregister", "an", "instance", "of", "an", "InjectionMetaDataListener", "with", "the", "current", "engine", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L903-L913
69,956
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.registerOverrideReferenceFactory
@Override public <A extends Annotation> void registerOverrideReferenceFactory(Class<A> annotation, OverrideReferenceFactory<A> factory) throws InjectionException { if (TraceComponent.isAnyTracingEnabled() && tc.i...
java
@Override public <A extends Annotation> void registerOverrideReferenceFactory(Class<A> annotation, OverrideReferenceFactory<A> factory) throws InjectionException { if (TraceComponent.isAnyTracingEnabled() && tc.i...
[ "@", "Override", "public", "<", "A", "extends", "Annotation", ">", "void", "registerOverrideReferenceFactory", "(", "Class", "<", "A", ">", "annotation", ",", "OverrideReferenceFactory", "<", "A", ">", "factory", ")", "throws", "InjectionException", "{", "if", "...
F1339-9050
[ "F1339", "-", "9050" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L1092-L1162
69,957
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.getOverrideReferenceFactories
@Override @SuppressWarnings("unchecked") public synchronized <A extends Annotation> OverrideReferenceFactory<A>[] getOverrideReferenceFactories(Class<A> klass) // F743-32443 { ivOverrideReferenceFactoryMapCopyOnWrite = true; // PM79779 return (OverrideReferenceFactory<A>[]) ivOverrideReferen...
java
@Override @SuppressWarnings("unchecked") public synchronized <A extends Annotation> OverrideReferenceFactory<A>[] getOverrideReferenceFactories(Class<A> klass) // F743-32443 { ivOverrideReferenceFactoryMapCopyOnWrite = true; // PM79779 return (OverrideReferenceFactory<A>[]) ivOverrideReferen...
[ "@", "Override", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "synchronized", "<", "A", "extends", "Annotation", ">", "OverrideReferenceFactory", "<", "A", ">", "[", "]", "getOverrideReferenceFactories", "(", "Class", "<", "A", ">", "klass", ")"...
Gets the list of override factories for the specified class. @param klass the class @return the list of override factories
[ "Gets", "the", "list", "of", "override", "factories", "for", "the", "specified", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L1170-L1176
69,958
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java
AbstractInjectionEngine.registerManagedBeanReferenceFactory
@Override public MBLinkReferenceFactory registerManagedBeanReferenceFactory(MBLinkReferenceFactory mbLinkRefFactory) { MBLinkReferenceFactory rtnFactory = DEFAULT_MBLinkRefFactory; ivMBLinkRefFactory = mbLinkRefFactory; // d703474 return rtnFactory; }
java
@Override public MBLinkReferenceFactory registerManagedBeanReferenceFactory(MBLinkReferenceFactory mbLinkRefFactory) { MBLinkReferenceFactory rtnFactory = DEFAULT_MBLinkRefFactory; ivMBLinkRefFactory = mbLinkRefFactory; // d703474 return rtnFactory; }
[ "@", "Override", "public", "MBLinkReferenceFactory", "registerManagedBeanReferenceFactory", "(", "MBLinkReferenceFactory", "mbLinkRefFactory", ")", "{", "MBLinkReferenceFactory", "rtnFactory", "=", "DEFAULT_MBLinkRefFactory", ";", "ivMBLinkRefFactory", "=", "mbLinkRefFactory", ";...
d698540.1
[ "d698540", ".", "1" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/AbstractInjectionEngine.java#L1212-L1218
69,959
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/FileSystem.java
FileSystem.walkPath
public static boolean walkPath(File appRoot, String relativePath) throws IOException { // Walk the path from the app root String[] relativePathElements = relativePath.replace(File.separatorChar, '/').split("/"); File currentPath = new File(appRoot.getCanonicalPath()); for (int i = 0; i <...
java
public static boolean walkPath(File appRoot, String relativePath) throws IOException { // Walk the path from the app root String[] relativePathElements = relativePath.replace(File.separatorChar, '/').split("/"); File currentPath = new File(appRoot.getCanonicalPath()); for (int i = 0; i <...
[ "public", "static", "boolean", "walkPath", "(", "File", "appRoot", ",", "String", "relativePath", ")", "throws", "IOException", "{", "// Walk the path from the app root", "String", "[", "]", "relativePathElements", "=", "relativePath", ".", "replace", "(", "File", "...
end 94578 Security Defect.
[ "end", "94578", "Security", "Defect", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/FileSystem.java#L136-L153
69,960
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java
DurableOutputHandler.staticHandleControlMessage
public static void staticHandleControlMessage( ControlMessage cMsg, DestinationManager DM, MessageProcessor MP) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "staticHandleControlMessage", new Object[]{cMsg, DM, MP}); // This should be one of t...
java
public static void staticHandleControlMessage( ControlMessage cMsg, DestinationManager DM, MessageProcessor MP) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "staticHandleControlMessage", new Object[]{cMsg, DM, MP}); // This should be one of t...
[ "public", "static", "void", "staticHandleControlMessage", "(", "ControlMessage", "cMsg", ",", "DestinationManager", "DM", ",", "MessageProcessor", "MP", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", ...
This is the only message handling method which should be invoked on the DurableOutputHandler. This method will receive control messages giving the status of durable subcription creation or deletion, as well as stream creation requests. @param sourceCellue The origin of the message. @param cMsg The ControlMessage to p...
[ "This", "is", "the", "only", "message", "handling", "method", "which", "should", "be", "invoked", "on", "the", "DurableOutputHandler", ".", "This", "method", "will", "receive", "control", "messages", "giving", "the", "status", "of", "durable", "subcription", "cr...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java#L120-L174
69,961
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java
DurableOutputHandler.handleCreateDurable
protected static void handleCreateDurable( DestinationManager DM, ControlCreateDurable msg, MessageProcessor MP) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleCreateDurable", new Object[] {DM, msg, MP}); int status = STATUS_SUB_GENER...
java
protected static void handleCreateDurable( DestinationManager DM, ControlCreateDurable msg, MessageProcessor MP) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleCreateDurable", new Object[] {DM, msg, MP}); int status = STATUS_SUB_GENER...
[ "protected", "static", "void", "handleCreateDurable", "(", "DestinationManager", "DM", ",", "ControlCreateDurable", "msg", ",", "MessageProcessor", "MP", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", ...
Attempt to create a new durable subscription and send back either a ControlDurableConfirm giving the result. @param msg The ControlCreateDurable request message.
[ "Attempt", "to", "create", "a", "new", "durable", "subscription", "and", "send", "back", "either", "a", "ControlDurableConfirm", "giving", "the", "result", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java#L182-L272
69,962
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java
DurableOutputHandler.handleDeleteDurable
protected static void handleDeleteDurable( DestinationManager DM, ControlDeleteDurable msg, MessageProcessor MP) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleDeleteDurable", new Object[] {DM, msg, MP}); int status = STATUS_SUB_GENERAL_ERROR; ...
java
protected static void handleDeleteDurable( DestinationManager DM, ControlDeleteDurable msg, MessageProcessor MP) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleDeleteDurable", new Object[] {DM, msg, MP}); int status = STATUS_SUB_GENERAL_ERROR; ...
[ "protected", "static", "void", "handleDeleteDurable", "(", "DestinationManager", "DM", ",", "ControlDeleteDurable", "msg", ",", "MessageProcessor", "MP", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", ...
Attempt to delete the durable subscription specified by the sender and send back a ControlDurableConfirm giving the result. @param msg The ControlDeleteDurable request message.
[ "Attempt", "to", "delete", "the", "durable", "subscription", "specified", "by", "the", "sender", "and", "send", "back", "a", "ControlDurableConfirm", "giving", "the", "result", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java#L280-L376
69,963
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java
DurableOutputHandler.createDurableConfirm
protected static ControlDurableConfirm createDurableConfirm( MessageProcessor MP, SIBUuid8 target, long reqID, int status) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createDurableConfirm", new Object[] {MP, target, new Long(reqID), new Integer(status)...
java
protected static ControlDurableConfirm createDurableConfirm( MessageProcessor MP, SIBUuid8 target, long reqID, int status) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createDurableConfirm", new Object[] {MP, target, new Long(reqID), new Integer(status)...
[ "protected", "static", "ControlDurableConfirm", "createDurableConfirm", "(", "MessageProcessor", "MP", ",", "SIBUuid8", "target", ",", "long", "reqID", ",", "int", "status", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ...
Create a DurableConfirm reply. @param target The target ME for the message. @param reqID The request ID of the original request message. @param status The status to record in this reply.
[ "Create", "a", "DurableConfirm", "reply", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java#L462-L496
69,964
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java
DurableOutputHandler.createCardinalityInfo
protected static ControlCardinalityInfo createCardinalityInfo( MessageProcessor MP, SIBUuid8 target, long reqID, int card) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createCardinalityInfo", new Object[] {MP, target, new Long(reqID), new Integer(card)}...
java
protected static ControlCardinalityInfo createCardinalityInfo( MessageProcessor MP, SIBUuid8 target, long reqID, int card) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createCardinalityInfo", new Object[] {MP, target, new Long(reqID), new Integer(card)}...
[ "protected", "static", "ControlCardinalityInfo", "createCardinalityInfo", "(", "MessageProcessor", "MP", ",", "SIBUuid8", "target", ",", "long", "reqID", ",", "int", "card", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ...
Create a CardinalityInfo reply. @param target The target ME for this reply. @param reqID The request ID of the original request message. @param card The cardinality to record on this message.
[ "Create", "a", "CardinalityInfo", "reply", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java#L505-L539
69,965
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java
DurableOutputHandler.initializeControlMessage
protected static void initializeControlMessage(SIBUuid8 sourceME, ControlMessage msg, SIBUuid8 remoteMEId) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initializeControlMessage", new Object[] {msg, remoteMEId}); SIMPUtils.setGuaranteedDeliveryProperties(msg, ...
java
protected static void initializeControlMessage(SIBUuid8 sourceME, ControlMessage msg, SIBUuid8 remoteMEId) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initializeControlMessage", new Object[] {msg, remoteMEId}); SIMPUtils.setGuaranteedDeliveryProperties(msg, ...
[ "protected", "static", "void", "initializeControlMessage", "(", "SIBUuid8", "sourceME", ",", "ControlMessage", "msg", ",", "SIBUuid8", "remoteMEId", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "("...
Common initialization for all messages sent by the DurableOutputHandler. @param msg Message to initialize. @param remoteMEId The ME the message will be sent to.
[ "Common", "initialization", "for", "all", "messages", "sent", "by", "the", "DurableOutputHandler", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DurableOutputHandler.java#L547-L566
69,966
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.associateConnection
private void associateConnection(ManagedConnectionFactory mcf, Subject subject, ConnectionRequestInfo cri, Object connection) throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyT...
java
private void associateConnection(ManagedConnectionFactory mcf, Subject subject, ConnectionRequestInfo cri, Object connection) throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyT...
[ "private", "void", "associateConnection", "(", "ManagedConnectionFactory", "mcf", ",", "Subject", "subject", ",", "ConnectionRequestInfo", "cri", ",", "Object", "connection", ")", "throws", "ResourceException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent"...
not associated with a connection to get reassociated with a valid connection.
[ "not", "associated", "with", "a", "connection", "to", "get", "reassociated", "with", "a", "valid", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1311-L1358
69,967
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.reassociateConnectionHandle
private void reassociateConnectionHandle(Object connection, MCWrapper fromMCWrapper, MCWrapper toMCWrapper, UOWCoordinator uowCoord) throws ResourceException { final boolean is...
java
private void reassociateConnectionHandle(Object connection, MCWrapper fromMCWrapper, MCWrapper toMCWrapper, UOWCoordinator uowCoord) throws ResourceException { final boolean is...
[ "private", "void", "reassociateConnectionHandle", "(", "Object", "connection", ",", "MCWrapper", "fromMCWrapper", ",", "MCWrapper", "toMCWrapper", ",", "UOWCoordinator", "uowCoord", ")", "throws", "ResourceException", "{", "final", "boolean", "isTraceOn", "=", "TraceCom...
with a new MCWrapper. The fromMCWrapper can be null - needed for SmartHandle support.
[ "with", "a", "new", "MCWrapper", ".", "The", "fromMCWrapper", "can", "be", "null", "-", "needed", "for", "SmartHandle", "support", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1362-L1435
69,968
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.inactiveConnectionClosed
@Override public void inactiveConnectionClosed( Object connection, ManagedConnectionFactory managedConnectionFactory) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(this, tc, "in...
java
@Override public void inactiveConnectionClosed( Object connection, ManagedConnectionFactory managedConnectionFactory) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(this, tc, "in...
[ "@", "Override", "public", "void", "inactiveConnectionClosed", "(", "Object", "connection", ",", "ManagedConnectionFactory", "managedConnectionFactory", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", ...
This method is called by resource adapters that support lazy associable connections in order to notify the connection manager that it moved the a connection handle from the inactive state to closed. @see javax.resource.spi.LazyAssociableConnectionManager An inactive handle is disassociated from a managed conection wi...
[ "This", "method", "is", "called", "by", "resource", "adapters", "that", "support", "lazy", "associable", "connections", "in", "order", "to", "notify", "the", "connection", "manager", "that", "it", "moved", "the", "a", "connection", "handle", "from", "the", "in...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1453-L1469
69,969
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.raSupportsCCILocalTran
private boolean raSupportsCCILocalTran(ManagedConnectionFactory mcf) throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); ConnectionFactory cf; ResourceAdapterMetaData raMetaData; boolean cciLocalTranSupported = false; if (isTraceOn ...
java
private boolean raSupportsCCILocalTran(ManagedConnectionFactory mcf) throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); ConnectionFactory cf; ResourceAdapterMetaData raMetaData; boolean cciLocalTranSupported = false; if (isTraceOn ...
[ "private", "boolean", "raSupportsCCILocalTran", "(", "ManagedConnectionFactory", "mcf", ")", "throws", "ResourceException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "ConnectionFactory", "cf", ";", "ResourceA...
This method returns a boolean value indicating whether or not CCI Local Transaction support is provided by the resource adapter.
[ "This", "method", "returns", "a", "boolean", "value", "indicating", "whether", "or", "not", "CCI", "Local", "Transaction", "support", "is", "provided", "by", "the", "resource", "adapter", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1527-L1551
69,970
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.readObject
private void readObject(ObjectInputStream s) throws java.io.IOException, java.lang.ClassNotFoundException { throw new UnsupportedOperationException(); // not serializable }
java
private void readObject(ObjectInputStream s) throws java.io.IOException, java.lang.ClassNotFoundException { throw new UnsupportedOperationException(); // not serializable }
[ "private", "void", "readObject", "(", "ObjectInputStream", "s", ")", "throws", "java", ".", "io", ".", "IOException", ",", "java", ".", "lang", ".", "ClassNotFoundException", "{", "throw", "new", "UnsupportedOperationException", "(", ")", ";", "// not serializable...
Overrides the default deserialization for reading this object
[ "Overrides", "the", "default", "deserialization", "for", "reading", "this", "object" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1556-L1558
69,971
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.purgePool
@Override public void purgePool() throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(this, tc, "purgePool"); } _pm.purgePoolContents(); if (isTraceOn && tc.isEntryEnabled()...
java
@Override public void purgePool() throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(this, tc, "purgePool"); } _pm.purgePoolContents(); if (isTraceOn && tc.isEntryEnabled()...
[ "@", "Override", "public", "void", "purgePool", "(", ")", "throws", "ResourceException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")"...
This is called by the RRA only when db2 reroute is being used
[ "This", "is", "called", "by", "the", "RRA", "only", "when", "db2", "reroute", "is", "being", "used" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1561-L1574
69,972
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.supportsBranchCoupling
protected int supportsBranchCoupling(int couplingType, ManagedConnectionFactory managedConnectionFactory) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); int startFlag; if (isJDBC) { startFlag = ((WSManagedConnectionFactory) managedConnectionFactory).getXAStartFlagF...
java
protected int supportsBranchCoupling(int couplingType, ManagedConnectionFactory managedConnectionFactory) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); int startFlag; if (isJDBC) { startFlag = ((WSManagedConnectionFactory) managedConnectionFactory).getXAStartFlagF...
[ "protected", "int", "supportsBranchCoupling", "(", "int", "couplingType", ",", "ManagedConnectionFactory", "managedConnectionFactory", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "int", "startFlag", ";", ...
Only called if couplingType indicates LOOSE or TIGHT
[ "Only", "called", "if", "couplingType", "indicates", "LOOSE", "or", "TIGHT" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1579-L1596
69,973
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.matchBranchCoupling
protected boolean matchBranchCoupling(int couplingType1, int couplingType2, ManagedConnectionFactory managedConnectionFactory) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); boolean matched = true; if (isJDBC && couplingType1 != couplingType2) { // ResourceRefInfo....
java
protected boolean matchBranchCoupling(int couplingType1, int couplingType2, ManagedConnectionFactory managedConnectionFactory) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); boolean matched = true; if (isJDBC && couplingType1 != couplingType2) { // ResourceRefInfo....
[ "protected", "boolean", "matchBranchCoupling", "(", "int", "couplingType1", ",", "int", "couplingType2", ",", "ManagedConnectionFactory", "managedConnectionFactory", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ...
May be called if couplingType indicates LOOSE or TIGHT or is UNSET
[ "May", "be", "called", "if", "couplingType", "indicates", "LOOSE", "or", "TIGHT", "or", "is", "UNSET" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1601-L1616
69,974
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java
ConnectionManager.getFinalSubject
private final Subject getFinalSubject(ConnectionRequestInfo requestInfo, final ManagedConnectionFactory mangedConnectionFactory, Object CM) throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); Subject subj = null; if...
java
private final Subject getFinalSubject(ConnectionRequestInfo requestInfo, final ManagedConnectionFactory mangedConnectionFactory, Object CM) throws ResourceException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); Subject subj = null; if...
[ "private", "final", "Subject", "getFinalSubject", "(", "ConnectionRequestInfo", "requestInfo", ",", "final", "ManagedConnectionFactory", "mangedConnectionFactory", ",", "Object", "CM", ")", "throws", "ResourceException", "{", "final", "boolean", "isTraceOn", "=", "TraceCo...
Returns the subject for container managed authentication. @param requestInfo - connection request information @param mangedConnectionFactory - managed connection factory @param CM - connection manager @return subject for container managed authentication. @throws ResourceException
[ "Returns", "the", "subject", "for", "container", "managed", "authentication", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/ConnectionManager.java#L1627-L1671
69,975
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java
ServerCommsDiagnosticModule.dumpJFapServerStatus
@Override protected void dumpJFapServerStatus(final IncidentStream is) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpJFapServerStatus", is); dumpMEtoMEConversations(is); dumpInboundConversations(is); if(TraceComponent.isAnyTracin...
java
@Override protected void dumpJFapServerStatus(final IncidentStream is) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpJFapServerStatus", is); dumpMEtoMEConversations(is); dumpInboundConversations(is); if(TraceComponent.isAnyTracin...
[ "@", "Override", "protected", "void", "dumpJFapServerStatus", "(", "final", "IncidentStream", "is", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "th...
Dump all information relating to server side comms. @param is the incident stream to log information to.
[ "Dump", "all", "information", "relating", "to", "server", "side", "comms", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java#L73-L82
69,976
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java
ServerCommsDiagnosticModule.dumpMEtoMEConversations
private void dumpMEtoMEConversations(final IncidentStream is) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpMEtoMEConversations", is); final ServerConnectionManager scm = ServerConnectionManager.getRef(); final List obc = scm.getActiveOutbound...
java
private void dumpMEtoMEConversations(final IncidentStream is) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpMEtoMEConversations", is); final ServerConnectionManager scm = ServerConnectionManager.getRef(); final List obc = scm.getActiveOutbound...
[ "private", "void", "dumpMEtoMEConversations", "(", "final", "IncidentStream", "is", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ...
Dump out all outbound ME to ME conversations. @param is the incident stream to log information to.
[ "Dump", "out", "all", "outbound", "ME", "to", "ME", "conversations", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java#L89-L131
69,977
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java
ServerCommsDiagnosticModule.dumpInboundConversations
private void dumpInboundConversations(final IncidentStream is) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpInboundConversations", is); final List serverConvs = ServerTransportAcceptListener.getInstance().getActiveConversations(); is.wr...
java
private void dumpInboundConversations(final IncidentStream is) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpInboundConversations", is); final List serverConvs = ServerTransportAcceptListener.getInstance().getActiveConversations(); is.wr...
[ "private", "void", "dumpInboundConversations", "(", "final", "IncidentStream", "is", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc",...
This method dumps the status of any inbound conversations that are currently active. It does this by asking the accept listeners for their list of active conversations and dumping out the details in their conversation states. @param is the incident stream to log information to.
[ "This", "method", "dumps", "the", "status", "of", "any", "inbound", "conversations", "that", "are", "currently", "active", ".", "It", "does", "this", "by", "asking", "the", "accept", "listeners", "for", "their", "list", "of", "active", "conversations", "and", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java#L140-L208
69,978
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java
ServerCommsDiagnosticModule.dumpServerConversation
private void dumpServerConversation(IncidentStream is, Conversation conv) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpServerConversation", new Object[]{is, conv}); final ConversationState convState = (ConversationState) conv.getAttachment(); ...
java
private void dumpServerConversation(IncidentStream is, Conversation conv) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpServerConversation", new Object[]{is, conv}); final ConversationState convState = (ConversationState) conv.getAttachment(); ...
[ "private", "void", "dumpServerConversation", "(", "IncidentStream", "is", ",", "Conversation", "conv", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
Dumps the details of a particular server conversation. @param is the incident stream to log information to. @param conv the conversation we want to dump.
[ "Dumps", "the", "details", "of", "a", "particular", "server", "conversation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java#L216-L243
69,979
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java
ServerCommsDiagnosticModule.dumpMEtoMEConversation
private void dumpMEtoMEConversation(IncidentStream is, Conversation conv) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpMEtoMEConversation", new Object[]{is, conv}); //Get the conversation state and use it to find out what we can. final Conversa...
java
private void dumpMEtoMEConversation(IncidentStream is, Conversation conv) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpMEtoMEConversation", new Object[]{is, conv}); //Get the conversation state and use it to find out what we can. final Conversa...
[ "private", "void", "dumpMEtoMEConversation", "(", "IncidentStream", "is", ",", "Conversation", "conv", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
Dumps the particulars of a ME to ME client side conversation. @param is the incident stream to log information to. @param conv the conversation we want to dump.
[ "Dumps", "the", "particulars", "of", "a", "ME", "to", "ME", "client", "side", "conversation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ServerCommsDiagnosticModule.java#L251-L271
69,980
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSField.java
JSField.getAccessor
public int getAccessor(JMFSchema schema) { for (Accessor acc = accessor; acc != null; acc = acc.next) if (schema == acc.schema) return acc.accessor; return -1; }
java
public int getAccessor(JMFSchema schema) { for (Accessor acc = accessor; acc != null; acc = acc.next) if (schema == acc.schema) return acc.accessor; return -1; }
[ "public", "int", "getAccessor", "(", "JMFSchema", "schema", ")", "{", "for", "(", "Accessor", "acc", "=", "accessor", ";", "acc", "!=", "null", ";", "acc", "=", "acc", ".", "next", ")", "if", "(", "schema", "==", "acc", ".", "schema", ")", "return", ...
Implement the general getAccessor method
[ "Implement", "the", "general", "getAccessor", "method" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSField.java#L56-L61
69,981
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSField.java
JSField.copyValue
public Object copyValue(Object val, int indirect) throws JMFSchemaViolationException { if (indirect == 0) return copy(val, 0); else return coder.copy(val, indirect - 1); }
java
public Object copyValue(Object val, int indirect) throws JMFSchemaViolationException { if (indirect == 0) return copy(val, 0); else return coder.copy(val, indirect - 1); }
[ "public", "Object", "copyValue", "(", "Object", "val", ",", "int", "indirect", ")", "throws", "JMFSchemaViolationException", "{", "if", "(", "indirect", "==", "0", ")", "return", "copy", "(", "val", ",", "0", ")", ";", "else", "return", "coder", ".", "co...
Create a copy of the value of this JSField's type @param val the value to be copied @param indirect the list indirection that applies to the object or -1 if the JSField's maximum list indirection (based on the number of JSRepeated nodes that dominate it in the schema) is to be used: this, of course, includes the possi...
[ "Create", "a", "copy", "of", "the", "value", "of", "this", "JSField", "s", "type" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSField.java#L239-L245
69,982
OpenLiberty/open-liberty
dev/com.ibm.ws.security.wim.adapter.ldap_fat/fat/src/com/ibm/ws/security/wim/adapter/ldap/fat/URAPIs_LDAP_NestedGroupBase.java
URAPIs_LDAP_NestedGroupBase.getGroupsForUserInTopGroup
@Test public void getGroupsForUserInTopGroup() throws Exception { // This test will only be executed when using physical LDAP server Assume.assumeTrue(!LDAPUtils.USE_LOCAL_LDAP_SERVER); String user = topGroupUser; Log.info(logClass, "getGroupsForUserInTopGroup", "Checking with a vali...
java
@Test public void getGroupsForUserInTopGroup() throws Exception { // This test will only be executed when using physical LDAP server Assume.assumeTrue(!LDAPUtils.USE_LOCAL_LDAP_SERVER); String user = topGroupUser; Log.info(logClass, "getGroupsForUserInTopGroup", "Checking with a vali...
[ "@", "Test", "public", "void", "getGroupsForUserInTopGroup", "(", ")", "throws", "Exception", "{", "// This test will only be executed when using physical LDAP server", "Assume", ".", "assumeTrue", "(", "!", "LDAPUtils", ".", "USE_LOCAL_LDAP_SERVER", ")", ";", "String", "...
Hit the test servlet to see if getGroupsForUser works when supplied with a valid user in top level nested group. This test expects that only the top level nested group, nested_g1, will be returned. This verifies the various required bundles got installed and are working.
[ "Hit", "the", "test", "servlet", "to", "see", "if", "getGroupsForUser", "works", "when", "supplied", "with", "a", "valid", "user", "in", "top", "level", "nested", "group", ".", "This", "test", "expects", "that", "only", "the", "top", "level", "nested", "gr...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.adapter.ldap_fat/fat/src/com/ibm/ws/security/wim/adapter/ldap/fat/URAPIs_LDAP_NestedGroupBase.java#L82-L91
69,983
OpenLiberty/open-liberty
dev/com.ibm.ws.security.wim.adapter.ldap_fat/fat/src/com/ibm/ws/security/wim/adapter/ldap/fat/URAPIs_LDAP_NestedGroupBase.java
URAPIs_LDAP_NestedGroupBase.getUniqueGroupIdsForUserInNestedGroup
@Test public void getUniqueGroupIdsForUserInNestedGroup() throws Exception { // This test will only be executed when using physical LDAP server Assume.assumeTrue(!LDAPUtils.USE_LOCAL_LDAP_SERVER); String user = getCN() + nestedUser + getSuffix(); Log.info(logClass, "getUniqueGroupIds...
java
@Test public void getUniqueGroupIdsForUserInNestedGroup() throws Exception { // This test will only be executed when using physical LDAP server Assume.assumeTrue(!LDAPUtils.USE_LOCAL_LDAP_SERVER); String user = getCN() + nestedUser + getSuffix(); Log.info(logClass, "getUniqueGroupIds...
[ "@", "Test", "public", "void", "getUniqueGroupIdsForUserInNestedGroup", "(", ")", "throws", "Exception", "{", "// This test will only be executed when using physical LDAP server", "Assume", ".", "assumeTrue", "(", "!", "LDAPUtils", ".", "USE_LOCAL_LDAP_SERVER", ")", ";", "S...
Hit the test servlet to see if getUniqueGroupIdsForUser works when supplied with a valid user in a nested group. This verifies the various required bundles got installed and are working.
[ "Hit", "the", "test", "servlet", "to", "see", "if", "getUniqueGroupIdsForUser", "works", "when", "supplied", "with", "a", "valid", "user", "in", "a", "nested", "group", ".", "This", "verifies", "the", "various", "required", "bundles", "got", "installed", "and"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.adapter.ldap_fat/fat/src/com/ibm/ws/security/wim/adapter/ldap/fat/URAPIs_LDAP_NestedGroupBase.java#L113-L122
69,984
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeStepExecution.java
RuntimeStepExecution.getCommittedMetric
private MetricImpl getCommittedMetric(MetricImpl.MetricType metricType) { return (MetricImpl)committedMetrics.get(metricType.name()); }
java
private MetricImpl getCommittedMetric(MetricImpl.MetricType metricType) { return (MetricImpl)committedMetrics.get(metricType.name()); }
[ "private", "MetricImpl", "getCommittedMetric", "(", "MetricImpl", ".", "MetricType", "metricType", ")", "{", "return", "(", "MetricImpl", ")", "committedMetrics", ".", "get", "(", "metricType", ".", "name", "(", ")", ")", ";", "}" ]
Since this is a non-trivial behavior to support, let's keep it internal rather than exposing it.
[ "Since", "this", "is", "a", "non", "-", "trivial", "behavior", "to", "support", "let", "s", "keep", "it", "internal", "rather", "than", "exposing", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/execution/impl/RuntimeStepExecution.java#L126-L128
69,985
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RemoteAllResults.java
RemoteAllResults.getLogLists
public Iterable<RemoteInstanceDetails> getLogLists() { ArrayList<RemoteInstanceDetails> result = new ArrayList<RemoteInstanceDetails>(); for (Date startTime: resultList) { result.add(new RemoteInstanceDetails(query, startTime, new String[0])); } return result; }
java
public Iterable<RemoteInstanceDetails> getLogLists() { ArrayList<RemoteInstanceDetails> result = new ArrayList<RemoteInstanceDetails>(); for (Date startTime: resultList) { result.add(new RemoteInstanceDetails(query, startTime, new String[0])); } return result; }
[ "public", "Iterable", "<", "RemoteInstanceDetails", ">", "getLogLists", "(", ")", "{", "ArrayList", "<", "RemoteInstanceDetails", ">", "result", "=", "new", "ArrayList", "<", "RemoteInstanceDetails", ">", "(", ")", ";", "for", "(", "Date", "startTime", ":", "r...
returns list of server instances satisfying the request. @return iterable over RemoteInstanceDetails objects
[ "returns", "list", "of", "server", "instances", "satisfying", "the", "request", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/RemoteAllResults.java#L56-L62
69,986
OpenLiberty/open-liberty
dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/utils/CommonExpectations.java
CommonExpectations.successfullyReachedUrl
public static Expectations successfullyReachedUrl(String url) { Expectations expectations = new Expectations(); expectations.addSuccessCodeForCurrentAction(); expectations.addExpectation(new ResponseUrlExpectation(Constants.STRING_EQUALS, url, "Did not reach the expected URL.")); return ...
java
public static Expectations successfullyReachedUrl(String url) { Expectations expectations = new Expectations(); expectations.addSuccessCodeForCurrentAction(); expectations.addExpectation(new ResponseUrlExpectation(Constants.STRING_EQUALS, url, "Did not reach the expected URL.")); return ...
[ "public", "static", "Expectations", "successfullyReachedUrl", "(", "String", "url", ")", "{", "Expectations", "expectations", "=", "new", "Expectations", "(", ")", ";", "expectations", ".", "addSuccessCodeForCurrentAction", "(", ")", ";", "expectations", ".", "addEx...
Set success for current action only @param url @return
[ "Set", "success", "for", "current", "action", "only" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/utils/CommonExpectations.java#L43-L48
69,987
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/ManagedBeanDestroyer.java
ManagedBeanDestroyer.destroy
public void destroy(String name, Object instance) { if (instance != null && isManagedBean(name)) { try { _lifecycleProvider.destroyInstance(instance); } catch (IllegalAccessException e) { log.log(Level.SEVER...
java
public void destroy(String name, Object instance) { if (instance != null && isManagedBean(name)) { try { _lifecycleProvider.destroyInstance(instance); } catch (IllegalAccessException e) { log.log(Level.SEVER...
[ "public", "void", "destroy", "(", "String", "name", ",", "Object", "instance", ")", "{", "if", "(", "instance", "!=", "null", "&&", "isManagedBean", "(", "name", ")", ")", "{", "try", "{", "_lifecycleProvider", ".", "destroyInstance", "(", "instance", ")",...
Destroys the given managed bean. @param name @param instance
[ "Destroys", "the", "given", "managed", "bean", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/ManagedBeanDestroyer.java#L129-L147
69,988
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/OracleHelper.java
OracleHelper.cacheVendorConnectionProps
@Override public Map<String, Object> cacheVendorConnectionProps(Connection sqlConn) throws SQLException { try { Class<?> c = OracleConnection.get(); if (c == null) OracleConnection.set(c = WSManagedConnectionFactoryImpl.priv.loadClass(mcf.jdbcDriverLoader, oracle_jdbc...
java
@Override public Map<String, Object> cacheVendorConnectionProps(Connection sqlConn) throws SQLException { try { Class<?> c = OracleConnection.get(); if (c == null) OracleConnection.set(c = WSManagedConnectionFactoryImpl.priv.loadClass(mcf.jdbcDriverLoader, oracle_jdbc...
[ "@", "Override", "public", "Map", "<", "String", ",", "Object", ">", "cacheVendorConnectionProps", "(", "Connection", "sqlConn", ")", "throws", "SQLException", "{", "try", "{", "Class", "<", "?", ">", "c", "=", "OracleConnection", ".", "get", "(", ")", ";"...
This method is called to cache the default set of properties for a Connection. The properties only need to be cached when applications are invoking a set of specific Vendor APIs, which change properties, that must be returned to default values before pooling a connection. @return Map of properties or Null if not imple...
[ "This", "method", "is", "called", "to", "cache", "the", "default", "set", "of", "properties", "for", "a", "Connection", ".", "The", "properties", "only", "need", "to", "be", "cached", "when", "applications", "are", "invoking", "a", "set", "of", "specific", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/OracleHelper.java#L275-L332
69,989
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/OracleHelper.java
OracleHelper.doConnectionCleanup
@Override public boolean doConnectionCleanup(Connection conn) throws SQLException { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(tc, "doConnectionCleanup"); boolean result = false; try { Class<?> c = Or...
java
@Override public boolean doConnectionCleanup(Connection conn) throws SQLException { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(tc, "doConnectionCleanup"); boolean result = false; try { Class<?> c = Or...
[ "@", "Override", "public", "boolean", "doConnectionCleanup", "(", "Connection", "conn", ")", "throws", "SQLException", "{", "final", "boolean", "trace", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "trace", "&&", "tc", ".", "isE...
Closes the proxy session.
[ "Closes", "the", "proxy", "session", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/OracleHelper.java#L337-L375
69,990
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/OracleHelper.java
OracleHelper.psSetString
@Override public void psSetString(PreparedStatement pstmtImpl, int i, String x) throws SQLException { int length = (x == null ? 0 : x.getBytes().length); if (tc.isDebugEnabled()) { Tr.debug(this, tc, "string length: " + length); } if (length > 4000) { if (tc...
java
@Override public void psSetString(PreparedStatement pstmtImpl, int i, String x) throws SQLException { int length = (x == null ? 0 : x.getBytes().length); if (tc.isDebugEnabled()) { Tr.debug(this, tc, "string length: " + length); } if (length > 4000) { if (tc...
[ "@", "Override", "public", "void", "psSetString", "(", "PreparedStatement", "pstmtImpl", ",", "int", "i", ",", "String", "x", ")", "throws", "SQLException", "{", "int", "length", "=", "(", "x", "==", "null", "?", "0", ":", "x", ".", "getBytes", "(", ")...
- allow for special handling of Oracle prepared statement setString
[ "-", "allow", "for", "special", "handling", "of", "Oracle", "prepared", "statement", "setString" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/OracleHelper.java#L741-L760
69,991
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.metrics.1.1.cdi/src/com/ibm/ws/microprofile/metrics11/cdi/MetricResolver11.java
MetricResolver11.checkReusable
private <T extends Annotation> boolean checkReusable(MetricResolver.Of<T> of) { String name = of.metadata().getName(); // If the metric has been registered before (eg. metrics found in RequestScoped beans), // we don't need to worry about re-usable if (!of.isInitialDiscovery()) { ...
java
private <T extends Annotation> boolean checkReusable(MetricResolver.Of<T> of) { String name = of.metadata().getName(); // If the metric has been registered before (eg. metrics found in RequestScoped beans), // we don't need to worry about re-usable if (!of.isInitialDiscovery()) { ...
[ "private", "<", "T", "extends", "Annotation", ">", "boolean", "checkReusable", "(", "MetricResolver", ".", "Of", "<", "T", ">", "of", ")", "{", "String", "name", "=", "of", ".", "metadata", "(", ")", ".", "getName", "(", ")", ";", "// If the metric has b...
Checks whether the metric should be re-usable
[ "Checks", "whether", "the", "metric", "should", "be", "re", "-", "usable" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.metrics.1.1.cdi/src/com/ibm/ws/microprofile/metrics11/cdi/MetricResolver11.java#L94-L108
69,992
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/TagAttributesImpl.java
TagAttributesImpl.getAll
public TagAttribute[] getAll(String namespace) { int idx = 0; if (namespace == null) { idx = Arrays.binarySearch(_namespaces, ""); } else { idx = Arrays.binarySearch(_namespaces, namespace); } if (idx >= 0) { ...
java
public TagAttribute[] getAll(String namespace) { int idx = 0; if (namespace == null) { idx = Arrays.binarySearch(_namespaces, ""); } else { idx = Arrays.binarySearch(_namespaces, namespace); } if (idx >= 0) { ...
[ "public", "TagAttribute", "[", "]", "getAll", "(", "String", "namespace", ")", "{", "int", "idx", "=", "0", ";", "if", "(", "namespace", "==", "null", ")", "{", "idx", "=", "Arrays", ".", "binarySearch", "(", "_namespaces", ",", "\"\"", ")", ";", "}"...
Get all TagAttributes for the passed namespace @param namespace namespace to search @return a non-null array of TagAttributes
[ "Get", "all", "TagAttributes", "for", "the", "passed", "namespace" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/TagAttributesImpl.java#L150-L168
69,993
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/wsspi/sib/core/SIMessageHandleRestorer.java
SIMessageHandleRestorer.createRestorerInstance
private static void createRestorerInstance() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createRestorerInstance"); try { Class cls = Class.forName(SI_MESSAGE_HANDLE_RESTORER_CLASS); instance = (SIMessageHandleRestorer) cls.newInstance(); } catch (Excep...
java
private static void createRestorerInstance() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createRestorerInstance"); try { Class cls = Class.forName(SI_MESSAGE_HANDLE_RESTORER_CLASS); instance = (SIMessageHandleRestorer) cls.newInstance(); } catch (Excep...
[ "private", "static", "void", "createRestorerInstance", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"createRestorerInstance\"", ")",...
Create the singleton Restorer instance.
[ "Create", "the", "singleton", "Restorer", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/wsspi/sib/core/SIMessageHandleRestorer.java#L91-L105
69,994
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java
ContainerTx.queueTimerToStart
public void queueTimerToStart(TimerNpImpl timer) { // F743-13022 if (globalTransaction) { if (timersQueuedToStart == null) { // F743-425.CodRev // Lazy creation of HashMap timersQueuedToStart = new HashMap<String, TimerNpImpl>(); // F473-425.1 } ...
java
public void queueTimerToStart(TimerNpImpl timer) { // F743-13022 if (globalTransaction) { if (timersQueuedToStart == null) { // F743-425.CodRev // Lazy creation of HashMap timersQueuedToStart = new HashMap<String, TimerNpImpl>(); // F473-425.1 } ...
[ "public", "void", "queueTimerToStart", "(", "TimerNpImpl", "timer", ")", "{", "// F743-13022", "if", "(", "globalTransaction", ")", "{", "if", "(", "timersQueuedToStart", "==", "null", ")", "{", "// F743-425.CodRev", "// Lazy creation of HashMap", "timersQueuedToStart",...
Add the input non-persistent timer to the queue of timers to be started upon commit of the global transaction. If not in a global transaction, start the timer immediately. Called by each of the BeanO.createXxxTimer methods immediately after creating a non-persistent timer.
[ "Add", "the", "input", "non", "-", "persistent", "timer", "to", "the", "queue", "of", "timers", "to", "be", "started", "upon", "commit", "of", "the", "global", "transaction", ".", "If", "not", "in", "a", "global", "transaction", "start", "the", "timer", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java#L1102-L1123
69,995
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java
ContainerTx.find
public BeanO find(BeanId beanId) { BeanO bean = null; if (beanOs != null) { bean = beanOs.get(beanId); } // If debug is enabled, go ahead and calculate some hit rate // metrics and print out whether found or not. if (TraceComponent.isAnyTracingEn...
java
public BeanO find(BeanId beanId) { BeanO bean = null; if (beanOs != null) { bean = beanOs.get(beanId); } // If debug is enabled, go ahead and calculate some hit rate // metrics and print out whether found or not. if (TraceComponent.isAnyTracingEn...
[ "public", "BeanO", "find", "(", "BeanId", "beanId", ")", "{", "BeanO", "bean", "=", "null", ";", "if", "(", "beanOs", "!=", "null", ")", "{", "bean", "=", "beanOs", ".", "get", "(", "beanId", ")", ";", "}", "// If debug is enabled, go ahead and calculate s...
d173022.4
[ "d173022", ".", "4" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java#L1141-L1170
69,996
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java
ContainerTx.setIsolationLevel
protected void setIsolationLevel(int isolationLevel) throws IsolationLevelChangeException { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "current isolation level = " + MethodAttribUtils.getIsolationLevelStrin...
java
protected void setIsolationLevel(int isolationLevel) throws IsolationLevelChangeException { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "current isolation level = " + MethodAttribUtils.getIsolationLevelStrin...
[ "protected", "void", "setIsolationLevel", "(", "int", "isolationLevel", ")", "throws", "IsolationLevelChangeException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEventEnabled", "(", ")", ")", "{", "Tr", ".", "eve...
Set the isolation level for the current transacion and ensure that it has not changed within the transaction.
[ "Set", "the", "isolation", "level", "for", "the", "current", "transacion", "and", "ensure", "that", "it", "has", "not", "changed", "within", "the", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java#L1404-L1425
69,997
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java
ContainerTx.setCompleting
@Override public void setCompleting(boolean isCompleting) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "setCompleting= " + isCompleting); isActivitySessionCompleting = isCompleting; //d138562.11 if (finderSyncList != null) // d17302...
java
@Override public void setCompleting(boolean isCompleting) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "setCompleting= " + isCompleting); isActivitySessionCompleting = isCompleting; //d138562.11 if (finderSyncList != null) // d17302...
[ "@", "Override", "public", "void", "setCompleting", "(", "boolean", "isCompleting", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\"setCom...
d126930.3
[ "d126930", ".", "3" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java#L1682-L1707
69,998
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java
ContainerTx.enlistContainerSync
public void enlistContainerSync(Synchronization s) throws CPIException { if (!(s instanceof ContainerSynchronization)) { throw new CPIException("Must implement ContainerSynchronization interface"); } if (finderSyncList == null) // d173022.12 { // d1730...
java
public void enlistContainerSync(Synchronization s) throws CPIException { if (!(s instanceof ContainerSynchronization)) { throw new CPIException("Must implement ContainerSynchronization interface"); } if (finderSyncList == null) // d173022.12 { // d1730...
[ "public", "void", "enlistContainerSync", "(", "Synchronization", "s", ")", "throws", "CPIException", "{", "if", "(", "!", "(", "s", "instanceof", "ContainerSynchronization", ")", ")", "{", "throw", "new", "CPIException", "(", "\"Must implement ContainerSynchronization...
d139562.11
[ "d139562", ".", "11" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java#L1713-L1724
69,999
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java
ContainerTx.releaseResources
protected void releaseResources() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "releaseResources : State = " + stateStrs[state]); // If the state is not complete, then the ContainerTx should not // be cleared, and should not be returned to the ...
java
protected void releaseResources() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "releaseResources : State = " + stateStrs[state]); // If the state is not complete, then the ContainerTx should not // be cleared, and should not be returned to the ...
[ "protected", "void", "releaseResources", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\"releaseResources : State = \"", "+", "stateStrs"...
d154342.10 d215317
[ "d154342", ".", "10", "d215317" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/ContainerTx.java#L1747-L1780