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.kernel.boot.core/src/com/ibm/ws/kernel/boot/Launcher.java
Launcher.createLaunchArguments
private LaunchArguments createLaunchArguments(String[] args, Map<String, String> initProps) { List<String> cmdArgs = processBatchFileArgs(new ArrayList<String>(Arrays.asList(args))); return new LaunchArguments(cmdArgs, initProps, isClient()); }
java
private LaunchArguments createLaunchArguments(String[] args, Map<String, String> initProps) { List<String> cmdArgs = processBatchFileArgs(new ArrayList<String>(Arrays.asList(args))); return new LaunchArguments(cmdArgs, initProps, isClient()); }
[ "private", "LaunchArguments", "createLaunchArguments", "(", "String", "[", "]", "args", ",", "Map", "<", "String", ",", "String", ">", "initProps", ")", "{", "List", "<", "String", ">", "cmdArgs", "=", "processBatchFileArgs", "(", "new", "ArrayList", "<", "S...
Return an instance of LaunchArguments. @return LaunchArguments
[ "Return", "an", "instance", "of", "LaunchArguments", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/Launcher.java#L221-L224
train
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/Launcher.java
Launcher.handleActions
protected ReturnCode handleActions(BootstrapConfig bootProps, LaunchArguments launchArgs) { ReturnCode rc = launchArgs.getRc(); switch (rc) { case OK: rc = new KernelBootstrap(bootProps).go(); break; case CREATE_ACTION: // Use ini...
java
protected ReturnCode handleActions(BootstrapConfig bootProps, LaunchArguments launchArgs) { ReturnCode rc = launchArgs.getRc(); switch (rc) { case OK: rc = new KernelBootstrap(bootProps).go(); break; case CREATE_ACTION: // Use ini...
[ "protected", "ReturnCode", "handleActions", "(", "BootstrapConfig", "bootProps", ",", "LaunchArguments", "launchArgs", ")", "{", "ReturnCode", "rc", "=", "launchArgs", ".", "getRc", "(", ")", ";", "switch", "(", "rc", ")", "{", "case", "OK", ":", "rc", "=", ...
Handle the process action. @param bootProps An instance of BootstrapConfig @param launchArgs An instance of LaunchArguments
[ "Handle", "the", "process", "action", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/Launcher.java#L236-L299
train
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/Launcher.java
Launcher.findLocations
protected void findLocations(BootstrapConfig bootProps, String processName) { // Check for environment variables... String userDirStr = getEnv(BootstrapConstants.ENV_WLP_USER_DIR); String serversDirStr = getEnv(bootProps.getOutputDirectoryEnvName()); // Check for the variable calculated...
java
protected void findLocations(BootstrapConfig bootProps, String processName) { // Check for environment variables... String userDirStr = getEnv(BootstrapConstants.ENV_WLP_USER_DIR); String serversDirStr = getEnv(bootProps.getOutputDirectoryEnvName()); // Check for the variable calculated...
[ "protected", "void", "findLocations", "(", "BootstrapConfig", "bootProps", ",", "String", "processName", ")", "{", "// Check for environment variables...", "String", "userDirStr", "=", "getEnv", "(", "BootstrapConstants", ".", "ENV_WLP_USER_DIR", ")", ";", "String", "se...
Find main locations @param bootProps An instance of BootstrapConfig @param processName Process name to be used
[ "Find", "main", "locations" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/Launcher.java#L307-L326
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPConnection.java
MPConnection.send
void send(AbstractMessage aMessage, int priority) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "send", new Object[] {this, aMessage, new Integer(priority), ...
java
void send(AbstractMessage aMessage, int priority) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "send", new Object[] {this, aMessage, new Integer(priority), ...
[ "void", "send", "(", "AbstractMessage", "aMessage", ",", "int", "priority", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"send\"", ...
If comms has capacity, then send the encoded message data. Otherwise, throw the message away. @param messageData The encoded message data @param priority the priority at which to send the message @param isControl true if the message is a control message
[ "If", "comms", "has", "capacity", "then", "send", "the", "encoded", "message", "data", ".", "Otherwise", "throw", "the", "message", "away", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPConnection.java#L77-L186
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPConnection.java
MPConnection.getVersion
public ProtocolVersion getVersion() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getVersion"); // The ProtocolVersion to be returned ProtocolVersion version = ProtocolVersion.UNKNOWN; // Get the MetaData out of the connection ConnectionMetaData co...
java
public ProtocolVersion getVersion() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getVersion"); // The ProtocolVersion to be returned ProtocolVersion version = ProtocolVersion.UNKNOWN; // Get the MetaData out of the connection ConnectionMetaData co...
[ "public", "ProtocolVersion", "getVersion", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getVersion\"", ")", ";", "// The Protocol...
Retrieve the ProtocolVersion associated with this connection. @return the version of the connection protocol.
[ "Retrieve", "the", "ProtocolVersion", "associated", "with", "this", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/io/MPConnection.java#L219-L237
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.ejb/src/com/ibm/ws/jaxws/ejb/EJBMethodInvoker.java
EJBMethodInvoker.performInvocation
@Override protected Object performInvocation(Exchange exchange, final Object serviceObject, Method m, Object[] paramArray) throws Exception { // This retrieves the appropriate method from the wrapper class m = serviceObject.getClass().getMethod(m.getName(), m.g...
java
@Override protected Object performInvocation(Exchange exchange, final Object serviceObject, Method m, Object[] paramArray) throws Exception { // This retrieves the appropriate method from the wrapper class m = serviceObject.getClass().getMethod(m.getName(), m.g...
[ "@", "Override", "protected", "Object", "performInvocation", "(", "Exchange", "exchange", ",", "final", "Object", "serviceObject", ",", "Method", "m", ",", "Object", "[", "]", "paramArray", ")", "throws", "Exception", "{", "// This retrieves the appropriate method fro...
This invokes the target operation. We override this method to deal with the fact that the 'serviceObject' is actually an EJB wrapper class. We need to get an equivalent method on the 'serviceObject' class in order to invoke the target operation.
[ "This", "invokes", "the", "target", "operation", ".", "We", "override", "this", "method", "to", "deal", "with", "the", "fact", "that", "the", "serviceObject", "is", "actually", "an", "EJB", "wrapper", "class", ".", "We", "need", "to", "get", "an", "equival...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.ejb/src/com/ibm/ws/jaxws/ejb/EJBMethodInvoker.java#L100-L106
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/AbstractSecurityAuthorizationTable.java
AbstractSecurityAuthorizationTable.getUserAccessId
private String getUserAccessId(String userName) { try { SecurityService securityService = securityServiceRef.getService(); UserRegistryService userRegistryService = securityService.getUserRegistryService(); UserRegistry userRegistry = userRegistryService.getUserRegistry(); ...
java
private String getUserAccessId(String userName) { try { SecurityService securityService = securityServiceRef.getService(); UserRegistryService userRegistryService = securityService.getUserRegistryService(); UserRegistry userRegistry = userRegistryService.getUserRegistry(); ...
[ "private", "String", "getUserAccessId", "(", "String", "userName", ")", "{", "try", "{", "SecurityService", "securityService", "=", "securityServiceRef", ".", "getService", "(", ")", ";", "UserRegistryService", "userRegistryService", "=", "securityService", ".", "getU...
Get the access id for a user by performing a looking up in the user registry. @param userName the user for which to create an access id @return the access id of the userName specified, otherwise null when a registry error occurs or the entry is not found
[ "Get", "the", "access", "id", "for", "a", "user", "by", "performing", "a", "looking", "up", "in", "the", "user", "registry", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/AbstractSecurityAuthorizationTable.java#L317-L338
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/AbstractSecurityAuthorizationTable.java
AbstractSecurityAuthorizationTable.getGroupAccessId
private String getGroupAccessId(String groupName) { try { SecurityService securityService = securityServiceRef.getService(); UserRegistryService userRegistryService = securityService.getUserRegistryService(); UserRegistry userRegistry = userRegistryService.getUserRegistry(); ...
java
private String getGroupAccessId(String groupName) { try { SecurityService securityService = securityServiceRef.getService(); UserRegistryService userRegistryService = securityService.getUserRegistryService(); UserRegistry userRegistry = userRegistryService.getUserRegistry(); ...
[ "private", "String", "getGroupAccessId", "(", "String", "groupName", ")", "{", "try", "{", "SecurityService", "securityService", "=", "securityServiceRef", ".", "getService", "(", ")", ";", "UserRegistryService", "userRegistryService", "=", "securityService", ".", "ge...
Get the access id for a group by performing a looking up in the user registry. @param groupName the user for which to create an access id @return the access id of the groupName specified, otherwise null when a registry error occurs or the entry is not found
[ "Get", "the", "access", "id", "for", "a", "group", "by", "performing", "a", "looking", "up", "in", "the", "user", "registry", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.builtin/src/com/ibm/ws/security/authorization/builtin/AbstractSecurityAuthorizationTable.java#L347-L367
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.java
HtmlResponseStateManager.getSavedState
private Object getSavedState(FacesContext facesContext) { Object encodedState = facesContext.getExternalContext().getRequestParameterMap().get(STANDARD_STATE_SAVING_PARAM); if(encodedState==null || (((String) encodedState).length() == 0)) { return null; } ...
java
private Object getSavedState(FacesContext facesContext) { Object encodedState = facesContext.getExternalContext().getRequestParameterMap().get(STANDARD_STATE_SAVING_PARAM); if(encodedState==null || (((String) encodedState).length() == 0)) { return null; } ...
[ "private", "Object", "getSavedState", "(", "FacesContext", "facesContext", ")", "{", "Object", "encodedState", "=", "facesContext", ".", "getExternalContext", "(", ")", ".", "getRequestParameterMap", "(", ")", ".", "get", "(", "STANDARD_STATE_SAVING_PARAM", ")", ";"...
Reconstructs the state from the "javax.faces.ViewState" request parameter. @param facesContext the current FacesContext @return the reconstructed state, or <code>null</code> if there was no saved state
[ "Reconstructs", "the", "state", "from", "the", "javax", ".", "faces", ".", "ViewState", "request", "parameter", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.java#L203-L215
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.java
HtmlResponseStateManager.isPostback
@Override public boolean isPostback(FacesContext context) { return context.getExternalContext().getRequestParameterMap().containsKey(ResponseStateManager.VIEW_STATE_PARAM); }
java
@Override public boolean isPostback(FacesContext context) { return context.getExternalContext().getRequestParameterMap().containsKey(ResponseStateManager.VIEW_STATE_PARAM); }
[ "@", "Override", "public", "boolean", "isPostback", "(", "FacesContext", "context", ")", "{", "return", "context", ".", "getExternalContext", "(", ")", ".", "getRequestParameterMap", "(", ")", ".", "containsKey", "(", "ResponseStateManager", ".", "VIEW_STATE_PARAM",...
Checks if the current request is a postback @since 1.2
[ "Checks", "if", "the", "current", "request", "is", "a", "postback" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.java#L222-L226
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java
MatchSpaceImpl.initialise
public void initialise(Identifier rootId, boolean enableCache) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "initialise", new Object[] {rootId, new Boolean(enableCache)}); switch (rootId.getType()) { case Selector.UNKNOWN : case Selector.OBJECT : ...
java
public void initialise(Identifier rootId, boolean enableCache) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(cclass, "initialise", new Object[] {rootId, new Boolean(enableCache)}); switch (rootId.getType()) { case Selector.UNKNOWN : case Selector.OBJECT : ...
[ "public", "void", "initialise", "(", "Identifier", "rootId", ",", "boolean", "enableCache", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "cclass", ",...
Initialise a newly created MatchSpace @param rootId @param enableCache
[ "Initialise", "a", "newly", "created", "MatchSpace" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java#L172-L202
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java
MatchSpaceImpl.addTarget
public synchronized void addTarget( Conjunction conjunction, MatchTarget object) throws MatchingException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry( this,cclass, "addTarget", new Object[] { conjunction, object }); // Deal with Conjun...
java
public synchronized void addTarget( Conjunction conjunction, MatchTarget object) throws MatchingException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry( this,cclass, "addTarget", new Object[] { conjunction, object }); // Deal with Conjun...
[ "public", "synchronized", "void", "addTarget", "(", "Conjunction", "conjunction", ",", "MatchTarget", "object", ")", "throws", "MatchingException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")",...
Adds a Conjunction to the space and associates a MatchTarget with it. @param conjunction the Conjunction @param target the MatchTarget @exception MatchingException thrown for serious errors, including an ill-formed conjunction. The Conjunction will be well-formed if it was constructed from a syntactically valid exp...
[ "Adds", "a", "Conjunction", "to", "the", "space", "and", "associates", "a", "MatchTarget", "with", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java#L218-L302
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java
MatchSpaceImpl.getCacheEntry
private CacheEntry getCacheEntry(Object value, boolean create) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry( this,cclass, "getCacheEntry", new Object[] { value, new Boolean(create), matchCache }); CacheEntry e = (CacheEntry) matchCache.get(value);...
java
private CacheEntry getCacheEntry(Object value, boolean create) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry( this,cclass, "getCacheEntry", new Object[] { value, new Boolean(create), matchCache }); CacheEntry e = (CacheEntry) matchCache.get(value);...
[ "private", "CacheEntry", "getCacheEntry", "(", "Object", "value", ",", "boolean", "create", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "this", ",",...
Gets the appropriate CacheEntry for a value of the root Identifier @param value the value whose CacheEntry is desired @param create if true, the CacheEntry is created (empty) if it doesn't already exist. This should only be done in synchronized methods.
[ "Gets", "the", "appropriate", "CacheEntry", "for", "a", "value", "of", "the", "root", "Identifier" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java#L315-L341
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java
MatchSpaceImpl.shouldRetain
public boolean shouldRetain(Object key, Object val) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(this,cclass, "shouldRetain", new Object[] { key, val }); CacheEntry e = (CacheEntry) val; if (e.exactMatcher != null) { if (TraceComponent.isAnyTracingEnabled() &...
java
public boolean shouldRetain(Object key, Object val) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(this,cclass, "shouldRetain", new Object[] { key, val }); CacheEntry e = (CacheEntry) val; if (e.exactMatcher != null) { if (TraceComponent.isAnyTracingEnabled() &...
[ "public", "boolean", "shouldRetain", "(", "Object", "key", ",", "Object", "val", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "this", ",", "cclass"...
entries that don't have an exactMatcher.
[ "entries", "that", "don", "t", "have", "an", "exactMatcher", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java#L347-L363
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java
MatchSpaceImpl.statistics
public void statistics(PrintWriter wtr) { int truePessimisticGets = pessimisticGets - puntsDueToCache; wtr.println( "Exact puts: " + exactPuts + ", Wildcard generation: " + matchTreeGeneration + ", Wildcard puts: " + wildPuts + ", Wildcard-Cache-hit gets: ...
java
public void statistics(PrintWriter wtr) { int truePessimisticGets = pessimisticGets - puntsDueToCache; wtr.println( "Exact puts: " + exactPuts + ", Wildcard generation: " + matchTreeGeneration + ", Wildcard puts: " + wildPuts + ", Wildcard-Cache-hit gets: ...
[ "public", "void", "statistics", "(", "PrintWriter", "wtr", ")", "{", "int", "truePessimisticGets", "=", "pessimisticGets", "-", "puntsDueToCache", ";", "wtr", ".", "println", "(", "\"Exact puts: \"", "+", "exactPuts", "+", "\", Wildcard generation: \"", "+", "matchT...
Only used when doing isolated performance testing of the MatchSpace.
[ "Only", "used", "when", "doing", "isolated", "performance", "testing", "of", "the", "MatchSpace", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java#L821-L853
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java
MatchSpaceImpl.clear
public synchronized void clear(Identifier rootId, boolean enableCache) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(this,cclass, "clear"); matchTree = null; matchTreeGeneration = 0; subExpr.clear(); // Now reinitialise the matchspace initialise(rootId,...
java
public synchronized void clear(Identifier rootId, boolean enableCache) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) tc.entry(this,cclass, "clear"); matchTree = null; matchTreeGeneration = 0; subExpr.clear(); // Now reinitialise the matchspace initialise(rootId,...
[ "public", "synchronized", "void", "clear", "(", "Identifier", "rootId", ",", "boolean", "enableCache", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "tc", ".", "entry", "(", "...
Removes all objects from the MatchSpace, resetting it to the 'as new' condition.
[ "Removes", "all", "objects", "from", "the", "MatchSpace", "resetting", "it", "to", "the", "as", "new", "condition", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/MatchSpaceImpl.java#L862-L874
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/DestinationSessionProxy.java
DestinationSessionProxy.getConnection
public SICoreConnection getConnection() throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getConnection"); c...
java
public SICoreConnection getConnection() throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getConnection"); c...
[ "public", "SICoreConnection", "getConnection", "(", ")", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIConnectionDroppedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(",...
Returns the SICoreConnection which created this Session. @return SICoreConnection. @throws com.ibm.wsspi.sib.core.exception.SISessionUnavailableException @throws com.ibm.wsspi.sib.core.exception.SISessionDroppedException @throws com.ibm.wsspi.sib.core.exception.SIConnectionUnavailableException @throws com.ibm.wsspi.s...
[ "Returns", "the", "SICoreConnection", "which", "created", "this", "Session", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/DestinationSessionProxy.java#L95-L108
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/DestinationSessionProxy.java
DestinationSessionProxy.checkAlreadyClosed
protected void checkAlreadyClosed() throws SISessionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "checkAlreadyClosed"); if (isClosed()) throw new SISessionUnavailableException( nls.getFormattedMessage("SESSION_CL...
java
protected void checkAlreadyClosed() throws SISessionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "checkAlreadyClosed"); if (isClosed()) throw new SISessionUnavailableException( nls.getFormattedMessage("SESSION_CL...
[ "protected", "void", "checkAlreadyClosed", "(", ")", "throws", "SISessionUnavailableException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "...
Helper method to check if this session is closed and throws the appropriate exception if it is. @throws SISessionUnavailableException if the session has been closed.
[ "Helper", "method", "to", "check", "if", "this", "session", "is", "closed", "and", "throws", "the", "appropriate", "exception", "if", "it", "is", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/DestinationSessionProxy.java#L116-L126
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/DestinationSessionProxy.java
DestinationSessionProxy.getDestinationAddress
public SIDestinationAddress getDestinationAddress() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getDestinationAddress"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getDestinationAddress", destinationAddress); ...
java
public SIDestinationAddress getDestinationAddress() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getDestinationAddress"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getDestinationAddress", destinationAddress); ...
[ "public", "SIDestinationAddress", "getDestinationAddress", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getDestination...
This method will return the destination address of the destination that this session is currently attached to. @return SIDestinationAddress
[ "This", "method", "will", "return", "the", "destination", "address", "of", "the", "destination", "that", "this", "session", "is", "currently", "attached", "to", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/DestinationSessionProxy.java#L134-L139
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmClientBootstrapRequest
public TrmClientBootstrapRequest createNewTrmClientBootstrapRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientBootstrapRequest"); TrmClientBootstrapRequest msg = null; try { msg = new TrmClientBootstrapRe...
java
public TrmClientBootstrapRequest createNewTrmClientBootstrapRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientBootstrapRequest"); TrmClientBootstrapRequest msg = null; try { msg = new TrmClientBootstrapRe...
[ "public", "TrmClientBootstrapRequest", "createNewTrmClientBootstrapRequest", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "en...
Create a new, empty TrmClientBootstrapRequest message @return The new TrmClientBootstrapRequest. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmClientBootstrapRequest", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L48-L61
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmClientBootstrapReply
public TrmClientBootstrapReply createNewTrmClientBootstrapReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientBootstrapReply"); TrmClientBootstrapReply msg = null; try { msg = new TrmClientBootstrapReplyImpl(...
java
public TrmClientBootstrapReply createNewTrmClientBootstrapReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientBootstrapReply"); TrmClientBootstrapReply msg = null; try { msg = new TrmClientBootstrapReplyImpl(...
[ "public", "TrmClientBootstrapReply", "createNewTrmClientBootstrapReply", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry"...
Create a new, empty TrmClientBootstrapReply message @return The new TrmClientBootstrapReply. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmClientBootstrapReply", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L70-L83
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmClientAttachRequest
public TrmClientAttachRequest createNewTrmClientAttachRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientAttachRequest"); TrmClientAttachRequest msg = null; try { msg = new TrmClientAttachRequestImpl(); ...
java
public TrmClientAttachRequest createNewTrmClientAttachRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientAttachRequest"); TrmClientAttachRequest msg = null; try { msg = new TrmClientAttachRequestImpl(); ...
[ "public", "TrmClientAttachRequest", "createNewTrmClientAttachRequest", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", ...
Create a new, empty TrmClientAttachRequest message @return The new TrmClientAttachRequest. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmClientAttachRequest", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L91-L104
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmClientAttachRequest2
public TrmClientAttachRequest2 createNewTrmClientAttachRequest2() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientAttachRequest2"); TrmClientAttachRequest2 msg = null; try { msg = new TrmClientAttachRequest2Impl(...
java
public TrmClientAttachRequest2 createNewTrmClientAttachRequest2() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientAttachRequest2"); TrmClientAttachRequest2 msg = null; try { msg = new TrmClientAttachRequest2Impl(...
[ "public", "TrmClientAttachRequest2", "createNewTrmClientAttachRequest2", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry"...
Create a new, empty TrmClientAttachRequest2 message @return The new TrmClientAttachRequest2. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmClientAttachRequest2", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L112-L125
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmClientAttachReply
public TrmClientAttachReply createNewTrmClientAttachReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientAttachReply"); TrmClientAttachReply msg = null; try { msg = new TrmClientAttachReplyImpl(); } ca...
java
public TrmClientAttachReply createNewTrmClientAttachReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmClientAttachReply"); TrmClientAttachReply msg = null; try { msg = new TrmClientAttachReplyImpl(); } ca...
[ "public", "TrmClientAttachReply", "createNewTrmClientAttachReply", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(...
Create a new, empty TrmClientAttachReply message @return The new TrmClientAttachReply. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmClientAttachReply", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L134-L147
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeConnectRequest
public TrmMeConnectRequest createNewTrmMeConnectRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeConnectRequest"); TrmMeConnectRequest msg = null; try { msg = new TrmMeConnectRequestImpl(); } catch (...
java
public TrmMeConnectRequest createNewTrmMeConnectRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeConnectRequest"); TrmMeConnectRequest msg = null; try { msg = new TrmMeConnectRequestImpl(); } catch (...
[ "public", "TrmMeConnectRequest", "createNewTrmMeConnectRequest", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(",...
Create a new, empty TrmMeConnectRequest message @return The new TrmMeConnectRequest. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeConnectRequest", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L156-L169
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeConnectReply
public TrmMeConnectReply createNewTrmMeConnectReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeConnectReply"); TrmMeConnectReply msg = null; try { msg = new TrmMeConnectReplyImpl(); } catch (MessageDec...
java
public TrmMeConnectReply createNewTrmMeConnectReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeConnectReply"); TrmMeConnectReply msg = null; try { msg = new TrmMeConnectReplyImpl(); } catch (MessageDec...
[ "public", "TrmMeConnectReply", "createNewTrmMeConnectReply", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "...
Create a new, empty TrmMeConnectReply message @return The new TrmMeConnectReply. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeConnectReply", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L178-L191
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeLinkRequest
public TrmMeLinkRequest createNewTrmMeLinkRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeLinkRequest"); TrmMeLinkRequest msg = null; try { msg = new TrmMeLinkRequestImpl(); } catch (MessageDecodeFa...
java
public TrmMeLinkRequest createNewTrmMeLinkRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeLinkRequest"); TrmMeLinkRequest msg = null; try { msg = new TrmMeLinkRequestImpl(); } catch (MessageDecodeFa...
[ "public", "TrmMeLinkRequest", "createNewTrmMeLinkRequest", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc...
Create a new, empty TrmMeLinkRequest message @return The new TrmMeLinkRequest. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeLinkRequest", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L200-L213
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeLinkReply
public TrmMeLinkReply createNewTrmMeLinkReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeLinkReply"); TrmMeLinkReply msg = null; try { msg = new TrmMeLinkReplyImpl(); } catch (MessageDecodeFailedExcept...
java
public TrmMeLinkReply createNewTrmMeLinkReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeLinkReply"); TrmMeLinkReply msg = null; try { msg = new TrmMeLinkReplyImpl(); } catch (MessageDecodeFailedExcept...
[ "public", "TrmMeLinkReply", "createNewTrmMeLinkReply", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ...
Create a new, empty TrmMeLinkReply message @return The new TrmMeLinkReply. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeLinkReply", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L222-L235
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeBridgeRequest
public TrmMeBridgeRequest createNewTrmMeBridgeRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeRequest"); TrmMeBridgeRequest msg = null; try { msg = new TrmMeBridgeRequestImpl(); } catch (Messa...
java
public TrmMeBridgeRequest createNewTrmMeBridgeRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeRequest"); TrmMeBridgeRequest msg = null; try { msg = new TrmMeBridgeRequestImpl(); } catch (Messa...
[ "public", "TrmMeBridgeRequest", "createNewTrmMeBridgeRequest", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
Create a new, empty TrmMeBridgeRequest message @return The new TrmMeBridgeRequest. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeBridgeRequest", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L244-L257
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeBridgeReply
public TrmMeBridgeReply createNewTrmMeBridgeReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeReply"); TrmMeBridgeReply msg = null; try { msg = new TrmMeBridgeReplyImpl(); } catch (MessageDecodeFa...
java
public TrmMeBridgeReply createNewTrmMeBridgeReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeReply"); TrmMeBridgeReply msg = null; try { msg = new TrmMeBridgeReplyImpl(); } catch (MessageDecodeFa...
[ "public", "TrmMeBridgeReply", "createNewTrmMeBridgeReply", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc...
Create a new, empty TrmMeBridgeReply message @return The new TrmMeBridgeReply. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeBridgeReply", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L266-L279
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeBridgeBootstrapRequest
public TrmMeBridgeBootstrapRequest createNewTrmMeBridgeBootstrapRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeBootstrapRequest"); TrmMeBridgeBootstrapRequest msg = null; try { msg = new TrmMeBridgeB...
java
public TrmMeBridgeBootstrapRequest createNewTrmMeBridgeBootstrapRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeBootstrapRequest"); TrmMeBridgeBootstrapRequest msg = null; try { msg = new TrmMeBridgeB...
[ "public", "TrmMeBridgeBootstrapRequest", "createNewTrmMeBridgeBootstrapRequest", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", ...
Create a new, empty TrmMeBridgeBootstrapRequest message @return The new TrmMeBridgeBootstrapRequest. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeBridgeBootstrapRequest", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L288-L301
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createNewTrmMeBridgeBootstrapReply
public TrmMeBridgeBootstrapReply createNewTrmMeBridgeBootstrapReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeBootstrapReply"); TrmMeBridgeBootstrapReply msg = null; try { msg = new TrmMeBridgeBootstrap...
java
public TrmMeBridgeBootstrapReply createNewTrmMeBridgeBootstrapReply() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeBridgeBootstrapReply"); TrmMeBridgeBootstrapReply msg = null; try { msg = new TrmMeBridgeBootstrap...
[ "public", "TrmMeBridgeBootstrapReply", "createNewTrmMeBridgeBootstrapReply", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "en...
Create a new, empty TrmMeBridgeBootstrapReply message @return The new TrmMeBridgeBootstrapReply. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "new", "empty", "TrmMeBridgeBootstrapReply", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L310-L323
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createInboundTrmFirstContactMessage
public TrmFirstContactMessage createInboundTrmFirstContactMessage(byte rawMessage[], int offset, int length) throws MessageDecodeFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createInboundTrmFir...
java
public TrmFirstContactMessage createInboundTrmFirstContactMessage(byte rawMessage[], int offset, int length) throws MessageDecodeFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createInboundTrmFir...
[ "public", "TrmFirstContactMessage", "createInboundTrmFirstContactMessage", "(", "byte", "rawMessage", "[", "]", ",", "int", "offset", ",", "int", "length", ")", "throws", "MessageDecodeFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ...
Create a TrmFirstContactMessage to represent an inbound message. @param rawMessage The inbound byte array containging a complete message @param offset The offset in the byte array at which the message begins @param length The length of the message within the byte array @return The new TrmFirstContactMessag...
[ "Create", "a", "TrmFirstContactMessage", "to", "represent", "an", "inbound", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L336-L346
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java
TrmMessageFactoryImpl.createTrmRouteData
public TrmRouteData createTrmRouteData() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createTrmRouteData"); TrmRouteData msg = null; try { msg = new TrmRouteDataImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (MessageDeco...
java
public TrmRouteData createTrmRouteData() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createTrmRouteData"); TrmRouteData msg = null; try { msg = new TrmRouteDataImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (MessageDeco...
[ "public", "TrmRouteData", "createTrmRouteData", "(", ")", "throws", "MessageCreateFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", ...
Create a TrmRouteData message @return The new TrmRouteData. @exception MessageCreateFailedException Thrown if such a message can not be created
[ "Create", "a", "TrmRouteData", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/TrmMessageFactoryImpl.java#L360-L373
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java
SchemaStoreItemStream.eventRestored
public void eventRestored() throws SevereMessageStoreException { super.eventRestored(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "eventRestored"); try { NonLockingCursor cursor = newNonLockingItemCursor(null); AbstractItem item = cursor.next(); ...
java
public void eventRestored() throws SevereMessageStoreException { super.eventRestored(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "eventRestored"); try { NonLockingCursor cursor = newNonLockingItemCursor(null); AbstractItem item = cursor.next(); ...
[ "public", "void", "eventRestored", "(", ")", "throws", "SevereMessageStoreException", "{", "super", ".", "eventRestored", "(", ")", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr...
the message store. We build the index of any currently stored items.
[ "the", "message", "store", ".", "We", "build", "the", "index", "of", "any", "currently", "stored", "items", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java#L72-L89
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java
SchemaStoreItemStream.addSchema
void addSchema(JMFSchema schema, Transaction tran) throws MessageStoreException { addItem(new SchemaStoreItem(schema), tran); }
java
void addSchema(JMFSchema schema, Transaction tran) throws MessageStoreException { addItem(new SchemaStoreItem(schema), tran); }
[ "void", "addSchema", "(", "JMFSchema", "schema", ",", "Transaction", "tran", ")", "throws", "MessageStoreException", "{", "addItem", "(", "new", "SchemaStoreItem", "(", "schema", ")", ",", "tran", ")", ";", "}" ]
Add a new schema defintion to the store
[ "Add", "a", "new", "schema", "defintion", "to", "the", "store" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java#L113-L115
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java
SchemaStoreItemStream.findSchema
JMFSchema findSchema(long schemaId) throws MessageStoreException { Long storeId = schemaIndex.get(Long.valueOf(schemaId)); if (storeId != null) { AbstractItem item = findById(storeId.longValue()); return ((SchemaStoreItem)item).getSchema(); } else throw new MessageStoreException("Schema no...
java
JMFSchema findSchema(long schemaId) throws MessageStoreException { Long storeId = schemaIndex.get(Long.valueOf(schemaId)); if (storeId != null) { AbstractItem item = findById(storeId.longValue()); return ((SchemaStoreItem)item).getSchema(); } else throw new MessageStoreException("Schema no...
[ "JMFSchema", "findSchema", "(", "long", "schemaId", ")", "throws", "MessageStoreException", "{", "Long", "storeId", "=", "schemaIndex", ".", "get", "(", "Long", ".", "valueOf", "(", "schemaId", ")", ")", ";", "if", "(", "storeId", "!=", "null", ")", "{", ...
Restore a schema definition from the store
[ "Restore", "a", "schema", "definition", "from", "the", "store" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java#L118-L125
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java
SchemaStoreItemStream.addToIndex
void addToIndex(SchemaStoreItem item) throws NotInMessageStore { schemaIndex.put(item.getSchema().getLongID(), Long.valueOf(item.getID())); item.setStream(this); }
java
void addToIndex(SchemaStoreItem item) throws NotInMessageStore { schemaIndex.put(item.getSchema().getLongID(), Long.valueOf(item.getID())); item.setStream(this); }
[ "void", "addToIndex", "(", "SchemaStoreItem", "item", ")", "throws", "NotInMessageStore", "{", "schemaIndex", ".", "put", "(", "item", ".", "getSchema", "(", ")", ".", "getLongID", "(", ")", ",", "Long", ".", "valueOf", "(", "item", ".", "getID", "(", ")...
Add an item to our index
[ "Add", "an", "item", "to", "our", "index" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java#L128-L131
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java
SchemaStoreItemStream.removeFromIndex
void removeFromIndex(SchemaStoreItem item) { schemaIndex.remove(item.getSchema().getLongID()); item.setStream(null); }
java
void removeFromIndex(SchemaStoreItem item) { schemaIndex.remove(item.getSchema().getLongID()); item.setStream(null); }
[ "void", "removeFromIndex", "(", "SchemaStoreItem", "item", ")", "{", "schemaIndex", ".", "remove", "(", "item", ".", "getSchema", "(", ")", ".", "getLongID", "(", ")", ")", ";", "item", ".", "setStream", "(", "null", ")", ";", "}" ]
Remove an item from our index
[ "Remove", "an", "item", "from", "our", "index" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStoreItemStream.java#L134-L137
train
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/core/WSPKCSInKeyStoreList.java
WSPKCSInKeyStoreList.insert
public synchronized WSPKCSInKeyStore insert(String tokenType, String tokenlib, String tokenPwd, boolean askeystore, String keyStoreProvider) throws Exception { // check to see if the library has been initialized already;by comparing // the elements in the enumerations // perhaps a java 2 sec mgr...
java
public synchronized WSPKCSInKeyStore insert(String tokenType, String tokenlib, String tokenPwd, boolean askeystore, String keyStoreProvider) throws Exception { // check to see if the library has been initialized already;by comparing // the elements in the enumerations // perhaps a java 2 sec mgr...
[ "public", "synchronized", "WSPKCSInKeyStore", "insert", "(", "String", "tokenType", ",", "String", "tokenlib", ",", "String", "tokenPwd", ",", "boolean", "askeystore", ",", "String", "keyStoreProvider", ")", "throws", "Exception", "{", "// check to see if the library ha...
Insert a new keystore into the list. @param tokenType @param tokenlib @param tokenPwd @param askeystore @param contextProvider @param pureAcceleration @return WSPKCSInKeyStore @throws Exception
[ "Insert", "a", "new", "keystore", "into", "the", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/core/WSPKCSInKeyStoreList.java#L61-L93
train
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/core/WSPKCSInKeyStoreList.java
WSPKCSInKeyStoreList.insertedAlready
private WSPKCSInKeyStore insertedAlready(String tokenlib) { WSPKCSInKeyStore pKS = null; WSPKCSInKeyStore rc = null; Enumeration<WSPKCSInKeyStore> e = theV.elements(); while (null == rc && e.hasMoreElements()) { pKS = e.nextElement(); if (tokenlib.equalsIgnoreCa...
java
private WSPKCSInKeyStore insertedAlready(String tokenlib) { WSPKCSInKeyStore pKS = null; WSPKCSInKeyStore rc = null; Enumeration<WSPKCSInKeyStore> e = theV.elements(); while (null == rc && e.hasMoreElements()) { pKS = e.nextElement(); if (tokenlib.equalsIgnoreCa...
[ "private", "WSPKCSInKeyStore", "insertedAlready", "(", "String", "tokenlib", ")", "{", "WSPKCSInKeyStore", "pKS", "=", "null", ";", "WSPKCSInKeyStore", "rc", "=", "null", ";", "Enumeration", "<", "WSPKCSInKeyStore", ">", "e", "=", "theV", ".", "elements", "(", ...
Lookup the keystore object that may exist in the list for the input token library value. @param tokenlib @return WSPKCSInKeyStore - null if not found
[ "Lookup", "the", "keystore", "object", "that", "may", "exist", "in", "the", "list", "for", "the", "input", "token", "library", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/core/WSPKCSInKeyStoreList.java#L123-L139
train
OpenLiberty/open-liberty
dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/core/WSPKCSInKeyStoreList.java
WSPKCSInKeyStoreList.openKeyStore
public InputStream openKeyStore(String fileName) throws MalformedURLException, IOException { InputStream fis = null; URL urlFile = null; File kfile = null; try { kfile = new File(fileName); } catch (NullPointerException e) { throw new IOException(); ...
java
public InputStream openKeyStore(String fileName) throws MalformedURLException, IOException { InputStream fis = null; URL urlFile = null; File kfile = null; try { kfile = new File(fileName); } catch (NullPointerException e) { throw new IOException(); ...
[ "public", "InputStream", "openKeyStore", "(", "String", "fileName", ")", "throws", "MalformedURLException", ",", "IOException", "{", "InputStream", "fis", "=", "null", ";", "URL", "urlFile", "=", "null", ";", "File", "kfile", "=", "null", ";", "try", "{", "k...
Open the input filename as a stream. @param fileName @return InputStream @throws MalformedURLException @throws IOException
[ "Open", "the", "input", "filename", "as", "a", "stream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/core/WSPKCSInKeyStoreList.java#L149-L204
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.shared/src/com/ibm/ws/jsf/shared/util/JSFInjectionClassListCollaborator.java
JSFInjectionClassListCollaborator.addAlternateNamedFacesConfig
private void addAlternateNamedFacesConfig(Container moduleContainer, ArrayList<String> classList) { try { WebApp webapp = moduleContainer.adapt(WebApp.class); //If null, assume there was no web.xml, so no need to look for ContextParams in it. if (webapp == null) { ...
java
private void addAlternateNamedFacesConfig(Container moduleContainer, ArrayList<String> classList) { try { WebApp webapp = moduleContainer.adapt(WebApp.class); //If null, assume there was no web.xml, so no need to look for ContextParams in it. if (webapp == null) { ...
[ "private", "void", "addAlternateNamedFacesConfig", "(", "Container", "moduleContainer", ",", "ArrayList", "<", "String", ">", "classList", ")", "{", "try", "{", "WebApp", "webapp", "=", "moduleContainer", ".", "adapt", "(", "WebApp", ".", "class", ")", ";", "/...
Look at the web.xml for a context-param javax.faces.CONFIG_FILES, and treat as a comma delimited list
[ "Look", "at", "the", "web", ".", "xml", "for", "a", "context", "-", "param", "javax", ".", "faces", ".", "CONFIG_FILES", "and", "treat", "as", "a", "comma", "delimited", "list" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.shared/src/com/ibm/ws/jsf/shared/util/JSFInjectionClassListCollaborator.java#L181-L214
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getServiceQName
public static QName getServiceQName(ClassInfo classInfo, String seiClassName, String targetNamespace) { AnnotationInfo annotationInfo = getAnnotationInfoFromClass(classInfo, "Service QName"); if (annotationInfo == null) { return null; } //serviceName can only be defined in i...
java
public static QName getServiceQName(ClassInfo classInfo, String seiClassName, String targetNamespace) { AnnotationInfo annotationInfo = getAnnotationInfoFromClass(classInfo, "Service QName"); if (annotationInfo == null) { return null; } //serviceName can only be defined in i...
[ "public", "static", "QName", "getServiceQName", "(", "ClassInfo", "classInfo", ",", "String", "seiClassName", ",", "String", "targetNamespace", ")", "{", "AnnotationInfo", "annotationInfo", "=", "getAnnotationInfoFromClass", "(", "classInfo", ",", "\"Service QName\"", "...
Get serviceName's QName of Web Service @param classInfo @return
[ "Get", "serviceName", "s", "QName", "of", "Web", "Service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L92-L102
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getPortQName
public static QName getPortQName(ClassInfo classInfo, String seiClassName, String targetNamespace) { AnnotationInfo annotationInfo = getAnnotationInfoFromClass(classInfo, "Port QName"); if (annotationInfo == null) { return null; } boolean webServiceProviderAnnotation = isPro...
java
public static QName getPortQName(ClassInfo classInfo, String seiClassName, String targetNamespace) { AnnotationInfo annotationInfo = getAnnotationInfoFromClass(classInfo, "Port QName"); if (annotationInfo == null) { return null; } boolean webServiceProviderAnnotation = isPro...
[ "public", "static", "QName", "getPortQName", "(", "ClassInfo", "classInfo", ",", "String", "seiClassName", ",", "String", "targetNamespace", ")", "{", "AnnotationInfo", "annotationInfo", "=", "getAnnotationInfoFromClass", "(", "classInfo", ",", "\"Port QName\"", ")", ...
Get portName' QName of Web Service @param classInfo @return
[ "Get", "portName", "QName", "of", "Web", "Service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L141-L152
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.isProvider
public static boolean isProvider(ClassInfo classInfo) { AnnotationInfo annotationInfo = classInfo.getAnnotation(JaxWsConstants.WEB_SERVICE_ANNOTATION_NAME); if (annotationInfo == null) { annotationInfo = classInfo.getAnnotation(JaxWsConstants.WEB_SERVICE_PROVIDER_ANNOTATION_NAME); ...
java
public static boolean isProvider(ClassInfo classInfo) { AnnotationInfo annotationInfo = classInfo.getAnnotation(JaxWsConstants.WEB_SERVICE_ANNOTATION_NAME); if (annotationInfo == null) { annotationInfo = classInfo.getAnnotation(JaxWsConstants.WEB_SERVICE_PROVIDER_ANNOTATION_NAME); ...
[ "public", "static", "boolean", "isProvider", "(", "ClassInfo", "classInfo", ")", "{", "AnnotationInfo", "annotationInfo", "=", "classInfo", ".", "getAnnotation", "(", "JaxWsConstants", ".", "WEB_SERVICE_ANNOTATION_NAME", ")", ";", "if", "(", "annotationInfo", "==", ...
Judge if is a Web Service Provider. @param classInfo @return
[ "Judge", "if", "is", "a", "Web", "Service", "Provider", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L177-L186
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getImplementedTargetNamespace
public static String getImplementedTargetNamespace(ClassInfo classInfo) { String defaultValue = getNamespace(classInfo, null); if (StringUtils.isEmpty(defaultValue)) { defaultValue = JaxWsConstants.UNKNOWN_NAMESPACE; } AnnotationInfo annotationInfo = getAnnotationInfoFromCla...
java
public static String getImplementedTargetNamespace(ClassInfo classInfo) { String defaultValue = getNamespace(classInfo, null); if (StringUtils.isEmpty(defaultValue)) { defaultValue = JaxWsConstants.UNKNOWN_NAMESPACE; } AnnotationInfo annotationInfo = getAnnotationInfoFromCla...
[ "public", "static", "String", "getImplementedTargetNamespace", "(", "ClassInfo", "classInfo", ")", "{", "String", "defaultValue", "=", "getNamespace", "(", "classInfo", ",", "null", ")", ";", "if", "(", "StringUtils", ".", "isEmpty", "(", "defaultValue", ")", ")...
get the targetNamespace from implementation bean. if can get the targetNamespace attribute from annotation then return it, otherwise return the package name as default value. Both webService and webServiceprovider has the same logic. @param classInfo @return
[ "get", "the", "targetNamespace", "from", "implementation", "bean", ".", "if", "can", "get", "the", "targetNamespace", "attribute", "from", "annotation", "then", "return", "it", "otherwise", "return", "the", "package", "name", "as", "default", "value", ".", "Both...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L197-L211
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getInterfaceTargetNamespace
public static String getInterfaceTargetNamespace(ClassInfo classInfo, String seiClassName, String implementedTargetNamespace, InfoStore infoStore) { AnnotationInfo annotationInfo = getAnnotationInfoFromClass(classInfo, JaxWsConstants.TARGETNAMESPACE_ATTRIBUTE); if (annotationInfo == null) { ...
java
public static String getInterfaceTargetNamespace(ClassInfo classInfo, String seiClassName, String implementedTargetNamespace, InfoStore infoStore) { AnnotationInfo annotationInfo = getAnnotationInfoFromClass(classInfo, JaxWsConstants.TARGETNAMESPACE_ATTRIBUTE); if (annotationInfo == null) { ...
[ "public", "static", "String", "getInterfaceTargetNamespace", "(", "ClassInfo", "classInfo", ",", "String", "seiClassName", ",", "String", "implementedTargetNamespace", ",", "InfoStore", "infoStore", ")", "{", "AnnotationInfo", "annotationInfo", "=", "getAnnotationInfoFromCl...
get the targetNamespace from SEI. If it is webServiceProvider just return the targetNamespace attribute from annotation. If it is webService and no SEI specified, return the implementedTargetNamespace; If it is webService and SEI specified with no targetNamespace attribute, should report error? If it is webService and ...
[ "get", "the", "targetNamespace", "from", "SEI", ".", "If", "it", "is", "webServiceProvider", "just", "return", "the", "targetNamespace", "attribute", "from", "annotation", ".", "If", "it", "is", "webService", "and", "no", "SEI", "specified", "return", "the", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L225-L263
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getWSDLLocation
public static String getWSDLLocation(ClassInfo classInfo, String seiClassName, InfoStore infoStore) { return getStringAttributeFromAnnotation(classInfo, seiClassName, infoStore, JaxWsConstants.WSDLLOCATION_ATTRIBUTE, "", ""); }
java
public static String getWSDLLocation(ClassInfo classInfo, String seiClassName, InfoStore infoStore) { return getStringAttributeFromAnnotation(classInfo, seiClassName, infoStore, JaxWsConstants.WSDLLOCATION_ATTRIBUTE, "", ""); }
[ "public", "static", "String", "getWSDLLocation", "(", "ClassInfo", "classInfo", ",", "String", "seiClassName", ",", "InfoStore", "infoStore", ")", "{", "return", "getStringAttributeFromAnnotation", "(", "classInfo", ",", "seiClassName", ",", "infoStore", ",", "JaxWsCo...
First, get the WSDL Location. @param classInfo @param seiClassName @param infoStore @return
[ "First", "get", "the", "WSDL", "Location", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L273-L275
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getStringAttributeFromWebServiceProviderAnnotation
private static String getStringAttributeFromWebServiceProviderAnnotation(AnnotationInfo annotationInfo, String attribute, String defaultForServiceProvider) { //the two values can not be found in webserviceProvider annotation so just re...
java
private static String getStringAttributeFromWebServiceProviderAnnotation(AnnotationInfo annotationInfo, String attribute, String defaultForServiceProvider) { //the two values can not be found in webserviceProvider annotation so just re...
[ "private", "static", "String", "getStringAttributeFromWebServiceProviderAnnotation", "(", "AnnotationInfo", "annotationInfo", ",", "String", "attribute", ",", "String", "defaultForServiceProvider", ")", "{", "//the two values can not be found in webserviceProvider annotation so just re...
Return the attribute value of WebServiceProvider annotation @param annotationInfo @param attribute @param defaultForServiceProvider @return
[ "Return", "the", "attribute", "value", "of", "WebServiceProvider", "annotation" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L285-L294
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getStringAttributeFromAnnotation
private static String getStringAttributeFromAnnotation(ClassInfo classInfo, String seiClassName, InfoStore infoStore, String attribute, String defaultForService, String defaultForServiceProvider) { AnnotationInfo annotationInfo = getAnnotationInfoFromCl...
java
private static String getStringAttributeFromAnnotation(ClassInfo classInfo, String seiClassName, InfoStore infoStore, String attribute, String defaultForService, String defaultForServiceProvider) { AnnotationInfo annotationInfo = getAnnotationInfoFromCl...
[ "private", "static", "String", "getStringAttributeFromAnnotation", "(", "ClassInfo", "classInfo", ",", "String", "seiClassName", ",", "InfoStore", "infoStore", ",", "String", "attribute", ",", "String", "defaultForService", ",", "String", "defaultForServiceProvider", ")",...
Get the string value of attribute in WebService or WebserviceProvider annotation. If it is provider, get the attribute from its annotation. If it is not provider, First, try to get the attribute from serviceImplBean, then, try to get the attribute from the SEI either from seiClassName or "endpointInterface" attribute,...
[ "Get", "the", "string", "value", "of", "attribute", "in", "WebService", "or", "WebserviceProvider", "annotation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L315-L354
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getPortComponentName
public static String getPortComponentName(ClassInfo classInfo, String seiClassName, InfoStore infoStore) { String defaultForServiceProvider = classInfo.getName(); String defaultForService = getClassName(classInfo.getName()); return getStringAttributeFromAnnotation(classInfo, seiClassName, infoSt...
java
public static String getPortComponentName(ClassInfo classInfo, String seiClassName, InfoStore infoStore) { String defaultForServiceProvider = classInfo.getName(); String defaultForService = getClassName(classInfo.getName()); return getStringAttributeFromAnnotation(classInfo, seiClassName, infoSt...
[ "public", "static", "String", "getPortComponentName", "(", "ClassInfo", "classInfo", ",", "String", "seiClassName", ",", "InfoStore", "infoStore", ")", "{", "String", "defaultForServiceProvider", "=", "classInfo", ".", "getName", "(", ")", ";", "String", "defaultFor...
Get the portComponentName from ClassInfo @param classInfo @return
[ "Get", "the", "portComponentName", "from", "ClassInfo" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L372-L376
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getPortQName
private static QName getPortQName(ClassInfo classInfo, String namespace, String wsName, String wsPortName, String suffix) { String portName; if (wsPortName != null && !wsPortName.isEmpty()) { portName = wsPortName.trim(); } else { if (wsName != null && !wsName.isEmpty()) ...
java
private static QName getPortQName(ClassInfo classInfo, String namespace, String wsName, String wsPortName, String suffix) { String portName; if (wsPortName != null && !wsPortName.isEmpty()) { portName = wsPortName.trim(); } else { if (wsName != null && !wsName.isEmpty()) ...
[ "private", "static", "QName", "getPortQName", "(", "ClassInfo", "classInfo", ",", "String", "namespace", ",", "String", "wsName", ",", "String", "wsPortName", ",", "String", "suffix", ")", "{", "String", "portName", ";", "if", "(", "wsPortName", "!=", "null", ...
Get portName. 1.declared portName in web service annotation 2.name in web service annotation + Port 3.service class name + Port. From specification: The portName element of the WebService annotation, if present, MUST be used to derive the port name to use in WSDL. In the absence of a portName element, an implementatio...
[ "Get", "portName", ".", "1", ".", "declared", "portName", "in", "web", "service", "annotation", "2", ".", "name", "in", "web", "service", "annotation", "+", "Port", "3", ".", "service", "class", "name", "+", "Port", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L407-L422
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.matchesQName
public static boolean matchesQName(QName regQName, QName targetQName, boolean ignorePrefix) { if (regQName == null || targetQName == null) { return false; } if ("*".equals(getQNameString(regQName))) { return true; } // if the name space or the prefix is no...
java
public static boolean matchesQName(QName regQName, QName targetQName, boolean ignorePrefix) { if (regQName == null || targetQName == null) { return false; } if ("*".equals(getQNameString(regQName))) { return true; } // if the name space or the prefix is no...
[ "public", "static", "boolean", "matchesQName", "(", "QName", "regQName", ",", "QName", "targetQName", ",", "boolean", "ignorePrefix", ")", "{", "if", "(", "regQName", "==", "null", "||", "targetQName", "==", "null", ")", "{", "return", "false", ";", "}", "...
Check whether the regQName matches the targetQName Only the localPart of the regQName supports the * match, it means only the name space and prefix is all matched, then the localPart will be compared considering the * When the ignorePrefix is true, the prefix will be ignored. @param regQName @param targetQName @para...
[ "Check", "whether", "the", "regQName", "matches", "the", "targetQName" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L490-L509
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java
JaxWsUtils.getProtocolByToken
public static String getProtocolByToken(String token, boolean returnDefault) { if (StringUtils.isEmpty(token) && returnDefault) { return JaxWsConstants.SOAP11HTTP_BINDING; } if (JaxWsConstants.SOAP11_HTTP_TOKEN.equals(token)) { return JaxWsConstants.SOAP11HTTP_BINDING; ...
java
public static String getProtocolByToken(String token, boolean returnDefault) { if (StringUtils.isEmpty(token) && returnDefault) { return JaxWsConstants.SOAP11HTTP_BINDING; } if (JaxWsConstants.SOAP11_HTTP_TOKEN.equals(token)) { return JaxWsConstants.SOAP11HTTP_BINDING; ...
[ "public", "static", "String", "getProtocolByToken", "(", "String", "token", ",", "boolean", "returnDefault", ")", "{", "if", "(", "StringUtils", ".", "isEmpty", "(", "token", ")", "&&", "returnDefault", ")", "{", "return", "JaxWsConstants", ".", "SOAP11HTTP_BIND...
Get the protocol by token @param token @param returnDefault if true and the token is an empty String or null, return SOAPBinding.SOAP11HTTP_BINDING. @return
[ "Get", "the", "protocol", "by", "token" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/JaxWsUtils.java#L634-L652
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/RRSGlobalTransactionWrapper.java
RRSGlobalTransactionWrapper.addSync
@Override public boolean addSync() throws ResourceException { if (tc.isEntryEnabled()) { Tr.entry(this, tc, "addSync"); } UOWCoordinator uowCoord = mcWrapper.getUOWCoordinator(); if (uowCoord == null) { IllegalStateException e = new IllegalStateException("a...
java
@Override public boolean addSync() throws ResourceException { if (tc.isEntryEnabled()) { Tr.entry(this, tc, "addSync"); } UOWCoordinator uowCoord = mcWrapper.getUOWCoordinator(); if (uowCoord == null) { IllegalStateException e = new IllegalStateException("a...
[ "@", "Override", "public", "boolean", "addSync", "(", ")", "throws", "ResourceException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "this", ",", "tc", ",", "\"addSync\"", ")", ";", "}", "UOWCoordinator", ...
Register the RRSGlobalTransactionWrapper as a sync object with the Transaction Manager for the current transaction. @throws ResourceException. @return boolean
[ "Register", "the", "RRSGlobalTransactionWrapper", "as", "a", "sync", "object", "with", "the", "Transaction", "Manager", "for", "the", "current", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/RRSGlobalTransactionWrapper.java#L112-L186
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/handlers/FileStatusTaskPropertyHandler.java
FileStatusTaskPropertyHandler.taskProperties
private void taskProperties(RESTRequest request, RESTResponse response) { String taskID = RESTHelper.getRequiredParam(request, APIConstants.PARAM_TASK_ID); String taskPropertiesText = getMultipleRoutingHelper().getTaskProperties(taskID); OutputHelper.writeTextOutput(response, taskPropertiesText...
java
private void taskProperties(RESTRequest request, RESTResponse response) { String taskID = RESTHelper.getRequiredParam(request, APIConstants.PARAM_TASK_ID); String taskPropertiesText = getMultipleRoutingHelper().getTaskProperties(taskID); OutputHelper.writeTextOutput(response, taskPropertiesText...
[ "private", "void", "taskProperties", "(", "RESTRequest", "request", ",", "RESTResponse", "response", ")", "{", "String", "taskID", "=", "RESTHelper", ".", "getRequiredParam", "(", "request", ",", "APIConstants", ".", "PARAM_TASK_ID", ")", ";", "String", "taskPrope...
Returns the list of available properties and their corresponding URLs.
[ "Returns", "the", "list", "of", "available", "properties", "and", "their", "corresponding", "URLs", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/handlers/FileStatusTaskPropertyHandler.java#L86-L91
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/handlers/FileStatusTaskPropertyHandler.java
FileStatusTaskPropertyHandler.taskProperty
private void taskProperty(RESTRequest request, RESTResponse response) { String taskID = RESTHelper.getRequiredParam(request, APIConstants.PARAM_TASK_ID); String property = RESTHelper.getRequiredParam(request, APIConstants.PARAM_PROPERTY); String taskPropertyText = getMultipleRoutingHelper().get...
java
private void taskProperty(RESTRequest request, RESTResponse response) { String taskID = RESTHelper.getRequiredParam(request, APIConstants.PARAM_TASK_ID); String property = RESTHelper.getRequiredParam(request, APIConstants.PARAM_PROPERTY); String taskPropertyText = getMultipleRoutingHelper().get...
[ "private", "void", "taskProperty", "(", "RESTRequest", "request", ",", "RESTResponse", "response", ")", "{", "String", "taskID", "=", "RESTHelper", ".", "getRequiredParam", "(", "request", ",", "APIConstants", ".", "PARAM_TASK_ID", ")", ";", "String", "property", ...
Returns the value of the property. An IllegalArgument exception is thrown if the value is not an instance of java.lang.String.
[ "Returns", "the", "value", "of", "the", "property", ".", "An", "IllegalArgument", "exception", "is", "thrown", "if", "the", "value", "is", "not", "an", "instance", "of", "java", ".", "lang", ".", "String", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/handlers/FileStatusTaskPropertyHandler.java#L97-L103
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/DERUTF8String.java
DERUTF8String.getInstance
public static DERUTF8String getInstance( Object obj) { if (obj == null || obj instanceof DERUTF8String) { return (DERUTF8String)obj; } if (obj instanceof ASN1OctetString) { return new DERUTF8String(((ASN1OctetString)obj).getOctets()); ...
java
public static DERUTF8String getInstance( Object obj) { if (obj == null || obj instanceof DERUTF8String) { return (DERUTF8String)obj; } if (obj instanceof ASN1OctetString) { return new DERUTF8String(((ASN1OctetString)obj).getOctets()); ...
[ "public", "static", "DERUTF8String", "getInstance", "(", "Object", "obj", ")", "{", "if", "(", "obj", "==", "null", "||", "obj", "instanceof", "DERUTF8String", ")", "{", "return", "(", "DERUTF8String", ")", "obj", ";", "}", "if", "(", "obj", "instanceof", ...
return an UTF8 string from the passed in object. @exception IllegalArgumentException if the object cannot be converted.
[ "return", "an", "UTF8", "string", "from", "the", "passed", "in", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/DERUTF8String.java#L34-L53
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java
SibRaEngineComponent.registerMessagingEngineListener
public static JsMessagingEngine[] registerMessagingEngineListener( final SibRaMessagingEngineListener listener, final String busName) { final String methodName = "registerMessagingEngineListener"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, new Object[] { listen...
java
public static JsMessagingEngine[] registerMessagingEngineListener( final SibRaMessagingEngineListener listener, final String busName) { final String methodName = "registerMessagingEngineListener"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, new Object[] { listen...
[ "public", "static", "JsMessagingEngine", "[", "]", "registerMessagingEngineListener", "(", "final", "SibRaMessagingEngineListener", "listener", ",", "final", "String", "busName", ")", "{", "final", "String", "methodName", "=", "\"registerMessagingEngineListener\"", ";", "...
Registers a listener for active messaging engines on a bus. @param listener the listener to register @param busName the name of the bus the listener wishes to be informed about messaging engines for or <code>null</code> if it wishes to know about all messaging engines @return an array of the currently active messaging...
[ "Registers", "a", "listener", "for", "active", "messaging", "engines", "on", "a", "bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java#L95-L157
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java
SibRaEngineComponent.deregisterMessagingEngineListener
public static void deregisterMessagingEngineListener( final SibRaMessagingEngineListener listener, final String busName) { final String methodName = "deregisterMessagingEngineListener"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, new Object[] { listener, busName...
java
public static void deregisterMessagingEngineListener( final SibRaMessagingEngineListener listener, final String busName) { final String methodName = "deregisterMessagingEngineListener"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, new Object[] { listener, busName...
[ "public", "static", "void", "deregisterMessagingEngineListener", "(", "final", "SibRaMessagingEngineListener", "listener", ",", "final", "String", "busName", ")", "{", "final", "String", "methodName", "=", "\"deregisterMessagingEngineListener\"", ";", "if", "(", "TRACE", ...
Deregisters a listener for active messaging engines on a bus. @param listener the listener to deregister @param busName the name of the bus the listener was registered with
[ "Deregisters", "a", "listener", "for", "active", "messaging", "engines", "on", "a", "bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java#L167-L191
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java
SibRaEngineComponent.getMessagingEngines
public static JsMessagingEngine[] getMessagingEngines(final String busName) { final String methodName = "getMessagingEngines"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, busName); } final JsMessagingEngine[] result; synchronized (MESSAGING_ENGINES...
java
public static JsMessagingEngine[] getMessagingEngines(final String busName) { final String methodName = "getMessagingEngines"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, busName); } final JsMessagingEngine[] result; synchronized (MESSAGING_ENGINES...
[ "public", "static", "JsMessagingEngine", "[", "]", "getMessagingEngines", "(", "final", "String", "busName", ")", "{", "final", "String", "methodName", "=", "\"getMessagingEngines\"", ";", "if", "(", "TRACE", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ...
Returns an array of initialized messaging engines for the given bus. If there are none, an empty array is returned. @param busName the bus name @return the set of <code>JsMessagingEngine</code> instances
[ "Returns", "an", "array", "of", "initialized", "messaging", "engines", "for", "the", "given", "bus", ".", "If", "there", "are", "none", "an", "empty", "array", "is", "returned", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java#L201-L235
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java
SibRaEngineComponent.engineReloaded
public void engineReloaded(Object objectSent) { final JsMessagingEngine engine = (JsMessagingEngine)objectSent; final String methodName = "engineReloaded"; if (TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, engine); } RELOADING_MESSAGING_ENGINES.r...
java
public void engineReloaded(Object objectSent) { final JsMessagingEngine engine = (JsMessagingEngine)objectSent; final String methodName = "engineReloaded"; if (TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, engine); } RELOADING_MESSAGING_ENGINES.r...
[ "public", "void", "engineReloaded", "(", "Object", "objectSent", ")", "{", "final", "JsMessagingEngine", "engine", "=", "(", "JsMessagingEngine", ")", "objectSent", ";", "final", "String", "methodName", "=", "\"engineReloaded\"", ";", "if", "(", "TRACE", ".", "i...
lohith liberty change
[ "lohith", "liberty", "change" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java#L660-L687
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java
SibRaEngineComponent.getListeners
private static Set getListeners(final String busName) { final String methodName = "getListeners"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, busName); } final Set listeners = new HashSet(); synchronized (MESSAGING_ENGINE_LISTENERS) { ...
java
private static Set getListeners(final String busName) { final String methodName = "getListeners"; if (TRACE.isEntryEnabled()) { SibTr.entry(TRACE, methodName, busName); } final Set listeners = new HashSet(); synchronized (MESSAGING_ENGINE_LISTENERS) { ...
[ "private", "static", "Set", "getListeners", "(", "final", "String", "busName", ")", "{", "final", "String", "methodName", "=", "\"getListeners\"", ";", "if", "(", "TRACE", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "TRACE", ",",...
Returns the set of listeners for the given bus. @param busName the name of the bus @return the listeners for that bus or the empty set if there are none.
[ "Returns", "the", "set", "of", "listeners", "for", "the", "given", "bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/SibRaEngineComponent.java#L696-L728
train
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/ExecutionElementControllerFactory.java
ExecutionElementControllerFactory.isTruePartitionOfTopLevelStep
private static boolean isTruePartitionOfTopLevelStep(Step step) { Partition partition = step.getPartition(); if (partition.getMapper() != null ) { if (logger.isLoggable(Level.FINER)) { logger.logp(Level.FINER, CLASSNAME, "validatePartition", "Found partitioned step with mapper" , step); } return tru...
java
private static boolean isTruePartitionOfTopLevelStep(Step step) { Partition partition = step.getPartition(); if (partition.getMapper() != null ) { if (logger.isLoggable(Level.FINER)) { logger.logp(Level.FINER, CLASSNAME, "validatePartition", "Found partitioned step with mapper" , step); } return tru...
[ "private", "static", "boolean", "isTruePartitionOfTopLevelStep", "(", "Step", "step", ")", "{", "Partition", "partition", "=", "step", ".", "getPartition", "(", ")", ";", "if", "(", "partition", ".", "getMapper", "(", ")", "!=", "null", ")", "{", "if", "("...
Need to perform this check because of the way we manipulate the model in building our "subjob" for the partition.
[ "Need", "to", "perform", "this", "check", "because", "of", "the", "way", "we", "manipulate", "the", "model", "in", "building", "our", "subjob", "for", "the", "partition", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/ExecutionElementControllerFactory.java#L92-L116
train
OpenLiberty/open-liberty
dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/StaticTraceInstrumentation.java
StaticTraceInstrumentation.processClassConfiguration
protected ClassConfigData processClassConfiguration(final InputStream inputStream) throws IOException { if (introspectAnnotations == false) { return new ClassConfigData(inputStream); } ClassReader cr = new ClassReader(inputStream); ClassWriter cw = new ClassWriter(cr, 0); //...
java
protected ClassConfigData processClassConfiguration(final InputStream inputStream) throws IOException { if (introspectAnnotations == false) { return new ClassConfigData(inputStream); } ClassReader cr = new ClassReader(inputStream); ClassWriter cw = new ClassWriter(cr, 0); //...
[ "protected", "ClassConfigData", "processClassConfiguration", "(", "final", "InputStream", "inputStream", ")", "throws", "IOException", "{", "if", "(", "introspectAnnotations", "==", "false", ")", "{", "return", "new", "ClassConfigData", "(", "inputStream", ")", ";", ...
Introspect configuration information from the class in the provided InputStream.
[ "Introspect", "configuration", "information", "from", "the", "class", "in", "the", "provided", "InputStream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/StaticTraceInstrumentation.java#L206-L219
train
OpenLiberty/open-liberty
dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/StaticTraceInstrumentation.java
StaticTraceInstrumentation.mergeClassConfigInfo
protected ClassInfo mergeClassConfigInfo(ClassInfo classInfo) { // Update introspected class information from introspected package PackageInfo packageInfo = configFileParser.getPackageInfo(classInfo.getInternalPackageName()); if (packageInfo == null) { packageInfo = getPackageInfo(cl...
java
protected ClassInfo mergeClassConfigInfo(ClassInfo classInfo) { // Update introspected class information from introspected package PackageInfo packageInfo = configFileParser.getPackageInfo(classInfo.getInternalPackageName()); if (packageInfo == null) { packageInfo = getPackageInfo(cl...
[ "protected", "ClassInfo", "mergeClassConfigInfo", "(", "ClassInfo", "classInfo", ")", "{", "// Update introspected class information from introspected package", "PackageInfo", "packageInfo", "=", "configFileParser", ".", "getPackageInfo", "(", "classInfo", ".", "getInternalPackag...
Attempt to normalize the various levels of configuration information prior to instrumenting a class.
[ "Attempt", "to", "normalize", "the", "various", "levels", "of", "configuration", "information", "prior", "to", "instrumenting", "a", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/StaticTraceInstrumentation.java#L237-L252
train
OpenLiberty/open-liberty
dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/StaticTraceInstrumentation.java
StaticTraceInstrumentation.printUsageMessage
private static void printUsageMessage() { System.out.println("Description:"); System.out.println(" StaticTraceInstrumentation can modify classes"); System.out.println(" in place to add calls to a trace framework that will"); System.out.println(" delegate to JSR47 logging or WebSphere ...
java
private static void printUsageMessage() { System.out.println("Description:"); System.out.println(" StaticTraceInstrumentation can modify classes"); System.out.println(" in place to add calls to a trace framework that will"); System.out.println(" delegate to JSR47 logging or WebSphere ...
[ "private", "static", "void", "printUsageMessage", "(", ")", "{", "System", ".", "out", ".", "println", "(", "\"Description:\"", ")", ";", "System", ".", "out", ".", "println", "(", "\" StaticTraceInstrumentation can modify classes\"", ")", ";", "System", ".", "...
Gentle usage message that needs to be written.
[ "Gentle", "usage", "message", "that", "needs", "to", "be", "written", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/StaticTraceInstrumentation.java#L326-L341
train
OpenLiberty/open-liberty
dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/internal/LibertyVersionRange.java
LibertyVersionRange.valueOf
public static LibertyVersionRange valueOf(String versionRangeString) { if (versionRangeString == null) { return null; } Matcher versionRangeMatcher = VERSION_RANGE_PATTERN.matcher(versionRangeString); if (versionRangeMatcher.matches()) { // Have a min and max so p...
java
public static LibertyVersionRange valueOf(String versionRangeString) { if (versionRangeString == null) { return null; } Matcher versionRangeMatcher = VERSION_RANGE_PATTERN.matcher(versionRangeString); if (versionRangeMatcher.matches()) { // Have a min and max so p...
[ "public", "static", "LibertyVersionRange", "valueOf", "(", "String", "versionRangeString", ")", "{", "if", "(", "versionRangeString", "==", "null", ")", "{", "return", "null", ";", "}", "Matcher", "versionRangeMatcher", "=", "VERSION_RANGE_PATTERN", ".", "matcher", ...
Attempts to parse the supplied version range string into a Liberty version range containing just numbers. If it fails to do so it will return null. @param versionRangeString The String to parse @return The {@link LibertyVersionRange} or <code>null</code> if the string is in the wrong form.
[ "Attempts", "to", "parse", "the", "supplied", "version", "range", "string", "into", "a", "Liberty", "version", "range", "containing", "just", "numbers", ".", "If", "it", "fails", "to", "do", "so", "it", "will", "return", "null", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/internal/LibertyVersionRange.java#L44-L69
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKeyFilter.java
LocalQPConsumerKeyFilter.detach
protected void detach() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "detach"); // Cleanly dispose of the getCursor getCursor.finished(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "detach"); }
java
protected void detach() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "detach"); // Cleanly dispose of the getCursor getCursor.finished(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "detach"); }
[ "protected", "void", "detach", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"detach\"", ")", ";", "// Cleanly dispose of the getCu...
Detach processing for this filter
[ "Detach", "processing", "for", "this", "filter" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKeyFilter.java#L129-L139
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKeyFilter.java
LocalQPConsumerKeyFilter.discard
protected void discard() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "discard"); // Discard any old cursor if(getCursor != null) { getCursor.finished(); getCursor = null; } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnab...
java
protected void discard() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "discard"); // Discard any old cursor if(getCursor != null) { getCursor.finished(); getCursor = null; } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnab...
[ "protected", "void", "discard", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"discard\"", ")", ";", "// Discard any old cursor", ...
Discard processing for this filter
[ "Discard", "processing", "for", "this", "filter" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKeyFilter.java#L144-L158
train
OpenLiberty/open-liberty
dev/com.ibm.ws.cdi.ejb.common/src/com/ibm/ws/cdi/ejb/impl/WebSphereEjbServicesImpl.java
WebSphereEjbServicesImpl.registerInterceptors
@Override public void registerInterceptors(EjbDescriptor<?> ejbDescriptor, InterceptorBindings interceptorBindings) { if (interceptorBindings != null) { final Collection<Interceptor<?>> interceptors = interceptorBindings.getAllInterceptors(); if (interceptors != null) { ...
java
@Override public void registerInterceptors(EjbDescriptor<?> ejbDescriptor, InterceptorBindings interceptorBindings) { if (interceptorBindings != null) { final Collection<Interceptor<?>> interceptors = interceptorBindings.getAllInterceptors(); if (interceptors != null) { ...
[ "@", "Override", "public", "void", "registerInterceptors", "(", "EjbDescriptor", "<", "?", ">", "ejbDescriptor", ",", "InterceptorBindings", "interceptorBindings", ")", "{", "if", "(", "interceptorBindings", "!=", "null", ")", "{", "final", "Collection", "<", "Int...
Throw an exception if an interceptor for Transactional is registered
[ "Throw", "an", "exception", "if", "an", "interceptor", "for", "Transactional", "is", "registered" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.cdi.ejb.common/src/com/ibm/ws/cdi/ejb/impl/WebSphereEjbServicesImpl.java#L57-L84
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/wsspi/security/common/auth/module/IdentityAssertionLoginModule.java
IdentityAssertionLoginModule.updateSubjectWithTemporarySubjectContents
protected void updateSubjectWithTemporarySubjectContents() { subject.getPrincipals().addAll(temporarySubject.getPrincipals()); subject.getPublicCredentials().addAll(temporarySubject.getPublicCredentials()); subject.getPrivateCredentials().addAll(temporarySubject.getPrivateCredentials()); }
java
protected void updateSubjectWithTemporarySubjectContents() { subject.getPrincipals().addAll(temporarySubject.getPrincipals()); subject.getPublicCredentials().addAll(temporarySubject.getPublicCredentials()); subject.getPrivateCredentials().addAll(temporarySubject.getPrivateCredentials()); }
[ "protected", "void", "updateSubjectWithTemporarySubjectContents", "(", ")", "{", "subject", ".", "getPrincipals", "(", ")", ".", "addAll", "(", "temporarySubject", ".", "getPrincipals", "(", ")", ")", ";", "subject", ".", "getPublicCredentials", "(", ")", ".", "...
Sets the subject with the temporary subject contents that was not set already from the shared state.
[ "Sets", "the", "subject", "with", "the", "temporary", "subject", "contents", "that", "was", "not", "set", "already", "from", "the", "shared", "state", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/wsspi/security/common/auth/module/IdentityAssertionLoginModule.java#L261-L265
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DistributedObjectCacheAdapter.java
DistributedObjectCacheAdapter.size
@Override public int size(boolean includeDiskCache) { int mappings = 0; mappings = cache.getNumberCacheEntries(); if (includeDiskCache) { if (cache instanceof CacheProviderWrapper) { CacheProviderWrapper cpw = (CacheProviderWrapper) cache; if (cp...
java
@Override public int size(boolean includeDiskCache) { int mappings = 0; mappings = cache.getNumberCacheEntries(); if (includeDiskCache) { if (cache instanceof CacheProviderWrapper) { CacheProviderWrapper cpw = (CacheProviderWrapper) cache; if (cp...
[ "@", "Override", "public", "int", "size", "(", "boolean", "includeDiskCache", ")", "{", "int", "mappings", "=", "0", ";", "mappings", "=", "cache", ".", "getNumberCacheEntries", "(", ")", ";", "if", "(", "includeDiskCache", ")", "{", "if", "(", "cache", ...
Returns number of key-value mappings in this map. @param includeDiskCache true to get the size of the memory and disk maps; false to get the size of memory map. @return the number of key-value mappings in this map.
[ "Returns", "number", "of", "key", "-", "value", "mappings", "in", "this", "map", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DistributedObjectCacheAdapter.java#L286-L302
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DistributedObjectCacheAdapter.java
DistributedObjectCacheAdapter.addAlias
@Override public void addAlias(Object key, Object[] aliasArray) { final String methodName = "addAlias(key, aliasArray)"; functionNotAvailable(methodName); }
java
@Override public void addAlias(Object key, Object[] aliasArray) { final String methodName = "addAlias(key, aliasArray)"; functionNotAvailable(methodName); }
[ "@", "Override", "public", "void", "addAlias", "(", "Object", "key", ",", "Object", "[", "]", "aliasArray", ")", "{", "final", "String", "methodName", "=", "\"addAlias(key, aliasArray)\"", ";", "functionNotAvailable", "(", "methodName", ")", ";", "}" ]
Adds one or more aliases for the given key in the cache's mapping table. If the alias is already associated with another key, it will be changed to associate with the new key. @param key the key assoicated with alias @param aliasArray the aliases to use for lookups @throws IllegalArgumentException if the key is not in...
[ "Adds", "one", "or", "more", "aliases", "for", "the", "given", "key", "in", "the", "cache", "s", "mapping", "table", ".", "If", "the", "alias", "is", "already", "associated", "with", "another", "key", "it", "will", "be", "changed", "to", "associate", "wi...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DistributedObjectCacheAdapter.java#L964-L968
train
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DistributedObjectCacheAdapter.java
DistributedObjectCacheAdapter.invalidate
@Override public void invalidate(Object key, boolean wait, boolean checkPreInvalidationListener) { final String methodName = "invalidate(key, wait, checkPreInvalidationListener)"; functionNotAvailable(methodName); }
java
@Override public void invalidate(Object key, boolean wait, boolean checkPreInvalidationListener) { final String methodName = "invalidate(key, wait, checkPreInvalidationListener)"; functionNotAvailable(methodName); }
[ "@", "Override", "public", "void", "invalidate", "(", "Object", "key", ",", "boolean", "wait", ",", "boolean", "checkPreInvalidationListener", ")", "{", "final", "String", "methodName", "=", "\"invalidate(key, wait, checkPreInvalidationListener)\"", ";", "functionNotAvail...
invalidate - invalidates the given key. If the key is for a specific cache entry, then only that object is invalidated. If the key is for a dependency id, then all objects that share that dependency id will be invalidated. @param key the key which will be invalidated @param wait if true, then the method will not compl...
[ "invalidate", "-", "invalidates", "the", "given", "key", ".", "If", "the", "key", "is", "for", "a", "specific", "cache", "entry", "then", "only", "that", "object", "is", "invalidated", ".", "If", "the", "key", "is", "for", "a", "dependency", "id", "then"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DistributedObjectCacheAdapter.java#L1223-L1227
train
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsMessageRouterImpl.java
WsMessageRouterImpl.setWsLogHandler
public void setWsLogHandler(String id, WsLogHandler ref) { if (id != null && ref != null) { //There can be many Reader locks, but only one writer lock. //This ReaderWriter lock is needed to avoid duplicate messages when the class is passing on EarlyBuffer messages to the new WsLogHandler...
java
public void setWsLogHandler(String id, WsLogHandler ref) { if (id != null && ref != null) { //There can be many Reader locks, but only one writer lock. //This ReaderWriter lock is needed to avoid duplicate messages when the class is passing on EarlyBuffer messages to the new WsLogHandler...
[ "public", "void", "setWsLogHandler", "(", "String", "id", ",", "WsLogHandler", "ref", ")", "{", "if", "(", "id", "!=", "null", "&&", "ref", "!=", "null", ")", "{", "//There can be many Reader locks, but only one writer lock.", "//This ReaderWriter lock is needed to avoi...
Add the WsLogHandler ref. 1 or more LogHandlers may be set.
[ "Add", "the", "WsLogHandler", "ref", ".", "1", "or", "more", "LogHandlers", "may", "be", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/WsMessageRouterImpl.java#L94-L123
train
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/DefaultPlatformAdapter.java
DefaultPlatformAdapter.getByteBufferAddress
public long getByteBufferAddress(ByteBuffer byteBuffer) { /* * This only works for DIRECT byte buffers. Direct ByteBuffers have a field * called "address" which * holds the physical address of the start of the buffer contents in native * memory. * This method obtains...
java
public long getByteBufferAddress(ByteBuffer byteBuffer) { /* * This only works for DIRECT byte buffers. Direct ByteBuffers have a field * called "address" which * holds the physical address of the start of the buffer contents in native * memory. * This method obtains...
[ "public", "long", "getByteBufferAddress", "(", "ByteBuffer", "byteBuffer", ")", "{", "/*\n * This only works for DIRECT byte buffers. Direct ByteBuffers have a field\n * called \"address\" which\n * holds the physical address of the start of the buffer contents in native\n ...
Get the native address for the specified DirectByteBuffer @param byteBuffer Reference to a DirectByteBuffer @return The native address of the specified DirectByteBuffer @throws IllegalArgumentException If the specified buffer is not direct
[ "Get", "the", "native", "address", "for", "the", "specified", "DirectByteBuffer" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/DefaultPlatformAdapter.java#L106-L122
train
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/DefaultPlatformAdapter.java
DefaultPlatformAdapter.getSocketChannelHandle
public long getSocketChannelHandle(SocketChannel socketChannel) { StartPrivilegedThread privThread = new StartPrivilegedThread(socketChannel); return AccessController.doPrivileged(privThread); }
java
public long getSocketChannelHandle(SocketChannel socketChannel) { StartPrivilegedThread privThread = new StartPrivilegedThread(socketChannel); return AccessController.doPrivileged(privThread); }
[ "public", "long", "getSocketChannelHandle", "(", "SocketChannel", "socketChannel", ")", "{", "StartPrivilegedThread", "privThread", "=", "new", "StartPrivilegedThread", "(", "socketChannel", ")", ";", "return", "AccessController", ".", "doPrivileged", "(", "privThread", ...
Get the socket channel handle. @param socketChannel The socket channel to get the handle from. @return The handle for the specified socket channel
[ "Get", "the", "socket", "channel", "handle", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/DefaultPlatformAdapter.java#L132-L135
train
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/DefaultPlatformAdapter.java
DefaultPlatformAdapter.cleanThreadLocals
public void cleanThreadLocals(Thread thread) { try { svThreadLocalsField.set(thread, null); } catch (IllegalAccessException e) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Unable to clear java.lang.ThreadLocals: ", e); }...
java
public void cleanThreadLocals(Thread thread) { try { svThreadLocalsField.set(thread, null); } catch (IllegalAccessException e) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Unable to clear java.lang.ThreadLocals: ", e); }...
[ "public", "void", "cleanThreadLocals", "(", "Thread", "thread", ")", "{", "try", "{", "svThreadLocalsField", ".", "set", "(", "thread", ",", "null", ")", ";", "}", "catch", "(", "IllegalAccessException", "e", ")", "{", "if", "(", "TraceComponent", ".", "is...
Clean up the thread locals for the specified Thread. @param thread The thread to clean up
[ "Clean", "up", "the", "thread", "locals", "for", "the", "specified", "Thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/DefaultPlatformAdapter.java#L143-L150
train
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/mbeans/PluginGenerator.java
PluginGenerator.hasConfigChanged
private boolean hasConfigChanged(Document newConfig) { NodeList list = newConfig.getElementsByTagName("*"); int currentHash = nodeListHashValue(list); // Either this is the first time checking the config or there has been some change if (this.previousConfigHash == null || curre...
java
private boolean hasConfigChanged(Document newConfig) { NodeList list = newConfig.getElementsByTagName("*"); int currentHash = nodeListHashValue(list); // Either this is the first time checking the config or there has been some change if (this.previousConfigHash == null || curre...
[ "private", "boolean", "hasConfigChanged", "(", "Document", "newConfig", ")", "{", "NodeList", "list", "=", "newConfig", ".", "getElementsByTagName", "(", "\"*\"", ")", ";", "int", "currentHash", "=", "nodeListHashValue", "(", "list", ")", ";", "// Either this is t...
Check to see if the current config has the same information as the previously written config. If this config has no new information, return false. @param newConfig the current config information document to be compared @return true if there is new or updated config information
[ "Check", "to", "see", "if", "the", "current", "config", "has", "the", "same", "information", "as", "the", "previously", "written", "config", ".", "If", "this", "config", "has", "no", "new", "information", "return", "false", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/mbeans/PluginGenerator.java#L894-L907
train
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.url/src/com/ibm/ws/artifact/url/internal/WSJarURLStreamHandler.java
WSJarURLStreamHandler.openConnection
@Override public URLConnection openConnection(URL url) throws IOException { String path = url.getPath(); int resourceDelimiterIndex = path.indexOf("!/"); URLConnection conn; if (resourceDelimiterIndex == -1) { // The "jar" protocol requires that the path contain an entr...
java
@Override public URLConnection openConnection(URL url) throws IOException { String path = url.getPath(); int resourceDelimiterIndex = path.indexOf("!/"); URLConnection conn; if (resourceDelimiterIndex == -1) { // The "jar" protocol requires that the path contain an entr...
[ "@", "Override", "public", "URLConnection", "openConnection", "(", "URL", "url", ")", "throws", "IOException", "{", "String", "path", "=", "url", ".", "getPath", "(", ")", ";", "int", "resourceDelimiterIndex", "=", "path", ".", "indexOf", "(", "\"!/\"", ")",...
begin 408408.2
[ "begin", "408408", ".", "2" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.url/src/com/ibm/ws/artifact/url/internal/WSJarURLStreamHandler.java#L170-L200
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java
PubSubRealization.reconstitute
public void reconstitute( int startMode, HashMap<String, Object> durableSubscriptionsTable) throws SIIncorrectCallException, SIDiscriminatorSyntaxException, SISelectorSyntaxException...
java
public void reconstitute( int startMode, HashMap<String, Object> durableSubscriptionsTable) throws SIIncorrectCallException, SIDiscriminatorSyntaxException, SISelectorSyntaxException...
[ "public", "void", "reconstitute", "(", "int", "startMode", ",", "HashMap", "<", "String", ",", "Object", ">", "durableSubscriptionsTable", ")", "throws", "SIIncorrectCallException", ",", "SIDiscriminatorSyntaxException", ",", "SISelectorSyntaxException", ",", "MessageStor...
There will only be one such proxy reference stream.
[ "There", "will", "only", "be", "one", "such", "proxy", "reference", "stream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java#L293-L403
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java
PubSubRealization.createSubscriptionConsumerDispatcher
public ConsumerDispatcher createSubscriptionConsumerDispatcher(ConsumerDispatcherState subState) throws SIDiscriminatorSyntaxException, SISelectorSyntaxException, SIResourceException, SISelectorSyntaxException, ...
java
public ConsumerDispatcher createSubscriptionConsumerDispatcher(ConsumerDispatcherState subState) throws SIDiscriminatorSyntaxException, SISelectorSyntaxException, SIResourceException, SISelectorSyntaxException, ...
[ "public", "ConsumerDispatcher", "createSubscriptionConsumerDispatcher", "(", "ConsumerDispatcherState", "subState", ")", "throws", "SIDiscriminatorSyntaxException", ",", "SISelectorSyntaxException", ",", "SIResourceException", ",", "SISelectorSyntaxException", ",", "SIDiscriminatorSy...
however nobody is calling this thru AbstractAliasDestinationHandler in Liberty.
[ "however", "nobody", "is", "calling", "this", "thru", "AbstractAliasDestinationHandler", "in", "Liberty", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java#L693-L759
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java
PubSubRealization.attachToLocalDurableSubscription
public ConsumableKey attachToLocalDurableSubscription( LocalConsumerPoint consumerPoint, ConsumerDispatcherState subState) throws SIDurableSubscriptionMismatchExcep...
java
public ConsumableKey attachToLocalDurableSubscription( LocalConsumerPoint consumerPoint, ConsumerDispatcherState subState) throws SIDurableSubscriptionMismatchExcep...
[ "public", "ConsumableKey", "attachToLocalDurableSubscription", "(", "LocalConsumerPoint", "consumerPoint", ",", "ConsumerDispatcherState", "subState", ")", "throws", "SIDurableSubscriptionMismatchException", ",", "SIDurableSubscriptionNotFoundException", ",", "SIDestinationLockedExcept...
Attaches to a created DurableSubscription which is homed on the local ME. @param consumerPoint The consumer point to attach. @param subState The ConsumerDispatcherState describing the subscription.
[ "Attaches", "to", "a", "created", "DurableSubscription", "which", "is", "homed", "on", "the", "local", "ME", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java#L1304-L1428
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java
PubSubRealization.getSubscriptionIndex
public SubscriptionIndex getSubscriptionIndex() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getSubscriptionIndex"); SibTr.exit(tc, "getSubscriptionIndex", _subscriptionIndex); } return _subscriptionIndex; }
java
public SubscriptionIndex getSubscriptionIndex() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getSubscriptionIndex"); SibTr.exit(tc, "getSubscriptionIndex", _subscriptionIndex); } return _subscriptionIndex; }
[ "public", "SubscriptionIndex", "getSubscriptionIndex", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getSubscriptionIndex\"", "...
Retrieve the subscription index for this destination. @return SubscriptionIndex.
[ "Retrieve", "the", "subscription", "index", "for", "this", "destination", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java#L2052-L2060
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java
PubSubRealization.checkDurableSubStillValid
private boolean checkDurableSubStillValid(DurableSubscriptionItemStream durableSub) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkDurableSubStillValid", durableSub); boolean valid = false; ...
java
private boolean checkDurableSubStillValid(DurableSubscriptionItemStream durableSub) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkDurableSubStillValid", durableSub); boolean valid = false; ...
[ "private", "boolean", "checkDurableSubStillValid", "(", "DurableSubscriptionItemStream", "durableSub", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibT...
Ensure that if the durable sub was made through an alias, then the alias still exists @param durableSub @return true if the durable sub is valid, false if it wasnt and has bee] removed
[ "Ensure", "that", "if", "the", "durable", "sub", "was", "made", "through", "an", "alias", "then", "the", "alias", "still", "exists" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java#L3675-L3808
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java
PubSubRealization.retrieveMessageFromItemStream
public MessageItem retrieveMessageFromItemStream(long msgStoreID) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "retrieveMessageFromItemStream", new Long(msgStoreID)); MessageItem msgItem = null; ...
java
public MessageItem retrieveMessageFromItemStream(long msgStoreID) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "retrieveMessageFromItemStream", new Long(msgStoreID)); MessageItem msgItem = null; ...
[ "public", "MessageItem", "retrieveMessageFromItemStream", "(", "long", "msgStoreID", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entr...
Retrieve the message from the non-persistent ItemStream
[ "Retrieve", "the", "message", "from", "the", "non", "-", "persistent", "ItemStream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/destination/PubSubRealization.java#L3839-L3870
train
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx/src/com/ibm/ws/jmx/internal/MBeanUtil.java
MBeanUtil.getRegisterableMBean
@SuppressWarnings({ "unchecked", "rawtypes" }) public static Object getRegisterableMBean(ServiceReference<?> serviceReference, Object mBean) throws NotCompliantMBeanException { // String methodName = "getRegisterableMBean"; // System.out.println(methodName + ": ENTER: MBean [ " ...
java
@SuppressWarnings({ "unchecked", "rawtypes" }) public static Object getRegisterableMBean(ServiceReference<?> serviceReference, Object mBean) throws NotCompliantMBeanException { // String methodName = "getRegisterableMBean"; // System.out.println(methodName + ": ENTER: MBean [ " ...
[ "@", "SuppressWarnings", "(", "{", "\"unchecked\"", ",", "\"rawtypes\"", "}", ")", "public", "static", "Object", "getRegisterableMBean", "(", "ServiceReference", "<", "?", ">", "serviceReference", ",", "Object", "mBean", ")", "throws", "NotCompliantMBeanException", ...
Register an object as a managed bean. Wrapper the object if necessary. Registration has several steps: A dynamic mbean ({@link DynamicMBean}) is returned immediately. A configuration mbean ({@link ConfigurationAdminMBean}) is wrapped as a read-only mbean ({@link ReadConfigurationAdmin}) and that is returned. Other...
[ "Register", "an", "object", "as", "a", "managed", "bean", ".", "Wrapper", "the", "object", "if", "necessary", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx/src/com/ibm/ws/jmx/internal/MBeanUtil.java#L76-L178
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/TimedDirContext.java
TimedDirContext.traceJndiBegin
private void traceJndiBegin(String methodname, Object... objs) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { String providerURL = "UNKNOWN"; try { providerURL = (String) getEnvironment().get(Context.PROVIDER_URL); } catch (NamingExceptio...
java
private void traceJndiBegin(String methodname, Object... objs) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { String providerURL = "UNKNOWN"; try { providerURL = (String) getEnvironment().get(Context.PROVIDER_URL); } catch (NamingExceptio...
[ "private", "void", "traceJndiBegin", "(", "String", "methodname", ",", "Object", "...", "objs", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "String", "providerURL", "=", ...
Trace a message with "JNDI_CALL' that includes the parameters sent to the JNDI call. @param methodname The name of the method that is requesting the trace. @param objs The parameters to trace.
[ "Trace", "a", "message", "with", "JNDI_CALL", "that", "includes", "the", "parameters", "sent", "to", "the", "JNDI", "call", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/TimedDirContext.java#L510-L520
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/TimedDirContext.java
TimedDirContext.traceJndiReturn
private void traceJndiReturn(String methodname, long duration, Object... objs) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, JNDI_CALL + methodname + " [" + duration + " ms]", objs); } }
java
private void traceJndiReturn(String methodname, long duration, Object... objs) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, JNDI_CALL + methodname + " [" + duration + " ms]", objs); } }
[ "private", "void", "traceJndiReturn", "(", "String", "methodname", ",", "long", "duration", ",", "Object", "...", "objs", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "T...
Trace a message with "JNDI_CALL' that includes the returned objects from that JNDI call. @param methodname The name of the method that is requesting the trace. @param duration The duration of the call in milliseconds. @param objs The objects to trace.
[ "Trace", "a", "message", "with", "JNDI_CALL", "that", "includes", "the", "returned", "objects", "from", "that", "JNDI", "call", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/TimedDirContext.java#L529-L533
train
OpenLiberty/open-liberty
dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/TimedDirContext.java
TimedDirContext.traceJndiThrow
private void traceJndiThrow(String methodname, long duration, NamingException ne) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, JNDI_CALL + methodname + " [" + duration + " ms] " + ne.getMessage(), ne); } }
java
private void traceJndiThrow(String methodname, long duration, NamingException ne) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, JNDI_CALL + methodname + " [" + duration + " ms] " + ne.getMessage(), ne); } }
[ "private", "void", "traceJndiThrow", "(", "String", "methodname", ",", "long", "duration", ",", "NamingException", "ne", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr",...
Trace a message with "JNDI_CALL' that includes the resulting exception from that JNDI call. @param methodname The name of the method that is requesting the trace. @param duration The duration of the call in milliseconds. @param ne The {@link NamingException}.
[ "Trace", "a", "message", "with", "JNDI_CALL", "that", "includes", "the", "resulting", "exception", "from", "that", "JNDI", "call", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/TimedDirContext.java#L542-L546
train
OpenLiberty/open-liberty
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/render/Renderer.java
Renderer.encodeChildren
public void encodeChildren(FacesContext context, UIComponent component) throws IOException { if (context == null) { throw new NullPointerException("context"); } if (component == null) { throw new NullPointerException("component"); } if...
java
public void encodeChildren(FacesContext context, UIComponent component) throws IOException { if (context == null) { throw new NullPointerException("context"); } if (component == null) { throw new NullPointerException("component"); } if...
[ "public", "void", "encodeChildren", "(", "FacesContext", "context", ",", "UIComponent", "component", ")", "throws", "IOException", "{", "if", "(", "context", "==", "null", ")", "{", "throw", "new", "NullPointerException", "(", "\"context\"", ")", ";", "}", "if...
Render all children if there are any. Note: this will only be called if getRendersChildren() returns true. A component which has a renderer with getRendersChildren() set to true will typically contain the rendering logic for its children in this method. @param context @param component @throws IOException
[ "Render", "all", "children", "if", "there", "are", "any", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/render/Renderer.java#L74-L98
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchConsumer.java
AsynchConsumer.registerCallback
void registerCallback(AsynchConsumerCallback callback) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "registerCallback", callback); asynchConsumerCallback = callback; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "registe...
java
void registerCallback(AsynchConsumerCallback callback) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "registerCallback", callback); asynchConsumerCallback = callback; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "registe...
[ "void", "registerCallback", "(", "AsynchConsumerCallback", "callback", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"registerCallback\"", ...
Register the AsynchConsumerCallback. If callback is null then this is the equivalent of deregister, i.e. callbackRegistered is set to false. @param callback
[ "Register", "the", "AsynchConsumerCallback", ".", "If", "callback", "is", "null", "then", "this", "is", "the", "equivalent", "of", "deregister", "i", ".", "e", ".", "callbackRegistered", "is", "set", "to", "false", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchConsumer.java#L50-L59
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchConsumer.java
AsynchConsumer.processMsgs
void processMsgs(LockedMessageEnumeration msgEnumeration, ConsumerSession consumerSession) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processMsgs", new Object[] { msgEnumeration, consumerSession }); // Remember that a callback is running asynchConsumer...
java
void processMsgs(LockedMessageEnumeration msgEnumeration, ConsumerSession consumerSession) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processMsgs", new Object[] { msgEnumeration, consumerSession }); // Remember that a callback is running asynchConsumer...
[ "void", "processMsgs", "(", "LockedMessageEnumeration", "msgEnumeration", ",", "ConsumerSession", "consumerSession", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry...
Calls the registered AsynchConsumerCallback with the given message enumeration. @param msgEnumeration An enumeration of the locked messages for this AsynchConsumerCallback.
[ "Calls", "the", "registered", "AsynchConsumerCallback", "with", "the", "given", "message", "enumeration", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchConsumer.java#L68-L139
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchConsumer.java
AsynchConsumer.isAsynchConsumerRunning
boolean isAsynchConsumerRunning() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "isAsynchConsumerRunning"); SibTr.exit(tc, "isAsynchConsumerRunning", new Boolean(asynchConsumerRunning)); } return asynchConsumerRunning; }
java
boolean isAsynchConsumerRunning() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "isAsynchConsumerRunning"); SibTr.exit(tc, "isAsynchConsumerRunning", new Boolean(asynchConsumerRunning)); } return asynchConsumerRunning; }
[ "boolean", "isAsynchConsumerRunning", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"isAsynchConsumerRunning\"", ")", ";", "Si...
Is the callback currently running? @return asynchConsumerRunning
[ "Is", "the", "callback", "currently", "running?" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchConsumer.java#L145-L156
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java
CATBrowseConsumer.sendMessage
private long sendMessage(SIBusMessage msg) throws OperationFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "sendMessage", msg); long retValue = 0; // If we are at FAP9 or above we can do a 'chunked' send of the message in sep...
java
private long sendMessage(SIBusMessage msg) throws OperationFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "sendMessage", msg); long retValue = 0; // If we are at FAP9 or above we can do a 'chunked' send of the message in sep...
[ "private", "long", "sendMessage", "(", "SIBusMessage", "msg", ")", "throws", "OperationFailedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this...
Helper function. Sends an SIBusMessage to the client, taking care of the myriad pesky exceptions which may get thrown. If something does go wrong then the caller is notified by a single OperationFailedException. By this point the appropriate error flow has also been transmitted to the client. @param msg The message to...
[ "Helper", "function", ".", "Sends", "an", "SIBusMessage", "to", "the", "client", "taking", "care", "of", "the", "myriad", "pesky", "exceptions", "which", "may", "get", "thrown", ".", "If", "something", "does", "go", "wrong", "then", "the", "caller", "is", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java#L101-L119
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java
CATBrowseConsumer.reset
@Override public void reset() throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIErrorException { if...
java
@Override public void reset() throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIErrorException { if...
[ "@", "Override", "public", "void", "reset", "(", ")", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIConnectionDroppedException", ",", "SIResourceException", ",", "SIConnectionLostException", ",", ...
Called in response to a client requesting we reset the browse cursor for a particular broser session. @throws SISessionUnavailableException @throws SISessionDroppedException @throws SIConnectionUnavailableException @throws SIConnectionDroppedException @throws SIResourceException @throws SIConnectionLostException @thro...
[ "Called", "in", "response", "to", "a", "client", "requesting", "we", "reset", "the", "browse", "cursor", "for", "a", "particular", "broser", "session", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java#L454-L469
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java
CATBrowseConsumer.flush
@Override public void flush(int requestNumber) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "flush", "" + requestNumber); // Locate the browser session to use. BrowserSession browserSession = mainConsumer.getBrowserSession(); S...
java
@Override public void flush(int requestNumber) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "flush", "" + requestNumber); // Locate the browser session to use. BrowserSession browserSession = mainConsumer.getBrowserSession(); S...
[ "@", "Override", "public", "void", "flush", "(", "int", "requestNumber", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", ...
Invoked when the client sends a flush consumer. Since browser sessions do not have an activeConsumer method this translates to attempting a single browse next and sending back the result. @param requestNumber
[ "Invoked", "when", "the", "client", "sends", "a", "flush", "consumer", ".", "Since", "browser", "sessions", "do", "not", "have", "an", "activeConsumer", "method", "this", "translates", "to", "attempting", "a", "single", "browse", "next", "and", "sending", "bac...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java#L478-L521
train
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java
CATBrowseConsumer.close
@Override public void close(int requestNumber) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close", "" + requestNumber); BrowserSession browserSession = mainConsumer.getBrowserSession(); try { browserSession.close(); ...
java
@Override public void close(int requestNumber) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close", "" + requestNumber); BrowserSession browserSession = mainConsumer.getBrowserSession(); try { browserSession.close(); ...
[ "@", "Override", "public", "void", "close", "(", "int", "requestNumber", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", ...
Closes the browser. @param requestNumber
[ "Closes", "the", "browser", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATBrowseConsumer.java#L528-L575
train