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
111,400
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java
ConsumerSessionProxy.close
public void close() throws SIResourceException, SIConnectionLostException, SIErrorException, SIConnectionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close"); close(false); if (TraceComponent.isAnyTracingEnabled() && t...
java
public void close() throws SIResourceException, SIConnectionLostException, SIErrorException, SIConnectionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close"); close(false); if (TraceComponent.isAnyTracingEnabled() && t...
[ "public", "void", "close", "(", ")", "throws", "SIResourceException", ",", "SIConnectionLostException", ",", "SIErrorException", ",", "SIConnectionDroppedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabl...
Closes the ConsumerSession. Any subsequent attempt to call methods on the ConsumerSession will be ignored. @throws com.ibm.websphere.sib.exception.SIResourceException @throws com.ibm.wsspi.sib.core.exception.SIConnectionLostException @throws com.ibm.websphere.sib.exception.SIErrorException @throws com.ibm.wsspi.sib.co...
[ "Closes", "the", "ConsumerSession", ".", "Any", "subsequent", "attempt", "to", "call", "methods", "on", "the", "ConsumerSession", "will", "be", "ignored", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java#L1079-L1086
111,401
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java
ConsumerSessionProxy._deleteSet
private void _deleteSet(SIMessageHandle[] msgHandles, SITransaction tran) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SILimitExceededException, ...
java
private void _deleteSet(SIMessageHandle[] msgHandles, SITransaction tran) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SILimitExceededException, ...
[ "private", "void", "_deleteSet", "(", "SIMessageHandle", "[", "]", "msgHandles", ",", "SITransaction", "tran", ")", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIConnectionDroppedException", ",", ...
Used to delete a set of messages. @param msgHandles @param tran
[ "Used", "to", "delete", "a", "set", "of", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java#L1581-L1631
111,402
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java
ConsumerSessionProxy.activateAsynchConsumer
public void activateAsynchConsumer(boolean deliveryImmediately) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIErrorException { if (Tr...
java
public void activateAsynchConsumer(boolean deliveryImmediately) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIErrorException { if (Tr...
[ "public", "void", "activateAsynchConsumer", "(", "boolean", "deliveryImmediately", ")", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIConnectionDroppedException", ",", "SIResourceException", ",", "SIC...
This method is designed to drive an async consumer once and once only if it can be driven. However, this is not supported remotely and so calling this method will result in an SICommsException. @param deliveryImmediately @throws SISessionUnavailableException @throws SISessionDroppedException @throws SIConnectionUnava...
[ "This", "method", "is", "designed", "to", "drive", "an", "async", "consumer", "once", "and", "once", "only", "if", "it", "can", "be", "driven", ".", "However", "this", "is", "not", "supported", "remotely", "and", "so", "calling", "this", "method", "will", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java#L2117-L2130
111,403
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java
ConsumerSessionProxy.getId
public long getId() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getId"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getId", ""+messageProcessorId); return messageProcessorId; }
java
public long getId() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getId"); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getId", ""+messageProcessorId); return messageProcessorId; }
[ "public", "long", "getId", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getId\"", ")", ";", "if", "(", "Trac...
This method returns the id for this consumer session that was assigned to it by the message processor on the server. This is needed when creating a bifurcated consumer session. @return Returns the id.
[ "This", "method", "returns", "the", "id", "for", "this", "consumer", "session", "that", "was", "assigned", "to", "it", "by", "the", "message", "processor", "on", "the", "server", ".", "This", "is", "needed", "when", "creating", "a", "bifurcated", "consumer",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java#L2138-L2143
111,404
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java
ConsumerSessionProxy.deliverAsyncException
public void deliverAsyncException(Throwable e) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "deliverAsyncException", e); if (proxyQueue != null) { proxyQueue.deliverException(e); } else { if (TraceComponent.isAnyTracin...
java
public void deliverAsyncException(Throwable e) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "deliverAsyncException", e); if (proxyQueue != null) { proxyQueue.deliverException(e); } else { if (TraceComponent.isAnyTracin...
[ "public", "void", "deliverAsyncException", "(", "Throwable", "e", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"deliverA...
This method is used when an asynchronous exception occurs and we want to send a message to any associated exception listeners on this connection. @param e The exception
[ "This", "method", "is", "used", "when", "an", "asynchronous", "exception", "occurs", "and", "we", "want", "to", "send", "a", "message", "to", "any", "associated", "exception", "listeners", "on", "this", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ConsumerSessionProxy.java#L2152-L2166
111,405
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/AbstractTrace.java
AbstractTrace.setLevel
protected final void setLevel(int traceLevel) { switch (traceLevel) { case Trace.Level_All: debugEnabled = true; eventEnabled = true; entryEnabled = true; break; case Trace.Level_Entry: debugEnabled = false...
java
protected final void setLevel(int traceLevel) { switch (traceLevel) { case Trace.Level_All: debugEnabled = true; eventEnabled = true; entryEnabled = true; break; case Trace.Level_Entry: debugEnabled = false...
[ "protected", "final", "void", "setLevel", "(", "int", "traceLevel", ")", "{", "switch", "(", "traceLevel", ")", "{", "case", "Trace", ".", "Level_All", ":", "debugEnabled", "=", "true", ";", "eventEnabled", "=", "true", ";", "entryEnabled", "=", "true", ";...
Enable tracing of this component. @param traceLevel levels to be turned on.
[ "Enable", "tracing", "of", "this", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/AbstractTrace.java#L50-L86
111,406
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/internal/ControllerAutoSchedule.java
ControllerAutoSchedule.afterCompletion
@Override public void afterCompletion(int status) { if (status == Status.STATUS_COMMITTED) controller.notifyOfTaskAssignment(partitionId, taskId, expectedExecTime, binaryFlags, txTimeout); }
java
@Override public void afterCompletion(int status) { if (status == Status.STATUS_COMMITTED) controller.notifyOfTaskAssignment(partitionId, taskId, expectedExecTime, binaryFlags, txTimeout); }
[ "@", "Override", "public", "void", "afterCompletion", "(", "int", "status", ")", "{", "if", "(", "status", "==", "Status", ".", "STATUS_COMMITTED", ")", "controller", ".", "notifyOfTaskAssignment", "(", "partitionId", ",", "taskId", ",", "expectedExecTime", ",",...
Upon successful transaction commit, automatically schedules a task via the controller. @see javax.transaction.Synchronization#afterCompletion(int)
[ "Upon", "successful", "transaction", "commit", "automatically", "schedules", "a", "task", "via", "the", "controller", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/internal/ControllerAutoSchedule.java#L47-L51
111,407
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/internal/Utils.java
Utils.appendState
public static final void appendState(StringBuilder sb, short bits) { // These 3 states are mutually exclusive. if ((bits & TaskState.SCHEDULED.bit) != 0) sb.append(TaskState.SCHEDULED.name()).append(','); if ((bits & TaskState.ENDED.bit) != 0) sb.append(TaskState.ENDED.na...
java
public static final void appendState(StringBuilder sb, short bits) { // These 3 states are mutually exclusive. if ((bits & TaskState.SCHEDULED.bit) != 0) sb.append(TaskState.SCHEDULED.name()).append(','); if ((bits & TaskState.ENDED.bit) != 0) sb.append(TaskState.ENDED.na...
[ "public", "static", "final", "void", "appendState", "(", "StringBuilder", "sb", ",", "short", "bits", ")", "{", "// These 3 states are mutually exclusive.", "if", "(", "(", "bits", "&", "TaskState", ".", "SCHEDULED", ".", "bit", ")", "!=", "0", ")", "sb", "....
Prints a state. @param sb buffer for output. @param bits state bits. @return the buffer
[ "Prints", "a", "state", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/internal/Utils.java#L80-L101
111,408
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/internal/Utils.java
Utils.normalizeString
@Trivial public static final String normalizeString(String str) { return (str == null || str.length() == 0) ? " " : str; }
java
@Trivial public static final String normalizeString(String str) { return (str == null || str.length() == 0) ? " " : str; }
[ "@", "Trivial", "public", "static", "final", "String", "normalizeString", "(", "String", "str", ")", "{", "return", "(", "str", "==", "null", "||", "str", ".", "length", "(", ")", "==", "0", ")", "?", "\" \"", ":", "str", ";", "}" ]
Normalizes an empty or a null string into a space string. @param str The string to normalize. @return The normalized string.
[ "Normalizes", "an", "empty", "or", "a", "null", "string", "into", "a", "space", "string", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/internal/Utils.java#L127-L130
111,409
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java
RepositoryConnectionList.findMatchingEsas
@SuppressWarnings("unchecked") public Collection<EsaResource> findMatchingEsas(String searchString, ProductDefinition definition, Visibility visible) throws RepositoryException { Collection<? extends Repo...
java
@SuppressWarnings("unchecked") public Collection<EsaResource> findMatchingEsas(String searchString, ProductDefinition definition, Visibility visible) throws RepositoryException { Collection<? extends Repo...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "Collection", "<", "EsaResource", ">", "findMatchingEsas", "(", "String", "searchString", ",", "ProductDefinition", "definition", ",", "Visibility", "visible", ")", "throws", "RepositoryException", "{", "Co...
Find the features that match the supplied search string, ProductDefinition and Visibility @param searchString @param definition @param visible @return a collection of matching feature resources @throws RepositoryException
[ "Find", "the", "features", "that", "match", "the", "supplied", "search", "string", "ProductDefinition", "and", "Visibility" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java#L157-L163
111,410
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java
RepositoryConnectionList.getMatchingAddons
public Collection<ProductResource> getMatchingAddons(ProductDefinition definition) throws RepositoryBackendException { @SuppressWarnings("unchecked") Collection<ProductResourceImpl> addonList = (Collection<ProductResourceImpl>) getAllResources(ResourceType.ADDON); Collection<ProductResource> mat...
java
public Collection<ProductResource> getMatchingAddons(ProductDefinition definition) throws RepositoryBackendException { @SuppressWarnings("unchecked") Collection<ProductResourceImpl> addonList = (Collection<ProductResourceImpl>) getAllResources(ResourceType.ADDON); Collection<ProductResource> mat...
[ "public", "Collection", "<", "ProductResource", ">", "getMatchingAddons", "(", "ProductDefinition", "definition", ")", "throws", "RepositoryBackendException", "{", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "Collection", "<", "ProductResourceImpl", ">", "addonLis...
This will obtain the addons from the repository that match the specified product definition @param definition The product definition to match against @return Returns a Collection of {@link ProductResourceImpl} objects that represent the addons that match the product definition supplied @throws RepositoryBackendExcepti...
[ "This", "will", "obtain", "the", "addons", "from", "the", "repository", "that", "match", "the", "specified", "product", "definition" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java#L202-L212
111,411
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java
RepositoryConnectionList.getMatchingResources
public Collection<RepositoryResource> getMatchingResources(final FilterPredicate... predicates) throws RepositoryBackendException { Collection<RepositoryResource> resources = cycleThroughRepositories(new RepositoryInvoker<RepositoryResource>() { @Override public Collection<RepositoryReso...
java
public Collection<RepositoryResource> getMatchingResources(final FilterPredicate... predicates) throws RepositoryBackendException { Collection<RepositoryResource> resources = cycleThroughRepositories(new RepositoryInvoker<RepositoryResource>() { @Override public Collection<RepositoryReso...
[ "public", "Collection", "<", "RepositoryResource", ">", "getMatchingResources", "(", "final", "FilterPredicate", "...", "predicates", ")", "throws", "RepositoryBackendException", "{", "Collection", "<", "RepositoryResource", ">", "resources", "=", "cycleThroughRepositories"...
Returns all resources which match the supplied set of FilterPredicate objects.
[ "Returns", "all", "resources", "which", "match", "the", "supplied", "set", "of", "FilterPredicate", "objects", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java#L273-L281
111,412
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java
RepositoryConnectionList.getAllResourcesWithDupes
public Collection<? extends RepositoryResource> getAllResourcesWithDupes() throws RepositoryBackendException { Collection<RepositoryResource> resources = cycleThroughRepositoriesWithDupes(new RepositoryInvoker<RepositoryResource>() { @SuppressWarnings("unchecked") @Override p...
java
public Collection<? extends RepositoryResource> getAllResourcesWithDupes() throws RepositoryBackendException { Collection<RepositoryResource> resources = cycleThroughRepositoriesWithDupes(new RepositoryInvoker<RepositoryResource>() { @SuppressWarnings("unchecked") @Override p...
[ "public", "Collection", "<", "?", "extends", "RepositoryResource", ">", "getAllResourcesWithDupes", "(", ")", "throws", "RepositoryBackendException", "{", "Collection", "<", "RepositoryResource", ">", "resources", "=", "cycleThroughRepositoriesWithDupes", "(", "new", "Rep...
This method gets all the resources in this list of repositories, this list may contain dupes if the same asset is found in multiple repositories. @return A {@link Collection} of {@link RepositoryResourceImpl} object @throws RepositoryBackendException
[ "This", "method", "gets", "all", "the", "resources", "in", "this", "list", "of", "repositories", "this", "list", "may", "contain", "dupes", "if", "the", "same", "asset", "is", "found", "in", "multiple", "repositories", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java#L309-L318
111,413
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java
RepositoryConnectionList.getAllResources
public Collection<? extends RepositoryResource> getAllResources(LicenseType licenseType, ResourceType type) throws RepositoryBackendException { Collection<? extends RepositoryResource> allResources = getAllResources(type); if (licenseT...
java
public Collection<? extends RepositoryResource> getAllResources(LicenseType licenseType, ResourceType type) throws RepositoryBackendException { Collection<? extends RepositoryResource> allResources = getAllResources(type); if (licenseT...
[ "public", "Collection", "<", "?", "extends", "RepositoryResource", ">", "getAllResources", "(", "LicenseType", "licenseType", ",", "ResourceType", "type", ")", "throws", "RepositoryBackendException", "{", "Collection", "<", "?", "extends", "RepositoryResource", ">", "...
Gets all resources of the specified type and license type from the repositories. @param licenseType The {@link LicenseType} of the resources to obtain @param type The {@link ResourceType} of resource to obtain @return A {@link Collection} of {@link RepositoryResourceImpl} object @throws RepositoryBackendException
[ "Gets", "all", "resources", "of", "the", "specified", "type", "and", "license", "type", "from", "the", "repositories", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java#L362-L379
111,414
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java
RepositoryConnectionList.getAllFeatures
@SuppressWarnings("unchecked") public Collection<EsaResource> getAllFeatures() throws RepositoryBackendException { return (Collection<EsaResource>) getAllResources(ResourceType.FEATURE); }
java
@SuppressWarnings("unchecked") public Collection<EsaResource> getAllFeatures() throws RepositoryBackendException { return (Collection<EsaResource>) getAllResources(ResourceType.FEATURE); }
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "Collection", "<", "EsaResource", ">", "getAllFeatures", "(", ")", "throws", "RepositoryBackendException", "{", "return", "(", "Collection", "<", "EsaResource", ">", ")", "getAllResources", "(", "Resource...
This methods returns a list of all features in the supplied repositories @return A list of resources representing the features in the repositories. @throws RepositoryBackendException
[ "This", "methods", "returns", "a", "list", "of", "all", "features", "in", "the", "supplied", "repositories" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java#L397-L400
111,415
OpenLiberty/open-liberty
dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java
RepositoryConnectionList.getAllProducts
@SuppressWarnings("unchecked") public Collection<ProductResourceImpl> getAllProducts(LicenseType licenseType) throws RepositoryBackendException { Collection<ProductResourceImpl> product = (Collection<ProductResourceImpl>) getAllResources(licenseType, ResourceType.INSTALL); Collection<ProductResource...
java
@SuppressWarnings("unchecked") public Collection<ProductResourceImpl> getAllProducts(LicenseType licenseType) throws RepositoryBackendException { Collection<ProductResourceImpl> product = (Collection<ProductResourceImpl>) getAllResources(licenseType, ResourceType.INSTALL); Collection<ProductResource...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "Collection", "<", "ProductResourceImpl", ">", "getAllProducts", "(", "LicenseType", "licenseType", ")", "throws", "RepositoryBackendException", "{", "Collection", "<", "ProductResourceImpl", ">", "product", ...
Get all products with a given license type @param licenseType @throws RepositoryBackendException
[ "Get", "all", "products", "with", "a", "given", "license", "type" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository/src/com/ibm/ws/repository/connections/RepositoryConnectionList.java#L448-L454
111,416
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java
EmbeddedApacheDS.getOpenPort
private static int getOpenPort() throws IOException { Log.info(c, "getOpenPort", "Entry."); ServerSocket s = new ServerSocket(0); Log.info(c, "getOpenPort", "Got socket."); int port = s.getLocalPort(); Log.info(c, "getOpenPort", "Got port " + s); s.close(); Log.in...
java
private static int getOpenPort() throws IOException { Log.info(c, "getOpenPort", "Entry."); ServerSocket s = new ServerSocket(0); Log.info(c, "getOpenPort", "Got socket."); int port = s.getLocalPort(); Log.info(c, "getOpenPort", "Got port " + s); s.close(); Log.in...
[ "private", "static", "int", "getOpenPort", "(", ")", "throws", "IOException", "{", "Log", ".", "info", "(", "c", ",", "\"getOpenPort\"", ",", "\"Entry.\"", ")", ";", "ServerSocket", "s", "=", "new", "ServerSocket", "(", "0", ")", ";", "Log", ".", "info",...
Get a free port. @return The free port. @throws IOException If a free port could not be found.
[ "Get", "a", "free", "port", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java#L136-L145
111,417
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java
EmbeddedApacheDS.add
public void add(Entry entry) throws LdapException { CoreSession session = this.service.getAdminSession(); session.add(entry); }
java
public void add(Entry entry) throws LdapException { CoreSession session = this.service.getAdminSession(); session.add(entry); }
[ "public", "void", "add", "(", "Entry", "entry", ")", "throws", "LdapException", "{", "CoreSession", "session", "=", "this", ".", "service", ".", "getAdminSession", "(", ")", ";", "session", ".", "add", "(", "entry", ")", ";", "}" ]
Convenience method to add an entry using the admin session. @param entry The entry to add. @throws LdapException If there was an error adding the entry.
[ "Convenience", "method", "to", "add", "an", "entry", "using", "the", "admin", "session", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java#L153-L157
111,418
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java
EmbeddedApacheDS.addPartition
public Partition addPartition(String partitionId, String partitionDn) throws Exception { Log.info(c, "addPartition", "entry " + partitionId + " " + partitionDn); JdbmPartition partition = new JdbmPartition(this.service.getSchemaManager()); partition.setId(partitionId); partition.setParti...
java
public Partition addPartition(String partitionId, String partitionDn) throws Exception { Log.info(c, "addPartition", "entry " + partitionId + " " + partitionDn); JdbmPartition partition = new JdbmPartition(this.service.getSchemaManager()); partition.setId(partitionId); partition.setParti...
[ "public", "Partition", "addPartition", "(", "String", "partitionId", ",", "String", "partitionDn", ")", "throws", "Exception", "{", "Log", ".", "info", "(", "c", ",", "\"addPartition\"", ",", "\"entry \"", "+", "partitionId", "+", "\" \"", "+", "partitionDn", ...
Add a new partition to the server @param partitionId The partition ID @param partitionDn The partition DN @return The newly added partition @throws Exception If the partition can't be added
[ "Add", "a", "new", "partition", "to", "the", "server" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java#L172-L182
111,419
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java
EmbeddedApacheDS.initSchemaPartition
private void initSchemaPartition() throws Exception { final InstanceLayout instanceLayout = this.service.getInstanceLayout(); final File schemaPartitionDirectory = new File(instanceLayout.getPartitionsDirectory(), "schema"); /* * Extract the schema on disk (a brand new one) and load t...
java
private void initSchemaPartition() throws Exception { final InstanceLayout instanceLayout = this.service.getInstanceLayout(); final File schemaPartitionDirectory = new File(instanceLayout.getPartitionsDirectory(), "schema"); /* * Extract the schema on disk (a brand new one) and load t...
[ "private", "void", "initSchemaPartition", "(", ")", "throws", "Exception", "{", "final", "InstanceLayout", "instanceLayout", "=", "this", ".", "service", ".", "getInstanceLayout", "(", ")", ";", "final", "File", "schemaPartitionDirectory", "=", "new", "File", "(",...
initialize the schema manager and add the schema partition to diectory service @throws Exception if the schema LDIF files are not found on the classpath
[ "initialize", "the", "schema", "manager", "and", "add", "the", "schema", "partition", "to", "diectory", "service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java#L341-L387
111,420
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java
EmbeddedApacheDS.stopService
public void stopService() throws Exception { Log.info(c, "stopService", "Stopping LdapServer"); this.server.stop(); Log.info(c, "stopService", "Stopping DirectoryService"); service.shutdown(); Log.info(c, "stopService", "Ldap stopped."); }
java
public void stopService() throws Exception { Log.info(c, "stopService", "Stopping LdapServer"); this.server.stop(); Log.info(c, "stopService", "Stopping DirectoryService"); service.shutdown(); Log.info(c, "stopService", "Ldap stopped."); }
[ "public", "void", "stopService", "(", ")", "throws", "Exception", "{", "Log", ".", "info", "(", "c", ",", "\"stopService\"", ",", "\"Stopping LdapServer\"", ")", ";", "this", ".", "server", ".", "stop", "(", ")", ";", "Log", ".", "info", "(", "c", ",",...
Stop the LdapServer and the Directory service. Use for JUnit teardown. If the service is not stopped, then future instances with the same name cannot clean up the file directory.
[ "Stop", "the", "LdapServer", "and", "the", "Directory", "service", ".", "Use", "for", "JUnit", "teardown", ".", "If", "the", "service", "is", "not", "stopped", "then", "future", "instances", "with", "the", "same", "name", "cannot", "clean", "up", "the", "f...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.directory.server/src/com/ibm/ws/apacheds/EmbeddedApacheDS.java#L445-L451
111,421
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCReadAhead.java
HttpOSCReadAhead.complete
public void complete(VirtualConnection vc, TCPReadRequestContext rsc) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "complete() called: vc=" + vc); } HttpOutboundServiceContextImpl osc = (HttpOutboundServiceContextImpl) vc.getStateMap().get(Callba...
java
public void complete(VirtualConnection vc, TCPReadRequestContext rsc) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "complete() called: vc=" + vc); } HttpOutboundServiceContextImpl osc = (HttpOutboundServiceContextImpl) vc.getStateMap().get(Callba...
[ "public", "void", "complete", "(", "VirtualConnection", "vc", ",", "TCPReadRequestContext", "rsc", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", ...
If the read completes with data, then this method will be called. It then depends on what state the actual connection is in on what should happen next. @param vc @param rsc
[ "If", "the", "read", "completes", "with", "data", "then", "this", "method", "will", "be", "called", ".", "It", "then", "depends", "on", "what", "state", "the", "actual", "connection", "is", "in", "on", "what", "should", "happen", "next", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCReadAhead.java#L62-L111
111,422
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCReadAhead.java
HttpOSCReadAhead.error
public void error(VirtualConnection vc, TCPReadRequestContext rsc, IOException ioe) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "error() called: vc=" + vc + " ioe=" + ioe); } HttpOutboundServiceContextImpl osc = (HttpOutboundServiceContextImpl) ...
java
public void error(VirtualConnection vc, TCPReadRequestContext rsc, IOException ioe) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "error() called: vc=" + vc + " ioe=" + ioe); } HttpOutboundServiceContextImpl osc = (HttpOutboundServiceContextImpl) ...
[ "public", "void", "error", "(", "VirtualConnection", "vc", ",", "TCPReadRequestContext", "rsc", ",", "IOException", "ioe", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr...
If an error occurs, such as the server side closing down the socket, then this method will be called. Depending on what state the connection is in, this error is either sent to the application channel immediately or delayed until the actual read for the response would start, when it can then hand the error off to the a...
[ "If", "an", "error", "occurs", "such", "as", "the", "server", "side", "closing", "down", "the", "socket", "then", "this", "method", "will", "be", "called", ".", "Depending", "on", "what", "state", "the", "connection", "is", "in", "this", "error", "is", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/outbound/HttpOSCReadAhead.java#L124-L176
111,423
OpenLiberty/open-liberty
dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/requestContext/RequestContext.java
RequestContext.dumpTree
public static String dumpTree(Event event, boolean includeContextInfo) { return new EventStackFormatter().getStackFormat(event, includeContextInfo).toString(); }
java
public static String dumpTree(Event event, boolean includeContextInfo) { return new EventStackFormatter().getStackFormat(event, includeContextInfo).toString(); }
[ "public", "static", "String", "dumpTree", "(", "Event", "event", ",", "boolean", "includeContextInfo", ")", "{", "return", "new", "EventStackFormatter", "(", ")", ".", "getStackFormat", "(", "event", ",", "includeContextInfo", ")", ".", "toString", "(", ")", "...
This method is used to dump the event in Tree structure. Currently used for Request Timing where it will keep a log of timing of request execution, in case it exceeds it will call this method and dump the tree of Request Dumping would be for log file or into Fight Data Recorder @param event
[ "This", "method", "is", "used", "to", "dump", "the", "event", "in", "Tree", "structure", ".", "Currently", "used", "for", "Request", "Timing", "where", "it", "will", "keep", "a", "log", "of", "timing", "of", "request", "execution", "in", "case", "it", "e...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/requestContext/RequestContext.java#L151-L153
111,424
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/cache/StampedValue.java
StampedValue.getSourced
public SourcedValue getSourced() { boolean fromCache = true; int cacheVersion = stampedValue.getStamp(); int latestVersion = parentContainer.getMasterVersion(); String key = parentContainer.getKey(); SourcedValue sourcedValue = null; if (cacheVersion != latestVersion) { ...
java
public SourcedValue getSourced() { boolean fromCache = true; int cacheVersion = stampedValue.getStamp(); int latestVersion = parentContainer.getMasterVersion(); String key = parentContainer.getKey(); SourcedValue sourcedValue = null; if (cacheVersion != latestVersion) { ...
[ "public", "SourcedValue", "getSourced", "(", ")", "{", "boolean", "fromCache", "=", "true", ";", "int", "cacheVersion", "=", "stampedValue", ".", "getStamp", "(", ")", ";", "int", "latestVersion", "=", "parentContainer", ".", "getMasterVersion", "(", ")", ";",...
Fetch the latest version of the property. If not up to date then resolve to the latest value, inline. @return the latest version of the value, either from the cache or the underlying source
[ "Fetch", "the", "latest", "version", "of", "the", "property", ".", "If", "not", "up", "to", "date", "then", "resolve", "to", "the", "latest", "value", "inline", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/cache/StampedValue.java#L64-L92
111,425
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java
WorkProxy.appendInflowContext
private ThreadContextDescriptor appendInflowContext() throws WorkCompletedException { ThreadContextDescriptor merged = threadContextDescriptor.clone(); Set<String> inflowContext = new HashSet<String>(); // WorkContext if (workContexts != null) for (WorkContext workContext : ...
java
private ThreadContextDescriptor appendInflowContext() throws WorkCompletedException { ThreadContextDescriptor merged = threadContextDescriptor.clone(); Set<String> inflowContext = new HashSet<String>(); // WorkContext if (workContexts != null) for (WorkContext workContext : ...
[ "private", "ThreadContextDescriptor", "appendInflowContext", "(", ")", "throws", "WorkCompletedException", "{", "ThreadContextDescriptor", "merged", "=", "threadContextDescriptor", ".", "clone", "(", ")", ";", "Set", "<", "String", ">", "inflowContext", "=", "new", "H...
Append work inflow context to the captured thread context. @return merged list of captured thread context and work inflow context. @throws WorkCompletedException if work context is unacceptable.
[ "Append", "work", "inflow", "context", "to", "the", "captured", "thread", "context", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java#L180-L225
111,426
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java
WorkProxy.contextSetupFailure
private WorkCompletedException contextSetupFailure(Object context, String errorCode, Throwable cause) { if (context instanceof WorkContextLifecycleListener) ((WorkContextLifecycleListener) context).contextSetupFailed(errorCode); String message = null; if (WorkContextErrorCodes.DUP...
java
private WorkCompletedException contextSetupFailure(Object context, String errorCode, Throwable cause) { if (context instanceof WorkContextLifecycleListener) ((WorkContextLifecycleListener) context).contextSetupFailed(errorCode); String message = null; if (WorkContextErrorCodes.DUP...
[ "private", "WorkCompletedException", "contextSetupFailure", "(", "Object", "context", ",", "String", "errorCode", ",", "Throwable", "cause", ")", "{", "if", "(", "context", "instanceof", "WorkContextLifecycleListener", ")", "(", "(", "WorkContextLifecycleListener", ")",...
Handle a work context setup failure. @param workContext the work context. @param errorCode error code from javax.resource.spi.work.WorkContextErrorCodes @param cause Throwable to chain as the cause. Can be null. @return WorkCompletedException to raise the the invoker.
[ "Handle", "a", "work", "context", "setup", "failure", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java#L325-L343
111,427
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java
WorkProxy.run
@Override public void run() { JCASecurityContext ctx = bootstrapContext.getJCASecurityContext(); if (ctx != null) ctx.runInInboundSecurityContext(work); else work.run(); }
java
@Override public void run() { JCASecurityContext ctx = bootstrapContext.getJCASecurityContext(); if (ctx != null) ctx.runInInboundSecurityContext(work); else work.run(); }
[ "@", "Override", "public", "void", "run", "(", ")", "{", "JCASecurityContext", "ctx", "=", "bootstrapContext", ".", "getJCASecurityContext", "(", ")", ";", "if", "(", "ctx", "!=", "null", ")", "ctx", ".", "runInInboundSecurityContext", "(", "work", ")", ";",...
When this is invoked, the work is running with context on the thread. @see java.lang.Runnable.run()
[ "When", "this", "is", "invoked", "the", "work", "is", "running", "with", "context", "on", "the", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java#L350-L357
111,428
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java
WorkProxy.waitForStart
Long waitForStart() throws InterruptedException, WorkRejectedException { long timeout = startTimeout == WorkManager.UNKNOWN ? WorkManager.INDEFINITE : startTimeout < fudgeFactor ? fudgeFactor : startTimeout; Object o = startupDurationQueue.poll(timeout, TimeUnit.MILLISECONDS); if (o instanceof W...
java
Long waitForStart() throws InterruptedException, WorkRejectedException { long timeout = startTimeout == WorkManager.UNKNOWN ? WorkManager.INDEFINITE : startTimeout < fudgeFactor ? fudgeFactor : startTimeout; Object o = startupDurationQueue.poll(timeout, TimeUnit.MILLISECONDS); if (o instanceof W...
[ "Long", "waitForStart", "(", ")", "throws", "InterruptedException", ",", "WorkRejectedException", "{", "long", "timeout", "=", "startTimeout", "==", "WorkManager", ".", "UNKNOWN", "?", "WorkManager", ".", "INDEFINITE", ":", "startTimeout", "<", "fudgeFactor", "?", ...
Waits for the work to start. @return the duration that it took for the work to start. Null if we timed out waiting. @throws InterruptedException if interrupted while waiting.
[ "Waits", "for", "the", "work", "to", "start", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/WorkProxy.java#L365-L372
111,429
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/FacesInitializerFactory.java
FacesInitializerFactory.getFacesInitializer
public static FacesInitializer getFacesInitializer(ServletContext context) { FacesInitializer initializer = _getFacesInitializerFromInitParam(context); if (initializer == null) { initializer = _getDefaultFacesInitializer(context); } return initializer; }
java
public static FacesInitializer getFacesInitializer(ServletContext context) { FacesInitializer initializer = _getFacesInitializerFromInitParam(context); if (initializer == null) { initializer = _getDefaultFacesInitializer(context); } return initializer; }
[ "public", "static", "FacesInitializer", "getFacesInitializer", "(", "ServletContext", "context", ")", "{", "FacesInitializer", "initializer", "=", "_getFacesInitializerFromInitParam", "(", "context", ")", ";", "if", "(", "initializer", "==", "null", ")", "{", "initial...
Gets the FacesInitializer for the system. @param context @return
[ "Gets", "the", "FacesInitializer", "for", "the", "system", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/FacesInitializerFactory.java#L55-L63
111,430
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/FacesInitializerFactory.java
FacesInitializerFactory._getFacesInitializerFromInitParam
private static FacesInitializer _getFacesInitializerFromInitParam(ServletContext context) { String initializerClassName = context.getInitParameter(FACES_INITIALIZER_PARAM); if (initializerClassName != null) { try { // get Class object C...
java
private static FacesInitializer _getFacesInitializerFromInitParam(ServletContext context) { String initializerClassName = context.getInitParameter(FACES_INITIALIZER_PARAM); if (initializerClassName != null) { try { // get Class object C...
[ "private", "static", "FacesInitializer", "_getFacesInitializerFromInitParam", "(", "ServletContext", "context", ")", "{", "String", "initializerClassName", "=", "context", ".", "getInitParameter", "(", "FACES_INITIALIZER_PARAM", ")", ";", "if", "(", "initializerClassName", ...
Gets a FacesInitializer from the web.xml config param. @param context @return
[ "Gets", "a", "FacesInitializer", "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/webapp/FacesInitializerFactory.java#L70-L94
111,431
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java
AbstractConsumerManager.getDestination
public BaseDestinationHandler getDestination() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getDestination"); SibTr.exit(tc, "getDestination", _baseDestHandler); } return _baseDestHandler; }
java
public BaseDestinationHandler getDestination() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getDestination"); SibTr.exit(tc, "getDestination", _baseDestHandler); } return _baseDestHandler; }
[ "public", "BaseDestinationHandler", "getDestination", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getDestination\"", ")", "...
Get the BaseDestinationHandler object to which this CD belongs @return the BaseDestinationHandler object to which this CD belongs
[ "Get", "the", "BaseDestinationHandler", "object", "to", "which", "this", "CD", "belongs" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java#L192-L201
111,432
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java
AbstractConsumerManager.getUuid
public SIBUuid8 getUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getUuid"); SibTr.exit(tc, "getUuid", _cmUuid); } return _cmUuid; }
java
public SIBUuid8 getUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getUuid"); SibTr.exit(tc, "getUuid", _cmUuid); } return _cmUuid; }
[ "public", "SIBUuid8", "getUuid", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getUuid\"", ")", ";", "SibTr", ".", "exi...
Get the Uuid for this consumer manager. @return
[ "Get", "the", "Uuid", "for", "this", "consumer", "manager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java#L208-L217
111,433
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java
AbstractConsumerManager.joinKeyGroup
public ConsumerKeyGroup joinKeyGroup(ConsumerKey consumerKey, OrderingContextImpl orderingGroup) throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "joinKeyGroup", new Object[] {consumerKey, orderingGroup}); JSKeyG...
java
public ConsumerKeyGroup joinKeyGroup(ConsumerKey consumerKey, OrderingContextImpl orderingGroup) throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "joinKeyGroup", new Object[] {consumerKey, orderingGroup}); JSKeyG...
[ "public", "ConsumerKeyGroup", "joinKeyGroup", "(", "ConsumerKey", "consumerKey", ",", "OrderingContextImpl", "orderingGroup", ")", "throws", "SIResourceException", ",", "SISessionDroppedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&...
Add the supplied consumerKey to a keyGroup, create the keyGroup if required
[ "Add", "the", "supplied", "consumerKey", "to", "a", "keyGroup", "create", "the", "keyGroup", "if", "required" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java#L237-L285
111,434
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java
AbstractConsumerManager.removeKeyGroup
public void removeKeyGroup(LocalQPConsumerKeyGroup keyGroup) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeKeyGroup", keyGroup); // Take the lock to prevent another thread from trying to add a member to // the group while we're removing it synchronize...
java
public void removeKeyGroup(LocalQPConsumerKeyGroup keyGroup) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeKeyGroup", keyGroup); // Take the lock to prevent another thread from trying to add a member to // the group while we're removing it synchronize...
[ "public", "void", "removeKeyGroup", "(", "LocalQPConsumerKeyGroup", "keyGroup", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"removeKeyGr...
Remove the keyGroup from the CD, this occurs when the last member is removed from the group
[ "Remove", "the", "keyGroup", "from", "the", "CD", "this", "occurs", "when", "the", "last", "member", "is", "removed", "from", "the", "group" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractConsumerManager.java#L293-L314
111,435
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/BundleManifest.java
BundleManifest.parseHeader
void parseHeader(String header, Set<String> packages) { if (header != null && header.length() > 0) { List<String> splitPackages = new ArrayList<String>(); // We can't just split() on commas, because there may be things in quotes, like uses clauses int lastIndex = 0; ...
java
void parseHeader(String header, Set<String> packages) { if (header != null && header.length() > 0) { List<String> splitPackages = new ArrayList<String>(); // We can't just split() on commas, because there may be things in quotes, like uses clauses int lastIndex = 0; ...
[ "void", "parseHeader", "(", "String", "header", ",", "Set", "<", "String", ">", "packages", ")", "{", "if", "(", "header", "!=", "null", "&&", "header", ".", "length", "(", ")", ">", "0", ")", "{", "List", "<", "String", ">", "splitPackages", "=", ...
This algorithm is nuts. Bnd has a nice on in OSGIHeader. @param header @param packages
[ "This", "algorithm", "is", "nuts", ".", "Bnd", "has", "a", "nice", "on", "in", "OSGIHeader", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/logging/internal/BundleManifest.java#L61-L89
111,436
OpenLiberty/open-liberty
dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/SystemUtils.java
SystemUtils.addShutdownHook
public static void addShutdownHook(final Thread shutdownHook) { Object token = ThreadIdentityManager.runAsServer(); try { AccessController.doPrivileged( new PrivilegedAction<Void>() { @Override public Void run() { Runtime.getRuntime().addSh...
java
public static void addShutdownHook(final Thread shutdownHook) { Object token = ThreadIdentityManager.runAsServer(); try { AccessController.doPrivileged( new PrivilegedAction<Void>() { @Override public Void run() { Runtime.getRuntime().addSh...
[ "public", "static", "void", "addShutdownHook", "(", "final", "Thread", "shutdownHook", ")", "{", "Object", "token", "=", "ThreadIdentityManager", ".", "runAsServer", "(", ")", ";", "try", "{", "AccessController", ".", "doPrivileged", "(", "new", "PrivilegedAction"...
Add a shutdown hook as a privileged action. See {@link Runtime#addShutdownHook(Thread)}. @param shutdownHook The thread to add as a shutdown hook.
[ "Add", "a", "shutdown", "hook", "as", "a", "privileged", "action", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.artifact.zip/src/com/ibm/ws/artifact/zip/internal/SystemUtils.java#L70-L83
111,437
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/annotation/AnnotationHelperManager.java
AnnotationHelperManager.getAnnotationHelper
public synchronized AnnotationHelper getAnnotationHelper () { if (aHelper == null) { this.aHelper = new AnnotationHelper(wApp); if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { logger.logp (Level.FINE, CLASS_NAME, "get...
java
public synchronized AnnotationHelper getAnnotationHelper () { if (aHelper == null) { this.aHelper = new AnnotationHelper(wApp); if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { logger.logp (Level.FINE, CLASS_NAME, "get...
[ "public", "synchronized", "AnnotationHelper", "getAnnotationHelper", "(", ")", "{", "if", "(", "aHelper", "==", "null", ")", "{", "this", ".", "aHelper", "=", "new", "AnnotationHelper", "(", "wApp", ")", ";", "if", "(", "com", ".", "ibm", ".", "ejs", "."...
Retrieves an AnnotationHelper instance. @return an AnnotationHelper object containing the desired instance.
[ "Retrieves", "an", "AnnotationHelper", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/annotation/AnnotationHelperManager.java#L131-L143
111,438
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.unsetItemInterface
protected void unsetItemInterface(ServiceReference<ItemInterface> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetItemInterface", ref); itemInterfaceRef.setReference(ref); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) ...
java
protected void unsetItemInterface(ServiceReference<ItemInterface> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetItemInterface", ref); itemInterfaceRef.setReference(ref); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) ...
[ "protected", "void", "unsetItemInterface", "(", "ServiceReference", "<", "ItemInterface", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "...
Declarative Services method for unsetting the ItemInterface service reference. @param ref reference to the service
[ "Declarative", "Services", "method", "for", "unsetting", "the", "ItemInterface", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L232-L239
111,439
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.getItemStreamInstance
public static AbstractItem getItemStreamInstance(String itemClassName) { AbstractItem itemStream = itemInterfaceRef.getService().getItemStreamInstance(itemClassName);; return itemStream; }
java
public static AbstractItem getItemStreamInstance(String itemClassName) { AbstractItem itemStream = itemInterfaceRef.getService().getItemStreamInstance(itemClassName);; return itemStream; }
[ "public", "static", "AbstractItem", "getItemStreamInstance", "(", "String", "itemClassName", ")", "{", "AbstractItem", "itemStream", "=", "itemInterfaceRef", ".", "getService", "(", ")", ".", "getItemStreamInstance", "(", "itemClassName", ")", ";", ";", "return", "i...
Static method for getting the ItemStream instance from the runtime . @param itemClassName Class name for which the instance needs to be returned
[ "Static", "method", "for", "getting", "the", "ItemStream", "instance", "from", "the", "runtime", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L248-L251
111,440
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.busReloaded
@Override public void busReloaded(Object newBus, boolean busChanged, boolean destChg, boolean medChg) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "busReloaded"); SibTr.exit(this, tc, "busReloaded")...
java
@Override public void busReloaded(Object newBus, boolean busChanged, boolean destChg, boolean medChg) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "busReloaded"); SibTr.exit(this, tc, "busReloaded")...
[ "@", "Override", "public", "void", "busReloaded", "(", "Object", "newBus", ",", "boolean", "busChanged", ",", "boolean", "destChg", ",", "boolean", "medChg", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEnt...
Notification that the configuration of the bus has changed. @param newBus The new bus configuration @param busChg true if the bus has changed @param destChg true if a destination has changed @param medChg true if a mediation has changed
[ "Notification", "that", "the", "configuration", "of", "the", "bus", "has", "changed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L433-L442
111,441
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.commitPreparedTransaction
@Override public void commitPreparedTransaction(String xid) throws TransactionException, PersistenceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "commitPreparedTransaction", xid); if (_manager != null) { try ...
java
@Override public void commitPreparedTransaction(String xid) throws TransactionException, PersistenceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "commitPreparedTransaction", xid); if (_manager != null) { try ...
[ "@", "Override", "public", "void", "commitPreparedTransaction", "(", "String", "xid", ")", "throws", "TransactionException", ",", "PersistenceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ...
Commit the given transaction. Given a string representing an xid, create a PersistentTranId from it and then request the XidManager to commit it. Part of MBean interface for resolving in-doubt transactions. @param xid a string representing an xid.
[ "Commit", "the", "given", "transaction", ".", "Given", "a", "string", "representing", "an", "xid", "create", "a", "PersistentTranId", "from", "it", "and", "then", "request", "the", "XidManager", "to", "commit", "it", ".", "Part", "of", "MBean", "interface", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L452-L480
111,442
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.dump
public void dump(FormattedWriter fw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dump"); try { xmlRequestWriteOnFile(fw); } catch (IOException e) { // No FFDC Code Needed if (TraceC...
java
public void dump(FormattedWriter fw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dump"); try { xmlRequestWriteOnFile(fw); } catch (IOException e) { // No FFDC Code Needed if (TraceC...
[ "public", "void", "dump", "(", "FormattedWriter", "fw", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"dump\"", ")", ...
Dump message store dynamic diagnostic information. @param fw the FormattedWriter pass in by the ME
[ "Dump", "message", "store", "dynamic", "diagnostic", "information", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L548-L565
111,443
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.dump
@Override public void dump(FormattedWriter fw, String arg) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dump", arg); if (arg != null) { if (arg.equalsIgnoreCase("raw")) { dumpRaw(fw); ...
java
@Override public void dump(FormattedWriter fw, String arg) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dump", arg); if (arg != null) { if (arg.equalsIgnoreCase("raw")) { dumpRaw(fw); ...
[ "@", "Override", "public", "void", "dump", "(", "FormattedWriter", "fw", ",", "String", "arg", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "thi...
Dump message store. This method is called from the Messaging Engine MBean. @param fw The FormattedWriter passed in by the ME. @param arg the dump specification if any. This may be null to invoke the internal diagnostics dump "raw" to invoke the raw (persistence) dump. "all" to invoke the internal & raw dump, including...
[ "Dump", "message", "store", ".", "This", "method", "is", "called", "from", "the", "Messaging", "Engine", "MBean", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L577-L605
111,444
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.dumpRaw
public void dumpRaw(FormattedWriter fw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpRaw"); try { xmlRequestWriteRawDataOnFile(fw); } catch (IOException e) { // No FFDC Code Needed ...
java
public void dumpRaw(FormattedWriter fw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpRaw"); try { xmlRequestWriteRawDataOnFile(fw); } catch (IOException e) { // No FFDC Code Needed ...
[ "public", "void", "dumpRaw", "(", "FormattedWriter", "fw", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"dumpRaw\"", "...
Dump the message store persistence diagnostic information. @param fw The FormattedWriter passed in by the ME
[ "Dump", "the", "message", "store", "persistence", "diagnostic", "information", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L612-L629
111,445
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.dumpAll
public void dumpAll(FormattedWriter fw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpAll"); try { xmlRequestWriteOnFile(fw); xmlWriteRawOn(fw, true); fw.flush(); } catch (IOException e) ...
java
public void dumpAll(FormattedWriter fw) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpAll"); try { xmlRequestWriteOnFile(fw); xmlWriteRawOn(fw, true); fw.flush(); } catch (IOException e) ...
[ "public", "void", "dumpAll", "(", "FormattedWriter", "fw", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"dumpAll\"", "...
Dump message store dynamic diagnostic information and the the message store persistence diagnostic information, including information about the Items themselves. @param fw The FormattedWriter passed in by the ME
[ "Dump", "message", "store", "dynamic", "diagnostic", "information", "and", "the", "the", "message", "store", "persistence", "diagnostic", "information", "including", "information", "about", "the", "Items", "themselves", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L638-L657
111,446
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.engineReloaded
@Override public void engineReloaded(Object messagingEngine) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "engineReloaded"); // Defect 337421.1 // Our config has been reloaded so we need to essentially // re-initialize so t...
java
@Override public void engineReloaded(Object messagingEngine) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "engineReloaded"); // Defect 337421.1 // Our config has been reloaded so we need to essentially // re-initialize so t...
[ "@", "Override", "public", "void", "engineReloaded", "(", "Object", "messagingEngine", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "...
Notification that the configuration of the engine has changed. @param engine The messaging engine whose configuration has been reloaded
[ "Notification", "that", "the", "configuration", "of", "the", "engine", "has", "changed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L664-L678
111,447
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.listPreparedTransactions
@Override public String[] listPreparedTransactions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getPreparedTransactions"); String[] col = null; if (_manager != null) { // Obtain array of in-doubt xids from t...
java
@Override public String[] listPreparedTransactions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getPreparedTransactions"); String[] col = null; if (_manager != null) { // Obtain array of in-doubt xids from t...
[ "@", "Override", "public", "String", "[", "]", "listPreparedTransactions", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ...
Obtain a list of XIDs which are in-doubt. Part of MBean interface for resolving in-doubt transactions. @return the XIDs as an array of strings
[ "Obtain", "a", "list", "of", "XIDs", "which", "are", "in", "-", "doubt", ".", "Part", "of", "MBean", "interface", "for", "resolving", "in", "-", "doubt", "transactions", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L903-L933
111,448
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.initialize
private void initialize(JsMessagingEngine engineConfiguration, boolean isReload) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialize", new Object[] { "isReload=" + isReload, "Config=" + engineConfiguration }); _messagingEngine = engineCon...
java
private void initialize(JsMessagingEngine engineConfiguration, boolean isReload) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialize", new Object[] { "isReload=" + isReload, "Config=" + engineConfiguration }); _messagingEngine = engineCon...
[ "private", "void", "initialize", "(", "JsMessagingEngine", "engineConfiguration", ",", "boolean", "isReload", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", ...
Initalizes the message store using the given JetStream configuration. Copies the relevant pieces of data into a MessageStoreConfiguration object which is then used to initialize the message store. Will only initialize PMI if this is not a reload. @param engineConfiguration @param isReload @see com.ibm.ws.sib.admin.Js...
[ "Initalizes", "the", "message", "store", "using", "the", "given", "JetStream", "configuration", ".", "Copies", "the", "relevant", "pieces", "of", "data", "into", "a", "MessageStoreConfiguration", "object", "which", "is", "then", "used", "to", "initialize", "the", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L1256-L1323
111,449
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.registerLink
public final void registerLink(final AbstractItemLink newLink, final AbstractItem item) { register(newLink); _setMembership(newLink, item); }
java
public final void registerLink(final AbstractItemLink newLink, final AbstractItem item) { register(newLink); _setMembership(newLink, item); }
[ "public", "final", "void", "registerLink", "(", "final", "AbstractItemLink", "newLink", ",", "final", "AbstractItem", "item", ")", "{", "register", "(", "newLink", ")", ";", "_setMembership", "(", "newLink", ",", "item", ")", ";", "}" ]
register new Item link. @param newLink @param item
[ "register", "new", "Item", "link", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L1389-L1393
111,450
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java
MessageStoreImpl.initialize
@Override public final void initialize(JsRecoveryMessagingEngine recoveryME, String mode) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialize", new Object[] { recoveryME, mode }); this._messagingEngine = recoveryME; if (TraceCo...
java
@Override public final void initialize(JsRecoveryMessagingEngine recoveryME, String mode) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialize", new Object[] { recoveryME, mode }); this._messagingEngine = recoveryME; if (TraceCo...
[ "@", "Override", "public", "final", "void", "initialize", "(", "JsRecoveryMessagingEngine", "recoveryME", ",", "String", "mode", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "Sib...
lohith liberty change, these are currently dummy as MessageStore is not used as a component by Admin
[ "lohith", "liberty", "change", "these", "are", "currently", "dummy", "as", "MessageStore", "is", "not", "used", "as", "a", "component", "by", "Admin" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/impl/MessageStoreImpl.java#L2044-L2053
111,451
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.getProcessor
private <A extends Annotation, AS extends Annotation> InjectionProcessor<A, AS> getProcessor(int processorIndex, InjectionProcessorProvider<A, AS> provider) throws InjectionException { if (iv...
java
private <A extends Annotation, AS extends Annotation> InjectionProcessor<A, AS> getProcessor(int processorIndex, InjectionProcessorProvider<A, AS> provider) throws InjectionException { if (iv...
[ "private", "<", "A", "extends", "Annotation", ",", "AS", "extends", "Annotation", ">", "InjectionProcessor", "<", "A", ",", "AS", ">", "getProcessor", "(", "int", "processorIndex", ",", "InjectionProcessorProvider", "<", "A", ",", "AS", ">", "provider", ")", ...
Get or create a processor. @param processorIndex the index in {@link #ivProcessors} @param provider the corresponding provider @return the processor @throws InjectionException if instance creation or initialization fails
[ "Get", "or", "create", "a", "processor", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L105-L123
111,452
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.processXML
public void processXML() throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "processXML"); for (int processorIndex = 0; processorIndex < ivProviders.size(); processorI...
java
public void processXML() throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "processXML"); for (int processorIndex = 0; processorIndex < ivProviders.size(); processorI...
[ "public", "void", "processXML", "(", ")", "throws", "InjectionException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ...
Process XML for all processors as needed.
[ "Process", "XML", "for", "all", "processors", "as", "needed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L128-L166
111,453
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.isProcessXMLNeeded
private boolean isProcessXMLNeeded(InjectionProcessorProvider<?, ?> provider) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "isProcessXMLNeeded: " + provider); List<Class<? extends JNDIEnvironmentRef>> refCla...
java
private boolean isProcessXMLNeeded(InjectionProcessorProvider<?, ?> provider) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "isProcessXMLNeeded: " + provider); List<Class<? extends JNDIEnvironmentRef>> refCla...
[ "private", "boolean", "isProcessXMLNeeded", "(", "InjectionProcessorProvider", "<", "?", ",", "?", ">", "provider", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ...
Returns true if the specified processor must be created to process XML.
[ "Returns", "true", "if", "the", "specified", "processor", "must", "be", "created", "to", "process", "XML", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L171-L199
111,454
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.processAnnotations
public void processAnnotations(Class<?> classHierarchy) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "processAnnotations: " + classHierarchy); for (Class<?> klas...
java
public void processAnnotations(Class<?> classHierarchy) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "processAnnotations: " + classHierarchy); for (Class<?> klas...
[ "public", "void", "processAnnotations", "(", "Class", "<", "?", ">", "classHierarchy", ")", "throws", "InjectionException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc"...
Process all class, field, and method annotations for the class hierarchy. @param classHierarchy the subclass of the hierarchy to process
[ "Process", "all", "class", "field", "and", "method", "annotations", "for", "the", "class", "hierarchy", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L206-L238
111,455
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.processClassAnnotations
private <A extends Annotation, AS extends Annotation> void processClassAnnotations(int processorIndex, InjectionProcessorProvider<A, AS> provider, ...
java
private <A extends Annotation, AS extends Annotation> void processClassAnnotations(int processorIndex, InjectionProcessorProvider<A, AS> provider, ...
[ "private", "<", "A", "extends", "Annotation", ",", "AS", "extends", "Annotation", ">", "void", "processClassAnnotations", "(", "int", "processorIndex", ",", "InjectionProcessorProvider", "<", "A", ",", "AS", ">", "provider", ",", "Class", "<", "?", ">", "klass...
Process class annotations with the specified processor. @param klass the class hierarchy @param processorIndex the index in {@link #ivProcessors} @param provider the corresponding provider
[ "Process", "class", "annotations", "with", "the", "specified", "processor", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L322-L361
111,456
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.getAllDeclaredFields
private Field[] getAllDeclaredFields(Class<?> klass, Class<?> classHierarchy) { try { return klass.getDeclaredFields(); } catch (Throwable ex) { // The most common 'problem' here is a NoClassDefFoundError because // a dependency class (super/field ...
java
private Field[] getAllDeclaredFields(Class<?> klass, Class<?> classHierarchy) { try { return klass.getDeclaredFields(); } catch (Throwable ex) { // The most common 'problem' here is a NoClassDefFoundError because // a dependency class (super/field ...
[ "private", "Field", "[", "]", "getAllDeclaredFields", "(", "Class", "<", "?", ">", "klass", ",", "Class", "<", "?", ">", "classHierarchy", ")", "{", "try", "{", "return", "klass", ".", "getDeclaredFields", "(", ")", ";", "}", "catch", "(", "Throwable", ...
Return the declared fields for the specified class in the class hierarchy. @param klass the specified class to get declared fields @param classHierarchy the entire class hierarchy @return the declared fields, or null if an exception occurs
[ "Return", "the", "declared", "fields", "for", "the", "specified", "class", "in", "the", "class", "hierarchy", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L370-L419
111,457
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.getAllDeclaredMethods
private static Method[] getAllDeclaredMethods(Class<?> classHierarchy) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); Collection<MethodMap.MethodInfo> methodInfos = MethodMap.getAllDeclaredMethods(classHierarchy); Method[] methods = new Method[methodInfos.size()]; ...
java
private static Method[] getAllDeclaredMethods(Class<?> classHierarchy) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); Collection<MethodMap.MethodInfo> methodInfos = MethodMap.getAllDeclaredMethods(classHierarchy); Method[] methods = new Method[methodInfos.size()]; ...
[ "private", "static", "Method", "[", "]", "getAllDeclaredMethods", "(", "Class", "<", "?", ">", "classHierarchy", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "Collection", "<", "MethodMap", ".", "...
Return the non-overridden declared methods for the specified class.
[ "Return", "the", "non", "-", "overridden", "declared", "methods", "for", "the", "specified", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L424-L441
111,458
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.processMemberAnnotations
private <A extends Annotation> void processMemberAnnotations(int processorIndex, InjectionProcessorProvider<A, ?> provider, Member[] members, ...
java
private <A extends Annotation> void processMemberAnnotations(int processorIndex, InjectionProcessorProvider<A, ?> provider, Member[] members, ...
[ "private", "<", "A", "extends", "Annotation", ">", "void", "processMemberAnnotations", "(", "int", "processorIndex", ",", "InjectionProcessorProvider", "<", "A", ",", "?", ">", "provider", ",", "Member", "[", "]", "members", ",", "AnnotatedElement", "[", "]", ...
Process annotations on fields and methods. @param members the Field[] or Method[] array @param annotatedMembers the same Field[] or Method[] array @param processorIndex the index in {@link #ivProcessors} @param provider the corresponding provider
[ "Process", "annotations", "on", "fields", "and", "methods", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L451-L474
111,459
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java
InjectionProcessorManager.processBindings
public void processBindings() throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "processBindings"); if (ivProcessors != null) // RTC115266 { for (...
java
public void processBindings() throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "processBindings"); if (ivProcessors != null) // RTC115266 { for (...
[ "public", "void", "processBindings", "(", ")", "throws", "InjectionException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr...
Process injection bindings for all created processors.
[ "Process", "injection", "bindings", "for", "all", "created", "processors", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/InjectionProcessorManager.java#L479-L517
111,460
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/PlatformAdapterAccessor.java
PlatformAdapterAccessor.getInstance
public static IPlatformAdapter getInstance() { if (svInstance != null) { return svInstance; } synchronized (PlatformAdapterAccessor.class) { if (svInstance != null) { // need to check again in case one thread waited on sync block while // ...
java
public static IPlatformAdapter getInstance() { if (svInstance != null) { return svInstance; } synchronized (PlatformAdapterAccessor.class) { if (svInstance != null) { // need to check again in case one thread waited on sync block while // ...
[ "public", "static", "IPlatformAdapter", "getInstance", "(", ")", "{", "if", "(", "svInstance", "!=", "null", ")", "{", "return", "svInstance", ";", "}", "synchronized", "(", "PlatformAdapterAccessor", ".", "class", ")", "{", "if", "(", "svInstance", "!=", "n...
Returns the JVM-specific implementation of IPlatformAdapter. This implementation will be able to provide non-standard JVM private API calls in a standard way by using the IPlatformAdapter interface. @return JVM-specific IPlatformAdapter implementation.
[ "Returns", "the", "JVM", "-", "specific", "implementation", "of", "IPlatformAdapter", ".", "This", "implementation", "will", "be", "able", "to", "provide", "non", "-", "standard", "JVM", "private", "API", "calls", "in", "a", "standard", "way", "by", "using", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/jtc/adapter/PlatformAdapterAccessor.java#L49-L108
111,461
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/FacesConfigurator.java
FacesConfigurator.injectAndPostConstruct
public Object injectAndPostConstruct(Class<?> Klass) throws InjectionProviderException { Object instance = null; ManagedObject mo = (ManagedObject) ((WASInjectionProvider) getInjectionProvider()).inject(Klass, true, _externalContext); instance = mo.getObject(); if (instance...
java
public Object injectAndPostConstruct(Class<?> Klass) throws InjectionProviderException { Object instance = null; ManagedObject mo = (ManagedObject) ((WASInjectionProvider) getInjectionProvider()).inject(Klass, true, _externalContext); instance = mo.getObject(); if (instance...
[ "public", "Object", "injectAndPostConstruct", "(", "Class", "<", "?", ">", "Klass", ")", "throws", "InjectionProviderException", "{", "Object", "instance", "=", "null", ";", "ManagedObject", "mo", "=", "(", "ManagedObject", ")", "(", "(", "WASInjectionProvider", ...
Made public for use by ClassUtils.
[ "Made", "public", "for", "use", "by", "ClassUtils", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/FacesConfigurator.java#L946-L963
111,462
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/FacesConfigurator.java
FacesConfigurator.injectAndPostConstruct
public void injectAndPostConstruct(Object instance) throws InjectionProviderException { //invoke the injection over the inner one first if (instance instanceof FacesWrapper) { Object innerInstance = ((FacesWrapper)instance).getWrapped(); if (innerInstance != null) ...
java
public void injectAndPostConstruct(Object instance) throws InjectionProviderException { //invoke the injection over the inner one first if (instance instanceof FacesWrapper) { Object innerInstance = ((FacesWrapper)instance).getWrapped(); if (innerInstance != null) ...
[ "public", "void", "injectAndPostConstruct", "(", "Object", "instance", ")", "throws", "InjectionProviderException", "{", "//invoke the injection over the inner one first", "if", "(", "instance", "instanceof", "FacesWrapper", ")", "{", "Object", "innerInstance", "=", "(", ...
when a specific constructor is used. Made public for use by ClassUtils.
[ "when", "a", "specific", "constructor", "is", "used", ".", "Made", "public", "for", "use", "by", "ClassUtils", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/FacesConfigurator.java#L967-L980
111,463
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/FacesConfigurator.java
FacesConfigurator.getDefaultSourcClassForSystemEvent
String getDefaultSourcClassForSystemEvent(Class systemEventClass) { Constructor[] constructors = systemEventClass.getConstructors(); for (Constructor constr : constructors) { Class[] parms = constr.getParameterTypes(); if (parms == null || parms.length != 1) ...
java
String getDefaultSourcClassForSystemEvent(Class systemEventClass) { Constructor[] constructors = systemEventClass.getConstructors(); for (Constructor constr : constructors) { Class[] parms = constr.getParameterTypes(); if (parms == null || parms.length != 1) ...
[ "String", "getDefaultSourcClassForSystemEvent", "(", "Class", "systemEventClass", ")", "{", "Constructor", "[", "]", "constructors", "=", "systemEventClass", ".", "getConstructors", "(", ")", ";", "for", "(", "Constructor", "constr", ":", "constructors", ")", "{", ...
A mapper for the handful of system listener defaults since every default mapper has the source type embedded in the constructor we can rely on introspection for the default mapping @param systemEventClass the system listener class which has to be checked @return
[ "A", "mapper", "for", "the", "handful", "of", "system", "listener", "defaults", "since", "every", "default", "mapper", "has", "the", "source", "type", "embedded", "in", "the", "constructor", "we", "can", "rely", "on", "introspection", "for", "the", "default", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/config/FacesConfigurator.java#L991-L1008
111,464
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistableMetaData.java
PersistableMetaData.becomeCloneOf
@Override public void becomeCloneOf(ManagedObject clone) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "becomeCloneOf", "Clone=" + clone); PersistableMetaData theOther = (PersistableMetaData) clone; _uniqueID = theOther._uniqueID; ...
java
@Override public void becomeCloneOf(ManagedObject clone) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "becomeCloneOf", "Clone=" + clone); PersistableMetaData theOther = (PersistableMetaData) clone; _uniqueID = theOther._uniqueID; ...
[ "@", "Override", "public", "void", "becomeCloneOf", "(", "ManagedObject", "clone", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc",...
Replace the state of this object with the same object in some other state. Used to restore the before image if a transaction rolls back. @param other is the object this object is to become a clone of.
[ "Replace", "the", "state", "of", "this", "object", "with", "the", "same", "object", "in", "some", "other", "state", ".", "Used", "to", "restore", "the", "before", "image", "if", "a", "transaction", "rolls", "back", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistableMetaData.java#L509-L541
111,465
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java
EndpointActivationService.isRRSTransactional
@FFDCIgnore(NoSuchMethodException.class) private static boolean isRRSTransactional(Object activationSpec) { try { return (Boolean) activationSpec.getClass().getMethod("getRRSTransactional").invoke(activationSpec); } catch (NoSuchMethodException x) { return false; } ca...
java
@FFDCIgnore(NoSuchMethodException.class) private static boolean isRRSTransactional(Object activationSpec) { try { return (Boolean) activationSpec.getClass().getMethod("getRRSTransactional").invoke(activationSpec); } catch (NoSuchMethodException x) { return false; } ca...
[ "@", "FFDCIgnore", "(", "NoSuchMethodException", ".", "class", ")", "private", "static", "boolean", "isRRSTransactional", "(", "Object", "activationSpec", ")", "{", "try", "{", "return", "(", "Boolean", ")", "activationSpec", ".", "getClass", "(", ")", ".", "g...
Determines whether or not an activation spec is RRS transactional. @param activationSpec activation spec @return true if the activation spec is RRS transactional. False if not.
[ "Determines", "whether", "or", "not", "an", "activation", "spec", "is", "RRS", "transactional", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java#L394-L403
111,466
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java
EndpointActivationService.deactivateEndpoint
public void deactivateEndpoint(Object activationSpec, WSMessageEndpointFactory messageEndpointFactory) throws ResourceException { try { if (activationSpec instanceof ActivationSpec) { if (endpointActivationParams.remove(new ActivationParams(activationSpec, messageEndpointFactory))) ...
java
public void deactivateEndpoint(Object activationSpec, WSMessageEndpointFactory messageEndpointFactory) throws ResourceException { try { if (activationSpec instanceof ActivationSpec) { if (endpointActivationParams.remove(new ActivationParams(activationSpec, messageEndpointFactory))) ...
[ "public", "void", "deactivateEndpoint", "(", "Object", "activationSpec", ",", "WSMessageEndpointFactory", "messageEndpointFactory", ")", "throws", "ResourceException", "{", "try", "{", "if", "(", "activationSpec", "instanceof", "ActivationSpec", ")", "{", "if", "(", "...
Deactivate the endpoint corresponding to the specified activation spec instance. @param activationSpec the activation spec instance. @param messageEndpointFactory the message endpoint factory. @throws ResourceException
[ "Deactivate", "the", "endpoint", "corresponding", "to", "the", "specified", "activation", "spec", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java#L626-L641
111,467
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java
EndpointActivationService.endpointDeactivation
void endpointDeactivation(ActivationSpec activationSpec, WSMessageEndpointFactory messageEndpointFactory) { ClassLoader previousClassLoader = jcasu.beginContextClassLoader(raClassLoader); try { BootstrapContextImpl bootstrapContext = bootstrapContextRef.getServiceWithException(); ...
java
void endpointDeactivation(ActivationSpec activationSpec, WSMessageEndpointFactory messageEndpointFactory) { ClassLoader previousClassLoader = jcasu.beginContextClassLoader(raClassLoader); try { BootstrapContextImpl bootstrapContext = bootstrapContextRef.getServiceWithException(); ...
[ "void", "endpointDeactivation", "(", "ActivationSpec", "activationSpec", ",", "WSMessageEndpointFactory", "messageEndpointFactory", ")", "{", "ClassLoader", "previousClassLoader", "=", "jcasu", ".", "beginContextClassLoader", "(", "raClassLoader", ")", ";", "try", "{", "B...
Utility method to perform endpoint deactivation. @param activationSpec activation specification @param messageEndpointFactory message endpoint factory
[ "Utility", "method", "to", "perform", "endpoint", "deactivation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java#L649-L658
111,468
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java
EndpointActivationService.getFullJCAVersion
private static int[] getFullJCAVersion(BootstrapContextImpl bootstrapContext) { int[] fullVersionIntArray = { 1, 5 }; // SIB and WMQ resource adapter "bundles" are compliant with JCA spec version 1.5 // TODO Set the correct JCA Version on the MessageEndpointFactory. Currently hardcoding to 1.5 R...
java
private static int[] getFullJCAVersion(BootstrapContextImpl bootstrapContext) { int[] fullVersionIntArray = { 1, 5 }; // SIB and WMQ resource adapter "bundles" are compliant with JCA spec version 1.5 // TODO Set the correct JCA Version on the MessageEndpointFactory. Currently hardcoding to 1.5 R...
[ "private", "static", "int", "[", "]", "getFullJCAVersion", "(", "BootstrapContextImpl", "bootstrapContext", ")", "{", "int", "[", "]", "fullVersionIntArray", "=", "{", "1", ",", "5", "}", ";", "// SIB and WMQ resource adapter \"bundles\" are compliant with JCA spec versio...
Returns the JCA specification major and minor version with which the resource adapter declares support. @param bootstrapContext bootstrap context supplied to the resource adapter. @return the JCA specification version with which the resource adapter declares support.
[ "Returns", "the", "JCA", "specification", "major", "and", "minor", "version", "with", "which", "the", "resource", "adapter", "declares", "support", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java#L666-L678
111,469
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java
EndpointActivationService.registerRRSXAResourceInfo
public final int registerRRSXAResourceInfo(String actSpecId) { RRSXAResourceFactory xaFactory = rrsXAResFactorySvcRef.getService(); // Make sure that the bundle is active. if (xaFactory == null) { String formattedMessage = Utils.getMessage("J2CA8807.native.rrs.not.available", new Obj...
java
public final int registerRRSXAResourceInfo(String actSpecId) { RRSXAResourceFactory xaFactory = rrsXAResFactorySvcRef.getService(); // Make sure that the bundle is active. if (xaFactory == null) { String formattedMessage = Utils.getMessage("J2CA8807.native.rrs.not.available", new Obj...
[ "public", "final", "int", "registerRRSXAResourceInfo", "(", "String", "actSpecId", ")", "{", "RRSXAResourceFactory", "xaFactory", "=", "rrsXAResFactorySvcRef", ".", "getService", "(", ")", ";", "// Make sure that the bundle is active.", "if", "(", "xaFactory", "==", "nu...
Registers RRS XA resource information with the transaction manager. This is used for inbound. @param actSpecId The id of the activation spec @return the recovery ID (or -1 if an error occurs)
[ "Registers", "RRS", "XA", "resource", "information", "with", "the", "transaction", "manager", ".", "This", "is", "used", "for", "inbound", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java#L715-L732
111,470
OpenLiberty/open-liberty
dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java
EndpointActivationService.unsetJcaRuntimeVersion
protected void unsetJcaRuntimeVersion(JCARuntimeVersion ref) { Version toUnset = ref.getVersion(); // If we are removing the jca feature completely, unset jca version to DEFAULT_VERSION if (runtimeVersion.getVersion().compareTo(toUnset) == 0) runtimeVersion = DEFAULT_VERSION; }
java
protected void unsetJcaRuntimeVersion(JCARuntimeVersion ref) { Version toUnset = ref.getVersion(); // If we are removing the jca feature completely, unset jca version to DEFAULT_VERSION if (runtimeVersion.getVersion().compareTo(toUnset) == 0) runtimeVersion = DEFAULT_VERSION; }
[ "protected", "void", "unsetJcaRuntimeVersion", "(", "JCARuntimeVersion", "ref", ")", "{", "Version", "toUnset", "=", "ref", ".", "getVersion", "(", ")", ";", "// If we are removing the jca feature completely, unset jca version to DEFAULT_VERSION", "if", "(", "runtimeVersion",...
Declarative Services method for unsetting the JCA feature version @param ref the version
[ "Declarative", "Services", "method", "for", "unsetting", "the", "JCA", "feature", "version" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/service/EndpointActivationService.java#L845-L851
111,471
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java
BaseMessageEndpointFactory.isDeliveryTransacted
@Override public boolean isDeliveryTransacted(Method method) throws NoSuchMethodException { BeanMetaData bmd = super.beanMetaData; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "MEF.isDeliveryTransacted called for " +...
java
@Override public boolean isDeliveryTransacted(Method method) throws NoSuchMethodException { BeanMetaData bmd = super.beanMetaData; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "MEF.isDeliveryTransacted called for " +...
[ "@", "Override", "public", "boolean", "isDeliveryTransacted", "(", "Method", "method", ")", "throws", "NoSuchMethodException", "{", "BeanMetaData", "bmd", "=", "super", ".", "beanMetaData", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&...
This is used to find out whether message deliveries to a message endpoint will be transacted or not. The message delivery preferences must not change during the lifetime of a message endpoint. This information is only a hint and may be useful to perform optimizations on message delivery. @param method - description of...
[ "This", "is", "used", "to", "find", "out", "whether", "message", "deliveries", "to", "a", "message", "endpoint", "will", "be", "transacted", "or", "not", ".", "The", "message", "delivery", "preferences", "must", "not", "change", "during", "the", "lifetime", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java#L601-L687
111,472
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java
BaseMessageEndpointFactory.getEJBMethodInfo
private EJBMethodInfoImpl getEJBMethodInfo(Method method) { // Get target method signature. String targetSignature = MethodAttribUtils.methodSignature(method); // Search array of EJBMethodInfo object until the one that matches // target signature is found or all array elements are p...
java
private EJBMethodInfoImpl getEJBMethodInfo(Method method) { // Get target method signature. String targetSignature = MethodAttribUtils.methodSignature(method); // Search array of EJBMethodInfo object until the one that matches // target signature is found or all array elements are p...
[ "private", "EJBMethodInfoImpl", "getEJBMethodInfo", "(", "Method", "method", ")", "{", "// Get target method signature.", "String", "targetSignature", "=", "MethodAttribUtils", ".", "methodSignature", "(", "method", ")", ";", "// Search array of EJBMethodInfo object until the o...
Get the EJBMethodInfo object associated with a specified Method object. @param method - the target of this request. @return EJBMethodInfo for target of this request. Note, a null reference is returned if Method is not a method of this EJB component.
[ "Get", "the", "EJBMethodInfo", "object", "associated", "with", "a", "specified", "Method", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java#L697-L717
111,473
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java
BaseMessageEndpointFactory.initialize
@Override public void initialize(EJSContainer ejbContainer, BeanId id, BeanMetaData bmd) throws RemoteException //f743-8212 { // First perform the normal EJSHome initialization that occurs. super.initialize(ejbContainer, id, bmd); //f743-8212 // Now extend with initialization required f...
java
@Override public void initialize(EJSContainer ejbContainer, BeanId id, BeanMetaData bmd) throws RemoteException //f743-8212 { // First perform the normal EJSHome initialization that occurs. super.initialize(ejbContainer, id, bmd); //f743-8212 // Now extend with initialization required f...
[ "@", "Override", "public", "void", "initialize", "(", "EJSContainer", "ejbContainer", ",", "BeanId", "id", ",", "BeanMetaData", "bmd", ")", "throws", "RemoteException", "//f743-8212", "{", "// First perform the normal EJSHome initialization that occurs.", "super", ".", "i...
Extends EJSHome.initialize method with processing specific to a MessageEndpointFactory for a specified MDB. @param ejbContainer - the EJSContainer object that owns this factory. @param id - the BeanId for this factory object (eg home bean ID). @param bmd - the BeanMetaData for the MDB. @throws RemoteException - throw...
[ "Extends", "EJSHome", ".", "initialize", "method", "with", "processing", "specific", "to", "a", "MessageEndpointFactory", "for", "a", "specified", "MDB", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java#L729-L769
111,474
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java
BaseMessageEndpointFactory.returnInvocationHandler
public void returnInvocationHandler(MessageEndpointBase endpoint, boolean reuse) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(tc, "MEF.returnInvocationHandler"); // Use pool only if one was created. if (ivInvocationHandlerPool != null) // d423445.1...
java
public void returnInvocationHandler(MessageEndpointBase endpoint, boolean reuse) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(tc, "MEF.returnInvocationHandler"); // Use pool only if one was created. if (ivInvocationHandlerPool != null) // d423445.1...
[ "public", "void", "returnInvocationHandler", "(", "MessageEndpointBase", "endpoint", ",", "boolean", "reuse", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "("...
LI2110.56 - rewrote method to use new reuse parameter.
[ "LI2110", ".", "56", "-", "rewrote", "method", "to", "use", "new", "reuse", "parameter", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java#L942-L991
111,475
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java
BaseMessageEndpointFactory.setRAKey
public void setRAKey(String raKey) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "MEF.setRAKey for enterprise class " + beanMetaData.enterpriseBeanName); } ivRAKey = raKey; if (TraceComponent.isAnyTracingEnabled() && tc.isEntr...
java
public void setRAKey(String raKey) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "MEF.setRAKey for enterprise class " + beanMetaData.enterpriseBeanName); } ivRAKey = raKey; if (TraceComponent.isAnyTracingEnabled() && tc.isEntr...
[ "public", "void", "setRAKey", "(", "String", "raKey", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"MEF.setRAKey for enterprise class...
Set the Resource Adapter key that uniquely identifies the RA. This key is useful as a unique identifier in error messages.
[ "Set", "the", "Resource", "Adapter", "key", "that", "uniquely", "identifies", "the", "RA", ".", "This", "key", "is", "useful", "as", "a", "unique", "identifier", "in", "error", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.mdb.core/src/com/ibm/ws/ejbcontainer/mdb/BaseMessageEndpointFactory.java#L998-L1011
111,476
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.getSerializedBytes
protected ObjectManagerByteArrayOutputStream getSerializedBytes() throws ObjectManagerException { final String methodName = "getSerializedBytes"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, ...
java
protected ObjectManagerByteArrayOutputStream getSerializedBytes() throws ObjectManagerException { final String methodName = "getSerializedBytes"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, ...
[ "protected", "ObjectManagerByteArrayOutputStream", "getSerializedBytes", "(", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"getSerializedBytes\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", "....
Get the serialized bytes representing this ManagedObject, these will be given to the logger and potentially to the ObjectStore. @return ObjectManagerByteArrayOutputStream containing the serialized bytes currently representing this ManagedObject. @throws ObjectManagerException
[ "Get", "the", "serialized", "bytes", "representing", "this", "ManagedObject", "these", "will", "be", "given", "to", "the", "logger", "and", "potentially", "to", "the", "ObjectStore", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L566-L630
111,477
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.getSerializedBytesLength
protected long getSerializedBytesLength() throws ObjectManagerException { final String methodName = "getSerializedBytesLength"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, metho...
java
protected long getSerializedBytesLength() throws ObjectManagerException { final String methodName = "getSerializedBytesLength"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, metho...
[ "protected", "long", "getSerializedBytesLength", "(", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"getSerializedBytesLength\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabl...
Get the length of the serialized bytes representing this ManagedObject. @return long number of bytes currently representing this ManagedObject. @throws ObjectManagerException
[ "Get", "the", "length", "of", "the", "serialized", "bytes", "representing", "this", "ManagedObject", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L658-L714
111,478
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.preAdd
public void preAdd(Transaction transaction) throws ObjectManagerException { final String methodName = "preAdd"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new Object[] { transaction }); // Whoever is calling...
java
public void preAdd(Transaction transaction) throws ObjectManagerException { final String methodName = "preAdd"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new Object[] { transaction }); // Whoever is calling...
[ "public", "void", "preAdd", "(", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"preAdd\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", ...
Driven when the transaction is getting ready to add this ManagedObject to an object store. The after image has not been captured so the ManagedObject can still be changed. A subclass may override this method to do its own replace processing before the log has been written. @param transaction controling the addition. ...
[ "Driven", "when", "the", "transaction", "is", "getting", "ready", "to", "add", "this", "ManagedObject", "to", "an", "object", "store", ".", "The", "after", "image", "has", "not", "been", "captured", "so", "the", "ManagedObject", "can", "still", "be", "change...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L999-L1018
111,479
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.preReplace
public void preReplace(Transaction transaction) throws ObjectManagerException { final String methodName = "preReplace"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new Object[] { transaction }); // A subc...
java
public void preReplace(Transaction transaction) throws ObjectManagerException { final String methodName = "preReplace"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new Object[] { transaction }); // A subc...
[ "public", "void", "preReplace", "(", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"preReplace\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEn...
Driven when the transaction is getting ready to replace a ManagedObject in an object store The object must have previously been locked. The after image has not been captured so the ManagedObject can still be changed. A subclass may override this method to do its own replace processing before the log has been written. ...
[ "Driven", "when", "the", "transaction", "is", "getting", "ready", "to", "replace", "a", "ManagedObject", "in", "an", "object", "store", "The", "object", "must", "have", "previously", "been", "locked", ".", "The", "after", "image", "has", "not", "been", "capt...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1065-L1093
111,480
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.postReplace
public void postReplace(Transaction transaction, boolean logged) throws ObjectManagerException { final String methodName = "postReplace"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new...
java
public void postReplace(Transaction transaction, boolean logged) throws ObjectManagerException { final String methodName = "postReplace"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName, new...
[ "public", "void", "postReplace", "(", "Transaction", "transaction", ",", "boolean", "logged", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"postReplace\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&...
Driven when the object is replaced in an object store within a transaction. The object must have previously been locked. A subclass may override this method to do its owd replace processing after the log has been written. @param transaction controling the replacement. @param logged true if transaction logging of the ...
[ "Driven", "when", "the", "object", "is", "replaced", "in", "an", "object", "store", "within", "a", "transaction", ".", "The", "object", "must", "have", "previously", "been", "locked", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1105-L1126
111,481
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.preOptimisticReplace
public void preOptimisticReplace(Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this , cclass , "preOptimisticReplace" , ...
java
public void preOptimisticReplace(Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this , cclass , "preOptimisticReplace" , ...
[ "public", "void", "preOptimisticReplace", "(", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "("...
Driven when the object is optimistically replaced in an object store within a transaction. This differs from a standard replace in that the ManagedObject need not be locked. There is no before immage taken and it is up to the user of the optimisticReplace to perform any compensating action should the transaction back o...
[ "Driven", "when", "the", "object", "is", "optimistically", "replaced", "in", "an", "object", "store", "within", "a", "transaction", ".", "This", "differs", "from", "a", "standard", "replace", "in", "that", "the", "ManagedObject", "need", "not", "be", "locked",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1139-L1160
111,482
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.postOptimisticReplace
public void postOptimisticReplace(Transaction transaction, boolean logged) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, ...
java
public void postOptimisticReplace(Transaction transaction, boolean logged) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, ...
[ "public", "void", "postOptimisticReplace", "(", "Transaction", "transaction", ",", "boolean", "logged", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", ...
Driven when the object is optimistically replaced in an object store within a transaction. A subclass may override this method to do its own optimisticReplace processing after the log has been written. @param transaction controling the replacement. @param logged true if transaction logging of the optimisticReplace wa...
[ "Driven", "when", "the", "object", "is", "optimistically", "replaced", "in", "an", "object", "store", "within", "a", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1173-L1194
111,483
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.prePrepare
public void prePrepare(Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "prePrepare", new Object[] { transact...
java
public void prePrepare(Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "prePrepare", new Object[] { transact...
[ "public", "void", "prePrepare", "(", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this"...
Driven just before the object changes to prepared state within a transaction, if requested. This is only redriven at recovery time if the the ManagedObject explicitly re-requests this at recovery time. Any ManagedObject requesting this callback should override this method. @param transaction causing the prepare. @thro...
[ "Driven", "just", "before", "the", "object", "changes", "to", "prepared", "state", "within", "a", "transaction", "if", "requested", ".", "This", "is", "only", "redriven", "at", "recovery", "time", "if", "the", "the", "ManagedObject", "explicitly", "re", "-", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1306-L1322
111,484
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.commit
protected void commit(Transaction transaction , ObjectManagerByteArrayOutputStream serializedBytes , long savedSequenceNumber , boolean requiresCurrentCheckpoint ) throws ObjectManagerEx...
java
protected void commit(Transaction transaction , ObjectManagerByteArrayOutputStream serializedBytes , long savedSequenceNumber , boolean requiresCurrentCheckpoint ) throws ObjectManagerEx...
[ "protected", "void", "commit", "(", "Transaction", "transaction", ",", "ObjectManagerByteArrayOutputStream", "serializedBytes", ",", "long", "savedSequenceNumber", ",", "boolean", "requiresCurrentCheckpoint", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing...
Driven when the object changes to commited state within a transaction. Cannot be overriden by a subclass of ManagedObject. @param transaction commiting the update. @param serializedBytes the bytes that were given to the transaction when the last update was made or null if the object has been deleted, or just locked an...
[ "Driven", "when", "the", "object", "changes", "to", "commited", "state", "within", "a", "transaction", ".", "Cannot", "be", "overriden", "by", "a", "subclass", "of", "ManagedObject", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1385-L1465
111,485
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.backout
protected void backout(Transaction transaction, long savedSequenceNumber, boolean requiresCurrentCheckpoint) throws ObjectManagerException { final String methodName = "backout"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEn...
java
protected void backout(Transaction transaction, long savedSequenceNumber, boolean requiresCurrentCheckpoint) throws ObjectManagerException { final String methodName = "backout"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEn...
[ "protected", "void", "backout", "(", "Transaction", "transaction", ",", "long", "savedSequenceNumber", ",", "boolean", "requiresCurrentCheckpoint", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"backout\"", ";", "if", "(", "Trac...
Driven when the object is backed out within a transaction. @param transaction performing the backout. @param savedSequenceNumber the sequenceNumber when the update was made and which has now been saved. @param requiresCurrentCheckpoint true if the managed object must be updated as part of the current checkpoint. @thro...
[ "Driven", "when", "the", "object", "is", "backed", "out", "within", "a", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1596-L1660
111,486
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.optimisticReplaceBackout
protected void optimisticReplaceBackout(Transaction transaction , ObjectManagerByteArrayOutputStream serializedBytes , long savedSequenceNumber , boolean requiresCurrentCheckpoint ...
java
protected void optimisticReplaceBackout(Transaction transaction , ObjectManagerByteArrayOutputStream serializedBytes , long savedSequenceNumber , boolean requiresCurrentCheckpoint ...
[ "protected", "void", "optimisticReplaceBackout", "(", "Transaction", "transaction", ",", "ObjectManagerByteArrayOutputStream", "serializedBytes", ",", "long", "savedSequenceNumber", ",", "boolean", "requiresCurrentCheckpoint", ")", "throws", "ObjectManagerException", "{", "if",...
Driven when the ManageObject is backed out after an optimistic replace within a transaction. @param transaction performing the backout. @param serializedBytes containing the latest form of the serializedBytes after the backout has been performed by the Optimistic replace. @param savedSequenceNumber that the serialised...
[ "Driven", "when", "the", "ManageObject", "is", "backed", "out", "after", "an", "optimistic", "replace", "within", "a", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1672-L1712
111,487
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.checkpoint
protected void checkpoint(InternalTransaction internalTransaction, ObjectManagerByteArrayOutputStream serializedBytes, long savedSequenceNumber) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryE...
java
protected void checkpoint(InternalTransaction internalTransaction, ObjectManagerByteArrayOutputStream serializedBytes, long savedSequenceNumber) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryE...
[ "protected", "void", "checkpoint", "(", "InternalTransaction", "internalTransaction", ",", "ObjectManagerByteArrayOutputStream", "serializedBytes", ",", "long", "savedSequenceNumber", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnable...
Called by the Transaction after the ObjectManager when it has written a checkpointStartLogRecord. The ManagedObject can assume that all log records up to and including logSequenceNumber are now safely hardened to disk. On this assumption we can write after images to the ObjectStores. @param internalTransaction perform...
[ "Called", "by", "the", "Transaction", "after", "the", "ObjectManager", "when", "it", "has", "written", "a", "checkpointStartLogRecord", ".", "The", "ManagedObject", "can", "assume", "that", "all", "log", "records", "up", "to", "and", "including", "logSequenceNumbe...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1752-L1824
111,488
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.setState
private void setState(int[] nextState) throws StateErrorException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "setState", new Object[] { nextState, ...
java
private void setState(int[] nextState) throws StateErrorException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "setState", new Object[] { nextState, ...
[ "private", "void", "setState", "(", "int", "[", "]", "nextState", ")", "throws", "StateErrorException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this"...
Makes a state transition. @param nextState maps the current stte to the new one. @throws StateErrorException if the transition is invalid.
[ "Makes", "a", "state", "transition", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L1997-L2033
111,489
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java
ManagedObject.readObject
private void readObject(java.io.ObjectInputStream objectInputStream) throws java.io.IOException , java.lang.ClassNotFoundException { final String methodName = "readObject"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(th...
java
private void readObject(java.io.ObjectInputStream objectInputStream) throws java.io.IOException , java.lang.ClassNotFoundException { final String methodName = "readObject"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(th...
[ "private", "void", "readObject", "(", "java", ".", "io", ".", "ObjectInputStream", "objectInputStream", ")", "throws", "java", ".", "io", ".", "IOException", ",", "java", ".", "lang", ".", "ClassNotFoundException", "{", "final", "String", "methodName", "=", "\...
Customized deserialization. Notice that subclasses do not have to call this method in their super class because the deserialisation of the subclass need not concern itself with restoring the state of the super class. @param objectInputStream containing the serialized form of the Object. @throws java.io.IOException @th...
[ "Customized", "deserialization", ".", "Notice", "that", "subclasses", "do", "not", "have", "to", "call", "this", "method", "in", "their", "super", "class", "because", "the", "deserialisation", "of", "the", "subclass", "need", "not", "concern", "itself", "with", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ManagedObject.java#L2190-L2215
111,490
OpenLiberty/open-liberty
dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/util/Link.java
Link.parseMessageDestinationLink
public static Link parseMessageDestinationLink(String origin, String link) { return parse(origin, link, false); }
java
public static Link parseMessageDestinationLink(String origin, String link) { return parse(origin, link, false); }
[ "public", "static", "Link", "parseMessageDestinationLink", "(", "String", "origin", ",", "String", "link", ")", "{", "return", "parse", "(", "origin", ",", "link", ",", "false", ")", ";", "}" ]
Parse a message-destination-link @param origin original module name. @param link link provided on the link element @return
[ "Parse", "a", "message", "-", "destination", "-", "link" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/util/Link.java#L29-L31
111,491
OpenLiberty/open-liberty
dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/util/Link.java
Link.parse
public static Link parse(String origin, String link, boolean allowModuleName) { String originMod = origin; int index = link.indexOf('#'); if (index == -1) { if (allowModuleName) { index = link.lastIndexOf('/'); if (index == -1) { re...
java
public static Link parse(String origin, String link, boolean allowModuleName) { String originMod = origin; int index = link.indexOf('#'); if (index == -1) { if (allowModuleName) { index = link.lastIndexOf('/'); if (index == -1) { re...
[ "public", "static", "Link", "parse", "(", "String", "origin", ",", "String", "link", ",", "boolean", "allowModuleName", ")", "{", "String", "originMod", "=", "origin", ";", "int", "index", "=", "link", ".", "indexOf", "(", "'", "'", ")", ";", "if", "("...
Parse a link from an ejb-link or a message-destination-link @param origin original module name. @param link link provided on the link element @param allowModuleName boolean if a module name is allowed on the link @return
[ "Parse", "a", "link", "from", "an", "ejb", "-", "link", "or", "a", "message", "-", "destination", "-", "link" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/util/Link.java#L41-L81
111,492
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.mergeReferenceAttributes
private Object mergeReferenceAttributes(String attributeName, EvaluationContext context, ExtendedAttributeDefinition attributeDef, ConfigElement config, Object rawValues) { Object rawValue; String[] referenceAttributes = getReferenceAttributes(attributeName); context.addProcessed(referenceAttrib...
java
private Object mergeReferenceAttributes(String attributeName, EvaluationContext context, ExtendedAttributeDefinition attributeDef, ConfigElement config, Object rawValues) { Object rawValue; String[] referenceAttributes = getReferenceAttributes(attributeName); context.addProcessed(referenceAttrib...
[ "private", "Object", "mergeReferenceAttributes", "(", "String", "attributeName", ",", "EvaluationContext", "context", ",", "ExtendedAttributeDefinition", "attributeDef", ",", "ConfigElement", "config", ",", "Object", "rawValues", ")", "{", "Object", "rawValue", ";", "St...
Merge references and nested elements prior to evaluation.
[ "Merge", "references", "and", "nested", "elements", "prior", "to", "evaluation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L529-L556
111,493
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.getUnconfiguredAttributeValue
private Object getUnconfiguredAttributeValue(EvaluationContext context, ExtendedAttributeDefinition attributeDef) throws ConfigEvaluatorException { Object rawValue = null; // no value in config then try ibm:variable if set rawValue = variableEvaluator.lookupVariableExtension(context, attribut...
java
private Object getUnconfiguredAttributeValue(EvaluationContext context, ExtendedAttributeDefinition attributeDef) throws ConfigEvaluatorException { Object rawValue = null; // no value in config then try ibm:variable if set rawValue = variableEvaluator.lookupVariableExtension(context, attribut...
[ "private", "Object", "getUnconfiguredAttributeValue", "(", "EvaluationContext", "context", ",", "ExtendedAttributeDefinition", "attributeDef", ")", "throws", "ConfigEvaluatorException", "{", "Object", "rawValue", "=", "null", ";", "// no value in config then try ibm:variable if s...
Try to determine a value from variable or defaults for the AD. @param attributeDef @param context @return @throws ConfigEvaluatorException
[ "Try", "to", "determine", "a", "value", "from", "variable", "or", "defaults", "for", "the", "AD", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L700-L717
111,494
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.convertObjectToSingleValue
private Object convertObjectToSingleValue(Object rawValue, ExtendedAttributeDefinition attrDef, EvaluationContext context, int index, boolean ignoreWarnings) throws ConfigEvaluatorException { if (rawValue instanceof String) { return convertStringToSingle...
java
private Object convertObjectToSingleValue(Object rawValue, ExtendedAttributeDefinition attrDef, EvaluationContext context, int index, boolean ignoreWarnings) throws ConfigEvaluatorException { if (rawValue instanceof String) { return convertStringToSingle...
[ "private", "Object", "convertObjectToSingleValue", "(", "Object", "rawValue", ",", "ExtendedAttributeDefinition", "attrDef", ",", "EvaluationContext", "context", ",", "int", "index", ",", "boolean", "ignoreWarnings", ")", "throws", "ConfigEvaluatorException", "{", "if", ...
Process and evaluate a raw value. @return the converted value, or null if the value was unresolved
[ "Process", "and", "evaluate", "a", "raw", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L895-L911
111,495
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.resolveStringValue
private String resolveStringValue(Object rawValue, ExtendedAttributeDefinition attrDef, EvaluationContext context, boolean ignoreWarnings) throws ConfigEvaluatorException { if (rawValue instanceof String) { return processString((String) rawValue, attrDef, context, ignoreWarnings); } else if ...
java
private String resolveStringValue(Object rawValue, ExtendedAttributeDefinition attrDef, EvaluationContext context, boolean ignoreWarnings) throws ConfigEvaluatorException { if (rawValue instanceof String) { return processString((String) rawValue, attrDef, context, ignoreWarnings); } else if ...
[ "private", "String", "resolveStringValue", "(", "Object", "rawValue", ",", "ExtendedAttributeDefinition", "attrDef", ",", "EvaluationContext", "context", ",", "boolean", "ignoreWarnings", ")", "throws", "ConfigEvaluatorException", "{", "if", "(", "rawValue", "instanceof",...
Resolve a raw value to a String, and process it so that it can be evaluated.
[ "Resolve", "a", "raw", "value", "to", "a", "String", "and", "process", "it", "so", "that", "it", "can", "be", "evaluated", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L916-L926
111,496
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.convertStringToSingleValue
private Object convertStringToSingleValue(String rawValue, ExtendedAttributeDefinition attrDef, EvaluationContext context, boolean ignoreWarnings) throws ConfigEvaluatorException { String value = processString(rawValue, attrDef, context, ignoreWarnings); ret...
java
private Object convertStringToSingleValue(String rawValue, ExtendedAttributeDefinition attrDef, EvaluationContext context, boolean ignoreWarnings) throws ConfigEvaluatorException { String value = processString(rawValue, attrDef, context, ignoreWarnings); ret...
[ "private", "Object", "convertStringToSingleValue", "(", "String", "rawValue", ",", "ExtendedAttributeDefinition", "attrDef", ",", "EvaluationContext", "context", ",", "boolean", "ignoreWarnings", ")", "throws", "ConfigEvaluatorException", "{", "String", "value", "=", "pro...
Process and evaluate a raw String value.
[ "Process", "and", "evaluate", "a", "raw", "String", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L931-L935
111,497
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.evaluateString
private Object evaluateString(String strVal, ExtendedAttributeDefinition attrDef, EvaluationContext context) throws ConfigEvaluatorException { if (attrDef == null) { return strVal; } int type = attrDef.getType(); if (type == AttributeDefinition.BOOLEAN) { return ...
java
private Object evaluateString(String strVal, ExtendedAttributeDefinition attrDef, EvaluationContext context) throws ConfigEvaluatorException { if (attrDef == null) { return strVal; } int type = attrDef.getType(); if (type == AttributeDefinition.BOOLEAN) { return ...
[ "private", "Object", "evaluateString", "(", "String", "strVal", ",", "ExtendedAttributeDefinition", "attrDef", ",", "EvaluationContext", "context", ")", "throws", "ConfigEvaluatorException", "{", "if", "(", "attrDef", "==", "null", ")", "{", "return", "strVal", ";",...
Evaluate a string to a value of the target attribute type. @see #convertListToArray
[ "Evaluate", "a", "string", "to", "a", "value", "of", "the", "target", "attribute", "type", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L942-L984
111,498
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.convertListToStringArray
private String[] convertListToStringArray(List<?> rawValues, ExtendedAttributeDefinition attrDef, EvaluationContext context, boolean ignoreWarnings) throws ConfigEvaluatorException { @SuppressWarnings({ "unchecked", "rawtypes" }) Collection<String> collectio...
java
private String[] convertListToStringArray(List<?> rawValues, ExtendedAttributeDefinition attrDef, EvaluationContext context, boolean ignoreWarnings) throws ConfigEvaluatorException { @SuppressWarnings({ "unchecked", "rawtypes" }) Collection<String> collectio...
[ "private", "String", "[", "]", "convertListToStringArray", "(", "List", "<", "?", ">", "rawValues", ",", "ExtendedAttributeDefinition", "attrDef", ",", "EvaluationContext", "context", ",", "boolean", "ignoreWarnings", ")", "throws", "ConfigEvaluatorException", "{", "@...
Converts a list of raw configuration values to a string array. @param attrDef a string-based attribute definition, or null if this is a simple evaluation @return the array of converted values, or null if all values are unresolved
[ "Converts", "a", "list", "of", "raw", "configuration", "values", "to", "a", "string", "array", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L1089-L1094
111,499
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java
ConfigEvaluator.convertConfigElementToSingleValue
private Object convertConfigElementToSingleValue(ConfigElement childElement, ExtendedAttributeDefinition attrDef, EvaluationContext context, int index, boolean ignoreWarnings) throws ConfigEvaluatorException { // Handle elements with attributes for non-PID AD...
java
private Object convertConfigElementToSingleValue(ConfigElement childElement, ExtendedAttributeDefinition attrDef, EvaluationContext context, int index, boolean ignoreWarnings) throws ConfigEvaluatorException { // Handle elements with attributes for non-PID AD...
[ "private", "Object", "convertConfigElementToSingleValue", "(", "ConfigElement", "childElement", ",", "ExtendedAttributeDefinition", "attrDef", ",", "EvaluationContext", "context", ",", "int", "index", ",", "boolean", "ignoreWarnings", ")", "throws", "ConfigEvaluatorException"...
Process a raw ConfigElement value and evaluate it.
[ "Process", "a", "raw", "ConfigElement", "value", "and", "evaluate", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigEvaluator.java#L1427-L1438