id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
65,900
OpenLiberty/open-liberty
dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTransactionImpl.java
EmbeddableTransactionImpl.enlistAsyncResource
@Override public void enlistAsyncResource(String xaResFactoryFilter, Serializable xaResInfo, Xid xid) throws SystemException // @LIDB1922-5C { if (tc.isEntryEnabled()) Tr.entry(tc, "enlistAsyncResource (SPI): args: ", new Object[] { xaResFactoryFilter, xaResInfo, xid }); try { ...
java
@Override public void enlistAsyncResource(String xaResFactoryFilter, Serializable xaResInfo, Xid xid) throws SystemException // @LIDB1922-5C { if (tc.isEntryEnabled()) Tr.entry(tc, "enlistAsyncResource (SPI): args: ", new Object[] { xaResFactoryFilter, xaResInfo, xid }); try { ...
[ "@", "Override", "public", "void", "enlistAsyncResource", "(", "String", "xaResFactoryFilter", ",", "Serializable", "xaResInfo", ",", "Xid", "xid", ")", "throws", "SystemException", "// @LIDB1922-5C", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "...
Enlist an asynchronous resource with the target TransactionImpl object. A WSATParticipantWrapper is typically a representation of a downstream WSAT subordinate server. @param asyncResource the remote WSATParticipantWrapper
[ "Enlist", "an", "asynchronous", "resource", "with", "the", "target", "TransactionImpl", "object", ".", "A", "WSATParticipantWrapper", "is", "typically", "a", "representation", "of", "a", "downstream", "WSAT", "subordinate", "server", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTransactionImpl.java#L573-L586
65,901
OpenLiberty/open-liberty
dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTransactionImpl.java
EmbeddableTransactionImpl.inactivityTimeout
public synchronized void inactivityTimeout() { final boolean traceOn = TraceComponent.isAnyTracingEnabled(); if (traceOn && tc.isEntryEnabled()) Tr.entry(tc, "inactivityTimeout", this); _inactivityTimerActive = false; if (_inactivityTimer != null) { try { ...
java
public synchronized void inactivityTimeout() { final boolean traceOn = TraceComponent.isAnyTracingEnabled(); if (traceOn && tc.isEntryEnabled()) Tr.entry(tc, "inactivityTimeout", this); _inactivityTimerActive = false; if (_inactivityTimer != null) { try { ...
[ "public", "synchronized", "void", "inactivityTimeout", "(", ")", "{", "final", "boolean", "traceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "traceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry",...
Called by the timeout manager when inactivity timer expires. Needs to be synchronized as it may interfere with normal timeout.
[ "Called", "by", "the", "timeout", "manager", "when", "inactivity", "timer", "expires", ".", "Needs", "to", "be", "synchronized", "as", "it", "may", "interfere", "with", "normal", "timeout", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTransactionImpl.java#L833-L886
65,902
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerList.java
ConsumerList.get
synchronized ConsumerSessionImpl get(long id) { if (tc.isEntryEnabled()) SibTr.entry(tc, "get", new Long(id)); ConsumerSessionImpl consumer = null ; if( _messageProcessor.isStarted() ) { consumer = (ConsumerSessionImpl) _consumers.get(new Long(id)); } if (tc.isEntryEnabled(...
java
synchronized ConsumerSessionImpl get(long id) { if (tc.isEntryEnabled()) SibTr.entry(tc, "get", new Long(id)); ConsumerSessionImpl consumer = null ; if( _messageProcessor.isStarted() ) { consumer = (ConsumerSessionImpl) _consumers.get(new Long(id)); } if (tc.isEntryEnabled(...
[ "synchronized", "ConsumerSessionImpl", "get", "(", "long", "id", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"get\"", ",", "new", "Long", "(", "id", ")", ")", ";", "ConsumerSessionImpl", "co...
Gets a consumer using its' id. @param id @return
[ "Gets", "a", "consumer", "using", "its", "id", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerList.java#L92-L108
65,903
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerList.java
ConsumerList.add
synchronized void add(ConsumerSessionImpl consumer) { consumer.setId(_consumerCount); if (tc.isEntryEnabled()) SibTr.entry(tc, "add", new Long(consumer.getIdInternal()) ); _consumers.put(new Long(_consumerCount), consumer); _consumerCount++; if (tc.isEntryEnabled()) SibTr.exit(...
java
synchronized void add(ConsumerSessionImpl consumer) { consumer.setId(_consumerCount); if (tc.isEntryEnabled()) SibTr.entry(tc, "add", new Long(consumer.getIdInternal()) ); _consumers.put(new Long(_consumerCount), consumer); _consumerCount++; if (tc.isEntryEnabled()) SibTr.exit(...
[ "synchronized", "void", "add", "(", "ConsumerSessionImpl", "consumer", ")", "{", "consumer", ".", "setId", "(", "_consumerCount", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"add\"", ",", "new...
Adds a consumer to the list of Consumers that this messaging engine contains @param consumer The consumer to add to the list.
[ "Adds", "a", "consumer", "to", "the", "list", "of", "Consumers", "that", "this", "messaging", "engine", "contains" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerList.java#L115-L128
65,904
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/AbstractRepositoryClient.java
AbstractRepositoryClient.getFromAppliesTo
private static Collection<String> getFromAppliesTo(final Asset asset, final AppliesToFilterGetter getter) { Collection<AppliesToFilterInfo> atfis = asset.getWlpInformation().getAppliesToFilterInfo(); Collection<String> ret = new ArrayList<String>(); if (atfis != null) { for (AppliesT...
java
private static Collection<String> getFromAppliesTo(final Asset asset, final AppliesToFilterGetter getter) { Collection<AppliesToFilterInfo> atfis = asset.getWlpInformation().getAppliesToFilterInfo(); Collection<String> ret = new ArrayList<String>(); if (atfis != null) { for (AppliesT...
[ "private", "static", "Collection", "<", "String", ">", "getFromAppliesTo", "(", "final", "Asset", "asset", ",", "final", "AppliesToFilterGetter", "getter", ")", "{", "Collection", "<", "AppliesToFilterInfo", ">", "atfis", "=", "asset", ".", "getWlpInformation", "(...
Utility method to cycle through the applies to filters info and collate the values found @param asset @param getter @return
[ "Utility", "method", "to", "cycle", "through", "the", "applies", "to", "filters", "info", "and", "collate", "the", "values", "found" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/AbstractRepositoryClient.java#L256-L270
65,905
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.instrument.serialfilter.serverconfig/src/com/ibm/ws/kernel/instrument/serialfilter/serverconfig/FilterConfigFactory.java
FilterConfigFactory.activate
@Activate protected void activate(ComponentContext ctx, Map<String, Object> properties) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "activate", properties); } if(isEnabled()) { loadMaps(properties); } else { ...
java
@Activate protected void activate(ComponentContext ctx, Map<String, Object> properties) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "activate", properties); } if(isEnabled()) { loadMaps(properties); } else { ...
[ "@", "Activate", "protected", "void", "activate", "(", "ComponentContext", "ctx", ",", "Map", "<", "String", ",", "Object", ">", "properties", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "("...
to be deleted
[ "to", "be", "deleted" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.instrument.serialfilter.serverconfig/src/com/ibm/ws/kernel/instrument/serialfilter/serverconfig/FilterConfigFactory.java#L70-L80
65,906
OpenLiberty/open-liberty
dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationServiceImpl.java
AuthenticationServiceImpl.updateCacheState
private void updateCacheState(Map<String, Object> props) { getAuthenticationConfig(props); if (cacheEnabled) { authCacheServiceRef.activate(cc); } else { authCacheServiceRef.deactivate(cc); } }
java
private void updateCacheState(Map<String, Object> props) { getAuthenticationConfig(props); if (cacheEnabled) { authCacheServiceRef.activate(cc); } else { authCacheServiceRef.deactivate(cc); } }
[ "private", "void", "updateCacheState", "(", "Map", "<", "String", ",", "Object", ">", "props", ")", "{", "getAuthenticationConfig", "(", "props", ")", ";", "if", "(", "cacheEnabled", ")", "{", "authCacheServiceRef", ".", "activate", "(", "cc", ")", ";", "}...
Based on the configuration properties, the auth cache should either be active or not. @param props
[ "Based", "on", "the", "configuration", "properties", "the", "auth", "cache", "should", "either", "be", "active", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationServiceImpl.java#L141-L149
65,907
OpenLiberty/open-liberty
dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationServiceImpl.java
AuthenticationServiceImpl.optionallyObtainLockedLock
private ReentrantLock optionallyObtainLockedLock(AuthenticationData authenticationData) { ReentrantLock currentLock = null; if (isAuthCacheServiceAvailable()) { currentLock = authenticationGuard.requestAccess(authenticationData); currentLock.lock(); } return curre...
java
private ReentrantLock optionallyObtainLockedLock(AuthenticationData authenticationData) { ReentrantLock currentLock = null; if (isAuthCacheServiceAvailable()) { currentLock = authenticationGuard.requestAccess(authenticationData); currentLock.lock(); } return curre...
[ "private", "ReentrantLock", "optionallyObtainLockedLock", "(", "AuthenticationData", "authenticationData", ")", "{", "ReentrantLock", "currentLock", "=", "null", ";", "if", "(", "isAuthCacheServiceAvailable", "(", ")", ")", "{", "currentLock", "=", "authenticationGuard", ...
This method will try to obtain a lock from the authentication guard based on the given authentication data and lock it. If an equals authentication data on another thread is received for which a lock already exists, this method will block that another thread until the first thread relinquishes the lock. This allows hav...
[ "This", "method", "will", "try", "to", "obtain", "a", "lock", "from", "the", "authentication", "guard", "based", "on", "the", "given", "authentication", "data", "and", "lock", "it", ".", "If", "an", "equals", "authentication", "data", "on", "another", "threa...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationServiceImpl.java#L291-L298
65,908
OpenLiberty/open-liberty
dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationServiceImpl.java
AuthenticationServiceImpl.delegate
@Override public Subject delegate(String roleName, String appName) { Subject runAsSubject = getRunAsSubjectFromProvider(roleName, appName); return runAsSubject; }
java
@Override public Subject delegate(String roleName, String appName) { Subject runAsSubject = getRunAsSubjectFromProvider(roleName, appName); return runAsSubject; }
[ "@", "Override", "public", "Subject", "delegate", "(", "String", "roleName", ",", "String", "appName", ")", "{", "Subject", "runAsSubject", "=", "getRunAsSubjectFromProvider", "(", "roleName", ",", "appName", ")", ";", "return", "runAsSubject", ";", "}" ]
Gets the delegation subject based on the currently configured delegation provider or the MethodDelegationProvider if one is not configured. @param roleName the name of the role, used to look up the corresponding user. @param appName the name of the application, used to look up the corresponding user. @return subject a...
[ "Gets", "the", "delegation", "subject", "based", "on", "the", "currently", "configured", "delegation", "provider", "or", "the", "MethodDelegationProvider", "if", "one", "is", "not", "configured", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authentication.builtin/src/com/ibm/ws/security/authentication/internal/AuthenticationServiceImpl.java#L539-L543
65,909
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/CFEndPointSerializer.java
CFEndPointSerializer.determineType
static private StringBuilder determineType(String name, Object o) { String value = null; if (o instanceof String || o instanceof StringBuffer || o instanceof java.nio.CharBuffer || o instanceof Integer || o instanceof Long || o instanceof Byte || o instanceof Double || o instanceof Float || ...
java
static private StringBuilder determineType(String name, Object o) { String value = null; if (o instanceof String || o instanceof StringBuffer || o instanceof java.nio.CharBuffer || o instanceof Integer || o instanceof Long || o instanceof Byte || o instanceof Double || o instanceof Float || ...
[ "static", "private", "StringBuilder", "determineType", "(", "String", "name", ",", "Object", "o", ")", "{", "String", "value", "=", "null", ";", "if", "(", "o", "instanceof", "String", "||", "o", "instanceof", "StringBuffer", "||", "o", "instanceof", "java",...
Determine the type of the Object passed in and add the XML format for the result. @param type @param name @param o @return StringBuilder
[ "Determine", "the", "type", "of", "the", "Object", "passed", "in", "and", "add", "the", "XML", "format", "for", "the", "result", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/CFEndPointSerializer.java#L48-L77
65,910
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/CFEndPointSerializer.java
CFEndPointSerializer.serializeChannel
static private StringBuilder serializeChannel(StringBuilder buffer, OutboundChannelDefinition ocd, int order) throws NotSerializableException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Serializing channel: " + order + " " + ocd.getOutboundFactory().getName());...
java
static private StringBuilder serializeChannel(StringBuilder buffer, OutboundChannelDefinition ocd, int order) throws NotSerializableException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Serializing channel: " + order + " " + ocd.getOutboundFactory().getName());...
[ "static", "private", "StringBuilder", "serializeChannel", "(", "StringBuilder", "buffer", ",", "OutboundChannelDefinition", "ocd", ",", "int", "order", ")", "throws", "NotSerializableException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "...
Method to serialize a given channel object into the overall output buffer. @param buffer @param ocd @param order @return StringBuilder (expanded with new data) @throws NotSerializableException
[ "Method", "to", "serialize", "a", "given", "channel", "object", "into", "the", "overall", "output", "buffer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/CFEndPointSerializer.java#L89-L124
65,911
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/CFEndPointSerializer.java
CFEndPointSerializer.serialize
static public String serialize(CFEndPoint point) throws NotSerializableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "serialize"); } if (null == point) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { ...
java
static public String serialize(CFEndPoint point) throws NotSerializableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "serialize"); } if (null == point) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { ...
[ "static", "public", "String", "serialize", "(", "CFEndPoint", "point", ")", "throws", "NotSerializableException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry",...
Method to serialize the given end point object into an XML string. @param point @return String @throws NotSerializableException
[ "Method", "to", "serialize", "the", "given", "end", "point", "object", "into", "an", "XML", "string", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/CFEndPointSerializer.java#L133-L174
65,912
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSAutoCommitTransaction.java
MSAutoCommitTransaction.getOwningMessageStore
public MessageStore getOwningMessageStore() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getOwningMessageStore"); SibTr.exit(this, tc, "getOwningMessageStore", "return="+_ms); } return _ms; }
java
public MessageStore getOwningMessageStore() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getOwningMessageStore"); SibTr.exit(this, tc, "getOwningMessageStore", "return="+_ms); } return _ms; }
[ "public", "MessageStore", "getOwningMessageStore", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getOwningMessag...
This method is used to check the MessageStore instance that an implementing transaction object originated from. This is used to check that a transaction is being used to add Items to the same MessageStore as that it came from. @return The MessageStore instance where this transaction originated from.
[ "This", "method", "is", "used", "to", "check", "the", "MessageStore", "instance", "that", "an", "implementing", "transaction", "object", "originated", "from", ".", "This", "is", "used", "to", "check", "that", "a", "transaction", "is", "being", "used", "to", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSAutoCommitTransaction.java#L449-L457
65,913
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.createRealizationAndState
protected void createRealizationAndState( MessageProcessor messageProcessor, TransactionCommon transaction) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled...
java
protected void createRealizationAndState( MessageProcessor messageProcessor, TransactionCommon transaction) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled...
[ "protected", "void", "createRealizationAndState", "(", "MessageProcessor", "messageProcessor", ",", "TransactionCommon", "transaction", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntr...
Cold start version of method to create state associated with Destination. @param messageProcessor @param transaction @throws SIResourceException
[ "Cold", "start", "version", "of", "method", "to", "create", "state", "associated", "with", "Destination", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L531-L567
65,914
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.reconstitute
protected void reconstitute( MessageProcessor processor, HashMap<String, Object> durableSubscriptionsTable, int startMode) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnable...
java
protected void reconstitute( MessageProcessor processor, HashMap<String, Object> durableSubscriptionsTable, int startMode) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnable...
[ "protected", "void", "reconstitute", "(", "MessageProcessor", "processor", ",", "HashMap", "<", "String", ",", "Object", ">", "durableSubscriptionsTable", ",", "int", "startMode", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTra...
Recover a BaseDestinationHandler retrieved from the MessageStore. @param processor @param durableSubscriptionsTable @throws Exception
[ "Recover", "a", "BaseDestinationHandler", "retrieved", "from", "the", "MessageStore", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L667-L786
65,915
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.deleteMsgsWithNoReferences
public void deleteMsgsWithNoReferences() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteMsgsWithNoReferences"); if (null != _pubSubRealization) //doing a sanity check with checking for not null _pubSubRealization.deleteMsgsWithNoReferen...
java
public void deleteMsgsWithNoReferences() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteMsgsWithNoReferences"); if (null != _pubSubRealization) //doing a sanity check with checking for not null _pubSubRealization.deleteMsgsWithNoReferen...
[ "public", "void", "deleteMsgsWithNoReferences", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"deleteMsgsWithNoReferences\"", ")", ";...
This method deletes the messages which are not having any references. Previously these messages were deleted during ME startup in reconstitute method.This method is called from DeletePubSubMsgsThread context
[ "This", "method", "deletes", "the", "messages", "which", "are", "not", "having", "any", "references", ".", "Previously", "these", "messages", "were", "deleted", "during", "ME", "startup", "in", "reconstitute", "method", ".", "This", "method", "is", "called", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L793-L802
65,916
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getAnycastOutputHandler
public final synchronized AnycastOutputHandler getAnycastOutputHandler() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getAnycastOutputHandler"); AnycastOutputHandler aoh = null; if (_ptoPRealization != null) aoh = _ptoPRealizati...
java
public final synchronized AnycastOutputHandler getAnycastOutputHandler() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getAnycastOutputHandler"); AnycastOutputHandler aoh = null; if (_ptoPRealization != null) aoh = _ptoPRealizati...
[ "public", "final", "synchronized", "AnycastOutputHandler", "getAnycastOutputHandler", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"...
Called to get the AnycastOutputHandler for this Destination @return
[ "Called", "to", "get", "the", "AnycastOutputHandler", "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/BaseDestinationHandler.java#L1409-L1422
65,917
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getPostReconstitutePseudoIds
public Object[] getPostReconstitutePseudoIds() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getPostReconstitutePseudoIds"); Object[] result = _protoRealization. getRemoteSupport(). getPostReconstitute...
java
public Object[] getPostReconstitutePseudoIds() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getPostReconstitutePseudoIds"); Object[] result = _protoRealization. getRemoteSupport(). getPostReconstitute...
[ "public", "Object", "[", "]", "getPostReconstitutePseudoIds", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getPostReconstitutePseud...
Returns an array of all pseudoDestination UUIDs which should be mapped to this BaseDestinationHandler. This method is used by the DestinationManager to determine what pseudo references need to be added after a destination is reconstituted. @return An array of all pseudoDestination UUIDs to be mapped to this BaseDestin...
[ "Returns", "an", "array", "of", "all", "pseudoDestination", "UUIDs", "which", "should", "be", "mapped", "to", "this", "BaseDestinationHandler", ".", "This", "method", "is", "used", "by", "the", "DestinationManager", "to", "determine", "what", "pseudo", "references...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L1597-L1610
65,918
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.addPubSubLocalisation
protected void addPubSubLocalisation( LocalizationDefinition destinationLocalizationDefinition) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addPubSubLocalisation", new Object[] { ...
java
protected void addPubSubLocalisation( LocalizationDefinition destinationLocalizationDefinition) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addPubSubLocalisation", new Object[] { ...
[ "protected", "void", "addPubSubLocalisation", "(", "LocalizationDefinition", "destinationLocalizationDefinition", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(...
Add PubSubLocalisation.
[ "Add", "PubSubLocalisation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L2012-L2025
65,919
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.setRemote
public void setRemote(boolean hasRemote) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setRemote", Boolean.valueOf(hasRemote)); getLocalisationManager().setRemote(hasRemote); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
public void setRemote(boolean hasRemote) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setRemote", Boolean.valueOf(hasRemote)); getLocalisationManager().setRemote(hasRemote); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "public", "void", "setRemote", "(", "boolean", "hasRemote", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"setRemote\"", ",", "Boolean...
Do we have a remote localisation?
[ "Do", "we", "have", "a", "remote", "localisation?" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L2144-L2153
65,920
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.setLocal
public void setLocal() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setLocal"); getLocalisationManager().setLocal(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setLocal"); }
java
public void setLocal() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setLocal"); getLocalisationManager().setLocal(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setLocal"); }
[ "public", "void", "setLocal", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"setLocal\"", ")", ";", "getLocalisationManager", "("...
Do we have a local localisation?
[ "Do", "we", "have", "a", "local", "localisation?" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L2158-L2167
65,921
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.isToBeIgnored
public boolean isToBeIgnored() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "isToBeIgnored"); SibTr.exit(tc, "isToBeIgnored", Boolean.valueOf(_toBeIgnored)); } return _toBeIgnored; }
java
public boolean isToBeIgnored() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "isToBeIgnored"); SibTr.exit(tc, "isToBeIgnored", Boolean.valueOf(_toBeIgnored)); } return _toBeIgnored; }
[ "public", "boolean", "isToBeIgnored", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"isToBeIgnored\"", ")", ";", "SibTr", ...
Are we ignoring this destination handler due to corruption? @return
[ "Are", "we", "ignoring", "this", "destination", "handler", "due", "to", "corruption?" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L2211-L2220
65,922
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getXmitQueuePoint
PtoPXmitMsgsItemStream getXmitQueuePoint(SIBUuid8 meUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getXmitQueuePoint", meUuid); PtoPXmitMsgsItemStream stream = getLocalisationManager().getXmitQueuePoint(meUuid); if (TraceComponent.isAn...
java
PtoPXmitMsgsItemStream getXmitQueuePoint(SIBUuid8 meUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getXmitQueuePoint", meUuid); PtoPXmitMsgsItemStream stream = getLocalisationManager().getXmitQueuePoint(meUuid); if (TraceComponent.isAn...
[ "PtoPXmitMsgsItemStream", "getXmitQueuePoint", "(", "SIBUuid8", "meUuid", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getXmitQueuePoint\"...
Return the itemstream representing a transmit queue to a remote ME @param meUuid @return
[ "Return", "the", "itemstream", "representing", "a", "transmit", "queue", "to", "a", "remote", "ME" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3066-L3077
65,923
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.eventMessageExpiryNotification
private void eventMessageExpiryNotification( SIMPMessage msg, TransactionCommon tran) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( ...
java
private void eventMessageExpiryNotification( SIMPMessage msg, TransactionCommon tran) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( ...
[ "private", "void", "eventMessageExpiryNotification", "(", "SIMPMessage", "msg", ",", "TransactionCommon", "tran", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")...
This is a callback required for expiry notification. For example, we generate a report message here if expiry reports are requested. @param msg The expired message @param tran The transaction under which the message will be deleted Feature 179365.6
[ "This", "is", "a", "callback", "required", "for", "expiry", "notification", ".", "For", "example", "we", "generate", "a", "report", "message", "here", "if", "expiry", "reports", "are", "requested", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3305-L3353
65,924
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.constructPseudoDurableDestName
public String constructPseudoDurableDestName(String subName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "constructPseudoDurableDestName", subName); String psuedoDestName = constructPseudoDurableDestName( ...
java
public String constructPseudoDurableDestName(String subName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "constructPseudoDurableDestName", subName); String psuedoDestName = constructPseudoDurableDestName( ...
[ "public", "String", "constructPseudoDurableDestName", "(", "String", "subName", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"constructPs...
Creates the pseudo destination name string for remote durable subscriptions. The case when this local ME is the DME. @param subName the durable sub name @return a string of the form "localME##subName"
[ "Creates", "the", "pseudo", "destination", "name", "string", "for", "remote", "durable", "subscriptions", ".", "The", "case", "when", "this", "local", "ME", "is", "the", "DME", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3363-L3373
65,925
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.constructPseudoDurableDestName
public String constructPseudoDurableDestName(String meUUID, String durableName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "constructPseudoDurableDestName", new Object[] { meUUID, durableName }); String returnString = meUUID + "##" + durableName; ...
java
public String constructPseudoDurableDestName(String meUUID, String durableName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "constructPseudoDurableDestName", new Object[] { meUUID, durableName }); String returnString = meUUID + "##" + durableName; ...
[ "public", "String", "constructPseudoDurableDestName", "(", "String", "meUUID", ",", "String", "durableName", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "...
Creates the pseudo destination name string for remote durable subscriptions. The case when the the DME is remote to this ME. @param meUUID the durable home ME uuid @param subName the durable sub name @return a string of the form "localME##subName"
[ "Creates", "the", "pseudo", "destination", "name", "string", "for", "remote", "durable", "subscriptions", ".", "The", "case", "when", "the", "the", "DME", "is", "remote", "to", "this", "ME", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3384-L3392
65,926
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getAnycastOHForPseudoDest
public AnycastOutputHandler getAnycastOHForPseudoDest(String destName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getAnycastOHForPseudoDest", destName); AnycastOutputHandler returnAOH = _pubSubRealization. ...
java
public AnycastOutputHandler getAnycastOHForPseudoDest(String destName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getAnycastOHForPseudoDest", destName); AnycastOutputHandler returnAOH = _pubSubRealization. ...
[ "public", "AnycastOutputHandler", "getAnycastOHForPseudoDest", "(", "String", "destName", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"g...
Durable subscriptions homed on this ME but attached to from remote MEs have AnycastOutputHandlers mapped by their pseudo destination names. @return The AnycastOutput for this pseudo destination
[ "Durable", "subscriptions", "homed", "on", "this", "ME", "but", "attached", "to", "from", "remote", "MEs", "have", "AnycastOutputHandlers", "mapped", "by", "their", "pseudo", "destination", "names", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3419-L3431
65,927
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.sendCODMessage
void sendCODMessage(SIMPMessage msg, TransactionCommon tran) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendCODMessage", new Object[] { msg, tran }); // If COD Report messages are required, this is when we need to creat...
java
void sendCODMessage(SIMPMessage msg, TransactionCommon tran) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendCODMessage", new Object[] { msg, tran }); // If COD Report messages are required, this is when we need to creat...
[ "void", "sendCODMessage", "(", "SIMPMessage", "msg", ",", "TransactionCommon", "tran", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", ...
Method sendCODMessage. Initializes the reportHandler and sends a COD message if appropriate @param msg @param transaction
[ "Method", "sendCODMessage", ".", "Initializes", "the", "reportHandler", "and", "sends", "a", "COD", "message", "if", "appropriate" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3440-L3477
65,928
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.announceMPStopping
@Override public void announceMPStopping() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "announceMPStopping"); if (isPubSub()) { if (null != _pubSubRealization) { //doing a sanity check with checking for not null //si...
java
@Override public void announceMPStopping() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "announceMPStopping"); if (isPubSub()) { if (null != _pubSubRealization) { //doing a sanity check with checking for not null //si...
[ "@", "Override", "public", "void", "announceMPStopping", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"announceMPStopping\"", ")",...
MP is stopping. All mediation activity should stop also.
[ "MP", "is", "stopping", ".", "All", "mediation", "activity", "should", "stop", "also", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3780-L3794
65,929
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.stop
@Override public void stop(int mode) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stop", Integer.valueOf(mode)); // Deregister the destination deregisterDestination(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabl...
java
@Override public void stop(int mode) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stop", Integer.valueOf(mode)); // Deregister the destination deregisterDestination(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabl...
[ "@", "Override", "public", "void", "stop", "(", "int", "mode", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"stop\"", ",", "Integ...
Stop anything that needs stopping, like mediations..etc.
[ "Stop", "anything", "that", "needs", "stopping", "like", "mediations", "..", "etc", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3902-L3913
65,930
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.createDurableFromRemote
public int createDurableFromRemote( String subName, SelectionCriteria criteria, String user, boolean isCloned, boolean isNoLo...
java
public int createDurableFromRemote( String subName, SelectionCriteria criteria, String user, boolean isCloned, boolean isNoLo...
[ "public", "int", "createDurableFromRemote", "(", "String", "subName", ",", "SelectionCriteria", "criteria", ",", "String", "user", ",", "boolean", "isCloned", ",", "boolean", "isNoLocal", ",", "boolean", "isSIBServerSubject", ")", "{", "if", "(", "TraceComponent", ...
Handle a remote request to create a local durable subscription. @param subName The name of the durable subscription to create. @param criteria This wraps the topic (aka discriminator) for the durable subscription and its selector. @param user The name of the user associated with the durable subscription. @param isSIBS...
[ "Handle", "a", "remote", "request", "to", "create", "a", "local", "durable", "subscription", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L3956-L4013
65,931
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getRoutingDestinationAddr
@Override public JsDestinationAddress getRoutingDestinationAddr(JsDestinationAddress inAddress, boolean fixedMessagePoint) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
@Override public JsDestinationAddress getRoutingDestinationAddr(JsDestinationAddress inAddress, boolean fixedMessagePoint) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "@", "Override", "public", "JsDestinationAddress", "getRoutingDestinationAddr", "(", "JsDestinationAddress", "inAddress", ",", "boolean", "fixedMessagePoint", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&...
Being a 'real' destination, there is no implicit need to add a routing destination address to any messages sent to this destination. However, if the sender is bound to a single message point then we need to set a routing destination so that a particular ME Uuid can be set into it. Another reason for setting a routing a...
[ "Being", "a", "real", "destination", "there", "is", "no", "implicit", "need", "to", "add", "a", "routing", "destination", "address", "to", "any", "messages", "sent", "to", "this", "destination", ".", "However", "if", "the", "sender", "is", "bound", "to", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4289-L4330
65,932
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.deleteRemoteDurableDME
public void deleteRemoteDurableDME(String subName) throws SIRollbackException, SIConnectionLostException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, ...
java
public void deleteRemoteDurableDME(String subName) throws SIRollbackException, SIConnectionLostException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, ...
[ "public", "void", "deleteRemoteDurableDME", "(", "String", "subName", ")", "throws", "SIRollbackException", ",", "SIConnectionLostException", ",", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryE...
Clean up the local AnycastOutputHandler that was created to handle access to a locally homed durable subscription. This method should only be invoked as part of ConsumerDispatcher.deleteConsumerDispatcher. @param subName Name of the local durable subscription being removed.
[ "Clean", "up", "the", "local", "AnycastOutputHandler", "that", "was", "created", "to", "handle", "access", "to", "a", "locally", "homed", "durable", "subscription", ".", "This", "method", "should", "only", "be", "invoked", "as", "part", "of", "ConsumerDispatcher...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4435-L4453
65,933
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.requestReallocation
public void requestReallocation() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "requestReallocation"); if (!isCorruptOrIndoubt()) { //PK73754 // Reset reallocation flag under lock on the BDH. synchronized (this) ...
java
public void requestReallocation() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "requestReallocation"); if (!isCorruptOrIndoubt()) { //PK73754 // Reset reallocation flag under lock on the BDH. synchronized (this) ...
[ "public", "void", "requestReallocation", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"requestReallocation\"", ")", ";", "if", "...
Request reallocation of transmitQs on the next asynch deletion thread run
[ "Request", "reallocation", "of", "transmitQs", "on", "the", "next", "asynch", "deletion", "thread", "run" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4459-L4482
65,934
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.isTopicAccessCheckRequired
@Override public boolean isTopicAccessCheckRequired() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "isTopicAccessCheckRequired"); if (!isPubSub() || isTemporary()) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabl...
java
@Override public boolean isTopicAccessCheckRequired() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "isTopicAccessCheckRequired"); if (!isPubSub() || isTemporary()) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabl...
[ "@", "Override", "public", "boolean", "isTopicAccessCheckRequired", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"isTopicAccessCheck...
Override Method in AbstractBaseDestinationHandler
[ "Override", "Method", "in", "AbstractBaseDestinationHandler" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4617-L4636
65,935
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.removeAnycastInputHandlerAndRCD
public boolean removeAnycastInputHandlerAndRCD(String key) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeAnycastInputHandlerAndRCD", key); boolean removed = _protoRealization. getRemoteSupport...
java
public boolean removeAnycastInputHandlerAndRCD(String key) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeAnycastInputHandlerAndRCD", key); boolean removed = _protoRealization. getRemoteSupport...
[ "public", "boolean", "removeAnycastInputHandlerAndRCD", "(", "String", "key", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "...
Removes the AIH and the RCD instances for a given dme ID. Also removes the itemStreams from the messageStore for the aiContainerItemStream and the rcdItemStream @param dmeID the uuid of the dme which the instances of the aih and rcd will be deleted. @throws SIResourceException if there was a problem with removing the ...
[ "Removes", "the", "AIH", "and", "the", "RCD", "instances", "for", "a", "given", "dme", "ID", ".", "Also", "removes", "the", "itemStreams", "from", "the", "messageStore", "for", "the", "aiContainerItemStream", "and", "the", "rcdItemStream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4665-L4678
65,936
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.closeRemoteConsumer
public void closeRemoteConsumer(SIBUuid8 dmeUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "closeRemoteConsumer", dmeUuid); _protoRealization. getRemoteSupport(). closeRemoteConsumers(dmeUuid); ...
java
public void closeRemoteConsumer(SIBUuid8 dmeUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "closeRemoteConsumer", dmeUuid); _protoRealization. getRemoteSupport(). closeRemoteConsumers(dmeUuid); ...
[ "public", "void", "closeRemoteConsumer", "(", "SIBUuid8", "dmeUuid", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"closeRemoteConsumer\""...
Close the remote consumers for a given remote ME @param remoteMEUuid @throws SIResourceException
[ "Close", "the", "remote", "consumers", "for", "a", "given", "remote", "ME" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4718-L4731
65,937
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getPubSubRealization
public PubSubRealization getPubSubRealization() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getPubSubRealization"); SibTr.exit(tc, "getPubSubRealization", _pubSubRealization); } return _pubSubRealization; }
java
public PubSubRealization getPubSubRealization() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getPubSubRealization"); SibTr.exit(tc, "getPubSubRealization", _pubSubRealization); } return _pubSubRealization; }
[ "public", "PubSubRealization", "getPubSubRealization", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getPubSubRealization\"", "...
Retrieve the PubSubRealization @return
[ "Retrieve", "the", "PubSubRealization" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4949-L4957
65,938
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getPtoPRealization
public PtoPRealization getPtoPRealization() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getPtoPRealization"); SibTr.exit(tc, "getPtoPRealization", _ptoPRealization); } return _ptoPRealization; }
java
public PtoPRealization getPtoPRealization() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getPtoPRealization"); SibTr.exit(tc, "getPtoPRealization", _ptoPRealization); } return _ptoPRealization; }
[ "public", "PtoPRealization", "getPtoPRealization", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getPtoPRealization\"", ")", ...
Retrieve the PtoPRealization @return
[ "Retrieve", "the", "PtoPRealization" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4964-L4972
65,939
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getProtocolRealization
public AbstractProtoRealization getProtocolRealization() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getProtocolRealization"); SibTr.exit(tc, "getProtocolRealization", _protoRealization); } return _protoRealization; ...
java
public AbstractProtoRealization getProtocolRealization() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getProtocolRealization"); SibTr.exit(tc, "getProtocolRealization", _protoRealization); } return _protoRealization; ...
[ "public", "AbstractProtoRealization", "getProtocolRealization", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getProtocolRealizat...
Retrieve the ProtocolRealization @return
[ "Retrieve", "the", "ProtocolRealization" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4979-L4987
65,940
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java
BaseDestinationHandler.getLocalisationManager
public LocalisationManager getLocalisationManager() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getLocalisationManager", this); // Instantiate LocalisationManager to manage localisations and interface to WLM if (_localisationManager == nul...
java
public LocalisationManager getLocalisationManager() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getLocalisationManager", this); // Instantiate LocalisationManager to manage localisations and interface to WLM if (_localisationManager == nul...
[ "public", "LocalisationManager", "getLocalisationManager", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getLocalisationManager\"", ",...
Retrieve the LocalisationManager @return _localisationManager
[ "Retrieve", "the", "LocalisationManager" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BaseDestinationHandler.java#L4994-L5010
65,941
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java
HeaderElement.setByteArrayValue
protected void setByteArrayValue(byte[] input) { this.sValue = null; this.bValue = input; this.offset = 0; this.valueLength = input.length; if (ELEM_ADDED != this.status) { this.status = ELEM_CHANGED; } }
java
protected void setByteArrayValue(byte[] input) { this.sValue = null; this.bValue = input; this.offset = 0; this.valueLength = input.length; if (ELEM_ADDED != this.status) { this.status = ELEM_CHANGED; } }
[ "protected", "void", "setByteArrayValue", "(", "byte", "[", "]", "input", ")", "{", "this", ".", "sValue", "=", "null", ";", "this", ".", "bValue", "=", "input", ";", "this", ".", "offset", "=", "0", ";", "this", ".", "valueLength", "=", "input", "."...
Set the byte array value to the given input. @param input
[ "Set", "the", "byte", "array", "value", "to", "the", "given", "input", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java#L384-L392
65,942
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java
HeaderElement.setByteArrayValue
protected void setByteArrayValue(byte[] input, int offset, int length) { if ((offset + length) > input.length) { throw new IllegalArgumentException( "Invalid length: " + offset + "+" + length + " > " + input.length); } this.sValue = null; this.bVal...
java
protected void setByteArrayValue(byte[] input, int offset, int length) { if ((offset + length) > input.length) { throw new IllegalArgumentException( "Invalid length: " + offset + "+" + length + " > " + input.length); } this.sValue = null; this.bVal...
[ "protected", "void", "setByteArrayValue", "(", "byte", "[", "]", "input", ",", "int", "offset", ",", "int", "length", ")", "{", "if", "(", "(", "offset", "+", "length", ")", ">", "input", ".", "length", ")", "{", "throw", "new", "IllegalArgumentException...
Set the byte array value of this header based on the input array but starting at the input offset into that array and with the given length. @param input @param offset @param length @throws IllegalArgumentException if offset and length are incorrect
[ "Set", "the", "byte", "array", "value", "of", "this", "header", "based", "on", "the", "input", "array", "but", "starting", "at", "the", "input", "offset", "into", "that", "array", "and", "with", "the", "given", "length", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java#L403-L415
65,943
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java
HeaderElement.setStringValue
protected void setStringValue(String input) { this.bValue = null; this.sValue = input; this.offset = 0; this.valueLength = (null == input) ? 0 : input.length(); if (ELEM_ADDED != this.status) { this.status = ELEM_CHANGED; } }
java
protected void setStringValue(String input) { this.bValue = null; this.sValue = input; this.offset = 0; this.valueLength = (null == input) ? 0 : input.length(); if (ELEM_ADDED != this.status) { this.status = ELEM_CHANGED; } }
[ "protected", "void", "setStringValue", "(", "String", "input", ")", "{", "this", ".", "bValue", "=", "null", ";", "this", ".", "sValue", "=", "input", ";", "this", ".", "offset", "=", "0", ";", "this", ".", "valueLength", "=", "(", "null", "==", "inp...
Set the string value to the given input. @param input
[ "Set", "the", "string", "value", "to", "the", "given", "input", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java#L422-L430
65,944
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java
HeaderElement.updateLastCRLFInfo
protected void updateLastCRLFInfo(int index, int pos, boolean isCR) { this.lastCRLFBufferIndex = index; this.lastCRLFPosition = pos; this.lastCRLFisCR = isCR; }
java
protected void updateLastCRLFInfo(int index, int pos, boolean isCR) { this.lastCRLFBufferIndex = index; this.lastCRLFPosition = pos; this.lastCRLFisCR = isCR; }
[ "protected", "void", "updateLastCRLFInfo", "(", "int", "index", ",", "int", "pos", ",", "boolean", "isCR", ")", "{", "this", ".", "lastCRLFBufferIndex", "=", "index", ";", "this", ".", "lastCRLFPosition", "=", "pos", ";", "this", ".", "lastCRLFisCR", "=", ...
Set the relevant information for the CRLF position information from the parsing code. @param index @param pos @param isCR
[ "Set", "the", "relevant", "information", "for", "the", "CRLF", "position", "information", "from", "the", "parsing", "code", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java#L566-L570
65,945
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java
HeaderElement.destroy
protected void destroy() { this.nextSequence = null; this.prevSequence = null; this.bValue = null; this.sValue = null; this.buffIndex = -1; this.offset = 0; this.valueLength = 0; this.myHashCode = -1; this.lastCRLFBufferIndex = -1; this.las...
java
protected void destroy() { this.nextSequence = null; this.prevSequence = null; this.bValue = null; this.sValue = null; this.buffIndex = -1; this.offset = 0; this.valueLength = 0; this.myHashCode = -1; this.lastCRLFBufferIndex = -1; this.las...
[ "protected", "void", "destroy", "(", ")", "{", "this", ".", "nextSequence", "=", "null", ";", "this", ".", "prevSequence", "=", "null", ";", "this", ".", "bValue", "=", "null", ";", "this", ".", "sValue", "=", "null", ";", "this", ".", "buffIndex", "...
Perform cleanup when this object is no longer needed.
[ "Perform", "cleanup", "when", "this", "object", "is", "no", "longer", "needed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/genericbnf/internal/HeaderElement.java#L610-L624
65,946
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/MergedRepository.java
MergedRepository.getHeader
public Properties getHeader(RepositoryLogRecord record) { if (!headerMap.containsKey(record)) { throw new IllegalArgumentException("Record was not return by an iterator over this instance"); } return headerMap.get(record); }
java
public Properties getHeader(RepositoryLogRecord record) { if (!headerMap.containsKey(record)) { throw new IllegalArgumentException("Record was not return by an iterator over this instance"); } return headerMap.get(record); }
[ "public", "Properties", "getHeader", "(", "RepositoryLogRecord", "record", ")", "{", "if", "(", "!", "headerMap", ".", "containsKey", "(", "record", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Record was not return by an iterator over this instanc...
Returns header information for the server this record was created on. @param record instance previously return by an iterator over this merged list. @return header corresponding to the <code>record</code>.
[ "Returns", "header", "information", "for", "the", "server", "this", "record", "was", "created", "on", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/MergedRepository.java#L160-L165
65,947
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java
WSJPAUrlUtils.createWSJPAURL
@Trivial public static URL createWSJPAURL(URL url) throws MalformedURLException { if (url == null) { return null; } // Encode the URL to be embedded into the wsjpa URL's path final String encodedURLPathStr = encode(url.toExternalForm()); URL returnURL; t...
java
@Trivial public static URL createWSJPAURL(URL url) throws MalformedURLException { if (url == null) { return null; } // Encode the URL to be embedded into the wsjpa URL's path final String encodedURLPathStr = encode(url.toExternalForm()); URL returnURL; t...
[ "@", "Trivial", "public", "static", "URL", "createWSJPAURL", "(", "URL", "url", ")", "throws", "MalformedURLException", "{", "if", "(", "url", "==", "null", ")", "{", "return", "null", ";", "}", "// Encode the URL to be embedded into the wsjpa URL's path", "final", ...
Encapsulates the specified URL within a wsjpa URL. @param url - the URL to encapsulate @return - a wsjpa URL encapsulating the argument URL @throws MalformedURLException
[ "Encapsulates", "the", "specified", "URL", "within", "a", "wsjpa", "URL", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java#L34-L57
65,948
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java
WSJPAUrlUtils.extractEmbeddedURL
@Trivial public static URL extractEmbeddedURL(URL url) throws MalformedURLException { if (url == null) { return null; } if (!url.getProtocol().equalsIgnoreCase(WSJPA_PROTOCOL_NAME)) { throw new IllegalArgumentException("The specified URL \"" + url + ...
java
@Trivial public static URL extractEmbeddedURL(URL url) throws MalformedURLException { if (url == null) { return null; } if (!url.getProtocol().equalsIgnoreCase(WSJPA_PROTOCOL_NAME)) { throw new IllegalArgumentException("The specified URL \"" + url + ...
[ "@", "Trivial", "public", "static", "URL", "extractEmbeddedURL", "(", "URL", "url", ")", "throws", "MalformedURLException", "{", "if", "(", "url", "==", "null", ")", "{", "return", "null", ";", "}", "if", "(", "!", "url", ".", "getProtocol", "(", ")", ...
Extracts the embedded URL from the provided wsjpa protocoled URL. @param url - the wsjpa URL from which to extract the embedded URL. @return - the URL embedded in the wsjpa URL argument. Returns null if provided a null URL argument. @throws MalformedURLException if the embedded URL is malformed, IllegalArgumentExcepti...
[ "Extracts", "the", "embedded", "URL", "from", "the", "provided", "wsjpa", "protocoled", "URL", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java#L67-L96
65,949
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java
WSJPAUrlUtils.encode
@Trivial private static String encode(String s) { if (s == null) { return null; } // Throw an IllegalArgumentException if "%21" is already present in the String if (s.contains("%21")) { throw new IllegalArgumentException("WSJPAURLUtils.encode() cannot encode ...
java
@Trivial private static String encode(String s) { if (s == null) { return null; } // Throw an IllegalArgumentException if "%21" is already present in the String if (s.contains("%21")) { throw new IllegalArgumentException("WSJPAURLUtils.encode() cannot encode ...
[ "@", "Trivial", "private", "static", "String", "encode", "(", "String", "s", ")", "{", "if", "(", "s", "==", "null", ")", "{", "return", "null", ";", "}", "// Throw an IllegalArgumentException if \"%21\" is already present in the String", "if", "(", "s", ".", "c...
Private method that substitutes "!" characters with its escaped code, "%21". @param s @return
[ "Private", "method", "that", "substitutes", "!", "characters", "with", "its", "escaped", "code", "%21", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java#L104-L115
65,950
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java
WSJPAUrlUtils.decode
@Trivial private static String decode(String s) { if (s == null) { return null; } return s.replace("%21", "!"); }
java
@Trivial private static String decode(String s) { if (s == null) { return null; } return s.replace("%21", "!"); }
[ "@", "Trivial", "private", "static", "String", "decode", "(", "String", "s", ")", "{", "if", "(", "s", "==", "null", ")", "{", "return", "null", ";", "}", "return", "s", ".", "replace", "(", "\"%21\"", ",", "\"!\"", ")", ";", "}" ]
Private method that substitutes the escape code "%21" with the "!" character. @param s @return
[ "Private", "method", "that", "substitutes", "the", "escape", "code", "%21", "with", "the", "!", "character", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container/src/com/ibm/ws/jpa/container/osgi/internal/url/WSJPAUrlUtils.java#L123-L129
65,951
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JaxbPUnit20.java
JaxbPUnit20.getValidationMode
@Override public ValidationMode getValidationMode() { // Convert this ValidationMode from the class defined // in JAXB (com.ibm.ws.jpa.pxml20.PersistenceUnitValidationModeType) // to JPA (javax.persistence.ValidationMode). ValidationMode rtnMode = null; PersistenceUnitV...
java
@Override public ValidationMode getValidationMode() { // Convert this ValidationMode from the class defined // in JAXB (com.ibm.ws.jpa.pxml20.PersistenceUnitValidationModeType) // to JPA (javax.persistence.ValidationMode). ValidationMode rtnMode = null; PersistenceUnitV...
[ "@", "Override", "public", "ValidationMode", "getValidationMode", "(", ")", "{", "// Convert this ValidationMode from the class defined", "// in JAXB (com.ibm.ws.jpa.pxml20.PersistenceUnitValidationModeType)", "// to JPA (javax.persistence.ValidationMode).", "ValidationMode", "rtnMode", "...
Gets the value of the validationMode property. @return value of the validationMode property.
[ "Gets", "the", "value", "of", "the", "validationMode", "property", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JaxbPUnit20.java#L253-L278
65,952
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/ServiceProviderFinderFactory.java
ServiceProviderFinderFactory.setServiceProviderFinder
public static void setServiceProviderFinder(ExternalContext ectx, ServiceProviderFinder slp) { ectx.getApplicationMap().put(SERVICE_PROVIDER_KEY, slp); }
java
public static void setServiceProviderFinder(ExternalContext ectx, ServiceProviderFinder slp) { ectx.getApplicationMap().put(SERVICE_PROVIDER_KEY, slp); }
[ "public", "static", "void", "setServiceProviderFinder", "(", "ExternalContext", "ectx", ",", "ServiceProviderFinder", "slp", ")", "{", "ectx", ".", "getApplicationMap", "(", ")", ".", "put", "(", "SERVICE_PROVIDER_KEY", ",", "slp", ")", ";", "}" ]
Set a ServiceProviderFinder to the current application, to locate SPI service providers used by MyFaces. This method should be called before the web application is initialized, specifically before AbstractFacesInitializer.initFaces(ServletContext) otherwise it will have no effect. @param ectx @param slp
[ "Set", "a", "ServiceProviderFinder", "to", "the", "current", "application", "to", "locate", "SPI", "service", "providers", "used", "by", "MyFaces", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/ServiceProviderFinderFactory.java#L88-L91
65,953
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/ServiceProviderFinderFactory.java
ServiceProviderFinderFactory._getServiceProviderFinderFromInitParam
private static ServiceProviderFinder _getServiceProviderFinderFromInitParam(ExternalContext context) { String initializerClassName = context.getInitParameter(SERVICE_PROVIDER_FINDER_PARAM); if (initializerClassName != null) { try { // get Class object ...
java
private static ServiceProviderFinder _getServiceProviderFinderFromInitParam(ExternalContext context) { String initializerClassName = context.getInitParameter(SERVICE_PROVIDER_FINDER_PARAM); if (initializerClassName != null) { try { // get Class object ...
[ "private", "static", "ServiceProviderFinder", "_getServiceProviderFinderFromInitParam", "(", "ExternalContext", "context", ")", "{", "String", "initializerClassName", "=", "context", ".", "getInitParameter", "(", "SERVICE_PROVIDER_FINDER_PARAM", ")", ";", "if", "(", "initia...
Gets a ServiceProviderFinder from the web.xml config param. @param context @return
[ "Gets", "a", "ServiceProviderFinder", "from", "the", "web", ".", "xml", "config", "param", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/spi/ServiceProviderFinderFactory.java#L103-L127
65,954
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.psSetBytes
public void psSetBytes(PreparedStatement pstmtImpl, int i, byte[] x) throws SQLException { pstmtImpl.setBytes(i, x); }
java
public void psSetBytes(PreparedStatement pstmtImpl, int i, byte[] x) throws SQLException { pstmtImpl.setBytes(i, x); }
[ "public", "void", "psSetBytes", "(", "PreparedStatement", "pstmtImpl", ",", "int", "i", ",", "byte", "[", "]", "x", ")", "throws", "SQLException", "{", "pstmtImpl", ".", "setBytes", "(", "i", ",", "x", ")", ";", "}" ]
Allow for special handling of Oracle prepared statement setBytes This method just does the normal setBytes call, Oracle helper overrides it
[ "Allow", "for", "special", "handling", "of", "Oracle", "prepared", "statement", "setBytes", "This", "method", "just", "does", "the", "normal", "setBytes", "call", "Oracle", "helper", "overrides", "it" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L615-L617
65,955
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.psSetString
public void psSetString(PreparedStatement pstmtImpl, int i, String x) throws SQLException { pstmtImpl.setString(i, x); }
java
public void psSetString(PreparedStatement pstmtImpl, int i, String x) throws SQLException { pstmtImpl.setString(i, x); }
[ "public", "void", "psSetString", "(", "PreparedStatement", "pstmtImpl", ",", "int", "i", ",", "String", "x", ")", "throws", "SQLException", "{", "pstmtImpl", ".", "setString", "(", "i", ",", "x", ")", ";", "}" ]
Allow for special handling of Oracle prepared statement setString This method just does the normal setString call, Oracle helper overrides it
[ "Allow", "for", "special", "handling", "of", "Oracle", "prepared", "statement", "setString", "This", "method", "just", "does", "the", "normal", "setString", "call", "Oracle", "helper", "overrides", "it" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L623-L625
65,956
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.resetClientInformation
public void resetClientInformation(WSRdbManagedConnectionImpl mc) throws SQLException { if (mc.mcf.jdbcDriverSpecVersion >= 40 && (mc.clientInfoExplicitlySet || mc.clientInfoImplicitlySet)) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(this, tc, "resetCl...
java
public void resetClientInformation(WSRdbManagedConnectionImpl mc) throws SQLException { if (mc.mcf.jdbcDriverSpecVersion >= 40 && (mc.clientInfoExplicitlySet || mc.clientInfoImplicitlySet)) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(this, tc, "resetCl...
[ "public", "void", "resetClientInformation", "(", "WSRdbManagedConnectionImpl", "mc", ")", "throws", "SQLException", "{", "if", "(", "mc", ".", "mcf", ".", "jdbcDriverSpecVersion", ">=", "40", "&&", "(", "mc", ".", "clientInfoExplicitlySet", "||", "mc", ".", "cli...
This method is used to reset the client information on the backend database connection. Information will be reset only if it has been set. @param mc WSRdbManagedConnectionImpl to reset the client information on @exception SQLException java.sql.SQLException if a problem happens during resetting the client information o...
[ "This", "method", "is", "used", "to", "reset", "the", "client", "information", "on", "the", "backend", "database", "connection", ".", "Information", "will", "be", "reset", "only", "if", "it", "has", "been", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L706-L728
65,957
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.getPooledConnection
public ConnectionResults getPooledConnection(final CommonDataSource ds, String userName, String password, final boolean is2Phase, final WSConnectionRequestInfoImpl cri, boolean useKerberos, Object gssCredential) throws ResourceException { if (tc.isEntryEnabled()...
java
public ConnectionResults getPooledConnection(final CommonDataSource ds, String userName, String password, final boolean is2Phase, final WSConnectionRequestInfoImpl cri, boolean useKerberos, Object gssCredential) throws ResourceException { if (tc.isEntryEnabled()...
[ "public", "ConnectionResults", "getPooledConnection", "(", "final", "CommonDataSource", "ds", ",", "String", "userName", ",", "String", "password", ",", "final", "boolean", "is2Phase", ",", "final", "WSConnectionRequestInfoImpl", "cri", ",", "boolean", "useKerberos", ...
Get a Pooled or XA Connection from the specified DataSource. A null userName indicates that no user name or password should be provided. @param dataSource XADataSource or ConnectionPoolDataSource @param String userName to get the pooled connection @param String password to get the pooled connection @param is2Phase ind...
[ "Get", "a", "Pooled", "or", "XA", "Connection", "from", "the", "specified", "DataSource", ".", "A", "null", "userName", "indicates", "that", "no", "user", "name", "or", "password", "should", "be", "provided", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L924-L987
65,958
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.setClientRerouteData
public void setClientRerouteData(Object dataSource, String cRJNDIName, String cRAlternateServer, String cRAlternatePort, String cRPrimeServer, String cRPrimePort, Context jndiContext, String driverType) throws Throwable // add driverType { if (tc.isDebugEnabled()) { ...
java
public void setClientRerouteData(Object dataSource, String cRJNDIName, String cRAlternateServer, String cRAlternatePort, String cRPrimeServer, String cRPrimePort, Context jndiContext, String driverType) throws Throwable // add driverType { if (tc.isDebugEnabled()) { ...
[ "public", "void", "setClientRerouteData", "(", "Object", "dataSource", ",", "String", "cRJNDIName", ",", "String", "cRAlternateServer", ",", "String", "cRAlternatePort", ",", "String", "cRPrimeServer", ",", "String", "cRPrimePort", ",", "Context", "jndiContext", ",", ...
This method is used to set the client reroute options on the datasoruce Object. This method will be a no-op for all but the DB2 universal driver. @param dataSource : Datasource Object @param cRJNDIName : Client Reroute JNDI name to be set on the DataSource Object. @param cRAlternateServer : Client Reroute Alternate Se...
[ "This", "method", "is", "used", "to", "set", "the", "client", "reroute", "options", "on", "the", "datasoruce", "Object", ".", "This", "method", "will", "be", "a", "no", "-", "op", "for", "all", "but", "the", "DB2", "universal", "driver", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L1004-L1010
65,959
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.isAnAuthorizationException
public boolean isAnAuthorizationException(SQLException x) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(this, tc, "isAnAuthorizationException", x); boolean isAuthError = false; LinkedList<SQLException> stack ...
java
public boolean isAnAuthorizationException(SQLException x) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(this, tc, "isAnAuthorizationException", x); boolean isAuthError = false; LinkedList<SQLException> stack ...
[ "public", "boolean", "isAnAuthorizationException", "(", "SQLException", "x", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", ...
Method is used to see if the exception passed is an authorization exception or not. @param SQLException the exception to check. @return boolean true if determined to be an authorization exception, otherwise false.
[ "Method", "is", "used", "to", "see", "if", "the", "exception", "passed", "is", "an", "authorization", "exception", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L1018-L1045
65,960
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.reuseKerbrosConnection
public void reuseKerbrosConnection(Connection sqlConn, GSSCredential gssCred, Properties props) throws SQLException { // an exception would have been thrown earlier than this point, so adding the trace just in case. if (tc.isDebugEnabled()) { Tr.debug(this, tc, "Kerberos reuse is not support...
java
public void reuseKerbrosConnection(Connection sqlConn, GSSCredential gssCred, Properties props) throws SQLException { // an exception would have been thrown earlier than this point, so adding the trace just in case. if (tc.isDebugEnabled()) { Tr.debug(this, tc, "Kerberos reuse is not support...
[ "public", "void", "reuseKerbrosConnection", "(", "Connection", "sqlConn", ",", "GSSCredential", "gssCred", ",", "Properties", "props", ")", "throws", "SQLException", "{", "// an exception would have been thrown earlier than this point, so adding the trace just in case.", "if", "(...
Method used to reuse a connection using kerberos. This method will reset all connection properties, thus, after a reuse is called, connection should be treated as if it was a newly created connection @param java.sql.Connection conn @param GSSCredential gssCred @param Properties props @throws SQLException
[ "Method", "used", "to", "reuse", "a", "connection", "using", "kerberos", ".", "This", "method", "will", "reset", "all", "connection", "properties", "thus", "after", "a", "reuse", "is", "called", "connection", "should", "be", "treated", "as", "if", "it", "was...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L1073-L1078
65,961
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java
DatabaseHelper.branchCouplingSupported
public int branchCouplingSupported(int couplingType) { // Return -1 as we have no support for resref branch coupling if (couplingType == ResourceRefInfo.BRANCH_COUPLING_LOOSE || couplingType == ResourceRefInfo.BRANCH_COUPLING_TIGHT) { if (tc.isDebugEnabled()) { ...
java
public int branchCouplingSupported(int couplingType) { // Return -1 as we have no support for resref branch coupling if (couplingType == ResourceRefInfo.BRANCH_COUPLING_LOOSE || couplingType == ResourceRefInfo.BRANCH_COUPLING_TIGHT) { if (tc.isDebugEnabled()) { ...
[ "public", "int", "branchCouplingSupported", "(", "int", "couplingType", ")", "{", "// Return -1 as we have no support for resref branch coupling", "if", "(", "couplingType", "==", "ResourceRefInfo", ".", "BRANCH_COUPLING_LOOSE", "||", "couplingType", "==", "ResourceRefInfo", ...
This method checks if the connection supports loose or tight branch coupling @param couplingType @return xa_start flag value
[ "This", "method", "checks", "if", "the", "connection", "supports", "loose", "or", "tight", "branch", "coupling" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/DatabaseHelper.java#L1086-L1099
65,962
OpenLiberty/open-liberty
dev/com.ibm.ws.security.authorization.jacc/src/com/ibm/ws/security/authorization/jacc/internal/JaccServiceImpl.java
JaccServiceImpl.loadClasses
public boolean loadClasses() { Boolean result = AccessController.doPrivileged(new PrivilegedAction<Boolean>() { @Override public Boolean run() { Policy policy = jaccProviderService.getService().getPolicy(); if (tc.isDebugEnabled()) Tr....
java
public boolean loadClasses() { Boolean result = AccessController.doPrivileged(new PrivilegedAction<Boolean>() { @Override public Boolean run() { Policy policy = jaccProviderService.getService().getPolicy(); if (tc.isDebugEnabled()) Tr....
[ "public", "boolean", "loadClasses", "(", ")", "{", "Boolean", "result", "=", "AccessController", ".", "doPrivileged", "(", "new", "PrivilegedAction", "<", "Boolean", ">", "(", ")", "{", "@", "Override", "public", "Boolean", "run", "(", ")", "{", "Policy", ...
Loads the JACC Policy and Factory classes. @return true if the initialization was successful
[ "Loads", "the", "JACC", "Policy", "and", "Factory", "classes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.authorization.jacc/src/com/ibm/ws/security/authorization/jacc/internal/JaccServiceImpl.java#L234-L270
65,963
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java
ResourceInjectionBinding.getResourceLookup
private static String getResourceLookup(Resource resource) // F743-16274.1 { if (svResourceLookupMethod == null) { return ""; } try { return (String) svResourceLookupMethod.invoke(resource, (Object[]) null); } catch (Exception ex) { ...
java
private static String getResourceLookup(Resource resource) // F743-16274.1 { if (svResourceLookupMethod == null) { return ""; } try { return (String) svResourceLookupMethod.invoke(resource, (Object[]) null); } catch (Exception ex) { ...
[ "private", "static", "String", "getResourceLookup", "(", "Resource", "resource", ")", "// F743-16274.1", "{", "if", "(", "svResourceLookupMethod", "==", "null", ")", "{", "return", "\"\"", ";", "}", "try", "{", "return", "(", "String", ")", "svResourceLookupMeth...
Returns the result of javax.annotation.Resource.lookup, or the empty string if that method is unavailable in the current JVM. @param resource the resource annotation @return the lookup string or the empty string
[ "Returns", "the", "result", "of", "javax", ".", "annotation", ".", "Resource", ".", "lookup", "or", "the", "empty", "string", "if", "that", "method", "is", "unavailable", "in", "the", "current", "JVM", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java#L82-L96
65,964
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java
ResourceInjectionBinding.setXMLType
private void setXMLType(String typeName, String element, String nameElement, String typeElement) // F743-32443 throws InjectionConfigurationException { if (ivNameSpaceConfig.getClassLoader() == null) { setInjectionClassTypeName(typeName); } else { ...
java
private void setXMLType(String typeName, String element, String nameElement, String typeElement) // F743-32443 throws InjectionConfigurationException { if (ivNameSpaceConfig.getClassLoader() == null) { setInjectionClassTypeName(typeName); } else { ...
[ "private", "void", "setXMLType", "(", "String", "typeName", ",", "String", "element", ",", "String", "nameElement", ",", "String", "typeElement", ")", "// F743-32443", "throws", "InjectionConfigurationException", "{", "if", "(", "ivNameSpaceConfig", ".", "getClassLoad...
Sets the injection type as specified in XML. @param typeName the type name specified in XML @param element the XML ref element @param nameElement the XML name element in the ref element @param typeElement the XML type element in the ref element @throws InjectionConfigurationException
[ "Sets", "the", "injection", "type", "as", "specified", "in", "XML", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java#L1641-L1693
65,965
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java
ResourceInjectionBinding.isEnvEntryTypeCompatible
private boolean isEnvEntryTypeCompatible(Object newType) // F743-32443 { Class<?> curType = getInjectionClassType(); if (curType == null) { return true; } return isClassesCompatible((Class<?>) newType, getInjectionClassType()); }
java
private boolean isEnvEntryTypeCompatible(Object newType) // F743-32443 { Class<?> curType = getInjectionClassType(); if (curType == null) { return true; } return isClassesCompatible((Class<?>) newType, getInjectionClassType()); }
[ "private", "boolean", "isEnvEntryTypeCompatible", "(", "Object", "newType", ")", "// F743-32443", "{", "Class", "<", "?", ">", "curType", "=", "getInjectionClassType", "(", ")", ";", "if", "(", "curType", "==", "null", ")", "{", "return", "true", ";", "}", ...
Checks if the specified type is compatible for merging with the type that has already specified for this binding. @param type a type object returned from {@link #getEnvEntryType}
[ "Checks", "if", "the", "specified", "type", "is", "compatible", "for", "merging", "with", "the", "type", "that", "has", "already", "specified", "for", "this", "binding", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java#L1701-L1710
65,966
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java
ResourceInjectionBinding.setEnvEntryType
public void setEnvEntryType(ResourceImpl annotation, Object type) // F743-32443 throws InjectionException { if (type instanceof String) { setInjectionClassTypeName((String) type); } else { Class<?> classType = (Class<?>) type; annotatio...
java
public void setEnvEntryType(ResourceImpl annotation, Object type) // F743-32443 throws InjectionException { if (type instanceof String) { setInjectionClassTypeName((String) type); } else { Class<?> classType = (Class<?>) type; annotatio...
[ "public", "void", "setEnvEntryType", "(", "ResourceImpl", "annotation", ",", "Object", "type", ")", "// F743-32443", "throws", "InjectionException", "{", "if", "(", "type", "instanceof", "String", ")", "{", "setInjectionClassTypeName", "(", "(", "String", ")", "ty...
Sets the type of this binding. @param annotation the merged data @param type a type object returned from {@link #getEnvEntryType}
[ "Sets", "the", "type", "of", "this", "binding", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java#L1718-L1732
65,967
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java
ResourceInjectionBinding.isEnvEntryType
private boolean isEnvEntryType(Class<?> resolverType) // F743-32443 { Class<?> injectType = getInjectionClassType(); return injectType == null ? resolverType.getName().equals(getInjectionClassTypeName()) : resolverType == injectType; }
java
private boolean isEnvEntryType(Class<?> resolverType) // F743-32443 { Class<?> injectType = getInjectionClassType(); return injectType == null ? resolverType.getName().equals(getInjectionClassTypeName()) : resolverType == injectType; }
[ "private", "boolean", "isEnvEntryType", "(", "Class", "<", "?", ">", "resolverType", ")", "// F743-32443", "{", "Class", "<", "?", ">", "injectType", "=", "getInjectionClassType", "(", ")", ";", "return", "injectType", "==", "null", "?", "resolverType", ".", ...
Checks if the type of this binding is the same as the specified type. @param resolverType the type used for resolving. @return
[ "Checks", "if", "the", "type", "of", "this", "binding", "is", "the", "same", "as", "the", "specified", "type", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ResourceInjectionBinding.java#L1823-L1828
65,968
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.getAllAssets
@Override public List<Asset> getAllAssets() throws IOException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets"); connection.setRequestMethod("GET"); testResponseCode(connection); return JSONAssetConverter.readValues(connection.getI...
java
@Override public List<Asset> getAllAssets() throws IOException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets"); connection.setRequestMethod("GET"); testResponseCode(connection); return JSONAssetConverter.readValues(connection.getI...
[ "@", "Override", "public", "List", "<", "Asset", ">", "getAllAssets", "(", ")", "throws", "IOException", ",", "RequestFailureException", "{", "HttpURLConnection", "connection", "=", "createHttpURLConnectionToMassive", "(", "\"/assets\"", ")", ";", "connection", ".", ...
This method will issue a GET to all of the assets in massive @return A list of all of the assets in Massive @throws IOException @throws RequestFailureException
[ "This", "method", "will", "issue", "a", "GET", "to", "all", "of", "the", "assets", "in", "massive" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L98-L104
65,969
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.createHeadConnection
private HttpURLConnection createHeadConnection(String path) throws IOException { HttpURLConnection connection = createHttpURLConnectionToMassive(path); connection.setRequestMethod("HEAD"); return connection; }
java
private HttpURLConnection createHeadConnection(String path) throws IOException { HttpURLConnection connection = createHttpURLConnectionToMassive(path); connection.setRequestMethod("HEAD"); return connection; }
[ "private", "HttpURLConnection", "createHeadConnection", "(", "String", "path", ")", "throws", "IOException", "{", "HttpURLConnection", "connection", "=", "createHttpURLConnectionToMassive", "(", "path", ")", ";", "connection", ".", "setRequestMethod", "(", "\"HEAD\"", "...
Creates a head request connection to the specified path @param path The relative URL path @return An HttpURLConnection to the specified path @throws IOException If there was a problem creating the connection or URL
[ "Creates", "a", "head", "request", "connection", "to", "the", "specified", "path" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L149-L153
65,970
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.deleteAsset
private void deleteAsset(String id) throws IOException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" + id); connection.setRequestMethod("DELETE"); testResponseCode(conn...
java
private void deleteAsset(String id) throws IOException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" + id); connection.setRequestMethod("DELETE"); testResponseCode(conn...
[ "private", "void", "deleteAsset", "(", "String", "id", ")", "throws", "IOException", ",", "RequestFailureException", "{", "HttpURLConnection", "connection", "=", "createHttpURLConnectionToMassive", "(", "\"/assets/\"", "+", "id", ")", ";", "connection", ".", "setReque...
Deletes an asset with the given ID. Note, this will not delete any attachments associated with the asset. @see #deleteAssetAndAttachments(String) @param id The ID to delete @return <code>true</code> if the delete is successful @throws IOException @throws RequestFailureException
[ "Deletes", "an", "asset", "with", "the", "given", "ID", ".", "Note", "this", "will", "not", "delete", "any", "attachments", "associated", "with", "the", "asset", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L224-L229
65,971
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.writeMultiPart
private void writeMultiPart(final String assetId, final AttachmentSummary attSummary, HttpURLConnection connection) throws IOException, BadVersionException, RequestFailureException { final File fileToWrite = attSummary.getFile(); String boundary = "----------------------...
java
private void writeMultiPart(final String assetId, final AttachmentSummary attSummary, HttpURLConnection connection) throws IOException, BadVersionException, RequestFailureException { final File fileToWrite = attSummary.getFile(); String boundary = "----------------------...
[ "private", "void", "writeMultiPart", "(", "final", "String", "assetId", ",", "final", "AttachmentSummary", "attSummary", ",", "HttpURLConnection", "connection", ")", "throws", "IOException", ",", "BadVersionException", ",", "RequestFailureException", "{", "final", "File...
Adds a new attachment to an asset @param assetId @param name @param attach @return @throws IOException @throws RequestFailureException
[ "Adds", "a", "new", "attachment", "to", "an", "asset" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L374-L437
65,972
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.getAttachment
@Override public InputStream getAttachment(final Asset asset, final Attachment attachment) throws IOException, BadVersionException, RequestFailureException { // accept license for type CONTENT HttpURLConnection connection; if (attachment.getType() == AttachmentType.CONTENT) { co...
java
@Override public InputStream getAttachment(final Asset asset, final Attachment attachment) throws IOException, BadVersionException, RequestFailureException { // accept license for type CONTENT HttpURLConnection connection; if (attachment.getType() == AttachmentType.CONTENT) { co...
[ "@", "Override", "public", "InputStream", "getAttachment", "(", "final", "Asset", "asset", ",", "final", "Attachment", "attachment", ")", "throws", "IOException", ",", "BadVersionException", ",", "RequestFailureException", "{", "// accept license for type CONTENT", "HttpU...
Returns the contents of an attachment @param assetId The ID of the asset owning the attachment @param attachmentId The ID of the attachment @return The input stream for the attachment @throws IOException @throws RequestFailureException
[ "Returns", "the", "contents", "of", "an", "attachment" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L466-L490
65,973
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.getAttachmentMetaData
public Attachment getAttachmentMetaData(String assetId, String attachmentId) throws IOException, BadVersionException, RequestFailureException { // At the moment can only get all attachments Asset ass = getAsset(assetId); List<Attachment> allAttachments = ass.getAttachments(); for (Attach...
java
public Attachment getAttachmentMetaData(String assetId, String attachmentId) throws IOException, BadVersionException, RequestFailureException { // At the moment can only get all attachments Asset ass = getAsset(assetId); List<Attachment> allAttachments = ass.getAttachments(); for (Attach...
[ "public", "Attachment", "getAttachmentMetaData", "(", "String", "assetId", ",", "String", "attachmentId", ")", "throws", "IOException", ",", "BadVersionException", ",", "RequestFailureException", "{", "// At the moment can only get all attachments", "Asset", "ass", "=", "ge...
Returns the meta data about an attachment @param assetId The ID of the asset owning the attachment @param attachmentId The ID of the attachment @return The attachment meta data @throws IOException @throws RequestFailureException
[ "Returns", "the", "meta", "data", "about", "an", "attachment" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L503-L515
65,974
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.deleteAttachment
@Override public void deleteAttachment(final String assetId, final String attachmentId) throws IOException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" + assetId + "/attachments/"...
java
@Override public void deleteAttachment(final String assetId, final String attachmentId) throws IOException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" + assetId + "/attachments/"...
[ "@", "Override", "public", "void", "deleteAttachment", "(", "final", "String", "assetId", ",", "final", "String", "attachmentId", ")", "throws", "IOException", ",", "RequestFailureException", "{", "HttpURLConnection", "connection", "=", "createHttpURLConnectionToMassive",...
Delete an attachment from an asset @param assetId The ID of the asset containing the attachment @param attachmentId The ID of the attachment to delete @return <code>true</code> if the delete was successful @throws IOException @throws RequestFailureException
[ "Delete", "an", "attachment", "from", "an", "asset" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L528-L534
65,975
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.deleteAssetAndAttachments
@Override public void deleteAssetAndAttachments(final String assetId) throws IOException, RequestFailureException { Asset ass = getUnverifiedAsset(assetId); List<Attachment> attachments = ass.getAttachments(); if (attachments != null) { for (Attachment attachment : attachments) {...
java
@Override public void deleteAssetAndAttachments(final String assetId) throws IOException, RequestFailureException { Asset ass = getUnverifiedAsset(assetId); List<Attachment> attachments = ass.getAttachments(); if (attachments != null) { for (Attachment attachment : attachments) {...
[ "@", "Override", "public", "void", "deleteAssetAndAttachments", "(", "final", "String", "assetId", ")", "throws", "IOException", ",", "RequestFailureException", "{", "Asset", "ass", "=", "getUnverifiedAsset", "(", "assetId", ")", ";", "List", "<", "Attachment", ">...
This will delete an asset and all its attachments @param assetId The id of the asset @return <code>true</code> if the asset and all its attachments are deleted. Note this is not atomic so some attachments may be deleted and <code>false</code> returned. @throws IOException @throws RequestFailureException
[ "This", "will", "delete", "an", "asset", "and", "all", "its", "attachments" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L547-L558
65,976
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.getAsset
@Override public Asset getAsset(final String assetId) throws IOException, BadVersionException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" + assetId); connection.setReques...
java
@Override public Asset getAsset(final String assetId) throws IOException, BadVersionException, RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" + assetId); connection.setReques...
[ "@", "Override", "public", "Asset", "getAsset", "(", "final", "String", "assetId", ")", "throws", "IOException", ",", "BadVersionException", ",", "RequestFailureException", "{", "HttpURLConnection", "connection", "=", "createHttpURLConnectionToMassive", "(", "\"/assets/\"...
Gets a single asset @param assetId The ID of the asset to obtain @return The Asset @throws IOException @throws RequestFailureException
[ "Gets", "a", "single", "asset" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L569-L576
65,977
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.updateState
@Override public void updateState(final String assetId, final StateAction action) throws IOException, RequestFailureException { StateUpdateAction newState = new StateUpdateAction(action); HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" ...
java
@Override public void updateState(final String assetId, final StateAction action) throws IOException, RequestFailureException { StateUpdateAction newState = new StateUpdateAction(action); HttpURLConnection connection = createHttpURLConnectionToMassive("/assets/" ...
[ "@", "Override", "public", "void", "updateState", "(", "final", "String", "assetId", ",", "final", "StateAction", "action", ")", "throws", "IOException", ",", "RequestFailureException", "{", "StateUpdateAction", "newState", "=", "new", "StateUpdateAction", "(", "act...
This method will update the state of an object by taking the supplied action. @param assetId The ID of the asset to update @param action The action to take to modify the state @return <code>true</code> if the update was successful (currently always returns <code>true</code> from Massive) @throws IOException @throws Re...
[ "This", "method", "will", "update", "the", "state", "of", "an", "object", "by", "taking", "the", "supplied", "action", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L609-L621
65,978
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.createURL
private URL createURL(final String urlString) throws MalformedURLException { URL url; try { url = AccessController.doPrivileged(new PrivilegedExceptionAction<URL>() { @Override public URL run() throws MalformedURLException { return new UR...
java
private URL createURL(final String urlString) throws MalformedURLException { URL url; try { url = AccessController.doPrivileged(new PrivilegedExceptionAction<URL>() { @Override public URL run() throws MalformedURLException { return new UR...
[ "private", "URL", "createURL", "(", "final", "String", "urlString", ")", "throws", "MalformedURLException", "{", "URL", "url", ";", "try", "{", "url", "=", "AccessController", ".", "doPrivileged", "(", "new", "PrivilegedExceptionAction", "<", "URL", ">", "(", ...
Create a URL in a doPriv @param urlString @return @throws MalformedURLException
[ "Create", "a", "URL", "in", "a", "doPriv" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L662-L678
65,979
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.updateAttachment
@Override public Attachment updateAttachment(String assetId, AttachmentSummary summary) throws IOException, BadVersionException, RequestFailureException { // First find the attachment to update Asset ass = getAsset(assetId); List<Attachment> attachments = ass.getAttachments(); if (a...
java
@Override public Attachment updateAttachment(String assetId, AttachmentSummary summary) throws IOException, BadVersionException, RequestFailureException { // First find the attachment to update Asset ass = getAsset(assetId); List<Attachment> attachments = ass.getAttachments(); if (a...
[ "@", "Override", "public", "Attachment", "updateAttachment", "(", "String", "assetId", ",", "AttachmentSummary", "summary", ")", "throws", "IOException", ",", "BadVersionException", ",", "RequestFailureException", "{", "// First find the attachment to update", "Asset", "ass...
This method will update an existing attachment on an asset. Note that Massive currently doesn't support update attachment so this will do a delete and an add. @param assetId The ID of the asset that the attachment is attached to @param name The name of the attachment to update @param file The file to attach @param att...
[ "This", "method", "will", "update", "an", "existing", "attachment", "on", "an", "asset", ".", "Note", "that", "Massive", "currently", "doesn", "t", "support", "update", "attachment", "so", "this", "will", "do", "a", "delete", "and", "an", "add", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L774-L789
65,980
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.clearInputStream
private void clearInputStream(HttpURLConnection conn) { InputStream is = null; byte[] buffer = new byte[1024]; try { is = conn.getInputStream(); while (is.read(buffer) != -1) { continue; } } catch (IOException e) { // Don't ...
java
private void clearInputStream(HttpURLConnection conn) { InputStream is = null; byte[] buffer = new byte[1024]; try { is = conn.getInputStream(); while (is.read(buffer) != -1) { continue; } } catch (IOException e) { // Don't ...
[ "private", "void", "clearInputStream", "(", "HttpURLConnection", "conn", ")", "{", "InputStream", "is", "=", "null", ";", "byte", "[", "]", "buffer", "=", "new", "byte", "[", "1024", "]", ";", "try", "{", "is", "=", "conn", ".", "getInputStream", "(", ...
Read the input stream from the connection, throw it away and close the connection, swallow all exceptions. @param conn
[ "Read", "the", "input", "stream", "from", "the", "connection", "throw", "it", "away", "and", "close", "the", "connection", "swallow", "all", "exceptions", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L967-L986
65,981
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.getCharset
public static String getCharset(final String contentType) { // Default to UTF-8 String charset = "UTF-8"; try { // Content type is in the form: // Content-Type: text/html; charset=utf-8 // Where they can be lots of params separated by ; characters ...
java
public static String getCharset(final String contentType) { // Default to UTF-8 String charset = "UTF-8"; try { // Content type is in the form: // Content-Type: text/html; charset=utf-8 // Where they can be lots of params separated by ; characters ...
[ "public", "static", "String", "getCharset", "(", "final", "String", "contentType", ")", "{", "// Default to UTF-8", "String", "charset", "=", "\"UTF-8\"", ";", "try", "{", "// Content type is in the form:", "// Content-Type: text/html; charset=utf-8", "// Where they can be lo...
Utility method to get the charset from a url connection's content type @return The charset name
[ "Utility", "method", "to", "get", "the", "charset", "from", "a", "url", "connection", "s", "content", "type" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L993-L1022
65,982
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java
RestClient.parseErrorObject
private String parseErrorObject(String errorObject) { if (errorObject == null) { return null; } try { // Just use JsonObject parse directly instead of DataModelSerializer as we only want one attribute InputStream inputStream = new ByteArrayInputStream(errorObj...
java
private String parseErrorObject(String errorObject) { if (errorObject == null) { return null; } try { // Just use JsonObject parse directly instead of DataModelSerializer as we only want one attribute InputStream inputStream = new ByteArrayInputStream(errorObj...
[ "private", "String", "parseErrorObject", "(", "String", "errorObject", ")", "{", "if", "(", "errorObject", "==", "null", ")", "{", "return", "null", ";", "}", "try", "{", "// Just use JsonObject parse directly instead of DataModelSerializer as we only want one attribute", ...
This treats the supplied string as a JSON object and looks for the message attribute inside it. If it is not valid JSON or does not contain a message the original string is returned. @param errorObject @return
[ "This", "treats", "the", "supplied", "string", "as", "a", "JSON", "object", "and", "looks", "for", "the", "message", "attribute", "inside", "it", ".", "If", "it", "is", "not", "valid", "JSON", "or", "does", "not", "contain", "a", "message", "the", "origi...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/RestClient.java#L1031-L1050
65,983
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java
JSONAssetConverter.writeValue
public static void writeValue(OutputStream stream, Object pojo) throws IOException { DataModelSerializer.serializeAsStream(pojo, stream); }
java
public static void writeValue(OutputStream stream, Object pojo) throws IOException { DataModelSerializer.serializeAsStream(pojo, stream); }
[ "public", "static", "void", "writeValue", "(", "OutputStream", "stream", ",", "Object", "pojo", ")", "throws", "IOException", "{", "DataModelSerializer", ".", "serializeAsStream", "(", "pojo", ",", "stream", ")", ";", "}" ]
Write a JSON representation of the asset to a stream @param stream The stream to write to @param pojo The asset to write @throws IOException
[ "Write", "a", "JSON", "representation", "of", "the", "asset", "to", "a", "stream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java#L36-L38
65,984
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java
JSONAssetConverter.readValues
public static List<Asset> readValues(InputStream inputStream) throws IOException { return DataModelSerializer.deserializeList(inputStream, Asset.class); }
java
public static List<Asset> readValues(InputStream inputStream) throws IOException { return DataModelSerializer.deserializeList(inputStream, Asset.class); }
[ "public", "static", "List", "<", "Asset", ">", "readValues", "(", "InputStream", "inputStream", ")", "throws", "IOException", "{", "return", "DataModelSerializer", ".", "deserializeList", "(", "inputStream", ",", "Asset", ".", "class", ")", ";", "}" ]
Read a list of assets from an input stream @param inputStream The stream to read from @return The list of assets @throws IOException
[ "Read", "a", "list", "of", "assets", "from", "an", "input", "stream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java#L61-L63
65,985
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java
JSONAssetConverter.readValue
public static Asset readValue(InputStream inputStream) throws IOException, BadVersionException { return DataModelSerializer.deserializeObject(inputStream, Asset.class); }
java
public static Asset readValue(InputStream inputStream) throws IOException, BadVersionException { return DataModelSerializer.deserializeObject(inputStream, Asset.class); }
[ "public", "static", "Asset", "readValue", "(", "InputStream", "inputStream", ")", "throws", "IOException", ",", "BadVersionException", "{", "return", "DataModelSerializer", ".", "deserializeObject", "(", "inputStream", ",", "Asset", ".", "class", ")", ";", "}" ]
Read a single assets from an input stream @param inputStream The stream to read from @return The list of assets @throws IOException @throws BadVersionException
[ "Read", "a", "single", "assets", "from", "an", "input", "stream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java#L74-L76
65,986
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java
JSONAssetConverter.readValue
public static <T> T readValue(InputStream inputStream, Class<T> type) throws IOException, BadVersionException { return DataModelSerializer.deserializeObject(inputStream, type); }
java
public static <T> T readValue(InputStream inputStream, Class<T> type) throws IOException, BadVersionException { return DataModelSerializer.deserializeObject(inputStream, type); }
[ "public", "static", "<", "T", ">", "T", "readValue", "(", "InputStream", "inputStream", ",", "Class", "<", "T", ">", "type", ")", "throws", "IOException", ",", "BadVersionException", "{", "return", "DataModelSerializer", ".", "deserializeObject", "(", "inputStre...
Reads in a single object from a JSON input stream @param inputStream The input stream containing the JSON object @param type The type of the object to be read from the stream @return The object @throws IOException
[ "Reads", "in", "a", "single", "object", "from", "a", "JSON", "input", "stream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java#L100-L102
65,987
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java
JSONAssetConverter.readValues
public static <T> List<T> readValues(InputStream inputStream, Class<T> type) throws IOException { return DataModelSerializer.deserializeList(inputStream, type); }
java
public static <T> List<T> readValues(InputStream inputStream, Class<T> type) throws IOException { return DataModelSerializer.deserializeList(inputStream, type); }
[ "public", "static", "<", "T", ">", "List", "<", "T", ">", "readValues", "(", "InputStream", "inputStream", ",", "Class", "<", "T", ">", "type", ")", "throws", "IOException", "{", "return", "DataModelSerializer", ".", "deserializeList", "(", "inputStream", ",...
Reads in a list of objects from a JSON input stream @param inputStream The input stream containing the JSON array of objects @param type The type of the object in the array to be read from the stream @return The list of objects @throws IOException
[ "Reads", "in", "a", "list", "of", "objects", "from", "a", "JSON", "input", "stream" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/transport/client/JSONAssetConverter.java#L112-L114
65,988
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java
NameUtil.getHomeBeanClassName
public static String getHomeBeanClassName(EnterpriseBean enterpriseBean, boolean isPost11DD) // d114199 { String packageName = null; String homeInterfaceName = getHomeInterfaceName(enterpriseBean); // LIDB2281.24.2 made several changes to code below, to accommodate case // where ne...
java
public static String getHomeBeanClassName(EnterpriseBean enterpriseBean, boolean isPost11DD) // d114199 { String packageName = null; String homeInterfaceName = getHomeInterfaceName(enterpriseBean); // LIDB2281.24.2 made several changes to code below, to accommodate case // where ne...
[ "public", "static", "String", "getHomeBeanClassName", "(", "EnterpriseBean", "enterpriseBean", ",", "boolean", "isPost11DD", ")", "// d114199", "{", "String", "packageName", "=", "null", ";", "String", "homeInterfaceName", "=", "getHomeInterfaceName", "(", "enterpriseBe...
Return the name of the deployed home bean class. Assumption here is the package name of the local and remote interfaces are the same. This method uses the last package name found in either the remote or local interface, if one or the other exist. If neither is found, null is returned. @param enterpriseBean WCCM object...
[ "Return", "the", "name", "of", "the", "deployed", "home", "bean", "class", ".", "Assumption", "here", "is", "the", "package", "name", "of", "the", "local", "and", "remote", "interfaces", "are", "the", "same", ".", "This", "method", "uses", "the", "last", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java#L367-L399
65,989
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java
NameUtil.getConcreteBeanClassName
public static String getConcreteBeanClassName(EnterpriseBean enterpriseBean) { String beanClassName = enterpriseBean.getEjbClassName(); String packageName = packageName(beanClassName); String beanName = encodeBeanInterfacesName(enterpriseBean, true, false, false, false); // d147734 ...
java
public static String getConcreteBeanClassName(EnterpriseBean enterpriseBean) { String beanClassName = enterpriseBean.getEjbClassName(); String packageName = packageName(beanClassName); String beanName = encodeBeanInterfacesName(enterpriseBean, true, false, false, false); // d147734 ...
[ "public", "static", "String", "getConcreteBeanClassName", "(", "EnterpriseBean", "enterpriseBean", ")", "{", "String", "beanClassName", "=", "enterpriseBean", ".", "getEjbClassName", "(", ")", ";", "String", "packageName", "=", "packageName", "(", "beanClassName", ")"...
f110762.2
[ "f110762", ".", "2" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java#L408-L425
65,990
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java
NameUtil.updateFilenameHashCode
public static final String updateFilenameHashCode(EnterpriseBean enterpriseBean, String oldName) { String newName = null; int len = oldName.length(); int last_ = (len > 9 && (oldName.charAt(len - 9) == '_')) ? len - 9 : -1; // input file name must have a trailing "_" follows by 8 hex...
java
public static final String updateFilenameHashCode(EnterpriseBean enterpriseBean, String oldName) { String newName = null; int len = oldName.length(); int last_ = (len > 9 && (oldName.charAt(len - 9) == '_')) ? len - 9 : -1; // input file name must have a trailing "_" follows by 8 hex...
[ "public", "static", "final", "String", "updateFilenameHashCode", "(", "EnterpriseBean", "enterpriseBean", ",", "String", "oldName", ")", "{", "String", "newName", "=", "null", ";", "int", "len", "=", "oldName", ".", "length", "(", ")", ";", "int", "last_", "...
Attempts to find the new file name originated from input oldName using the the new modified BuzzHash algorithm. This method detects if the oldName contains a valid trailing hashcode and try to compute the new one. If the oldName has no valid hashcode in the input name, null is return. For ease of invocation regardless ...
[ "Attempts", "to", "find", "the", "new", "file", "name", "originated", "from", "input", "oldName", "using", "the", "the", "new", "modified", "BuzzHash", "algorithm", ".", "This", "method", "detects", "if", "the", "oldName", "contains", "a", "valid", "trailing",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java#L746-L759
65,991
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java
NameUtil.getWebServiceEndpointProxyClassName
public String getWebServiceEndpointProxyClassName() { StringBuilder result = new StringBuilder(); // Use the package of the EJB implementation. String packageName = packageName(ivBeanClass); if (packageName != null) { result.append(packageName); result.appen...
java
public String getWebServiceEndpointProxyClassName() { StringBuilder result = new StringBuilder(); // Use the package of the EJB implementation. String packageName = packageName(ivBeanClass); if (packageName != null) { result.append(packageName); result.appen...
[ "public", "String", "getWebServiceEndpointProxyClassName", "(", ")", "{", "StringBuilder", "result", "=", "new", "StringBuilder", "(", ")", ";", "// Use the package of the EJB implementation.", "String", "packageName", "=", "packageName", "(", "ivBeanClass", ")", ";", "...
LI3294-35 d497921
[ "LI3294", "-", "35", "d497921" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/NameUtil.java#L1560-L1579
65,992
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalInputStreamManager.java
InternalInputStreamManager.processMessage
public void processMessage(JsMessage jsMsg) throws SIResourceException { if (tc.isEntryEnabled()) SibTr.entry(tc, "processMessage", new Object[] { jsMsg }); int priority = jsMsg.getPriority().intValue(); Reliability reliability = jsMsg.getReliability(); SIBUuid12 streamID = js...
java
public void processMessage(JsMessage jsMsg) throws SIResourceException { if (tc.isEntryEnabled()) SibTr.entry(tc, "processMessage", new Object[] { jsMsg }); int priority = jsMsg.getPriority().intValue(); Reliability reliability = jsMsg.getReliability(); SIBUuid12 streamID = js...
[ "public", "void", "processMessage", "(", "JsMessage", "jsMsg", ")", "throws", "SIResourceException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"processMessage\"", ",", "new", "Object", "[", "]", "{...
This method creates a Stream if this is the first inbound message which has been sent to remote Mes @param jsMsg @throws SIResourceException @throws SICoreException
[ "This", "method", "creates", "a", "Stream", "if", "this", "is", "the", "first", "inbound", "message", "which", "has", "been", "sent", "to", "remote", "Mes" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/InternalInputStreamManager.java#L106-L132
65,993
OpenLiberty/open-liberty
dev/com.ibm.ws.request.probes/src/com/ibm/ws/request/probe/RequestProbeIntrospector.java
RequestProbeIntrospector.activeRequestIntropectors
private void activeRequestIntropectors(PrintWriter writer) { writer.println("\n------------------------------------------------------------------------------"); writer.println(" Active Requests"); writer.println("----------------------------------------------------------------...
java
private void activeRequestIntropectors(PrintWriter writer) { writer.println("\n------------------------------------------------------------------------------"); writer.println(" Active Requests"); writer.println("----------------------------------------------------------------...
[ "private", "void", "activeRequestIntropectors", "(", "PrintWriter", "writer", ")", "{", "writer", ".", "println", "(", "\"\\n------------------------------------------------------------------------------\"", ")", ";", "writer", ".", "println", "(", "\" Active Reque...
This method will dump all the active request, thread id and their duration in tabular format. In addition will dump the RequestContext @param writer
[ "This", "method", "will", "dump", "all", "the", "active", "request", "thread", "id", "and", "their", "duration", "in", "tabular", "format", ".", "In", "addition", "will", "dump", "the", "RequestContext" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.request.probes/src/com/ibm/ws/request/probe/RequestProbeIntrospector.java#L85-L128
65,994
OpenLiberty/open-liberty
dev/com.ibm.ws.request.probes/src/com/ibm/ws/request/probe/RequestProbeIntrospector.java
RequestProbeIntrospector.transformDescriptorIntrospectors
private void transformDescriptorIntrospectors(PrintWriter writer) { Map<String, RequestProbeTransformDescriptor> registeredTransformDescriptors = RequestProbeBCIManagerImpl.getRequestProbeTransformDescriptors(); List<String> transformDescriptorRefs = new ArrayList<String>() {{add("Transform Descr...
java
private void transformDescriptorIntrospectors(PrintWriter writer) { Map<String, RequestProbeTransformDescriptor> registeredTransformDescriptors = RequestProbeBCIManagerImpl.getRequestProbeTransformDescriptors(); List<String> transformDescriptorRefs = new ArrayList<String>() {{add("Transform Descr...
[ "private", "void", "transformDescriptorIntrospectors", "(", "PrintWriter", "writer", ")", "{", "Map", "<", "String", ",", "RequestProbeTransformDescriptor", ">", "registeredTransformDescriptors", "=", "RequestProbeBCIManagerImpl", ".", "getRequestProbeTransformDescriptors", "("...
This method will dump all registered transform descriptors. It includes className, methodName and description @param writer
[ "This", "method", "will", "dump", "all", "registered", "transform", "descriptors", ".", "It", "includes", "className", "methodName", "and", "description" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.request.probes/src/com/ibm/ws/request/probe/RequestProbeIntrospector.java#L134-L172
65,995
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/ProbeClassFileTransformer.java
ProbeClassFileTransformer.instrumentWithProbes
public void instrumentWithProbes(Collection<Class<?>> classes) { for (Class<?> clazz : classes) { try { instrumentation.retransformClasses(clazz); } catch (Throwable t) { } } }
java
public void instrumentWithProbes(Collection<Class<?>> classes) { for (Class<?> clazz : classes) { try { instrumentation.retransformClasses(clazz); } catch (Throwable t) { } } }
[ "public", "void", "instrumentWithProbes", "(", "Collection", "<", "Class", "<", "?", ">", ">", "classes", ")", "{", "for", "(", "Class", "<", "?", ">", "clazz", ":", "classes", ")", "{", "try", "{", "instrumentation", ".", "retransformClasses", "(", "cla...
Instrument the provided classes with the appropriate probes. @param classes target classes to process
[ "Instrument", "the", "provided", "classes", "with", "the", "appropriate", "probes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/ProbeClassFileTransformer.java#L88-L95
65,996
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMessageHandleFactoryImpl.java
JsMessageHandleFactoryImpl.createJsMessageHandle
public final JsMessageHandle createJsMessageHandle(SIBUuid8 uuid ,long value ) throws NullPointerException { if (uuid == null) { throw new NullPointe...
java
public final JsMessageHandle createJsMessageHandle(SIBUuid8 uuid ,long value ) throws NullPointerException { if (uuid == null) { throw new NullPointe...
[ "public", "final", "JsMessageHandle", "createJsMessageHandle", "(", "SIBUuid8", "uuid", ",", "long", "value", ")", "throws", "NullPointerException", "{", "if", "(", "uuid", "==", "null", ")", "{", "throw", "new", "NullPointerException", "(", "\"uuid\"", ")", ";"...
Create a new JsMessageHandle to represent an SIBusMessage. @param destinationName The name of the SIBus Destination @param localOnly Indicates that the Destination should be localized to the local Messaging Engine. @return JsMessageHandle The new JsMessageHandle. @exception NullPointerException Thrown if eit...
[ "Create", "a", "new", "JsMessageHandle", "to", "represent", "an", "SIBusMessage", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMessageHandleFactoryImpl.java#L47-L56
65,997
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java
BeanO.getCallerPrincipal
@Override public Principal getCallerPrincipal() { EJBSecurityCollaborator<?> securityCollaborator = container.ivSecurityCollaborator; if (securityCollaborator == null) { return NullSecurityCollaborator.UNAUTHENTICATED; } return getCallerPrincipal(securityColl...
java
@Override public Principal getCallerPrincipal() { EJBSecurityCollaborator<?> securityCollaborator = container.ivSecurityCollaborator; if (securityCollaborator == null) { return NullSecurityCollaborator.UNAUTHENTICATED; } return getCallerPrincipal(securityColl...
[ "@", "Override", "public", "Principal", "getCallerPrincipal", "(", ")", "{", "EJBSecurityCollaborator", "<", "?", ">", "securityCollaborator", "=", "container", ".", "ivSecurityCollaborator", ";", "if", "(", "securityCollaborator", "==", "null", ")", "{", "return", ...
Not implemented yet
[ "Not", "implemented", "yet" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java#L701-L711
65,998
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java
BeanO.getHandleList
HandleList getHandleList(boolean create) // d662032 { if (connectionHandleList == null && create) { connectionHandleList = new HandleList(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "getHandleList: created " + connectionHan...
java
HandleList getHandleList(boolean create) // d662032 { if (connectionHandleList == null && create) { connectionHandleList = new HandleList(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "getHandleList: created " + connectionHan...
[ "HandleList", "getHandleList", "(", "boolean", "create", ")", "// d662032", "{", "if", "(", "connectionHandleList", "==", "null", "&&", "create", ")", "{", "connectionHandleList", "=", "new", "HandleList", "(", ")", ";", "if", "(", "TraceComponent", ".", "isAn...
Gets the handle list associated with this bean, optionally creating one if the bean does not have a handle list yet. @param create true if a handle list should be created if the bean does not already have a handle list
[ "Gets", "the", "handle", "list", "associated", "with", "this", "bean", "optionally", "creating", "one", "if", "the", "bean", "does", "not", "have", "a", "handle", "list", "yet", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java#L1764-L1774
65,999
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java
BeanO.reAssociateHandleList
HandleListInterface reAssociateHandleList() // d662032 throws CSIException { HandleListInterface hl; if (connectionHandleList == null) { hl = HandleListProxy.INSTANCE; } else { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled(...
java
HandleListInterface reAssociateHandleList() // d662032 throws CSIException { HandleListInterface hl; if (connectionHandleList == null) { hl = HandleListProxy.INSTANCE; } else { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled(...
[ "HandleListInterface", "reAssociateHandleList", "(", ")", "// d662032", "throws", "CSIException", "{", "HandleListInterface", "hl", ";", "if", "(", "connectionHandleList", "==", "null", ")", "{", "hl", "=", "HandleListProxy", ".", "INSTANCE", ";", "}", "else", "{"...
Reassociates handles in the handle list associated with this bean, and returns a handle list to be pushed onto the thread handle list stack. @return the handle list to push onto the thread stack
[ "Reassociates", "handles", "in", "the", "handle", "list", "associated", "with", "this", "bean", "and", "returns", "a", "handle", "list", "to", "be", "pushed", "onto", "the", "thread", "handle", "list", "stack", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java#L1782-L1807