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
partition
stringclasses
1 value
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java
HttpInboundLink.checkIfUpgradeHeaders
private boolean checkIfUpgradeHeaders(Map<String, String> headers) { // looking for two headers. // connection header with a value of "upgrade" // upgrade header with a value of "h2c" boolean connection_upgrade = false; boolean upgrade_h2c = false; String headerValue = nu...
java
private boolean checkIfUpgradeHeaders(Map<String, String> headers) { // looking for two headers. // connection header with a value of "upgrade" // upgrade header with a value of "h2c" boolean connection_upgrade = false; boolean upgrade_h2c = false; String headerValue = nu...
[ "private", "boolean", "checkIfUpgradeHeaders", "(", "Map", "<", "String", ",", "String", ">", "headers", ")", "{", "// looking for two headers.", "// connection header with a value of \"upgrade\"", "// upgrade header with a value of \"h2c\"", "boolean", "connection_upgrade", "=",...
Determine if a map of headers contains http2 upgrade headers @param headers a String map of http header key and value pairs @return true if an http2 upgrade header is found
[ "Determine", "if", "a", "map", "of", "headers", "contains", "http2", "upgrade", "headers" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundLink.java#L931-L983
train
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/asset/ESAVirtualAsset.java
ESAVirtualAsset.createLicenseProvider
@Override protected LicenseProvider createLicenseProvider(String licenseAgreementPrefix, String licenseInformationPrefix, String subsystemLicenseType) { String featureLicenseAgreementPrefix = this.featureName + "/" + licenseAgreementPrefix; String ...
java
@Override protected LicenseProvider createLicenseProvider(String licenseAgreementPrefix, String licenseInformationPrefix, String subsystemLicenseType) { String featureLicenseAgreementPrefix = this.featureName + "/" + licenseAgreementPrefix; String ...
[ "@", "Override", "protected", "LicenseProvider", "createLicenseProvider", "(", "String", "licenseAgreementPrefix", ",", "String", "licenseInformationPrefix", ",", "String", "subsystemLicenseType", ")", "{", "String", "featureLicenseAgreementPrefix", "=", "this", ".", "featu...
will need to override
[ "will", "need", "to", "override" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/asset/ESAVirtualAsset.java#L37-L59
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java
SIMPTransactionManager.createLocalTransaction
public LocalTransaction createLocalTransaction(boolean useSingleResourceOnly) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createLocalTransaction"); LocalTransaction tran = null; //Venu Removing the createLocalTransactionWithSubordinates() as it has to ha...
java
public LocalTransaction createLocalTransaction(boolean useSingleResourceOnly) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createLocalTransaction"); LocalTransaction tran = null; //Venu Removing the createLocalTransactionWithSubordinates() as it has to ha...
[ "public", "LocalTransaction", "createLocalTransaction", "(", "boolean", "useSingleResourceOnly", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",",...
Creates a local transaction. @return The uncoordinated transaction
[ "Creates", "a", "local", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java#L83-L99
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java
SIMPTransactionManager.createAutoCommitTransaction
public ExternalAutoCommitTransaction createAutoCommitTransaction() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createAutoCommitTransaction"); ExternalAutoCommitTransaction transaction = transactionFactory.createAutoCommitTransaction(); if (TraceCompo...
java
public ExternalAutoCommitTransaction createAutoCommitTransaction() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createAutoCommitTransaction"); ExternalAutoCommitTransaction transaction = transactionFactory.createAutoCommitTransaction(); if (TraceCompo...
[ "public", "ExternalAutoCommitTransaction", "createAutoCommitTransaction", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"createAutoCommit...
Creates a Auto Commit Transaction @return Transaction The auto commit transaction object
[ "Creates", "a", "Auto", "Commit", "Transaction" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java#L106-L118
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java
SIMPTransactionManager.createXAResource
public SIXAResource createXAResource(boolean useSingleResource) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createXAResource", new Boolean(useSingleResource)); SIXAResource resource = null; //get the message store resource resource = transactionFactory...
java
public SIXAResource createXAResource(boolean useSingleResource) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createXAResource", new Boolean(useSingleResource)); SIXAResource resource = null; //get the message store resource resource = transactionFactory...
[ "public", "SIXAResource", "createXAResource", "(", "boolean", "useSingleResource", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"createXA...
Creates an XA transaction resource @return a new XA resource
[ "Creates", "an", "XA", "transaction", "resource" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/SIMPTransactionManager.java#L125-L140
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java
ObjectCacheUnitImpl.createObjectCache
public Object createObjectCache(String reference) { final String methodName = "createCacheInstance()"; if (tc.isEntryEnabled()) Tr.entry(tc, methodName + " cacheName=" + reference); CacheConfig config = ServerCache.getCacheService().getCacheInstanceConfig(reference); if (c...
java
public Object createObjectCache(String reference) { final String methodName = "createCacheInstance()"; if (tc.isEntryEnabled()) Tr.entry(tc, methodName + " cacheName=" + reference); CacheConfig config = ServerCache.getCacheService().getCacheInstanceConfig(reference); if (c...
[ "public", "Object", "createObjectCache", "(", "String", "reference", ")", "{", "final", "String", "methodName", "=", "\"createCacheInstance()\"", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "methodName", "+...
Create a DistributedObjectCache from a string reference. The config for the reference must already exist. @param reference @return The returned object can be type cast to DistributedObjectCache and will be a DistributedMap, DistributedLockingMap or DistributedNioMap.
[ "Create", "a", "DistributedObjectCache", "from", "a", "string", "reference", ".", "The", "config", "for", "the", "reference", "must", "already", "exist", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java#L35-L76
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java
ObjectCacheUnitImpl.createDistributedObjectCache
private DistributedObjectCache createDistributedObjectCache(CacheConfig config) { final String methodName = "createDistributedObjectCache()"; if (tc.isEntryEnabled()) Tr.entry(tc, methodName + " cacheName=" + (config != null ? config.getCacheName() : "null")); DCache dCache = Server...
java
private DistributedObjectCache createDistributedObjectCache(CacheConfig config) { final String methodName = "createDistributedObjectCache()"; if (tc.isEntryEnabled()) Tr.entry(tc, methodName + " cacheName=" + (config != null ? config.getCacheName() : "null")); DCache dCache = Server...
[ "private", "DistributedObjectCache", "createDistributedObjectCache", "(", "CacheConfig", "config", ")", "{", "final", "String", "methodName", "=", "\"createDistributedObjectCache()\"", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "...
Create a DistributedObjectCache from a cacheConfig object. Entry ( only call this method once per cache name ) config != null config.distributedObjectCache == null Exit newly created DistributedObjectCache @param config @return The returned object will be a DistributedMap, DistributedLockingMap or DistributedNioMap.
[ "Create", "a", "DistributedObjectCache", "from", "a", "cacheConfig", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java#L89-L107
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java
ObjectCacheUnitImpl.createEventSource
public EventSource createEventSource(boolean createAsyncEventSource, String cacheName) { EventSource eventSource = new DCEventSource(cacheName, createAsyncEventSource); if (tc.isDebugEnabled()) Tr.debug(tc, "Using caller thread context for callback - cacheName= " + cacheName); retu...
java
public EventSource createEventSource(boolean createAsyncEventSource, String cacheName) { EventSource eventSource = new DCEventSource(cacheName, createAsyncEventSource); if (tc.isDebugEnabled()) Tr.debug(tc, "Using caller thread context for callback - cacheName= " + cacheName); retu...
[ "public", "EventSource", "createEventSource", "(", "boolean", "createAsyncEventSource", ",", "String", "cacheName", ")", "{", "EventSource", "eventSource", "=", "new", "DCEventSource", "(", "cacheName", ",", "createAsyncEventSource", ")", ";", "if", "(", "tc", ".", ...
This implements the method in the ServletCacheUnit interface. This method is used to initialize event source for invalidation listener @param createAsyncEventSource boolean true - using async thread context for callback; false - using caller thread for callback @param cacheName The cache name @return EventSourceIntf T...
[ "This", "implements", "the", "method", "in", "the", "ServletCacheUnit", "interface", ".", "This", "method", "is", "used", "to", "initialize", "event", "source", "for", "invalidation", "listener" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/ObjectCacheUnitImpl.java#L121-L128
train
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java
JNDIEnvironmentRefBindingHelper.createAllBindingsMap
public static Map<JNDIEnvironmentRefType, Map<String, String>> createAllBindingsMap() { Map<JNDIEnvironmentRefType, Map<String, String>> allBindings = new EnumMap<JNDIEnvironmentRefType, Map<String, String>>(JNDIEnvironmentRefType.class); for (JNDIEnvironmentRefType refType : JNDIEnvironmentRefType.VALU...
java
public static Map<JNDIEnvironmentRefType, Map<String, String>> createAllBindingsMap() { Map<JNDIEnvironmentRefType, Map<String, String>> allBindings = new EnumMap<JNDIEnvironmentRefType, Map<String, String>>(JNDIEnvironmentRefType.class); for (JNDIEnvironmentRefType refType : JNDIEnvironmentRefType.VALU...
[ "public", "static", "Map", "<", "JNDIEnvironmentRefType", ",", "Map", "<", "String", ",", "String", ">", ">", "createAllBindingsMap", "(", ")", "{", "Map", "<", "JNDIEnvironmentRefType", ",", "Map", "<", "String", ",", "String", ">", ">", "allBindings", "=",...
Create a new map for holding all JNDIEnvironmentRef bindings.
[ "Create", "a", "new", "map", "for", "holding", "all", "JNDIEnvironmentRef", "bindings", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java#L23-L31
train
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java
JNDIEnvironmentRefBindingHelper.setAllBndAndExt
public static void setAllBndAndExt(ComponentNameSpaceConfiguration compNSConfig, Map<JNDIEnvironmentRefType, Map<String, String>> allBindings, Map<String, String> envEntryValues, ResourceRefConfigList re...
java
public static void setAllBndAndExt(ComponentNameSpaceConfiguration compNSConfig, Map<JNDIEnvironmentRefType, Map<String, String>> allBindings, Map<String, String> envEntryValues, ResourceRefConfigList re...
[ "public", "static", "void", "setAllBndAndExt", "(", "ComponentNameSpaceConfiguration", "compNSConfig", ",", "Map", "<", "JNDIEnvironmentRefType", ",", "Map", "<", "String", ",", "String", ">", ">", "allBindings", ",", "Map", "<", "String", ",", "String", ">", "e...
Update a ComponentNameSpaceConfiguration object with processed binding and extension metadata. @param compNSConfig the configuration to update @param allBindings the map of all bindings @param envEntryValues the env-entry value bindings map @param resRefList the resource-ref binding and extension list
[ "Update", "a", "ComponentNameSpaceConfiguration", "object", "with", "processed", "binding", "and", "extension", "metadata", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/JNDIEnvironmentRefBindingHelper.java#L42-L54
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ServletChain.java
ServletChain.chainRequestDispatchers
public static void chainRequestDispatchers(RequestDispatcher[] dispatchers, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ for(int i=0; i<dispatchers.length-1; i++) { ChainedResponse chainedResp = new ChainedResponse(request, response); ...
java
public static void chainRequestDispatchers(RequestDispatcher[] dispatchers, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ for(int i=0; i<dispatchers.length-1; i++) { ChainedResponse chainedResp = new ChainedResponse(request, response); ...
[ "public", "static", "void", "chainRequestDispatchers", "(", "RequestDispatcher", "[", "]", "dispatchers", ",", "HttpServletRequest", "request", ",", "HttpServletResponse", "response", ")", "throws", "IOException", ",", "ServletException", "{", "for", "(", "int", "i", ...
Chain the responses of a set of request dispatchers together.
[ "Chain", "the", "responses", "of", "a", "set", "of", "request", "dispatchers", "together", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ServletChain.java#L192-L200
train
OpenLiberty/open-liberty
dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java
DDLGenerationMBeanImpl.setGenerator
@Reference(name = KEY_GENERATOR, service = DDLGenerationParticipant.class, policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.MULTIPLE) protected void setGenerator(ServiceReference<DDLGenerationParticipant> ref) { generators.addReference(ref); }
java
@Reference(name = KEY_GENERATOR, service = DDLGenerationParticipant.class, policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.MULTIPLE) protected void setGenerator(ServiceReference<DDLGenerationParticipant> ref) { generators.addReference(ref); }
[ "@", "Reference", "(", "name", "=", "KEY_GENERATOR", ",", "service", "=", "DDLGenerationParticipant", ".", "class", ",", "policy", "=", "ReferencePolicy", ".", "DYNAMIC", ",", "cardinality", "=", "ReferenceCardinality", ".", "MULTIPLE", ")", "protected", "void", ...
Method which registers a DDL generator. All OSGi services providing this interface will be set here.
[ "Method", "which", "registers", "a", "DDL", "generator", ".", "All", "OSGi", "services", "providing", "this", "interface", "will", "be", "set", "here", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java#L78-L81
train
OpenLiberty/open-liberty
dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java
DDLGenerationMBeanImpl.generateDDL
@Override synchronized public Map<String, Serializable> generateDDL() { Map<String, Serializable> returnMap = new HashMap<String, Serializable>(); WsResource ddlOutputDirectory = locationService.get().resolveResource(OUTPUT_DIR); if (ddlOutputDirectory.exists() == false) { ddlOut...
java
@Override synchronized public Map<String, Serializable> generateDDL() { Map<String, Serializable> returnMap = new HashMap<String, Serializable>(); WsResource ddlOutputDirectory = locationService.get().resolveResource(OUTPUT_DIR); if (ddlOutputDirectory.exists() == false) { ddlOut...
[ "@", "Override", "synchronized", "public", "Map", "<", "String", ",", "Serializable", ">", "generateDDL", "(", ")", "{", "Map", "<", "String", ",", "Serializable", ">", "returnMap", "=", "new", "HashMap", "<", "String", ",", "Serializable", ">", "(", ")", ...
Trigger DDL generation for anyone who needs to generate DDL.
[ "Trigger", "DDL", "generation", "for", "anyone", "who", "needs", "to", "generate", "DDL", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.persistence.mbean/src/com/ibm/ws/persistence/mbean/internal/DDLGenerationMBeanImpl.java#L112-L190
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java
BehaviorTagHandlerDelegate.createMetaRuleset
@Override public MetaRuleset createMetaRuleset(Class type) { MetaRuleset ruleset = new MetaRulesetImpl(_delegate.getTag(), type); ruleset.ignore("binding"); ruleset.ignore("event"); return ruleset; }
java
@Override public MetaRuleset createMetaRuleset(Class type) { MetaRuleset ruleset = new MetaRulesetImpl(_delegate.getTag(), type); ruleset.ignore("binding"); ruleset.ignore("event"); return ruleset; }
[ "@", "Override", "public", "MetaRuleset", "createMetaRuleset", "(", "Class", "type", ")", "{", "MetaRuleset", "ruleset", "=", "new", "MetaRulesetImpl", "(", "_delegate", ".", "getTag", "(", ")", ",", "type", ")", ";", "ruleset", ".", "ignore", "(", "\"bindin...
This tag call _delegate.setAttributes, so the returned MetaRuleset should ignore attributes that are not supposed to be there like "binding" and "event"
[ "This", "tag", "call", "_delegate", ".", "setAttributes", "so", "the", "returned", "MetaRuleset", "should", "ignore", "attributes", "that", "are", "not", "supposed", "to", "be", "there", "like", "binding", "and", "event" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java#L110-L117
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java
BehaviorTagHandlerDelegate.applyAttachedObject
public void applyAttachedObject(FacesContext context, UIComponent parent) { // Retrieve the current FaceletContext from FacesContext object FaceletContext faceletContext = (FaceletContext) context.getAttributes().get( FaceletContext.FACELET_CONTEXT_KEY); ValueExpress...
java
public void applyAttachedObject(FacesContext context, UIComponent parent) { // Retrieve the current FaceletContext from FacesContext object FaceletContext faceletContext = (FaceletContext) context.getAttributes().get( FaceletContext.FACELET_CONTEXT_KEY); ValueExpress...
[ "public", "void", "applyAttachedObject", "(", "FacesContext", "context", ",", "UIComponent", "parent", ")", "{", "// Retrieve the current FaceletContext from FacesContext object", "FaceletContext", "faceletContext", "=", "(", "FaceletContext", ")", "context", ".", "getAttribu...
Create a ClientBehavior and attach it to the component
[ "Create", "a", "ClientBehavior", "and", "attach", "it", "to", "the", "component" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/BehaviorTagHandlerDelegate.java#L122-L182
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.getDB
@FFDCIgnore(InvocationTargetException.class) Object getDB(String databaseName) throws Exception { final boolean trace = TraceComponent.isAnyTracingEnabled(); lock.readLock().lock(); try { if (mongoClient == null) { // Switch to write lock for lazy initialization ...
java
@FFDCIgnore(InvocationTargetException.class) Object getDB(String databaseName) throws Exception { final boolean trace = TraceComponent.isAnyTracingEnabled(); lock.readLock().lock(); try { if (mongoClient == null) { // Switch to write lock for lazy initialization ...
[ "@", "FFDCIgnore", "(", "InvocationTargetException", ".", "class", ")", "Object", "getDB", "(", "String", "databaseName", ")", "throws", "Exception", "{", "final", "boolean", "trace", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "lock", ".",...
Get a Mongo DB instance, authenticated with the specified user and password if specified. @param databaseName the database name. @return com.mongodb.DB instance @throws Exception if an error occurs.
[ "Get", "a", "Mongo", "DB", "instance", "authenticated", "with", "the", "specified", "user", "and", "password", "if", "specified", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L268-L340
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.getCerticateSubject
private String getCerticateSubject(AtomicServiceReference<Object> serviceRef, Properties sslProperties) { String certificateDN = null; try { certificateDN = sslHelper.getClientKeyCertSubject(serviceRef, sslProperties); } catch (KeyStoreException ke) { if (TraceComponent.i...
java
private String getCerticateSubject(AtomicServiceReference<Object> serviceRef, Properties sslProperties) { String certificateDN = null; try { certificateDN = sslHelper.getClientKeyCertSubject(serviceRef, sslProperties); } catch (KeyStoreException ke) { if (TraceComponent.i...
[ "private", "String", "getCerticateSubject", "(", "AtomicServiceReference", "<", "Object", ">", "serviceRef", ",", "Properties", "sslProperties", ")", "{", "String", "certificateDN", "=", "null", ";", "try", "{", "certificateDN", "=", "sslHelper", ".", "getClientKeyC...
Call security code to read the subject name from the key in the keystore @param serviceRef @param sslProperties @return
[ "Call", "security", "code", "to", "read", "the", "subject", "name", "from", "the", "key", "in", "the", "keystore" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L504-L529
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.set
@FFDCIgnore(Throwable.class) @Trivial private void set(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String propName, Object value) throws IntrospectionException, IllegalArgumentException, IllegalAccessException, InvocationTargetException { try { if (TraceC...
java
@FFDCIgnore(Throwable.class) @Trivial private void set(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String propName, Object value) throws IntrospectionException, IllegalArgumentException, IllegalAccessException, InvocationTargetException { try { if (TraceC...
[ "@", "FFDCIgnore", "(", "Throwable", ".", "class", ")", "@", "Trivial", "private", "void", "set", "(", "Class", "<", "?", ">", "MongoClientOptions_Builder", ",", "Object", "optionsBuilder", ",", "String", "propName", ",", "Object", "value", ")", "throws", "I...
Configure a mongo option. @param MongoClientOptions_Builder builder class @param optionsBuilder builder instance @param propName name of the config property. @param type type of the config property.
[ "Configure", "a", "mongo", "option", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L600-L628
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.setReadPreference
@FFDCIgnore(Throwable.class) @Trivial private void setReadPreference(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String creatorMethod) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException,...
java
@FFDCIgnore(Throwable.class) @Trivial private void setReadPreference(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String creatorMethod) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException,...
[ "@", "FFDCIgnore", "(", "Throwable", ".", "class", ")", "@", "Trivial", "private", "void", "setReadPreference", "(", "Class", "<", "?", ">", "MongoClientOptions_Builder", ",", "Object", "optionsBuilder", ",", "String", "creatorMethod", ")", "throws", "ClassNotFoun...
Configure the "readPreference" mongo option, which is a special case. @param MongoClientOptions_Builder builder class @param optionsBuilder builder instance @param creatorMethod name of a static method of ReadPreference that creates an instance.
[ "Configure", "the", "readPreference", "mongo", "option", "which", "is", "a", "special", "case", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L637-L660
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.setWriteConcern
@FFDCIgnore(Throwable.class) @Trivial private void setWriteConcern(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String fieldName) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchM...
java
@FFDCIgnore(Throwable.class) @Trivial private void setWriteConcern(Class<?> MongoClientOptions_Builder, Object optionsBuilder, String fieldName) throws ClassNotFoundException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchM...
[ "@", "FFDCIgnore", "(", "Throwable", ".", "class", ")", "@", "Trivial", "private", "void", "setWriteConcern", "(", "Class", "<", "?", ">", "MongoClientOptions_Builder", ",", "Object", "optionsBuilder", ",", "String", "fieldName", ")", "throws", "ClassNotFoundExcep...
Configure the "writeConcern" mongo option, which is a special case. @param MongoClientOptions_Builder builder class @param optionsBuilder builder instance @param fieldName name of a static field of WriteConcern which is of the type WriteConcern.
[ "Configure", "the", "writeConcern", "mongo", "option", "which", "is", "a", "special", "case", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L669-L691
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.setSsl
protected void setSsl(ServiceReference<Object> reference) { sslConfigurationRef.setReference(reference); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "sslRef set to " + reference.getProperty(CONFIG_DISPLAY_ID)); } }
java
protected void setSsl(ServiceReference<Object> reference) { sslConfigurationRef.setReference(reference); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "sslRef set to " + reference.getProperty(CONFIG_DISPLAY_ID)); } }
[ "protected", "void", "setSsl", "(", "ServiceReference", "<", "Object", ">", "reference", ")", "{", "sslConfigurationRef", ".", "setReference", "(", "reference", ")", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDe...
Declarative Services method for setting the SSL Support service reference @param ref reference to the service
[ "Declarative", "Services", "method", "for", "setting", "the", "SSL", "Support", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L727-L732
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.unsetSsl
protected void unsetSsl(ServiceReference<Object> reference) { sslConfigurationRef.unsetReference(reference); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "sslRef unset"); } }
java
protected void unsetSsl(ServiceReference<Object> reference) { sslConfigurationRef.unsetReference(reference); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "sslRef unset"); } }
[ "protected", "void", "unsetSsl", "(", "ServiceReference", "<", "Object", ">", "reference", ")", "{", "sslConfigurationRef", ".", "unsetReference", "(", "reference", ")", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "...
Declarative Services method for unsetting the SSL Support service reference @param ref reference to the service
[ "Declarative", "Services", "method", "for", "unsetting", "the", "SSL", "Support", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L739-L744
train
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java
MongoService.assertValidSSLConfig
private void assertValidSSLConfig() { final boolean trace = TraceComponent.isAnyTracingEnabled(); boolean sslEnabled = (((Boolean) props.get(SSL_ENABLED)) == null) ? false : (Boolean) props.get(SSL_ENABLED); boolean sslRefExists = ((props.get(SSL_REF)) == null) ? false : true; if (sslR...
java
private void assertValidSSLConfig() { final boolean trace = TraceComponent.isAnyTracingEnabled(); boolean sslEnabled = (((Boolean) props.get(SSL_ENABLED)) == null) ? false : (Boolean) props.get(SSL_ENABLED); boolean sslRefExists = ((props.get(SSL_REF)) == null) ? false : true; if (sslR...
[ "private", "void", "assertValidSSLConfig", "(", ")", "{", "final", "boolean", "trace", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "boolean", "sslEnabled", "=", "(", "(", "(", "Boolean", ")", "props", ".", "get", "(", "SSL_ENABLED", ")"...
Validate combination of security parameters for certificate authentication. If useCertificateAuthentication is specified SSL must be enabled, an ssslRef must be specified and user and password should not be specified.
[ "Validate", "combination", "of", "security", "parameters", "for", "certificate", "authentication", ".", "If", "useCertificateAuthentication", "is", "specified", "SSL", "must", "be", "enabled", "an", "ssslRef", "must", "be", "specified", "and", "user", "and", "passwo...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo/src/com/ibm/ws/mongo/internal/MongoService.java#L783-L815
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java
ReferrerURLCookieHandler.getReferrerURLFromCookies
@Sensitive public String getReferrerURLFromCookies(HttpServletRequest req, String cookieName) { Cookie[] cookies = req.getCookies(); String referrerURL = CookieHelper.getCookieValue(cookies, cookieName); if (referrerURL != null) { StringBuffer URL = req.getRequestURL(); ...
java
@Sensitive public String getReferrerURLFromCookies(HttpServletRequest req, String cookieName) { Cookie[] cookies = req.getCookies(); String referrerURL = CookieHelper.getCookieValue(cookies, cookieName); if (referrerURL != null) { StringBuffer URL = req.getRequestURL(); ...
[ "@", "Sensitive", "public", "String", "getReferrerURLFromCookies", "(", "HttpServletRequest", "req", ",", "String", "cookieName", ")", "{", "Cookie", "[", "]", "cookies", "=", "req", ".", "getCookies", "(", ")", ";", "String", "referrerURL", "=", "CookieHelper",...
Retrieve the referrer URL from the HttpServletRequest's cookies. This will decode the URL and restore the host name if it was removed. @param req @return referrerURL
[ "Retrieve", "the", "referrer", "URL", "from", "the", "HttpServletRequest", "s", "cookies", ".", "This", "will", "decode", "the", "URL", "and", "restore", "the", "host", "name", "if", "it", "was", "removed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java#L50-L60
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java
ReferrerURLCookieHandler.clearReferrerURLCookie
public void clearReferrerURLCookie(HttpServletRequest req, HttpServletResponse res, String cookieName) { String url = CookieHelper.getCookieValue(req.getCookies(), cookieName); if (url != null && url.length() > 0) { invalidateReferrerURLCookie(req, res, cookieName); } }
java
public void clearReferrerURLCookie(HttpServletRequest req, HttpServletResponse res, String cookieName) { String url = CookieHelper.getCookieValue(req.getCookies(), cookieName); if (url != null && url.length() > 0) { invalidateReferrerURLCookie(req, res, cookieName); } }
[ "public", "void", "clearReferrerURLCookie", "(", "HttpServletRequest", "req", ",", "HttpServletResponse", "res", ",", "String", "cookieName", ")", "{", "String", "url", "=", "CookieHelper", ".", "getCookieValue", "(", "req", ".", "getCookies", "(", ")", ",", "co...
Removes the referrer URL cookie from the HttpServletResponse if set in the HttpServletRequest. @param req @param res
[ "Removes", "the", "referrer", "URL", "cookie", "from", "the", "HttpServletResponse", "if", "set", "in", "the", "HttpServletRequest", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java#L154-L160
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java
ReferrerURLCookieHandler.setReferrerURLCookie
public void setReferrerURLCookie(HttpServletRequest req, AuthenticationResult authResult, String url) { //PM81345: If the URL contains favicon, then we will not update the value of the ReffererURL. The only way //we will do it, is if the value of the cookie is null. This will solve the Error 500. ...
java
public void setReferrerURLCookie(HttpServletRequest req, AuthenticationResult authResult, String url) { //PM81345: If the URL contains favicon, then we will not update the value of the ReffererURL. The only way //we will do it, is if the value of the cookie is null. This will solve the Error 500. ...
[ "public", "void", "setReferrerURLCookie", "(", "HttpServletRequest", "req", ",", "AuthenticationResult", "authResult", ",", "String", "url", ")", "{", "//PM81345: If the URL contains favicon, then we will not update the value of the ReffererURL. The only way", "//we will do it, is if t...
Sets the referrer URL cookie into the AuthenticationResult. If PRESERVE_FULLY_QUALIFIED_REFERRER_URL is not set, or set to false, then the host name of the referrer URL is removed. @param authResult AuthenticationResult instance @param url non-null URL String @param securityConfig SecurityConfig instance
[ "Sets", "the", "referrer", "URL", "cookie", "into", "the", "AuthenticationResult", ".", "If", "PRESERVE_FULLY_QUALIFIED_REFERRER_URL", "is", "not", "set", "or", "set", "to", "false", "then", "the", "host", "name", "of", "the", "referrer", "URL", "is", "removed",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/ReferrerURLCookieHandler.java#L221-L238
train
OpenLiberty/open-liberty
dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/DeferredRecoveryStarter.java
DeferredRecoveryStarter.checkDataSource
@FFDCIgnore(Exception.class) private boolean checkDataSource(DataSource nonTranDataSource) { boolean fullyFormedDS = false; try { nonTranDataSource = (DataSource) _dataSourceFactory.createResource(null); if (tc.isDebugEnabled()) Tr.debug(tc, "Non T...
java
@FFDCIgnore(Exception.class) private boolean checkDataSource(DataSource nonTranDataSource) { boolean fullyFormedDS = false; try { nonTranDataSource = (DataSource) _dataSourceFactory.createResource(null); if (tc.isDebugEnabled()) Tr.debug(tc, "Non T...
[ "@", "FFDCIgnore", "(", "Exception", ".", "class", ")", "private", "boolean", "checkDataSource", "(", "DataSource", "nonTranDataSource", ")", "{", "boolean", "fullyFormedDS", "=", "false", ";", "try", "{", "nonTranDataSource", "=", "(", "DataSource", ")", "_data...
See whether it is possible to get a connection and metatdata from a DataSOurce. @param nonTranDataSource @return true if the DS is usable
[ "See", "whether", "it", "is", "possible", "to", "get", "a", "connection", "and", "metatdata", "from", "a", "DataSOurce", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transaction/src/com/ibm/ws/transaction/services/DeferredRecoveryStarter.java#L82-L110
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.bytes
public void bytes(Object source, Class sourceClass, byte[] data) { internalBytes(source, sourceClass, data, 0, 0); }
java
public void bytes(Object source, Class sourceClass, byte[] data) { internalBytes(source, sourceClass, data, 0, 0); }
[ "public", "void", "bytes", "(", "Object", "source", ",", "Class", "sourceClass", ",", "byte", "[", "]", "data", ")", "{", "internalBytes", "(", "source", ",", "sourceClass", ",", "data", ",", "0", ",", "0", ")", ";", "}" ]
Byte data trace. @param source @param sourceClass @param data
[ "Byte", "data", "trace", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L165-L173
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.entry
public final void entry(Class sourceClass, String methodName) { internalEntry(null, sourceClass, methodName, null); }
java
public final void entry(Class sourceClass, String methodName) { internalEntry(null, sourceClass, methodName, null); }
[ "public", "final", "void", "entry", "(", "Class", "sourceClass", ",", "String", "methodName", ")", "{", "internalEntry", "(", "null", ",", "sourceClass", ",", "methodName", ",", "null", ")", ";", "}" ]
Method entry tracing for static classes. @param sourceClass The type of class which called this method @param methodName The method name to trace
[ "Method", "entry", "tracing", "for", "static", "classes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L434-L440
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.exit
public final void exit(Class sourceClass, String methodName) { internalExit(null, sourceClass, methodName, null); }
java
public final void exit(Class sourceClass, String methodName) { internalExit(null, sourceClass, methodName, null); }
[ "public", "final", "void", "exit", "(", "Class", "sourceClass", ",", "String", "methodName", ")", "{", "internalExit", "(", "null", ",", "sourceClass", ",", "methodName", ",", "null", ")", ";", "}" ]
Method exit tracing for static methods. @param sourceClass The type of class which called this method @param methodName The method name to trace
[ "Method", "exit", "tracing", "for", "static", "methods", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L590-L596
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.internalExit
private final void internalExit(Object source, Class sourceClass, String methodName, Object object) { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append(methodName); stri...
java
private final void internalExit(Object source, Class sourceClass, String methodName, Object object) { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append(methodName); stri...
[ "private", "final", "void", "internalExit", "(", "Object", "source", ",", "Class", "sourceClass", ",", "String", "methodName", ",", "Object", "object", ")", "{", "StringBuffer", "stringBuffer", "=", "new", "StringBuffer", "(", ")", ";", "stringBuffer", ".", "a...
Internal implementation of method exit tracing. @param source The class instance which called this method @param sourceClass The type of class which called this method @param methodName The method name to trace @param object An object to trace with the exit point i.e. method parameter
[ "Internal", "implementation", "of", "method", "exit", "tracing", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L690-L738
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.event
public final void event(Class sourceClass, String methodName, Throwable throwable) { internalEvent(null, sourceClass, methodName, throwable); }
java
public final void event(Class sourceClass, String methodName, Throwable throwable) { internalEvent(null, sourceClass, methodName, throwable); }
[ "public", "final", "void", "event", "(", "Class", "sourceClass", ",", "String", "methodName", ",", "Throwable", "throwable", ")", "{", "internalEvent", "(", "null", ",", "sourceClass", ",", "methodName", ",", "throwable", ")", ";", "}" ]
Event tracing when a throwable is caught in a static class. @param sourceClass The type of class which called this method @param methodName The method where the event took place @param throwable The exception to trace
[ "Event", "tracing", "when", "a", "throwable", "is", "caught", "in", "a", "static", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L747-L754
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.event
public final void event(Object source, Class sourceClass, String methodName, Throwable throwable) { internalEvent(source, sourceClass, methodName, throwable); ...
java
public final void event(Object source, Class sourceClass, String methodName, Throwable throwable) { internalEvent(source, sourceClass, methodName, throwable); ...
[ "public", "final", "void", "event", "(", "Object", "source", ",", "Class", "sourceClass", ",", "String", "methodName", ",", "Throwable", "throwable", ")", "{", "internalEvent", "(", "source", ",", "sourceClass", ",", "methodName", ",", "throwable", ")", ";", ...
Event tracing. @param source The class instance which called this method @param sourceClass The type of class which called this method @param methodName The method where the event took place @param throwable The exception to trace
[ "Event", "tracing", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L764-L772
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.internalEvent
private final void internalEvent(Object source, Class sourceClass, String methodName, Throwable throwable) { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append(methodName); ...
java
private final void internalEvent(Object source, Class sourceClass, String methodName, Throwable throwable) { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append(methodName); ...
[ "private", "final", "void", "internalEvent", "(", "Object", "source", ",", "Class", "sourceClass", ",", "String", "methodName", ",", "Throwable", "throwable", ")", "{", "StringBuffer", "stringBuffer", "=", "new", "StringBuffer", "(", ")", ";", "stringBuffer", "....
Internal implementation of event tracing. @param source The class instance which called this method @param sourceClass The type of class which called this method @param methodName The method where the event took place @param throwable The exception to trace
[ "Internal", "implementation", "of", "event", "tracing", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L782-L824
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.info
public final void info(Class sourceClass, String methodName, String messageIdentifier, Object object) { internalInfo(null, sourceClass, methodName, messageIdentifier, ...
java
public final void info(Class sourceClass, String methodName, String messageIdentifier, Object object) { internalInfo(null, sourceClass, methodName, messageIdentifier, ...
[ "public", "final", "void", "info", "(", "Class", "sourceClass", ",", "String", "methodName", ",", "String", "messageIdentifier", ",", "Object", "object", ")", "{", "internalInfo", "(", "null", ",", "sourceClass", ",", "methodName", ",", "messageIdentifier", ",",...
Method information tracing for static objects. @param Class of the static object making the trace call. @param String name of the method being entered. @param String identifying the message. @param Object to be inserted into the message.
[ "Method", "information", "tracing", "for", "static", "objects", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L834-L843
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java
TraceImpl.warning
public final void warning(Class sourceClass, String methodName, String messageIdentifier, Object object) { internalWarning(null, sourceClass, methodName, ...
java
public final void warning(Class sourceClass, String methodName, String messageIdentifier, Object object) { internalWarning(null, sourceClass, methodName, ...
[ "public", "final", "void", "warning", "(", "Class", "sourceClass", ",", "String", "methodName", ",", "String", "messageIdentifier", ",", "Object", "object", ")", "{", "internalWarning", "(", "null", ",", "sourceClass", ",", "methodName", ",", "messageIdentifier", ...
Method warning tracing for static objects. @param Class of the static object making the trace call. @param String name of the method being entered. @param String identifying the message. @param Object to be inserted into the message.
[ "Method", "warning", "tracing", "for", "static", "objects", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceImpl.java#L914-L923
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java
CacheConfig.overrideCacheConfig
public void overrideCacheConfig(Properties properties) { if (properties != null) { FieldInitializer.initFromSystemProperties(this, properties); } processOffloadDirectory(); if (!this.enableServletSupport) { this.disableTemplatesSupport = true; } }
java
public void overrideCacheConfig(Properties properties) { if (properties != null) { FieldInitializer.initFromSystemProperties(this, properties); } processOffloadDirectory(); if (!this.enableServletSupport) { this.disableTemplatesSupport = true; } }
[ "public", "void", "overrideCacheConfig", "(", "Properties", "properties", ")", "{", "if", "(", "properties", "!=", "null", ")", "{", "FieldInitializer", ".", "initFromSystemProperties", "(", "this", ",", "properties", ")", ";", "}", "processOffloadDirectory", "(",...
used by com.ibm.ws.cache.spi.DistributedMapFactory
[ "used", "by", "com", ".", "ibm", ".", "ws", ".", "cache", ".", "spi", ".", "DistributedMapFactory" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java#L512-L520
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java
CacheConfig.determineCacheProvider
public void determineCacheProvider() { this.defaultProvider = true; if (cacheProviderName.equals("")) { cacheProviderName = CacheConfig.CACHE_PROVIDER_DYNACACHE; } if (!cacheProviderName.equals(CACHE_PROVIDER_DYNACACHE)) { defaultProvider = false; if (...
java
public void determineCacheProvider() { this.defaultProvider = true; if (cacheProviderName.equals("")) { cacheProviderName = CacheConfig.CACHE_PROVIDER_DYNACACHE; } if (!cacheProviderName.equals(CACHE_PROVIDER_DYNACACHE)) { defaultProvider = false; if (...
[ "public", "void", "determineCacheProvider", "(", ")", "{", "this", ".", "defaultProvider", "=", "true", ";", "if", "(", "cacheProviderName", ".", "equals", "(", "\"\"", ")", ")", "{", "cacheProviderName", "=", "CacheConfig", ".", "CACHE_PROVIDER_DYNACACHE", ";",...
Determines if default cache provider is being used and sets flag accordingly.
[ "Determines", "if", "default", "cache", "provider", "is", "being", "used", "and", "sets", "flag", "accordingly", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java#L893-L904
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java
CacheConfig.resetProvider
public void resetProvider(String cacheName) { if (tc.isDebugEnabled()) { Tr.debug(tc, "Reverting to the default Dynacache cache provider"); } this.cacheProviderName = CACHE_PROVIDER_DYNACACHE; this.enableCacheReplication = false; this.defaultProvider = true; t...
java
public void resetProvider(String cacheName) { if (tc.isDebugEnabled()) { Tr.debug(tc, "Reverting to the default Dynacache cache provider"); } this.cacheProviderName = CACHE_PROVIDER_DYNACACHE; this.enableCacheReplication = false; this.defaultProvider = true; t...
[ "public", "void", "resetProvider", "(", "String", "cacheName", ")", "{", "if", "(", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\"Reverting to the default Dynacache cache provider\"", ")", ";", "}", "this", ".", "cac...
only called when the alternate cache provider could not create the cache.. we need to then revert to the default
[ "only", "called", "when", "the", "alternate", "cache", "provider", "could", "not", "create", "the", "cache", "..", "we", "need", "to", "then", "revert", "to", "the", "default" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java#L913-L921
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java
CacheConfig.restoreDynacacheProviderDefaults
void restoreDynacacheProviderDefaults() { // restore commonConfig to Dynacache defaults if (restoreDynacacheDefaults) { if (cacheProviderName != CacheConfig.CACHE_PROVIDER_DYNACACHE) { cacheProviderName = CacheConfig.CACHE_PROVIDER_DYNACACHE; enableCacheReplication = ...
java
void restoreDynacacheProviderDefaults() { // restore commonConfig to Dynacache defaults if (restoreDynacacheDefaults) { if (cacheProviderName != CacheConfig.CACHE_PROVIDER_DYNACACHE) { cacheProviderName = CacheConfig.CACHE_PROVIDER_DYNACACHE; enableCacheReplication = ...
[ "void", "restoreDynacacheProviderDefaults", "(", ")", "{", "// restore commonConfig to Dynacache defaults", "if", "(", "restoreDynacacheDefaults", ")", "{", "if", "(", "cacheProviderName", "!=", "CacheConfig", ".", "CACHE_PROVIDER_DYNACACHE", ")", "{", "cacheProviderName", ...
This method reverts the common configuration template for all cache instances to use Dynaache defaults. This method only comes into play when ObjectGrid is configured as the cache provider for the default cache.
[ "This", "method", "reverts", "the", "common", "configuration", "template", "for", "all", "cache", "instances", "to", "use", "Dynaache", "defaults", ".", "This", "method", "only", "comes", "into", "play", "when", "ObjectGrid", "is", "configured", "as", "the", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/CacheConfig.java#L927-L937
train
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/CustomLogProperties.java
CustomLogProperties.pluginId
public String pluginId() { if (tc.isEntryEnabled()) Tr.entry(tc, "pluginId", this); if (tc.isEntryEnabled()) Tr.exit(tc, "pluginId", _pluginId); return _pluginId; }
java
public String pluginId() { if (tc.isEntryEnabled()) Tr.entry(tc, "pluginId", this); if (tc.isEntryEnabled()) Tr.exit(tc, "pluginId", _pluginId); return _pluginId; }
[ "public", "String", "pluginId", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"pluginId\"", ",", "this", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "ex...
Returns the pluginId associated with this type of log @return int eclipse plugin id
[ "Returns", "the", "pluginId", "associated", "with", "this", "type", "of", "log" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/CustomLogProperties.java#L165-L171
train
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/CustomLogProperties.java
CustomLogProperties.properties
public Properties properties() { if (tc.isEntryEnabled()) Tr.entry(tc, "propertis", this); if (tc.isEntryEnabled()) Tr.exit(tc, "properties", _props); return _props; }
java
public Properties properties() { if (tc.isEntryEnabled()) Tr.entry(tc, "propertis", this); if (tc.isEntryEnabled()) Tr.exit(tc, "properties", _props); return _props; }
[ "public", "Properties", "properties", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"propertis\"", ",", "this", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", "."...
Returns the set of properties associated with this log implementation @return Properties custom properties associated with this log implementation
[ "Returns", "the", "set", "of", "properties", "associated", "with", "this", "log", "implementation" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/CustomLogProperties.java#L181-L187
train
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/CustomLogProperties.java
CustomLogProperties.resourceFactory
public ResourceFactory resourceFactory() { if (tc.isEntryEnabled()) Tr.entry(tc, "resourceFactory", this); if (tc.isEntryEnabled()) Tr.exit(tc, "resourceFactory", _resourceFactory); return _resourceFactory; }
java
public ResourceFactory resourceFactory() { if (tc.isEntryEnabled()) Tr.entry(tc, "resourceFactory", this); if (tc.isEntryEnabled()) Tr.exit(tc, "resourceFactory", _resourceFactory); return _resourceFactory; }
[ "public", "ResourceFactory", "resourceFactory", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"resourceFactory\"", ",", "this", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")...
Returns the Resource Factory associated with this log implementation @return ResourceFactory associated with this log implementation
[ "Returns", "the", "Resource", "Factory", "associated", "with", "this", "log", "implementation" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/CustomLogProperties.java#L267-L273
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java
WebContainer.loadCipherToBit
protected void loadCipherToBit() { boolean keySizeFromCipherMap = Boolean.valueOf(WebContainer.getWebContainerProperties().getProperty("com.ibm.ws.webcontainer.keysizefromciphermap", "true")).booleanValue(); //721610 if (keySizeFromCipherMap) { this.getKeySize...
java
protected void loadCipherToBit() { boolean keySizeFromCipherMap = Boolean.valueOf(WebContainer.getWebContainerProperties().getProperty("com.ibm.ws.webcontainer.keysizefromciphermap", "true")).booleanValue(); //721610 if (keySizeFromCipherMap) { this.getKeySize...
[ "protected", "void", "loadCipherToBit", "(", ")", "{", "boolean", "keySizeFromCipherMap", "=", "Boolean", ".", "valueOf", "(", "WebContainer", ".", "getWebContainerProperties", "(", ")", ".", "getProperty", "(", "\"com.ibm.ws.webcontainer.keysizefromciphermap\"", ",", "...
112102 - added method below to fill the cipher to bit size table
[ "112102", "-", "added", "method", "below", "to", "fill", "the", "cipher", "to", "bit", "size", "table" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java#L396-L418
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java
WebContainer.getVirtualHost
public VirtualHost getVirtualHost(String targetHost) throws WebAppHostNotFoundException { Iterator i = requestMapper.targetMappings(); while (i.hasNext()) { RequestProcessor rp = (RequestProcessor) i.next(); if (rp instanceof VirtualHost) { VirtualHost vHost = (V...
java
public VirtualHost getVirtualHost(String targetHost) throws WebAppHostNotFoundException { Iterator i = requestMapper.targetMappings(); while (i.hasNext()) { RequestProcessor rp = (RequestProcessor) i.next(); if (rp instanceof VirtualHost) { VirtualHost vHost = (V...
[ "public", "VirtualHost", "getVirtualHost", "(", "String", "targetHost", ")", "throws", "WebAppHostNotFoundException", "{", "Iterator", "i", "=", "requestMapper", ".", "targetMappings", "(", ")", ";", "while", "(", "i", ".", "hasNext", "(", ")", ")", "{", "Requ...
Method getVirtualHost. Returns null if the input name does not match any configured host. @param targetHost @return VirtualHost This method is not to be used in any request processing as it is not optimized for performance @throws WebAppHostNotFoundException
[ "Method", "getVirtualHost", ".", "Returns", "null", "if", "the", "input", "name", "does", "not", "match", "any", "configured", "host", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java#L562-L575
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java
WebContainer.removeExtraPathInfo
private PathInfoHelper removeExtraPathInfo(String pathInfo) { if (pathInfo == null) return null; int semicolon = pathInfo.indexOf(';'); if (semicolon != -1) { String tmpPathInfo = pathInfo.substring(0, semicolon); String extraPathInfo = pathInfo.substring(sem...
java
private PathInfoHelper removeExtraPathInfo(String pathInfo) { if (pathInfo == null) return null; int semicolon = pathInfo.indexOf(';'); if (semicolon != -1) { String tmpPathInfo = pathInfo.substring(0, semicolon); String extraPathInfo = pathInfo.substring(sem...
[ "private", "PathInfoHelper", "removeExtraPathInfo", "(", "String", "pathInfo", ")", "{", "if", "(", "pathInfo", "==", "null", ")", "return", "null", ";", "int", "semicolon", "=", "pathInfo", ".", "indexOf", "(", "'", "'", ")", ";", "if", "(", "semicolon", ...
begin 272738 Duplicate CacheServletWrappers when url-rewriting is enabled WAS.webcontainer
[ "begin", "272738", "Duplicate", "CacheServletWrappers", "when", "url", "-", "rewriting", "is", "enabled", "WAS", ".", "webcontainer" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java#L1512-L1524
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java
WebContainer.sendAppUnavailableException
public static void sendAppUnavailableException(HttpServletRequest req, HttpServletResponse res) throws IOException { if ((req instanceof SRTServletRequest) && (res instanceof SRTServletResponse)) { IRequest ireq = ((SRTServletRequest) req).getIRequest(); IResponse ires = ((SRTSe...
java
public static void sendAppUnavailableException(HttpServletRequest req, HttpServletResponse res) throws IOException { if ((req instanceof SRTServletRequest) && (res instanceof SRTServletResponse)) { IRequest ireq = ((SRTServletRequest) req).getIRequest(); IResponse ires = ((SRTSe...
[ "public", "static", "void", "sendAppUnavailableException", "(", "HttpServletRequest", "req", ",", "HttpServletResponse", "res", ")", "throws", "IOException", "{", "if", "(", "(", "req", "instanceof", "SRTServletRequest", ")", "&&", "(", "res", "instanceof", "SRTServ...
and throw a NPE because we couldn't get the application's configuration
[ "and", "throw", "a", "NPE", "because", "we", "couldn", "t", "get", "the", "application", "s", "configuration" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java#L1570-L1577
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java
WebContainer.sendUnavailableException
protected static void sendUnavailableException(IRequest req, IResponse res) throws IOException { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15 logger.logp(Level.FINE, CLASS_NAME, "sendUnavailableException", "Inside sendUnavailableException");...
java
protected static void sendUnavailableException(IRequest req, IResponse res) throws IOException { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15 logger.logp(Level.FINE, CLASS_NAME, "sendUnavailableException", "Inside sendUnavailableException");...
[ "protected", "static", "void", "sendUnavailableException", "(", "IRequest", "req", ",", "IResponse", "res", ")", "throws", "IOException", "{", "if", "(", "com", ".", "ibm", ".", "ejs", ".", "ras", ".", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ...
582053 change it to protected from private
[ "582053", "change", "it", "to", "protected", "from", "private" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/WebContainer.java#L1581-L1599
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_notInWebXML_notInApp
@Test public void MPJwtNoMpJwtConfig_notInWebXML_notInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_NOT_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG_NOT_IN_...
java
@Test public void MPJwtNoMpJwtConfig_notInWebXML_notInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_NOT_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG_NOT_IN_...
[ "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_notInWebXML_notInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_NOT_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT", ",", "MpJwtFatConstants", ".", "LOGINCON...
login-config does NOT exist in web.xml login-config does NOT exist in the app the mpJwt feature is NOT enabled We should receive a 401 status in an exception @throws Exception
[ "login", "-", "config", "does", "NOT", "exist", "in", "web", ".", "xml", "login", "-", "config", "does", "NOT", "exist", "in", "the", "app", "the", "mpJwt", "feature", "is", "NOT", "enabled", "We", "should", "receive", "a", "401", "status", "in", "an",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L53-L62
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_notInWebXML_basicInApp
@Test public void MPJwtNoMpJwtConfig_notInWebXML_basicInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_NOT_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG_NOT...
java
@Test public void MPJwtNoMpJwtConfig_notInWebXML_basicInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_NOT_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG_NOT...
[ "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_notInWebXML_basicInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_NOT_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT", ",", "MpJwtFatConstants", ".", "LOGI...
login-config does NOT exist in web.xml login-config does exist in the app, but is set to BASIC the mpJwt feature is NOT enabled We should receive a 401 status in an exception @throws Exception
[ "login", "-", "config", "does", "NOT", "exist", "in", "web", ".", "xml", "login", "-", "config", "does", "exist", "in", "the", "app", "but", "is", "set", "to", "BASIC", "the", "mpJwt", "feature", "is", "NOT", "enabled", "We", "should", "receive", "a", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L73-L82
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_formLoginInWebXML_notInApp
@Test public void MPJwtNoMpJwtConfig_formLoginInWebXML_notInApp() throws Exception { genericLoginConfigFormLoginVariationTest( MpJwtFatConstants.LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT, ...
java
@Test public void MPJwtNoMpJwtConfig_formLoginInWebXML_notInApp() throws Exception { genericLoginConfigFormLoginVariationTest( MpJwtFatConstants.LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT, ...
[ "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_formLoginInWebXML_notInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigFormLoginVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT", ",", "MpJwtFatConstant...
login-config does exist in web.xml, but is set to FORM_LOGIN login-config does NOT exist in the app the mpJwt feature is NOT enabled We should use FORM_LOGIN @throws Exception
[ "login", "-", "config", "does", "exist", "in", "web", ".", "xml", "but", "is", "set", "to", "FORM_LOGIN", "login", "-", "config", "does", "NOT", "exist", "in", "the", "app", "the", "mpJwt", "feature", "is", "NOT", "enabled", "We", "should", "use", "FOR...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L113-L122
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_formLoginInWebXML_basicInApp
@Test public void MPJwtNoMpJwtConfig_formLoginInWebXML_basicInApp() throws Exception { genericLoginConfigFormLoginVariationTest( MpJwtFatConstants.LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT, ...
java
@Test public void MPJwtNoMpJwtConfig_formLoginInWebXML_basicInApp() throws Exception { genericLoginConfigFormLoginVariationTest( MpJwtFatConstants.LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT, ...
[ "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_formLoginInWebXML_basicInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigFormLoginVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT", ",", "MpJwtFatCons...
login-config does exist in web.xml, but is set to FORM_LOGIN login-config does NOT exist in the app, but is set to BASIC the mpJwt feature is NOT enabled We should use FORM_LOGIN @throws Exception
[ "login", "-", "config", "does", "exist", "in", "web", ".", "xml", "but", "is", "set", "to", "FORM_LOGIN", "login", "-", "config", "does", "NOT", "exist", "in", "the", "app", "but", "is", "set", "to", "BASIC", "the", "mpJwt", "feature", "is", "NOT", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L133-L142
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_formLoginInWebXML_mpJwtInApp
@Test public void MPJwtNoMpJwtConfig_formLoginInWebXML_mpJwtInApp() throws Exception { genericLoginConfigFormLoginVariationTest( MpJwtFatConstants.LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_MP_JWT_IN_APP_ROOT_CONTEXT, ...
java
@Test public void MPJwtNoMpJwtConfig_formLoginInWebXML_mpJwtInApp() throws Exception { genericLoginConfigFormLoginVariationTest( MpJwtFatConstants.LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_MP_JWT_IN_APP_ROOT_CONTEXT, ...
[ "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_formLoginInWebXML_mpJwtInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigFormLoginVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_FORM_LOGIN_IN_WEB_XML_SERVLET_MP_JWT_IN_APP_ROOT_CONTEXT", ",", "MpJwtFatCon...
login-config does exist in web.xml, but is set to FORM_LOGIN login-config does exist in the app and is set to MP-JWT the mpJwt feature is NOT enabled We should use FORM_LOGIN @throws Exception
[ "login", "-", "config", "does", "exist", "in", "web", ".", "xml", "but", "is", "set", "to", "FORM_LOGIN", "login", "-", "config", "does", "exist", "in", "the", "app", "and", "is", "set", "to", "MP", "-", "JWT", "the", "mpJwt", "feature", "is", "NOT",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L153-L162
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_mpJwtInWebXML_notInApp
@Test public void MPJwtNoMpJwtConfig_mpJwtInWebXML_notInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG_MP...
java
@Test public void MPJwtNoMpJwtConfig_mpJwtInWebXML_notInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG_MP...
[ "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_mpJwtInWebXML_notInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_NOT_IN_APP_ROOT_CONTEXT", ",", "MpJwtFatConstants", ".", "LOG...
login-config does exist in web.xml, and is set to MP-JWT login-config does NOT exist in the app the mpJwt feature is NOT enabled We should receive a 401 status in an exception @throws Exception
[ "login", "-", "config", "does", "exist", "in", "web", ".", "xml", "and", "is", "set", "to", "MP", "-", "JWT", "login", "-", "config", "does", "NOT", "exist", "in", "the", "app", "the", "mpJwt", "feature", "is", "NOT", "enabled", "We", "should", "rece...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L173-L182
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_mpJwtInWebXML_basicInApp
@Test public void MPJwtNoMpJwtConfig_mpJwtInWebXML_basicInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG...
java
@Test public void MPJwtNoMpJwtConfig_mpJwtInWebXML_basicInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT, MpJwtFatConstants.LOGINCONFIG...
[ "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_mpJwtInWebXML_basicInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_BASIC_IN_APP_ROOT_CONTEXT", ",", "MpJwtFatConstants", ".", ...
login-config does exist in web.xml, and is set to MP-JWT login-config does exist in the app, but is set to BASIC the mpJwt feature is NOT enabled We should receive a 401 status in an exception @throws Exception
[ "login", "-", "config", "does", "exist", "in", "web", ".", "xml", "and", "is", "set", "to", "MP", "-", "JWT", "login", "-", "config", "does", "exist", "in", "the", "app", "but", "is", "set", "to", "BASIC", "the", "mpJwt", "feature", "is", "NOT", "e...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L194-L202
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java
MPJwtNoMpJwtConfig.MPJwtNoMpJwtConfig_mpJwtInWebXML_mpJwtInApp
@Mode(TestMode.LITE) @Test public void MPJwtNoMpJwtConfig_mpJwtInWebXML_mpJwtInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_MP_JWT_IN_APP_ROOT_CONTEXT, MpJ...
java
@Mode(TestMode.LITE) @Test public void MPJwtNoMpJwtConfig_mpJwtInWebXML_mpJwtInApp() throws Exception { genericLoginConfigVariationTest( MpJwtFatConstants.LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_MP_JWT_IN_APP_ROOT_CONTEXT, MpJ...
[ "@", "Mode", "(", "TestMode", ".", "LITE", ")", "@", "Test", "public", "void", "MPJwtNoMpJwtConfig_mpJwtInWebXML_mpJwtInApp", "(", ")", "throws", "Exception", "{", "genericLoginConfigVariationTest", "(", "MpJwtFatConstants", ".", "LOGINCONFIG_MP_JWT_IN_WEB_XML_SERVLET_MP_JW...
login-config does exist in web.xml, and is set to MP-JWT login-config does exist in the app, and is set to MP-JWT the mpJwt feature is NOT enabled We should receive a 401 status in an exception @throws Exception
[ "login", "-", "config", "does", "exist", "in", "web", ".", "xml", "and", "is", "set", "to", "MP", "-", "JWT", "login", "-", "config", "does", "exist", "in", "the", "app", "and", "is", "set", "to", "MP", "-", "JWT", "the", "mpJwt", "feature", "is", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtNoMpJwtConfig.java#L213-L222
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsTopicImpl.java
JmsTopicImpl.setTopicName
@Override public void setTopicName(String tName) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicName", tName); setDestDiscrim(tName); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
@Override public void setTopicName(String tName) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicName", tName); setDestDiscrim(tName); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "@", "Override", "public", "void", "setTopicName", "(", "String", "tName", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
Set the topicName. @param tName The name of the topic @throws JMSException If setDestDiscrim throws one. @see JmsDestinationImpl#setDestDiscrim
[ "Set", "the", "topicName", "." ]
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/JmsTopicImpl.java#L90-L97
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsTopicImpl.java
JmsTopicImpl.getTopicSpace
@Override public String getTopicSpace() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTopicSpace"); String result = getDestName(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr...
java
@Override public String getTopicSpace() throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTopicSpace"); String result = getDestName(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr...
[ "@", "Override", "public", "String", "getTopicSpace", "(", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc...
Get the topicSpace. @return the topicSpace @see JmsDestinationImpl#getDestName
[ "Get", "the", "topicSpace", "." ]
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/JmsTopicImpl.java#L105-L113
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsTopicImpl.java
JmsTopicImpl.setTopicSpace
@Override public void setTopicSpace(String tSpace) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpace", tSpace); setDestName(tSpace); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
@Override public void setTopicSpace(String tSpace) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpace", tSpace); setDestName(tSpace); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "@", "Override", "public", "void", "setTopicSpace", "(", "String", "tSpace", ")", "throws", "JMSException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
Set the topicSpace @param tSpace @throws JMSException @see JmsDestinationImpl#setDestName
[ "Set", "the", "topicSpace" ]
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/JmsTopicImpl.java#L122-L129
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/impl/ServerConnectionManagerImpl.java
ServerConnectionManagerImpl.initialise
public static void initialise(AcceptListenerFactory _acceptListenerFactory) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initalise"); acceptListenerFactory = _acceptListenerFactory; // Create the maintainer of the configuration. Framew...
java
public static void initialise(AcceptListenerFactory _acceptListenerFactory) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initalise"); acceptListenerFactory = _acceptListenerFactory; // Create the maintainer of the configuration. Framew...
[ "public", "static", "void", "initialise", "(", "AcceptListenerFactory", "_acceptListenerFactory", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", "...
Initialises the server connection manager by getting hold of the framework. @param _acceptListenerFactory @see com.ibm.ws.sib.jfapchannel.ServerConnectionManager#initialise(com.ibm.ws.sib.jfapchannel.AcceptListenerFactory)
[ "Initialises", "the", "server", "connection", "manager", "by", "getting", "hold", "of", "the", "framework", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/impl/ServerConnectionManagerImpl.java#L131-L150
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/impl/ServerConnectionManagerImpl.java
ServerConnectionManagerImpl.initialiseAcceptListenerFactory
public static void initialiseAcceptListenerFactory(AcceptListenerFactory _acceptListenerFactory) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialiseAcceptListenerFactory", _acceptListenerFactory); acceptListenerFactory = _acceptListenerFactory; ...
java
public static void initialiseAcceptListenerFactory(AcceptListenerFactory _acceptListenerFactory) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialiseAcceptListenerFactory", _acceptListenerFactory); acceptListenerFactory = _acceptListenerFactory; ...
[ "public", "static", "void", "initialiseAcceptListenerFactory", "(", "AcceptListenerFactory", "_acceptListenerFactory", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry...
Set the AcceptListenerFactory. @param _acceptListenerFactory
[ "Set", "the", "AcceptListenerFactory", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/impl/ServerConnectionManagerImpl.java#L157-L165
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/impl/ServerConnectionManagerImpl.java
ServerConnectionManagerImpl.getActiveOutboundMEtoMEConversations
@Override public List getActiveOutboundMEtoMEConversations() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getActiveOutboundMEtoMEConversations"); List convs = null; if (connectionTracker != null) { convs = connectionTracke...
java
@Override public List getActiveOutboundMEtoMEConversations() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getActiveOutboundMEtoMEConversations"); List convs = null; if (connectionTracker != null) { convs = connectionTracke...
[ "@", "Override", "public", "List", "getActiveOutboundMEtoMEConversations", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",",...
Obtains a list of active outbound ME to ME conversations in this JVM. @return a list of Conversations
[ "Obtains", "a", "list", "of", "active", "outbound", "ME", "to", "ME", "conversations", "in", "this", "JVM", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/impl/ServerConnectionManagerImpl.java#L247-L260
train
OpenLiberty/open-liberty
dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoStoreImpl.java
InfoStoreImpl.open
@Override public void open() throws InfoStoreException { String methodName = "open"; try { getClassSource().open(); } catch (ClassSource_Exception e) { // defect 84235:we are generating multiple Warning/Error messages for each error due to each level reporting them. ...
java
@Override public void open() throws InfoStoreException { String methodName = "open"; try { getClassSource().open(); } catch (ClassSource_Exception e) { // defect 84235:we are generating multiple Warning/Error messages for each error due to each level reporting them. ...
[ "@", "Override", "public", "void", "open", "(", ")", "throws", "InfoStoreException", "{", "String", "methodName", "=", "\"open\"", ";", "try", "{", "getClassSource", "(", ")", ".", "open", "(", ")", ";", "}", "catch", "(", "ClassSource_Exception", "e", ")"...
Open the InfoStore for processing. Primarily, this will open the ClassSources attached to this InfoStore which will then allow classes to be accessed. @throws InfoStoreException
[ "Open", "the", "InfoStore", "for", "processing", ".", "Primarily", "this", "will", "open", "the", "ClassSources", "attached", "to", "this", "InfoStore", "which", "will", "then", "allow", "classes", "to", "be", "accessed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoStoreImpl.java#L86-L100
train
OpenLiberty/open-liberty
dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoStoreImpl.java
InfoStoreImpl.scanClass
public void scanClass(String className) throws InfoStoreException { Object[] logParms; if (tc.isDebugEnabled()) { logParms = new Object[] { getHashText(), className }; Tr.debug(tc, MessageFormat.format("[ {0} ] Class [ {1} ] ENTER", logParms)); } else { logPa...
java
public void scanClass(String className) throws InfoStoreException { Object[] logParms; if (tc.isDebugEnabled()) { logParms = new Object[] { getHashText(), className }; Tr.debug(tc, MessageFormat.format("[ {0} ] Class [ {1} ] ENTER", logParms)); } else { logPa...
[ "public", "void", "scanClass", "(", "String", "className", ")", "throws", "InfoStoreException", "{", "Object", "[", "]", "logParms", ";", "if", "(", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "logParms", "=", "new", "Object", "[", "]", "{", "getHas...
Visitor helpers ...
[ "Visitor", "helpers", "..." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoStoreImpl.java#L126-L150
train
OpenLiberty/open-liberty
dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoStoreImpl.java
InfoStoreImpl.getPackageInfo
@Override public PackageInfoImpl getPackageInfo(String name) { return getClassInfoCache().getPackageInfo(name, ClassInfoCache.DO_NOT_FORCE_PACKAGE); }
java
@Override public PackageInfoImpl getPackageInfo(String name) { return getClassInfoCache().getPackageInfo(name, ClassInfoCache.DO_NOT_FORCE_PACKAGE); }
[ "@", "Override", "public", "PackageInfoImpl", "getPackageInfo", "(", "String", "name", ")", "{", "return", "getClassInfoCache", "(", ")", ".", "getPackageInfo", "(", "name", ",", "ClassInfoCache", ".", "DO_NOT_FORCE_PACKAGE", ")", ";", "}" ]
a package info, even if an error occurrs.
[ "a", "package", "info", "even", "if", "an", "error", "occurrs", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoStoreImpl.java#L325-L328
train
OpenLiberty/open-liberty
dev/com.ibm.ws.management.security/src/com/ibm/ws/management/security/internal/AbstractManagementRole.java
AbstractManagementRole.updateBindings
private void updateBindings(Map<String, Object> props) { // Process the user element processProps(props, CFG_KEY_USER, users); // Process the user-access-id element processProps(props, CFG_KEY_USER_ACCESSID, users); // Process the group element processProps(props, CFG_KE...
java
private void updateBindings(Map<String, Object> props) { // Process the user element processProps(props, CFG_KEY_USER, users); // Process the user-access-id element processProps(props, CFG_KEY_USER_ACCESSID, users); // Process the group element processProps(props, CFG_KE...
[ "private", "void", "updateBindings", "(", "Map", "<", "String", ",", "Object", ">", "props", ")", "{", "// Process the user element", "processProps", "(", "props", ",", "CFG_KEY_USER", ",", "users", ")", ";", "// Process the user-access-id element", "processProps", ...
Update the binding sets based on the properties from the configuration. @param props
[ "Update", "the", "binding", "sets", "based", "on", "the", "properties", "from", "the", "configuration", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.management.security/src/com/ibm/ws/management/security/internal/AbstractManagementRole.java#L66-L76
train
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncChannelFuture.java
AsyncChannelFuture.cancel
public void cancel(Exception reason) { // IMPROVEMENT: need to rework how syncs on the future.complete() work. We really should be // syncing here, so we don't do the channel.cancel if the request is processing // future.complete() on another thread at the same time. Should just do a quick ...
java
public void cancel(Exception reason) { // IMPROVEMENT: need to rework how syncs on the future.complete() work. We really should be // syncing here, so we don't do the channel.cancel if the request is processing // future.complete() on another thread at the same time. Should just do a quick ...
[ "public", "void", "cancel", "(", "Exception", "reason", ")", "{", "// IMPROVEMENT: need to rework how syncs on the future.complete() work. We really should be", "// syncing here, so we don't do the channel.cancel if the request is processing", "// future.complete() on another thread at the same ...
Attempts to cancel the operation represented by the AsyncFuture. Cancellation will not succeed if the operation is already complete. @param reason the object that will be thrown when the future results are retrieved.
[ "Attempts", "to", "cancel", "the", "operation", "represented", "by", "the", "AsyncFuture", ".", "Cancellation", "will", "not", "succeed", "if", "the", "operation", "is", "already", "complete", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncChannelFuture.java#L81-L109
train
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncChannelFuture.java
AsyncChannelFuture.fireCompletionActions
protected void fireCompletionActions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "fireCompletionActions"); } if (this.firstListener != null) { ICompletionListener listenerToInvoke = this.firstListener; // reset listener ...
java
protected void fireCompletionActions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "fireCompletionActions"); } if (this.firstListener != null) { ICompletionListener listenerToInvoke = this.firstListener; // reset listener ...
[ "protected", "void", "fireCompletionActions", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"fireCompletionActions\"", ")", ";", ...
Impl Assumes we are holding the completed sem lock
[ "Impl", "Assumes", "we", "are", "holding", "the", "completed", "sem", "lock" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncChannelFuture.java#L120-L140
train
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncChannelFuture.java
AsyncChannelFuture.throwException
protected void throwException() throws InterruptedException, IOException { if (this.exception instanceof IOException) { throw (IOException) this.exception; } if (this.exception instanceof InterruptedException) { throw (InterruptedException) this.exception; } ...
java
protected void throwException() throws InterruptedException, IOException { if (this.exception instanceof IOException) { throw (IOException) this.exception; } if (this.exception instanceof InterruptedException) { throw (InterruptedException) this.exception; } ...
[ "protected", "void", "throwException", "(", ")", "throws", "InterruptedException", ",", "IOException", "{", "if", "(", "this", ".", "exception", "instanceof", "IOException", ")", "{", "throw", "(", "IOException", ")", "this", ".", "exception", ";", "}", "if", ...
Throws the receiver's exception in its correct class. This assumes that the exception is not null. @throws InterruptedException @throws IOException
[ "Throws", "the", "receiver", "s", "exception", "in", "its", "correct", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/io/async/AsyncChannelFuture.java#L150-L162
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/TraceImpl.java
TraceImpl.internalBytes
private void internalBytes(Object source, Class sourceClass, byte[] data, int start, int count) { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append(sourceClass.getName()); stringBuffer.append(" ["); if (source != null) { stringBuffer.append(sou...
java
private void internalBytes(Object source, Class sourceClass, byte[] data, int start, int count) { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append(sourceClass.getName()); stringBuffer.append(" ["); if (source != null) { stringBuffer.append(sou...
[ "private", "void", "internalBytes", "(", "Object", "source", ",", "Class", "sourceClass", ",", "byte", "[", "]", "data", ",", "int", "start", ",", "int", "count", ")", "{", "StringBuffer", "stringBuffer", "=", "new", "StringBuffer", "(", ")", ";", "stringB...
Internal implementation of byte data trace. @param source @param sourceClass @param data @param start @param count
[ "Internal", "implementation", "of", "byte", "data", "trace", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/TraceImpl.java#L198-L244
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.client/src/com/ibm/ws/security/client/internal/jaas/JAASClientConfigurationImpl.java
JAASClientConfigurationImpl.createAppConfigurationEntry
public AppConfigurationEntry createAppConfigurationEntry(JAASLoginModuleConfig loginModule, String loginContextEntryName) { String loginModuleClassName = loginModule.getClassName(); LoginModuleControlFlag controlFlag = loginModule.getControlFlag(); Map<String, Object> options = new HashMap<Strin...
java
public AppConfigurationEntry createAppConfigurationEntry(JAASLoginModuleConfig loginModule, String loginContextEntryName) { String loginModuleClassName = loginModule.getClassName(); LoginModuleControlFlag controlFlag = loginModule.getControlFlag(); Map<String, Object> options = new HashMap<Strin...
[ "public", "AppConfigurationEntry", "createAppConfigurationEntry", "(", "JAASLoginModuleConfig", "loginModule", ",", "String", "loginContextEntryName", ")", "{", "String", "loginModuleClassName", "=", "loginModule", ".", "getClassName", "(", ")", ";", "LoginModuleControlFlag",...
Create an AppConfigurationEntry object for the given JAAS login module @param loginModule the JAAS login module @param loginContextEntryName the JAAS login context entry name referencing the login module @return the AppConfigurationEntry object @throws IllegalArgumentException if loginModuleName is null, if LoginModul...
[ "Create", "an", "AppConfigurationEntry", "object", "for", "the", "given", "JAAS", "login", "module" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.client/src/com/ibm/ws/security/client/internal/jaas/JAASClientConfigurationImpl.java#L122-L139
train
OpenLiberty/open-liberty
dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/NonDelayedClassInfo.java
NonDelayedClassInfo.getAnnotations
@Override public List<AnnotationInfoImpl> getAnnotations() { if (annotations != null) { return annotations; } // Several cases where superclasses contribute no annotations. In // each of these cases case, simply re-use the declared annotations // collection. ...
java
@Override public List<AnnotationInfoImpl> getAnnotations() { if (annotations != null) { return annotations; } // Several cases where superclasses contribute no annotations. In // each of these cases case, simply re-use the declared annotations // collection. ...
[ "@", "Override", "public", "List", "<", "AnnotationInfoImpl", ">", "getAnnotations", "(", ")", "{", "if", "(", "annotations", "!=", "null", ")", "{", "return", "annotations", ";", "}", "// Several cases where superclasses contribute no annotations. In", "// each of the...
declared + inherited
[ "declared", "+", "inherited" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/NonDelayedClassInfo.java#L368-L427
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BifurcatedConsumerSessionImpl.java
BifurcatedConsumerSessionImpl.checkNotClosed
private void checkNotClosed() throws SISessionUnavailableException { if (tc.isEntryEnabled()) SibTr.entry(tc, "checkNotClosed"); // Check that the consumer session isn't closed _consumerSession.checkNotClosed(); // Now check that this consumer hasn't closed. synchronized (this) { ...
java
private void checkNotClosed() throws SISessionUnavailableException { if (tc.isEntryEnabled()) SibTr.entry(tc, "checkNotClosed"); // Check that the consumer session isn't closed _consumerSession.checkNotClosed(); // Now check that this consumer hasn't closed. synchronized (this) { ...
[ "private", "void", "checkNotClosed", "(", ")", "throws", "SISessionUnavailableException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"checkNotClosed\"", ")", ";", "// Check that the consumer session isn't clo...
First check is to make sure that the original Consumer hasn't been closed. Then check that this bifurcated consumer session is not closed. @throws SIObjectClosedException
[ "First", "check", "is", "to", "make", "sure", "that", "the", "original", "Consumer", "hasn", "t", "been", "closed", ".", "Then", "check", "that", "this", "bifurcated", "consumer", "session", "is", "not", "closed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BifurcatedConsumerSessionImpl.java#L319-L349
train
OpenLiberty/open-liberty
dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/CacheSession.java
CacheSession.getSwappableData
@Override public Map<Object, Object> getSwappableData() { if (mSwappableData == null) { mSwappableData = new ConcurrentHashMap<Object, Object>(); if (isNew()) { //if this is a new session, then we have the updated app data populatedAppData = true; ...
java
@Override public Map<Object, Object> getSwappableData() { if (mSwappableData == null) { mSwappableData = new ConcurrentHashMap<Object, Object>(); if (isNew()) { //if this is a new session, then we have the updated app data populatedAppData = true; ...
[ "@", "Override", "public", "Map", "<", "Object", ",", "Object", ">", "getSwappableData", "(", ")", "{", "if", "(", "mSwappableData", "==", "null", ")", "{", "mSwappableData", "=", "new", "ConcurrentHashMap", "<", "Object", ",", "Object", ">", "(", ")", "...
This method is copied from DatabaseSession.getSwappableData. @see com.ibm.ws.session.store.common.BackedSession#getSwappableData()
[ "This", "method", "is", "copied", "from", "DatabaseSession", ".", "getSwappableData", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/CacheSession.java#L100-L110
train
OpenLiberty/open-liberty
dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/CacheSession.java
CacheSession.getSwappableListeners
@Override public boolean getSwappableListeners(short requestedListener) { short thisListenerFlag = getListenerFlag(); boolean rc = false; // check session's listenrCnt to see if it has any of the type we want // input listener is either BINDING or ACTIVATION, so if the session has bo...
java
@Override public boolean getSwappableListeners(short requestedListener) { short thisListenerFlag = getListenerFlag(); boolean rc = false; // check session's listenrCnt to see if it has any of the type we want // input listener is either BINDING or ACTIVATION, so if the session has bo...
[ "@", "Override", "public", "boolean", "getSwappableListeners", "(", "short", "requestedListener", ")", "{", "short", "thisListenerFlag", "=", "getListenerFlag", "(", ")", ";", "boolean", "rc", "=", "false", ";", "// check session's listenrCnt to see if it has any of the t...
Copied from DatabaseSession.getSwappableListeners. Get the swappable listeners Called to load session attributes if the session contains Activation or Binding listeners Note, we always load ALL attributes here since we can't tell which are listeners until they are loaded. @see com.ibm.ws.session.store.common.BackedSes...
[ "Copied", "from", "DatabaseSession", ".", "getSwappableListeners", ".", "Get", "the", "swappable", "listeners", "Called", "to", "load", "session", "attributes", "if", "the", "session", "contains", "Activation", "or", "Binding", "listeners", "Note", "we", "always", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.cache/src/com/ibm/ws/session/store/cache/CacheSession.java#L121-L142
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.enlistResource
public boolean enlistResource(XAResource xaRes) throws RollbackException, SystemException, IllegalStateException { if (tc.isEntryEnabled()) Tr.entry(tc, "enlistResource", xaRes); // Determine if we are attempting to enlist a second resource within a transaction // that can't support...
java
public boolean enlistResource(XAResource xaRes) throws RollbackException, SystemException, IllegalStateException { if (tc.isEntryEnabled()) Tr.entry(tc, "enlistResource", xaRes); // Determine if we are attempting to enlist a second resource within a transaction // that can't support...
[ "public", "boolean", "enlistResource", "(", "XAResource", "xaRes", ")", "throws", "RollbackException", ",", "SystemException", ",", "IllegalStateException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"enli...
Attempts to add a one-Phase XA Resource to this unit of work. @param xaRes The XAResource to add to this unit of work @return true if the resource was added, false if not. @throws RollbackException if enlistment fails @throws SystemException if unexpected error occurs
[ "Attempts", "to", "add", "a", "one", "-", "Phase", "XA", "Resource", "to", "this", "unit", "of", "work", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L247-L321
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.delistResource
protected boolean delistResource(XAResource xaRes, int flag) throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "delistResource", new Object[] { xaRes, Util.printFlag(flag) }); // get resource manager instance JTAResourceBase jtaRes = (JTAResourceBase) getResourceTable()...
java
protected boolean delistResource(XAResource xaRes, int flag) throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "delistResource", new Object[] { xaRes, Util.printFlag(flag) }); // get resource manager instance JTAResourceBase jtaRes = (JTAResourceBase) getResourceTable()...
[ "protected", "boolean", "delistResource", "(", "XAResource", "xaRes", ",", "int", "flag", ")", "throws", "SystemException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"delistResource\"", ",", "new", "O...
Delist the specified resource from the transaction. @param xaRes the XAResource to delist. @param flag the XA flags to pass to the resource. TMSUSPEND, TMFAIL or TMSUCCESS flag to xa_end @throws SystemException if the resource is not successfully disassociated from the transaction branch.
[ "Delist", "the", "specified", "resource", "from", "the", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L557-L622
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.generateNewBranch
protected Xid generateNewBranch() { if (tc.isEntryEnabled()) Tr.entry(tc, "generateNewBranch"); // Create a new Xid branch final XidImpl result = new XidImpl(_txServiceXid, ++_branchCount); if (tc.isEntryEnabled()) Tr.exit(tc, "generateNewBranch", result); ...
java
protected Xid generateNewBranch() { if (tc.isEntryEnabled()) Tr.entry(tc, "generateNewBranch"); // Create a new Xid branch final XidImpl result = new XidImpl(_txServiceXid, ++_branchCount); if (tc.isEntryEnabled()) Tr.exit(tc, "generateNewBranch", result); ...
[ "protected", "Xid", "generateNewBranch", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"generateNewBranch\"", ")", ";", "// Create a new Xid branch", "final", "XidImpl", "result", "=", "new", "Xid...
Generates a new XidImpl to represent a new branch of this transaction. @return A new XidImpl representing a new branch of this transaction.
[ "Generates", "a", "new", "XidImpl", "to", "represent", "a", "new", "branch", "of", "this", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L630-L640
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.startRes
protected void startRes(JTAResource resource) throws RollbackException, SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "startRes", new Object[] { this, resource }); try { resource.start(); } catch (XAException xae) { _errorCode = xae.errorCode; // Sa...
java
protected void startRes(JTAResource resource) throws RollbackException, SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "startRes", new Object[] { this, resource }); try { resource.start(); } catch (XAException xae) { _errorCode = xae.errorCode; // Sa...
[ "protected", "void", "startRes", "(", "JTAResource", "resource", ")", "throws", "RollbackException", ",", "SystemException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"startRes\"", ",", "new", "Object",...
Starts association of the resource with the current transaction and if required adds a reference to a Resource object to the list in the registered state. This method is intended to be used for registering local resources. @param resource @return
[ "Starts", "association", "of", "the", "resource", "with", "the", "current", "transaction", "and", "if", "required", "adds", "a", "reference", "to", "a", "Resource", "object", "to", "the", "list", "in", "the", "registered", "state", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L830-L889
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.numRegistered
public int numRegistered() { final int result = _resourceObjects.size(); if (tc.isDebugEnabled()) Tr.debug(tc, "numRegistered", result); return result; }
java
public int numRegistered() { final int result = _resourceObjects.size(); if (tc.isDebugEnabled()) Tr.debug(tc, "numRegistered", result); return result; }
[ "public", "int", "numRegistered", "(", ")", "{", "final", "int", "result", "=", "_resourceObjects", ".", "size", "(", ")", ";", "if", "(", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\"numRegistered\"", ",", "result...
Returns the number of Resources currently in the list. @return The number of registered Resources.
[ "Returns", "the", "number", "of", "Resources", "currently", "in", "the", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L896-L902
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.distributeEnd
public boolean distributeEnd(int flags) { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeEnd", Util.printFlag(flags)); boolean result = true; for (int i = _resourceObjects.size(); --i >= 0;) { final JTAResource resource = _resourceObjects.get(i); if (!sen...
java
public boolean distributeEnd(int flags) { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeEnd", Util.printFlag(flags)); boolean result = true; for (int i = _resourceObjects.size(); --i >= 0;) { final JTAResource resource = _resourceObjects.get(i); if (!sen...
[ "public", "boolean", "distributeEnd", "(", "int", "flags", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"distributeEnd\"", ",", "Util", ".", "printFlag", "(", "flags", ")", ")", ";", "boolean", ...
Send end to all registered resources @param flags @return whether we managed to successfully end all the resources
[ "Send", "end", "to", "all", "registered", "resources" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L911-L934
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.updateHeuristicState
private void updateHeuristicState(boolean commit) throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "updateHeuristicState", commit); if (_transaction.isSubordinate()) { // Get the current transaction state. Need to do this in case we are // in recovery ...
java
private void updateHeuristicState(boolean commit) throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "updateHeuristicState", commit); if (_transaction.isSubordinate()) { // Get the current transaction state. Need to do this in case we are // in recovery ...
[ "private", "void", "updateHeuristicState", "(", "boolean", "commit", ")", "throws", "SystemException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"updateHeuristicState\"", ",", "commit", ")", ";", "if", ...
Possibly update the heuristic state of the transaction. This is only required if this is a subordinate. If we are a subordinate we need to update the state and log it for recovery. @param commit - true if requested to commit, else false
[ "Possibly", "update", "the", "heuristic", "state", "of", "the", "transaction", ".", "This", "is", "only", "required", "if", "this", "is", "a", "subordinate", ".", "If", "we", "are", "a", "subordinate", "we", "need", "to", "update", "the", "state", "and", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L1768-L1791
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.distributeForget
public boolean distributeForget() throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeForget", this); boolean retryRequired = false; // indicates whether retry necessary final int resourceCount = _resourceObjects.size(); // Browse through the participa...
java
public boolean distributeForget() throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeForget", this); boolean retryRequired = false; // indicates whether retry necessary final int resourceCount = _resourceObjects.size(); // Browse through the participa...
[ "public", "boolean", "distributeForget", "(", ")", "throws", "SystemException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"distributeForget\"", ",", "this", ")", ";", "boolean", "retryRequired", "=", ...
Distributes forget messages to all Resources in the appropriate state. Called during retry and mainline. @return boolean value to indicate whether retries are necessary.
[ "Distributes", "forget", "messages", "to", "all", "Resources", "in", "the", "appropriate", "state", ".", "Called", "during", "retry", "and", "mainline", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L1799-L1838
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.forgetResource
protected boolean forgetResource(JTAResource resource) { if (tc.isEntryEnabled()) Tr.entry(tc, "forgetResource", resource); boolean result = false; // indicates whether retry necessary boolean auditing = false; try { boolean informResource = true; a...
java
protected boolean forgetResource(JTAResource resource) { if (tc.isEntryEnabled()) Tr.entry(tc, "forgetResource", resource); boolean result = false; // indicates whether retry necessary boolean auditing = false; try { boolean informResource = true; a...
[ "protected", "boolean", "forgetResource", "(", "JTAResource", "resource", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"forgetResource\"", ",", "resource", ")", ";", "boolean", "result", "=", "false...
Distribute forget flow to given resource. Used internally when resource indicates a heuristic condition. May result in retries if resource cannot be contacted. @param resource - the resource to issue forget to @param index - the index of this resource in the arrays @return boolean to indicate whether retries are neces...
[ "Distribute", "forget", "flow", "to", "given", "resource", ".", "Used", "internally", "when", "resource", "indicates", "a", "heuristic", "condition", ".", "May", "result", "in", "retries", "if", "resource", "cannot", "be", "contacted", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L1850-L1949
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.distributeCommit
public void distributeCommit() throws SystemException, HeuristicHazardException, HeuristicMixedException, HeuristicRollbackException { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeCommit"); final TransactionState ts = _transaction.getTransactionState(); ts.se...
java
public void distributeCommit() throws SystemException, HeuristicHazardException, HeuristicMixedException, HeuristicRollbackException { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeCommit"); final TransactionState ts = _transaction.getTransactionState(); ts.se...
[ "public", "void", "distributeCommit", "(", ")", "throws", "SystemException", ",", "HeuristicHazardException", ",", "HeuristicMixedException", ",", "HeuristicRollbackException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "t...
Distributes commit messages to all Resources in the registered state.
[ "Distributes", "commit", "messages", "to", "all", "Resources", "in", "the", "registered", "state", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L1955-L2004
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.destroyResources
public void destroyResources() { if (tc.isEntryEnabled()) Tr.entry(tc, "destroyResources"); // Browse through the participants, processing them as appropriate final ArrayList<JTAResource> resources = getResourceObjects(); for (JTAResource resource : resources) { ...
java
public void destroyResources() { if (tc.isEntryEnabled()) Tr.entry(tc, "destroyResources"); // Browse through the participants, processing them as appropriate final ArrayList<JTAResource> resources = getResourceObjects(); for (JTAResource resource : resources) { ...
[ "public", "void", "destroyResources", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"destroyResources\"", ")", ";", "// Browse through the participants, processing them as appropriate", "final", "ArrayLis...
Cleanup resources that have not yet been completed. A utility function called when transaction completion has been abandonned either when retries have been exhausted or the operator has cancelled the transaction.
[ "Cleanup", "resources", "that", "have", "not", "yet", "been", "completed", ".", "A", "utility", "function", "called", "when", "transaction", "completion", "has", "been", "abandonned", "either", "when", "retries", "have", "been", "exhausted", "or", "the", "operat...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L2436-L2452
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.compare
@Override public int compare(JTAResource o1, JTAResource o2) { if (tc.isEntryEnabled()) Tr.entry(tc, "compare", new Object[] { o1, o2, this }); int result = 0; int p1 = o1.getPriority(); int p2 = o2.getPriority(); if (p1 < p2) result = 1; else ...
java
@Override public int compare(JTAResource o1, JTAResource o2) { if (tc.isEntryEnabled()) Tr.entry(tc, "compare", new Object[] { o1, o2, this }); int result = 0; int p1 = o1.getPriority(); int p2 = o2.getPriority(); if (p1 < p2) result = 1; else ...
[ "@", "Override", "public", "int", "compare", "(", "JTAResource", "o1", ",", "JTAResource", "o2", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"compare\"", ",", "new", "Object", "[", "]", "{", ...
Comparator returning 0 should leave elements in list alone, preserving original order.
[ "Comparator", "returning", "0", "should", "leave", "elements", "in", "list", "alone", "preserving", "original", "order", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L2631-L2645
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.sortResources
protected boolean sortResources() { if (tc.isEntryEnabled()) Tr.entry(tc, "sortResources", _resourceObjects.toArray()); if (!_sorted) { final int resourceCount = _resourceObjects.size(); if (_gotPriorityResourcesEnlisted) { if (resourceCount > 1) ...
java
protected boolean sortResources() { if (tc.isEntryEnabled()) Tr.entry(tc, "sortResources", _resourceObjects.toArray()); if (!_sorted) { final int resourceCount = _resourceObjects.size(); if (_gotPriorityResourcesEnlisted) { if (resourceCount > 1) ...
[ "protected", "boolean", "sortResources", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"sortResources\"", ",", "_resourceObjects", ".", "toArray", "(", ")", ")", ";", "if", "(", "!", "_sorte...
Shuffle commitInLastPhase resources to the end of the list preserving their ordering or reorder resources based on commitPriority in descending order for commit phase.
[ "Shuffle", "commitInLastPhase", "resources", "to", "the", "end", "of", "the", "list", "preserving", "their", "ordering", "or", "reorder", "resources", "based", "on", "commitPriority", "in", "descending", "order", "for", "commit", "phase", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L2651-L2668
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.sortPreparePriorityResources
protected void sortPreparePriorityResources() { if (tc.isEntryEnabled()) Tr.entry(tc, "sortPreparePriorityResources", _resourceObjects.toArray()); Collections.sort(_resourceObjects, prepareComparator); if (tc.isEntryEnabled()) Tr.exit(tc, "sortPreparePriorityResources",...
java
protected void sortPreparePriorityResources() { if (tc.isEntryEnabled()) Tr.entry(tc, "sortPreparePriorityResources", _resourceObjects.toArray()); Collections.sort(_resourceObjects, prepareComparator); if (tc.isEntryEnabled()) Tr.exit(tc, "sortPreparePriorityResources",...
[ "protected", "void", "sortPreparePriorityResources", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"sortPreparePriorityResources\"", ",", "_resourceObjects", ".", "toArray", "(", ")", ")", ";", "C...
Reorder resources based on commitPriority in asccending order for prepare phase.
[ "Reorder", "resources", "based", "on", "commitPriority", "in", "asccending", "order", "for", "prepare", "phase", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L2695-L2704
train
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java
RegisteredResources.isLastAgentEnlisted
public boolean isLastAgentEnlisted() { final boolean lastAgentEnlisted = (_onePhaseResourceEnlisted != null); if (tc.isDebugEnabled()) Tr.debug(tc, "isLastAgentEnlisted", lastAgentEnlisted); return lastAgentEnlisted; }
java
public boolean isLastAgentEnlisted() { final boolean lastAgentEnlisted = (_onePhaseResourceEnlisted != null); if (tc.isDebugEnabled()) Tr.debug(tc, "isLastAgentEnlisted", lastAgentEnlisted); return lastAgentEnlisted; }
[ "public", "boolean", "isLastAgentEnlisted", "(", ")", "{", "final", "boolean", "lastAgentEnlisted", "=", "(", "_onePhaseResourceEnlisted", "!=", "null", ")", ";", "if", "(", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\...
Informs the caller if a 1PC resource is enlisted in this unit of work.
[ "Informs", "the", "caller", "if", "a", "1PC", "resource", "is", "enlisted", "in", "this", "unit", "of", "work", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredResources.java#L2812-L2818
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/ControlCreateDurableImpl.java
ControlCreateDurableImpl.getDurableSelectorNamespaceMap
public Map<String,String> getDurableSelectorNamespaceMap() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getDurableSelectorNamespaceMap"); Map<String,String> map = null; if (jmo.getChoiceField(ControlAccess.BODY_CREATEDURABLE_NAMESPACEMAP) == ControlAccess.IS_BODY...
java
public Map<String,String> getDurableSelectorNamespaceMap() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getDurableSelectorNamespaceMap"); Map<String,String> map = null; if (jmo.getChoiceField(ControlAccess.BODY_CREATEDURABLE_NAMESPACEMAP) == ControlAccess.IS_BODY...
[ "public", "Map", "<", "String", ",", "String", ">", "getDurableSelectorNamespaceMap", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",...
Get the map of prefixes to namespace URLs that are associated with the selector. @return the map of namespace prefixes
[ "Get", "the", "map", "of", "prefixes", "to", "namespace", "URLs", "that", "are", "associated", "with", "the", "selector", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/ControlCreateDurableImpl.java#L158-L168
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/ControlCreateDurableImpl.java
ControlCreateDurableImpl.setDurableSelectorNamespaceMap
public void setDurableSelectorNamespaceMap(Map<String,String> namespaceMap) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setDurableSelectorNamespaceMap", namespaceMap); if (namespaceMap == null) { jmo.setChoiceField(ControlAccess.BODY_CREATEDURABLE_NAMESPACEMAP...
java
public void setDurableSelectorNamespaceMap(Map<String,String> namespaceMap) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setDurableSelectorNamespaceMap", namespaceMap); if (namespaceMap == null) { jmo.setChoiceField(ControlAccess.BODY_CREATEDURABLE_NAMESPACEMAP...
[ "public", "void", "setDurableSelectorNamespaceMap", "(", "Map", "<", "String", ",", "String", ">", "namespaceMap", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "e...
Sets a map of prefixes to namespace URLs that are associated with the selector. @param namespaceMap
[ "Sets", "a", "map", "of", "prefixes", "to", "namespace", "URLs", "that", "are", "associated", "with", "the", "selector", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/ControlCreateDurableImpl.java#L287-L304
train
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RLSAccessFile.java
RLSAccessFile.close
public void close() throws IOException { if (tc.isEntryEnabled()) Tr.entry(tc, "close", new Object[]{this, _file}); // By locking on the class rather than the object, and removing // the inner lock on the class, this seems to resolve the problems // reported in d347231 that file handles ...
java
public void close() throws IOException { if (tc.isEntryEnabled()) Tr.entry(tc, "close", new Object[]{this, _file}); // By locking on the class rather than the object, and removing // the inner lock on the class, this seems to resolve the problems // reported in d347231 that file handles ...
[ "public", "void", "close", "(", ")", "throws", "IOException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"close\"", ",", "new", "Object", "[", "]", "{", "this", ",", "_file", "}", ")", ";", "...
The logic in close needs to account for recursive calls. See notes below.
[ "The", "logic", "in", "close", "needs", "to", "account", "for", "recursive", "calls", ".", "See", "notes", "below", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RLSAccessFile.java#L86-L127
train
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/NLS.java
NLS.getInteger
public int getInteger(String key) throws MissingResourceException { String result = getString(key); try { return Integer.parseInt(result); } catch (NumberFormatException nfe) { if (tc.isEventEnabled()) { Tr.event(tc, "Unable to parse " + result + " as Inte...
java
public int getInteger(String key) throws MissingResourceException { String result = getString(key); try { return Integer.parseInt(result); } catch (NumberFormatException nfe) { if (tc.isEventEnabled()) { Tr.event(tc, "Unable to parse " + result + " as Inte...
[ "public", "int", "getInteger", "(", "String", "key", ")", "throws", "MissingResourceException", "{", "String", "result", "=", "getString", "(", "key", ")", ";", "try", "{", "return", "Integer", ".", "parseInt", "(", "result", ")", ";", "}", "catch", "(", ...
Not sure why this is here. Looks like it is a replacement for Integer.getInteger.
[ "Not", "sure", "why", "this", "is", "here", ".", "Looks", "like", "it", "is", "a", "replacement", "for", "Integer", ".", "getInteger", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/NLS.java#L408-L424
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java
MPIO.stop
public void stop() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stop"); // Lock exclusively for start operations mpioLockManager.lockExclusive(); started = false; mpioLockManager.unlockExclusive(); if (TraceComponent.isAnyTracingEnabled(...
java
public void stop() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stop"); // Lock exclusively for start operations mpioLockManager.lockExclusive(); started = false; mpioLockManager.unlockExclusive(); if (TraceComponent.isAnyTracingEnabled(...
[ "public", "void", "stop", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"stop\"", ")", ";", "// Lock exclusively for start operatio...
Method to stop MPIO from processing any new messages. This will take an exclusive lock on the lock manager and change the started flag to false.
[ "Method", "to", "stop", "MPIO", "from", "processing", "any", "new", "messages", ".", "This", "will", "take", "an", "exclusive", "lock", "on", "the", "lock", "manager", "and", "change", "the", "started", "flag", "to", "false", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java#L133-L145
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java
MPIO.receiveMessage
public void receiveMessage(MEConnection conn, AbstractMessage aMessage) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "receiveMessage", new Object[] {conn, aMessage, ...
java
public void receiveMessage(MEConnection conn, AbstractMessage aMessage) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "receiveMessage", new Object[] {conn, aMessage, ...
[ "public", "void", "receiveMessage", "(", "MEConnection", "conn", ",", "AbstractMessage", "aMessage", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "t...
Receive a new Control message from an ME-ME connection. @param conn The physical connection on which the message was received. @param msg The ControlMessage received.
[ "Receive", "a", "new", "Control", "message", "from", "an", "ME", "-", "ME", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java#L153-L221
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java
MPIO.getOrCreateNewMPConnection
public MPConnection getOrCreateNewMPConnection(SIBUuid8 remoteUuid, MEConnection conn) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getOrCreateNewMPConnection", new Object[] {remoteUuid, conn }); MPConnection mpConn...
java
public MPConnection getOrCreateNewMPConnection(SIBUuid8 remoteUuid, MEConnection conn) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getOrCreateNewMPConnection", new Object[] {remoteUuid, conn }); MPConnection mpConn...
[ "public", "MPConnection", "getOrCreateNewMPConnection", "(", "SIBUuid8", "remoteUuid", ",", "MEConnection", "conn", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entr...
Get a MPConnection from the cache and if there isn't one, create a new one and put it in the cache. @param cellule The cellule to find a MPConnection for (optional) @param conn The MEConnection to find a MPConnection for @return the MPConnection
[ "Get", "a", "MPConnection", "from", "the", "cache", "and", "if", "there", "isn", "t", "one", "create", "a", "new", "one", "and", "put", "it", "in", "the", "cache", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java#L231-L264
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java
MPIO.removeConnection
public MPConnection removeConnection(MEConnection conn) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeConnection", new Object[] { conn }); MPConnection mpConn; synchronized(_mpConnectionsByMEConnection) { //remove the MPConnection from the 'by M...
java
public MPConnection removeConnection(MEConnection conn) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeConnection", new Object[] { conn }); MPConnection mpConn; synchronized(_mpConnectionsByMEConnection) { //remove the MPConnection from the 'by M...
[ "public", "MPConnection", "removeConnection", "(", "MEConnection", "conn", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"removeConnection...
remove a MPConnection from the cache @param conn The MEConnection of the MPConnection to be removed @return The MPConnection which removed
[ "remove", "a", "MPConnection", "from", "the", "cache" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java#L383-L404
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java
MPIO.error
public void error(MEConnection conn, Throwable ex) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "error", new Object[] { this, conn, ex}); // This one goes straight to the CEL _commsErrorListener.error(conn, ex); if (TraceComponent.isAnyTracingEnabled() && ...
java
public void error(MEConnection conn, Throwable ex) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "error", new Object[] { this, conn, ex}); // This one goes straight to the CEL _commsErrorListener.error(conn, ex); if (TraceComponent.isAnyTracingEnabled() && ...
[ "public", "void", "error", "(", "MEConnection", "conn", ",", "Throwable", "ex", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"error...
Indicates an error has occurred on a connection. @param conn The connection on which the error occurred. @param ex The code indicating the type of error (TBD).
[ "Indicates", "an", "error", "has", "occurred", "on", "a", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java#L412-L422
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java
MPIO.changeConnection
public void changeConnection(MEConnection downConn, MEConnection upConn) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "changeConnection", new Object[] { this, downConn, upConn} ); if(downConn != null) { //remove the connection which has gone down re...
java
public void changeConnection(MEConnection downConn, MEConnection upConn) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "changeConnection", new Object[] { this, downConn, upConn} ); if(downConn != null) { //remove the connection which has gone down re...
[ "public", "void", "changeConnection", "(", "MEConnection", "downConn", ",", "MEConnection", "upConn", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "...
Indiciates a failed connection, a newly created connection, or a connection swap. If upConn is null, then connection "downConn" has been removed from the system. If downConn is null, then connection "upConn" has been added to the system. Otherwise, "downConn" has been removed and replaced by "upConn". @param downCo...
[ "Indiciates", "a", "failed", "connection", "a", "newly", "created", "connection", "or", "a", "connection", "swap", ".", "If", "upConn", "is", "null", "then", "connection", "downConn", "has", "been", "removed", "from", "the", "system", ".", "If", "downConn", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPIO.java#L478-L493
train