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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
68,100 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ClientConnectionManagerImpl.java | ClientConnectionManagerImpl.initialise | public static void initialise() throws SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initialise");
initialisationFailed = true;
Framework framework = Framework.getInstance();
if (framework != null)
{
... | java | public static void initialise() throws SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initialise");
initialisationFailed = true;
Framework framework = Framework.getInstance();
if (framework != null)
{
... | [
"public",
"static",
"void",
"initialise",
"(",
")",
"throws",
"SIErrorException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"initialise\"... | Initialises the Client Connection Manager.
@see com.ibm.ws.sib.jfapchannel.ClientConnectionManager#initialise() | [
"Initialises",
"the",
"Client",
"Connection",
"Manager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/ClientConnectionManagerImpl.java#L166-L188 |
68,101 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/session/internal/SessionImpl.java | SessionImpl.destroy | private void destroy() {
final boolean bTrace = TraceComponent.isAnyTracingEnabled();
if (bTrace && tc.isEventEnabled()) {
Tr.event(tc, "Session being destroyed; " + this);
}
// List<HttpSessionListener> list = this.myConfig.getSessionListeners();
// if (null != list)... | java | private void destroy() {
final boolean bTrace = TraceComponent.isAnyTracingEnabled();
if (bTrace && tc.isEventEnabled()) {
Tr.event(tc, "Session being destroyed; " + this);
}
// List<HttpSessionListener> list = this.myConfig.getSessionListeners();
// if (null != list)... | [
"private",
"void",
"destroy",
"(",
")",
"{",
"final",
"boolean",
"bTrace",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"bTrace",
"&&",
"tc",
".",
"isEventEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"event",
"(",
"tc",
",",... | Once a session has been invalidated, this will perform final cleanup
and notifying any listeners. | [
"Once",
"a",
"session",
"has",
"been",
"invalidated",
"this",
"will",
"perform",
"final",
"cleanup",
"and",
"notifying",
"any",
"listeners",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/session/internal/SessionImpl.java#L82-L109 |
68,102 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/ThreadContextClassLoader.java | ThreadContextClassLoader.cleanup | private void cleanup() {
final String methodName = "cleanup(): ";
try {
final Bundle b = bundle.getAndSet(null);
if (b != null) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, methodName + "Uninstalling bundle location: " + b.getLocation() + ", bundl... | java | private void cleanup() {
final String methodName = "cleanup(): ";
try {
final Bundle b = bundle.getAndSet(null);
if (b != null) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, methodName + "Uninstalling bundle location: " + b.getLocation() + ", bundl... | [
"private",
"void",
"cleanup",
"(",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"cleanup(): \"",
";",
"try",
"{",
"final",
"Bundle",
"b",
"=",
"bundle",
".",
"getAndSet",
"(",
"null",
")",
";",
"if",
"(",
"b",
"!=",
"null",
")",
"{",
"if",
"(",
... | Cleans up the TCCL instance. Once called, this TCCL is effectively disabled.
It's associated gateway bundle will have been removed. | [
"Cleans",
"up",
"the",
"TCCL",
"instance",
".",
"Once",
"called",
"this",
"TCCL",
"is",
"effectively",
"disabled",
".",
"It",
"s",
"associated",
"gateway",
"bundle",
"will",
"have",
"been",
"removed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/ThreadContextClassLoader.java#L59-L88 |
68,103 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/ThreadContextClassLoader.java | ThreadContextClassLoader.decrementRefCount | int decrementRefCount() {
final String methodName = "decrementRefCount(): ";
final int count = refCount.decrementAndGet();
if (count < 0) {
// more destroys than creates
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, method... | java | int decrementRefCount() {
final String methodName = "decrementRefCount(): ";
final int count = refCount.decrementAndGet();
if (count < 0) {
// more destroys than creates
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, method... | [
"int",
"decrementRefCount",
"(",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"decrementRefCount(): \"",
";",
"final",
"int",
"count",
"=",
"refCount",
".",
"decrementAndGet",
"(",
")",
";",
"if",
"(",
"count",
"<",
"0",
")",
"{",
"// more destroys than c... | The ClassLoadingService implementation should call this method when it's
destroyThreadContextClassLoader method is called. Each call to destroyTCCL
should decrement this ref counter. When there are no more references to this
TCCL, it will be cleaned up, which effectively invalidates it.
Users of the ClassLoadingServic... | [
"The",
"ClassLoadingService",
"implementation",
"should",
"call",
"this",
"method",
"when",
"it",
"s",
"destroyThreadContextClassLoader",
"method",
"is",
"called",
".",
"Each",
"call",
"to",
"destroyTCCL",
"should",
"decrement",
"this",
"ref",
"counter",
".",
"When"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/ThreadContextClassLoader.java#L106-L119 |
68,104 | OpenLiberty/open-liberty | dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JPAPCtxtInjectionBinding.java | JPAPCtxtInjectionBinding.newPersistenceContext | private static PersistenceContext newPersistenceContext(final String fJndiName, final String fUnitName, final int fCtxType,
final List<Property> fCtxProperties) {
return new PersistenceContext() {
@Override
public Class<? exten... | java | private static PersistenceContext newPersistenceContext(final String fJndiName, final String fUnitName, final int fCtxType,
final List<Property> fCtxProperties) {
return new PersistenceContext() {
@Override
public Class<? exten... | [
"private",
"static",
"PersistenceContext",
"newPersistenceContext",
"(",
"final",
"String",
"fJndiName",
",",
"final",
"String",
"fUnitName",
",",
"final",
"int",
"fCtxType",
",",
"final",
"List",
"<",
"Property",
">",
"fCtxProperties",
")",
"{",
"return",
"new",
... | This transient PersistenceContext annotation class has no default value.
i.e. null is a valid value for some fields. | [
"This",
"transient",
"PersistenceContext",
"annotation",
"class",
"has",
"no",
"default",
"value",
".",
"i",
".",
"e",
".",
"null",
"is",
"a",
"valid",
"value",
"for",
"some",
"fields",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/management/JPAPCtxtInjectionBinding.java#L450-L515 |
68,105 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProxyReceiveListener.java | ProxyReceiveListener.processConnectionInfo | private void processConnectionInfo(CommsByteBuffer buffer, Conversation conversation)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "processConnectionInfo",
new Object[]{buffer, conversation});
ClientConversationState ... | java | private void processConnectionInfo(CommsByteBuffer buffer, Conversation conversation)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "processConnectionInfo",
new Object[]{buffer, conversation});
ClientConversationState ... | [
"private",
"void",
"processConnectionInfo",
"(",
"CommsByteBuffer",
"buffer",
",",
"Conversation",
"conversation",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry... | This method will process the connection information received from our peer.
At the moment this consists of the connection object ID required at the server,
the name of the messaging engine and the ME Uuid.
@param buffer
@param conversation | [
"This",
"method",
"will",
"process",
"the",
"connection",
"information",
"received",
"from",
"our",
"peer",
".",
"At",
"the",
"moment",
"this",
"consists",
"of",
"the",
"connection",
"object",
"ID",
"required",
"at",
"the",
"server",
"the",
"name",
"of",
"th... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProxyReceiveListener.java#L526-L587 |
68,106 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProxyReceiveListener.java | ProxyReceiveListener.processSchema | private void processSchema(CommsByteBuffer buffer, Conversation conversation)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processSchema",
new Object[]
{
... | java | private void processSchema(CommsByteBuffer buffer, Conversation conversation)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processSchema",
new Object[]
{
... | [
"private",
"void",
"processSchema",
"(",
"CommsByteBuffer",
"buffer",
",",
"Conversation",
"conversation",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"("... | This method will process a schema received from our peer's MFP compoennt.
At the moment this consists of contacting MFP here on the client and
giving it the schema. Schemas are received when the ME is about to send
us a message and realises that we don't have the necessary schema to decode
it. A High priority message i... | [
"This",
"method",
"will",
"process",
"a",
"schema",
"received",
"from",
"our",
"peer",
"s",
"MFP",
"compoennt",
".",
"At",
"the",
"moment",
"this",
"consists",
"of",
"contacting",
"MFP",
"here",
"on",
"the",
"client",
"and",
"giving",
"it",
"the",
"schema"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProxyReceiveListener.java#L600-L636 |
68,107 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProxyReceiveListener.java | ProxyReceiveListener.processSyncMessageChunk | private void processSyncMessageChunk(CommsByteBuffer buffer, Conversation conversation,
boolean connectionMessage)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "processSyncMessageChunk",
... | java | private void processSyncMessageChunk(CommsByteBuffer buffer, Conversation conversation,
boolean connectionMessage)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "processSyncMessageChunk",
... | [
"private",
"void",
"processSyncMessageChunk",
"(",
"CommsByteBuffer",
"buffer",
",",
"Conversation",
"conversation",
",",
"boolean",
"connectionMessage",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
... | Processes a chunk received from a synchronous message.
@param buffer
@param conversation
@param connectionMessage | [
"Processes",
"a",
"chunk",
"received",
"from",
"a",
"synchronous",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ProxyReceiveListener.java#L645-L675 |
68,108 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java | Activator.getBean | public BeanO getBean(ContainerTx tx, BeanId id)
{
return id.getActivationStrategy().atGet(tx, id);
} | java | public BeanO getBean(ContainerTx tx, BeanId id)
{
return id.getActivationStrategy().atGet(tx, id);
} | [
"public",
"BeanO",
"getBean",
"(",
"ContainerTx",
"tx",
",",
"BeanId",
"id",
")",
"{",
"return",
"id",
".",
"getActivationStrategy",
"(",
")",
".",
"atGet",
"(",
"tx",
",",
"id",
")",
";",
"}"
] | Return bean from cache for given transaction, bean id. Return null
if no entry in cache. | [
"Return",
"bean",
"from",
"cache",
"for",
"given",
"transaction",
"bean",
"id",
".",
"Return",
"null",
"if",
"no",
"entry",
"in",
"cache",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java#L368-L371 |
68,109 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java | Activator.commitBean | public void commitBean(ContainerTx tx, BeanO bean)
{
bean.getActivationStrategy().atCommit(tx, bean);
} | java | public void commitBean(ContainerTx tx, BeanO bean)
{
bean.getActivationStrategy().atCommit(tx, bean);
} | [
"public",
"void",
"commitBean",
"(",
"ContainerTx",
"tx",
",",
"BeanO",
"bean",
")",
"{",
"bean",
".",
"getActivationStrategy",
"(",
")",
".",
"atCommit",
"(",
"tx",
",",
"bean",
")",
";",
"}"
] | Perform commit-time processing for the specified transaction and bean.
This method should be called for each bean which was participating in
a transaction which was successfully committed.
The transaction-local instance of the bean is removed from the cache,
and any necessary reconciliation between that instance and t... | [
"Perform",
"commit",
"-",
"time",
"processing",
"for",
"the",
"specified",
"transaction",
"and",
"bean",
".",
"This",
"method",
"should",
"be",
"called",
"for",
"each",
"bean",
"which",
"was",
"participating",
"in",
"a",
"transaction",
"which",
"was",
"success... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java#L387-L390 |
68,110 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java | Activator.unitOfWorkEnd | public void unitOfWorkEnd(ContainerAS as, BeanO bean)
{
bean.getActivationStrategy().atUnitOfWorkEnd(as, bean);
} | java | public void unitOfWorkEnd(ContainerAS as, BeanO bean)
{
bean.getActivationStrategy().atUnitOfWorkEnd(as, bean);
} | [
"public",
"void",
"unitOfWorkEnd",
"(",
"ContainerAS",
"as",
",",
"BeanO",
"bean",
")",
"{",
"bean",
".",
"getActivationStrategy",
"(",
")",
".",
"atUnitOfWorkEnd",
"(",
"as",
",",
"bean",
")",
";",
"}"
] | LIDB441.5 - added | [
"LIDB441",
".",
"5",
"-",
"added"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java#L404-L407 |
68,111 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java | Activator.rollbackBean | public void rollbackBean(ContainerTx tx, BeanO bean)
{
bean.getActivationStrategy().atRollback(tx, bean);
} | java | public void rollbackBean(ContainerTx tx, BeanO bean)
{
bean.getActivationStrategy().atRollback(tx, bean);
} | [
"public",
"void",
"rollbackBean",
"(",
"ContainerTx",
"tx",
",",
"BeanO",
"bean",
")",
"{",
"bean",
".",
"getActivationStrategy",
"(",
")",
".",
"atRollback",
"(",
"tx",
",",
"bean",
")",
";",
"}"
] | Perform rollback-time processing for the specified transaction and
bean. This method should be called for each bean which was
participating in a transaction which was rolled back.
Removes the transaction-local instance from the cache.
@param tx The transaction which was just rolled back
@param bean The bean for rollb... | [
"Perform",
"rollback",
"-",
"time",
"processing",
"for",
"the",
"specified",
"transaction",
"and",
"bean",
".",
"This",
"method",
"should",
"be",
"called",
"for",
"each",
"bean",
"which",
"was",
"participating",
"in",
"a",
"transaction",
"which",
"was",
"rolle... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java#L419-L422 |
68,112 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java | Activator.enlistBean | public final void enlistBean(ContainerTx tx, BeanO bean)
{
bean.getActivationStrategy().atEnlist(tx, bean);
} | java | public final void enlistBean(ContainerTx tx, BeanO bean)
{
bean.getActivationStrategy().atEnlist(tx, bean);
} | [
"public",
"final",
"void",
"enlistBean",
"(",
"ContainerTx",
"tx",
",",
"BeanO",
"bean",
")",
"{",
"bean",
".",
"getActivationStrategy",
"(",
")",
".",
"atEnlist",
"(",
"tx",
",",
"bean",
")",
";",
"}"
] | Perform actions required when a bean is enlisted in a transaction
at some point in time other than at activation. Used only for
beans using TX_BEAN_MANAGED. | [
"Perform",
"actions",
"required",
"when",
"a",
"bean",
"is",
"enlisted",
"in",
"a",
"transaction",
"at",
"some",
"point",
"in",
"time",
"other",
"than",
"at",
"activation",
".",
"Used",
"only",
"for",
"beans",
"using",
"TX_BEAN_MANAGED",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java#L429-L432 |
68,113 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java | Activator.terminate | public void terminate()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "terminate");
statefulBeanReaper.cancel(); //d601399
// Force a reaper sweep
statefulBeanReaper.finalSweep(passivator);
beanCache.terminate();
if (T... | java | public void terminate()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "terminate");
statefulBeanReaper.cancel(); //d601399
// Force a reaper sweep
statefulBeanReaper.finalSweep(passivator);
beanCache.terminate();
if (T... | [
"public",
"void",
"terminate",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"terminate\"",
")",
";",
"statefulBeanReaper",
".",
"... | Enable cleanup of passivated beans, kind of a hack, required
because all the bean's homes have already been cleaned up at this
point | [
"Enable",
"cleanup",
"of",
"passivated",
"beans",
"kind",
"of",
"a",
"hack",
"required",
"because",
"all",
"the",
"bean",
"s",
"homes",
"have",
"already",
"been",
"cleaned",
"up",
"at",
"this",
"point"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java#L564-L578 |
68,114 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java | Activator.uninstallBean | public void uninstallBean(J2EEName homeName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "uninstallBean " + homeName);
BeanO cacheMember;
J2EEName cacheHomeName;
Iterator<?> statefulBeans; // d103404.1
int numEnumerated = 0, nu... | java | public void uninstallBean(J2EEName homeName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "uninstallBean " + homeName);
BeanO cacheMember;
J2EEName cacheHomeName;
Iterator<?> statefulBeans; // d103404.1
int numEnumerated = 0, nu... | [
"public",
"void",
"uninstallBean",
"(",
"J2EEName",
"homeName",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"uninstallBean \"",
"+",
"h... | Uninstall a bean identified by the J2EEName. This is a partial solution
to the general problem of how we can quiesce beans.
Uninstalling a bean requires us to enumerate the whole bean cache
We attempt to find beans which have the same J2EEName as the bean we
are uninstalling. We then fire the uninstall event on the act... | [
"Uninstall",
"a",
"bean",
"identified",
"by",
"the",
"J2EEName",
".",
"This",
"is",
"a",
"partial",
"solution",
"to",
"the",
"general",
"problem",
"of",
"how",
"we",
"can",
"quiesce",
"beans",
".",
"Uninstalling",
"a",
"bean",
"requires",
"us",
"to",
"enum... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/activator/Activator.java#L597-L686 |
68,115 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/TimerNpImpl.java | TimerNpImpl.calculateNextExpiration | synchronized long calculateNextExpiration()
{
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "calculateNextExpiration: " + this);
ivLastExpiration = ivExpiration; // 598265
if (ivParsedScheduleExpression != n... | java | synchronized long calculateNextExpiration()
{
boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "calculateNextExpiration: " + this);
ivLastExpiration = ivExpiration; // 598265
if (ivParsedScheduleExpression != n... | [
"synchronized",
"long",
"calculateNextExpiration",
"(",
")",
"{",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc... | Calculate the next time that the timer should fire.
@return the number of milliseconds until the next timeout, or 0 if the
timer should not fire again | [
"Calculate",
"the",
"next",
"time",
"that",
"the",
"timer",
"should",
"fire",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/TimerNpImpl.java#L406-L432 |
68,116 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/TimerNpImpl.java | TimerNpImpl.removeTimersByJ2EEName | public static void removeTimersByJ2EEName(J2EEName j2eeName)
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "removeTimersByJ2EEName: " + j2eeName);
Collection<TimerNpImpl> timersToRemove = null;
// Al... | java | public static void removeTimersByJ2EEName(J2EEName j2eeName)
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "removeTimersByJ2EEName: " + j2eeName);
Collection<TimerNpImpl> timersToRemove = null;
// Al... | [
"public",
"static",
"void",
"removeTimersByJ2EEName",
"(",
"J2EEName",
"j2eeName",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
... | Removes all timers associated with the specified application or module.
@param j2eeName the name of the application or module | [
"Removes",
"all",
"timers",
"associated",
"with",
"the",
"specified",
"application",
"or",
"module",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/TimerNpImpl.java#L1067-L1116 |
68,117 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.monitor/src/com/ibm/ws/webcontainer/monitor/WebAppModule.java | WebAppModule.statisticCreated | public void statisticCreated (SPIStatistic s)
{
if (com.ibm.websphere.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE))
logger.logp(Level.FINE, CLASS_NAME,"statisticCreated","Servlet statistic created with id="+s.getId());
if (s.getId() == LOADED_SERVLETS)
{
... | java | public void statisticCreated (SPIStatistic s)
{
if (com.ibm.websphere.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE))
logger.logp(Level.FINE, CLASS_NAME,"statisticCreated","Servlet statistic created with id="+s.getId());
if (s.getId() == LOADED_SERVLETS)
{
... | [
"public",
"void",
"statisticCreated",
"(",
"SPIStatistic",
"s",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"websphere",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",... | use ID defined in template to identify a statistic | [
"use",
"ID",
"defined",
"in",
"template",
"to",
"identify",
"a",
"statistic"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.monitor/src/com/ibm/ws/webcontainer/monitor/WebAppModule.java#L147-L160 |
68,118 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.createEJBModuleMetaDataImpl | public EJBModuleMetaDataImpl createEJBModuleMetaDataImpl(EJBApplicationMetaData ejbAMD, // F743-4950
ModuleInitData mid,
SfFailoverCache statefulFailoverCache,
... | java | public EJBModuleMetaDataImpl createEJBModuleMetaDataImpl(EJBApplicationMetaData ejbAMD, // F743-4950
ModuleInitData mid,
SfFailoverCache statefulFailoverCache,
... | [
"public",
"EJBModuleMetaDataImpl",
"createEJBModuleMetaDataImpl",
"(",
"EJBApplicationMetaData",
"ejbAMD",
",",
"// F743-4950",
"ModuleInitData",
"mid",
",",
"SfFailoverCache",
"statefulFailoverCache",
",",
"EJSContainer",
"container",
")",
"{",
"final",
"boolean",
"isTraceOn... | Create the EJB Container's internal module metadata object and fill in the data from
the metadata framework's generic ModuleDataObject. This occurs at application start
time.
@param ejbAMD is the container's metadata for the application containing this module
@param mid the data needed to initialize a bean module.
@pa... | [
"Create",
"the",
"EJB",
"Container",
"s",
"internal",
"module",
"metadata",
"object",
"and",
"fill",
"in",
"the",
"data",
"from",
"the",
"metadata",
"framework",
"s",
"generic",
"ModuleDataObject",
".",
"This",
"occurs",
"at",
"application",
"start",
"time",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L214-L270 |
68,119 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.processDeferredBMD | public void processDeferredBMD(BeanMetaData bmd) throws EJBConfigurationException, ContainerException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "processDeferredBMD: " + bmd.j2eeName);
// F743-506 - Process au... | java | public void processDeferredBMD(BeanMetaData bmd) throws EJBConfigurationException, ContainerException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "processDeferredBMD: " + bmd.j2eeName);
// F743-506 - Process au... | [
"public",
"void",
"processDeferredBMD",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"EJBConfigurationException",
",",
"ContainerException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
... | Perform metadata processing for a bean that is being deferred. | [
"Perform",
"metadata",
"processing",
"for",
"a",
"bean",
"that",
"is",
"being",
"deferred",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L569-L586 |
68,120 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.initializeLifecycleInterceptorMethodMD | private void initializeLifecycleInterceptorMethodMD(Method[] ejbMethods,
List<ContainerTransaction> transactionList,
List<ActivitySessionMethod> activitySessionList,
... | java | private void initializeLifecycleInterceptorMethodMD(Method[] ejbMethods,
List<ContainerTransaction> transactionList,
List<ActivitySessionMethod> activitySessionList,
... | [
"private",
"void",
"initializeLifecycleInterceptorMethodMD",
"(",
"Method",
"[",
"]",
"ejbMethods",
",",
"List",
"<",
"ContainerTransaction",
">",
"transactionList",
",",
"List",
"<",
"ActivitySessionMethod",
">",
"activitySessionList",
",",
"BeanMetaData",
"bmd",
")",
... | Initialize lifecycleInterceptorMethodInfos and
lifecycleInterceptorMethodNames fields in the specified BeanMetaData. | [
"Initialize",
"lifecycleInterceptorMethodInfos",
"and",
"lifecycleInterceptorMethodNames",
"fields",
"in",
"the",
"specified",
"BeanMetaData",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L1554-L1629 |
68,121 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.getNestedException | @SuppressWarnings("deprecation")
protected Throwable getNestedException(Throwable t) {
Throwable root = t;
for (;;) {
if (root instanceof RemoteException) {
RemoteException re = (RemoteException) root;
if (re.detail == null)
break;
... | java | @SuppressWarnings("deprecation")
protected Throwable getNestedException(Throwable t) {
Throwable root = t;
for (;;) {
if (root instanceof RemoteException) {
RemoteException re = (RemoteException) root;
if (re.detail == null)
break;
... | [
"@",
"SuppressWarnings",
"(",
"\"deprecation\"",
")",
"protected",
"Throwable",
"getNestedException",
"(",
"Throwable",
"t",
")",
"{",
"Throwable",
"root",
"=",
"t",
";",
"for",
"(",
";",
";",
")",
"{",
"if",
"(",
"root",
"instanceof",
"RemoteException",
")"... | d494984 eliminate assignment to parameter t. | [
"d494984",
"eliminate",
"assignment",
"to",
"parameter",
"t",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L2090-L2114 |
68,122 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.processSingletonConcurrencyManagementType | private void processSingletonConcurrencyManagementType(BeanMetaData bmd) throws EJBConfigurationException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled()) {
Tr.entry(tc, "processSingletonConcurrencyManagementType");
}
/... | java | private void processSingletonConcurrencyManagementType(BeanMetaData bmd) throws EJBConfigurationException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled()) {
Tr.entry(tc, "processSingletonConcurrencyManagementType");
}
/... | [
"private",
"void",
"processSingletonConcurrencyManagementType",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"EJBConfigurationException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
... | F743-1752CodRev rewrote to do error checking and validation. | [
"F743",
"-",
"1752CodRev",
"rewrote",
"to",
"do",
"error",
"checking",
"and",
"validation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L3160-L3249 |
68,123 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.initializeManagedObjectFactoryOrConstructor | private void initializeManagedObjectFactoryOrConstructor(BeanMetaData bmd) throws EJBConfigurationException {
if (bmd.isManagedBean()) {
bmd.ivEnterpriseBeanFactory = getManagedBeanManagedObjectFactory(bmd, bmd.enterpriseBeanClass);
// If the managed object factroy and the managed objec... | java | private void initializeManagedObjectFactoryOrConstructor(BeanMetaData bmd) throws EJBConfigurationException {
if (bmd.isManagedBean()) {
bmd.ivEnterpriseBeanFactory = getManagedBeanManagedObjectFactory(bmd, bmd.enterpriseBeanClass);
// If the managed object factroy and the managed objec... | [
"private",
"void",
"initializeManagedObjectFactoryOrConstructor",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"EJBConfigurationException",
"{",
"if",
"(",
"bmd",
".",
"isManagedBean",
"(",
")",
")",
"{",
"bmd",
".",
"ivEnterpriseBeanFactory",
"=",
"getManagedBeanManagedO... | Create the appropriate ManagedObjectFactory for the bean type, or obtain the constructor
if a ManagedObjectFactory will not be used. | [
"Create",
"the",
"appropriate",
"ManagedObjectFactory",
"for",
"the",
"bean",
"type",
"or",
"obtain",
"the",
"constructor",
"if",
"a",
"ManagedObjectFactory",
"will",
"not",
"be",
"used",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L3255-L3288 |
68,124 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.initializeEntityConstructor | private void initializeEntityConstructor(BeanMetaData bmd) throws EJBConfigurationException {
try {
bmd.ivEnterpriseBeanClassConstructor = bmd.enterpriseBeanClass.getConstructor((Class<?>[]) null);
} catch (NoSuchMethodException e) {
Tr.error(tc, "JIT_NO_DEFAULT_CTOR_CNTR5007E",
... | java | private void initializeEntityConstructor(BeanMetaData bmd) throws EJBConfigurationException {
try {
bmd.ivEnterpriseBeanClassConstructor = bmd.enterpriseBeanClass.getConstructor((Class<?>[]) null);
} catch (NoSuchMethodException e) {
Tr.error(tc, "JIT_NO_DEFAULT_CTOR_CNTR5007E",
... | [
"private",
"void",
"initializeEntityConstructor",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"EJBConfigurationException",
"{",
"try",
"{",
"bmd",
".",
"ivEnterpriseBeanClassConstructor",
"=",
"bmd",
".",
"enterpriseBeanClass",
".",
"getConstructor",
"(",
"(",
"Class",
... | Obtain the constructor for the entity bean concrete class. | [
"Obtain",
"the",
"constructor",
"for",
"the",
"entity",
"bean",
"concrete",
"class",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L3293-L3302 |
68,125 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.getManagedBeanManagedObjectFactory | protected <T> ManagedObjectFactory<T> getManagedBeanManagedObjectFactory(BeanMetaData bmd, Class<T> klass) throws EJBConfigurationException {
ManagedObjectFactory<T> factory = null;
ManagedObjectService managedObjectService = getManagedObjectService();
if (managedObjectService != null) {
... | java | protected <T> ManagedObjectFactory<T> getManagedBeanManagedObjectFactory(BeanMetaData bmd, Class<T> klass) throws EJBConfigurationException {
ManagedObjectFactory<T> factory = null;
ManagedObjectService managedObjectService = getManagedObjectService();
if (managedObjectService != null) {
... | [
"protected",
"<",
"T",
">",
"ManagedObjectFactory",
"<",
"T",
">",
"getManagedBeanManagedObjectFactory",
"(",
"BeanMetaData",
"bmd",
",",
"Class",
"<",
"T",
">",
"klass",
")",
"throws",
"EJBConfigurationException",
"{",
"ManagedObjectFactory",
"<",
"T",
">",
"fact... | Gets a managed object factory for the specified ManagedBean class, or null if
instances of the class do not need to be managed.
@param bmd the bean metadata
@param klass the ManagedBean class | [
"Gets",
"a",
"managed",
"object",
"factory",
"for",
"the",
"specified",
"ManagedBean",
"class",
"or",
"null",
"if",
"instances",
"of",
"the",
"class",
"do",
"not",
"need",
"to",
"be",
"managed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L3316-L3332 |
68,126 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.getInterceptorManagedObjectFactory | protected <T> ManagedObjectFactory<T> getInterceptorManagedObjectFactory(BeanMetaData bmd, Class<T> klass) throws EJBConfigurationException {
ManagedObjectFactory<T> factory = null;
ManagedObjectService managedObjectService = getManagedObjectService();
if (managedObjectService != null) {
... | java | protected <T> ManagedObjectFactory<T> getInterceptorManagedObjectFactory(BeanMetaData bmd, Class<T> klass) throws EJBConfigurationException {
ManagedObjectFactory<T> factory = null;
ManagedObjectService managedObjectService = getManagedObjectService();
if (managedObjectService != null) {
... | [
"protected",
"<",
"T",
">",
"ManagedObjectFactory",
"<",
"T",
">",
"getInterceptorManagedObjectFactory",
"(",
"BeanMetaData",
"bmd",
",",
"Class",
"<",
"T",
">",
"klass",
")",
"throws",
"EJBConfigurationException",
"{",
"ManagedObjectFactory",
"<",
"T",
">",
"fact... | Gets a managed object factory for the specified interceptor class, or null if
instances of the class do not need to be managed.
@param bmd the bean metadata
@param klass the interceptor class | [
"Gets",
"a",
"managed",
"object",
"factory",
"for",
"the",
"specified",
"interceptor",
"class",
"or",
"null",
"if",
"instances",
"of",
"the",
"class",
"do",
"not",
"need",
"to",
"be",
"managed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L3341-L3357 |
68,127 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.getEJBManagedObjectFactory | protected <T> ManagedObjectFactory<T> getEJBManagedObjectFactory(BeanMetaData bmd, Class<T> klass) throws EJBConfigurationException {
ManagedObjectFactory<T> factory = null;
ManagedObjectService managedObjectService = getManagedObjectService();
if (managedObjectService != null) {
try... | java | protected <T> ManagedObjectFactory<T> getEJBManagedObjectFactory(BeanMetaData bmd, Class<T> klass) throws EJBConfigurationException {
ManagedObjectFactory<T> factory = null;
ManagedObjectService managedObjectService = getManagedObjectService();
if (managedObjectService != null) {
try... | [
"protected",
"<",
"T",
">",
"ManagedObjectFactory",
"<",
"T",
">",
"getEJBManagedObjectFactory",
"(",
"BeanMetaData",
"bmd",
",",
"Class",
"<",
"T",
">",
"klass",
")",
"throws",
"EJBConfigurationException",
"{",
"ManagedObjectFactory",
"<",
"T",
">",
"factory",
... | Gets a managed object factory for the specified EJB class, or null if
instances of the class do not need to be managed.
@param bmd the bean metadata
@param klass the bean implementation class | [
"Gets",
"a",
"managed",
"object",
"factory",
"for",
"the",
"specified",
"EJB",
"class",
"or",
"null",
"if",
"instances",
"of",
"the",
"class",
"do",
"not",
"need",
"to",
"be",
"managed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L3366-L3382 |
68,128 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.getWrapperProxyClassLoader | private ClassLoader getWrapperProxyClassLoader(BeanMetaData bmd, Class<?> intf) // F58064
throws EJBConfigurationException {
// Wrapper proxies are intended to support application restart scenarios.
// In order to allow GC of the target EJB class loader when the
// applicatio... | java | private ClassLoader getWrapperProxyClassLoader(BeanMetaData bmd, Class<?> intf) // F58064
throws EJBConfigurationException {
// Wrapper proxies are intended to support application restart scenarios.
// In order to allow GC of the target EJB class loader when the
// applicatio... | [
"private",
"ClassLoader",
"getWrapperProxyClassLoader",
"(",
"BeanMetaData",
"bmd",
",",
"Class",
"<",
"?",
">",
"intf",
")",
"// F58064",
"throws",
"EJBConfigurationException",
"{",
"// Wrapper proxies are intended to support application restart scenarios.",
"// In order to allo... | Returns a class loader that can be used to define a proxy for the
specified interface.
@param bmd the bean metadata
@param intf the interface to proxy
@return the loader
@throws EJBConfigurationException | [
"Returns",
"a",
"class",
"loader",
"that",
"can",
"be",
"used",
"to",
"define",
"a",
"proxy",
"for",
"the",
"specified",
"interface",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L4453-L4495 |
68,129 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.getWrapperProxyConstructor | private Constructor<?> getWrapperProxyConstructor(BeanMetaData bmd,
String proxyClassName,
Class<?> interfaceClass,
Method[] methods) // F58064
... | java | private Constructor<?> getWrapperProxyConstructor(BeanMetaData bmd,
String proxyClassName,
Class<?> interfaceClass,
Method[] methods) // F58064
... | [
"private",
"Constructor",
"<",
"?",
">",
"getWrapperProxyConstructor",
"(",
"BeanMetaData",
"bmd",
",",
"String",
"proxyClassName",
",",
"Class",
"<",
"?",
">",
"interfaceClass",
",",
"Method",
"[",
"]",
"methods",
")",
"// F58064",
"throws",
"EJBConfigurationExce... | Defines a wrapper proxy class and obtains its constructor that accepts a
WrapperProxyStte.
@param bmd the bean metadata
@param proxyClassName the wrapper proxy class name
@param interfaceClass the interface class to proxy
@param methods the methods to define on the proxy
@return the constructor with a WrapperProxyStat... | [
"Defines",
"a",
"wrapper",
"proxy",
"class",
"and",
"obtains",
"its",
"constructor",
"that",
"accepts",
"a",
"WrapperProxyStte",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L4509-L4524 |
68,130 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.hasEmptyThrowsClause | private static boolean hasEmptyThrowsClause(Method method) {
for (Class<?> klass : method.getExceptionTypes()) {
// Per CTS, callback methods can declare unchecked exceptions on the
// throws clause.
if (!RuntimeException.class.isAssignableFrom(klass) &&
!Erro... | java | private static boolean hasEmptyThrowsClause(Method method) {
for (Class<?> klass : method.getExceptionTypes()) {
// Per CTS, callback methods can declare unchecked exceptions on the
// throws clause.
if (!RuntimeException.class.isAssignableFrom(klass) &&
!Erro... | [
"private",
"static",
"boolean",
"hasEmptyThrowsClause",
"(",
"Method",
"method",
")",
"{",
"for",
"(",
"Class",
"<",
"?",
">",
"klass",
":",
"method",
".",
"getExceptionTypes",
"(",
")",
")",
"{",
"// Per CTS, callback methods can declare unchecked exceptions on the",... | Returns true if the specified method has an empty throws clause.
@param method the method to check
@return true if the method throws clause is empty | [
"Returns",
"true",
"if",
"the",
"specified",
"method",
"has",
"an",
"empty",
"throws",
"clause",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L4533-L4544 |
68,131 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.dealWithUnsatisifedXMLTimers | private void dealWithUnsatisifedXMLTimers(Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers1ParmByMethodName,
Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers0ParmByMethodName,
BeanMetaData bmd) throws EJBConfigur... | java | private void dealWithUnsatisifedXMLTimers(Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers1ParmByMethodName,
Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers0ParmByMethodName,
BeanMetaData bmd) throws EJBConfigur... | [
"private",
"void",
"dealWithUnsatisifedXMLTimers",
"(",
"Map",
"<",
"String",
",",
"List",
"<",
"com",
".",
"ibm",
".",
"ws",
".",
"javaee",
".",
"dd",
".",
"ejb",
".",
"Timer",
">",
">",
"timers1ParmByMethodName",
",",
"Map",
"<",
"String",
",",
"List",... | Verifies that every timer defined in xml was successfully associated
with a Method.
@param timers1ParmByMethodName List of timers defined in xml with 1 parm.
@param timers0ParmByMethodName List of timers defined in xml with 0 parms.
@param timersUnspecifiedParmByMethodName List of timers defined in xml with unspecifie... | [
"Verifies",
"that",
"every",
"timer",
"defined",
"in",
"xml",
"was",
"successfully",
"associated",
"with",
"a",
"Method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L5258-L5281 |
68,132 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.hasTimeoutCallbackParameters | private boolean hasTimeoutCallbackParameters(MethodMap.MethodInfo methodInfo) {
int numParams = methodInfo.getNumParameters();
return numParams == 0 ||
(numParams == 1 && methodInfo.getParameterType(0) == Timer.class);
} | java | private boolean hasTimeoutCallbackParameters(MethodMap.MethodInfo methodInfo) {
int numParams = methodInfo.getNumParameters();
return numParams == 0 ||
(numParams == 1 && methodInfo.getParameterType(0) == Timer.class);
} | [
"private",
"boolean",
"hasTimeoutCallbackParameters",
"(",
"MethodMap",
".",
"MethodInfo",
"methodInfo",
")",
"{",
"int",
"numParams",
"=",
"methodInfo",
".",
"getNumParameters",
"(",
")",
";",
"return",
"numParams",
"==",
"0",
"||",
"(",
"numParams",
"==",
"1",... | Returns true if the specified method has the proper parameter types for
a timeout callback method.
@param methodInfo the method info
@return true if the method has the proper parameter | [
"Returns",
"true",
"if",
"the",
"specified",
"method",
"has",
"the",
"proper",
"parameter",
"types",
"for",
"a",
"timeout",
"callback",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L5314-L5318 |
68,133 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.addTimerToCorrectMap | private void addTimerToCorrectMap(Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers1ParmByMethodName,
Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers0ParmByMethodName,
Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timersUnsp... | java | private void addTimerToCorrectMap(Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers1ParmByMethodName,
Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timers0ParmByMethodName,
Map<String, List<com.ibm.ws.javaee.dd.ejb.Timer>> timersUnsp... | [
"private",
"void",
"addTimerToCorrectMap",
"(",
"Map",
"<",
"String",
",",
"List",
"<",
"com",
".",
"ibm",
".",
"ws",
".",
"javaee",
".",
"dd",
".",
"ejb",
".",
"Timer",
">",
">",
"timers1ParmByMethodName",
",",
"Map",
"<",
"String",
",",
"List",
"<",
... | Sticks a timer defined in xml into the correct list, based on the number
of parameters specified in xml for the timer.
@param timers1ParmByMethodName list of timers specified in xml with 1 parm
@param timers0ParmByMethodName list of timers specified in xml with 0 parms
@param timersUnspecifiedParmByMethodName list of ... | [
"Sticks",
"a",
"timer",
"defined",
"in",
"xml",
"into",
"the",
"correct",
"list",
"based",
"on",
"the",
"number",
"of",
"parameters",
"specified",
"in",
"xml",
"for",
"the",
"timer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L5332-L5361 |
68,134 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.findMethodInEJBMethodInfoArray | private EJBMethodInfoImpl findMethodInEJBMethodInfoArray(EJBMethodInfoImpl[] methodInfos, final Method targetMethod) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled()) {
Tr.entry(tc, "findMethodInEJBMethodInfoArray for method \"" + target... | java | private EJBMethodInfoImpl findMethodInEJBMethodInfoArray(EJBMethodInfoImpl[] methodInfos, final Method targetMethod) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled()) {
Tr.entry(tc, "findMethodInEJBMethodInfoArray for method \"" + target... | [
"private",
"EJBMethodInfoImpl",
"findMethodInEJBMethodInfoArray",
"(",
"EJBMethodInfoImpl",
"[",
"]",
"methodInfos",
",",
"final",
"Method",
"targetMethod",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"i... | d494984.1 - added entire method | [
"d494984",
".",
"1",
"-",
"added",
"entire",
"method"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L6321-L6341 |
68,135 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.processReferenceContext | protected void processReferenceContext(BeanMetaData bmd) throws InjectionException, EJBConfigurationException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "ensureReferenceDataIsProcessed");
// At this point, reg... | java | protected void processReferenceContext(BeanMetaData bmd) throws InjectionException, EJBConfigurationException {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "ensureReferenceDataIsProcessed");
// At this point, reg... | [
"protected",
"void",
"processReferenceContext",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"InjectionException",
",",
"EJBConfigurationException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTra... | Ensure that reference data is processed, and that the resulting
output data structures are stuffed in BeanMetaData.
This method gets called during finishBMDInit. If the bean component is part
of a pure module, then its reference data has not been processed yet,
and we go ahead and do that now.
However, if the bean co... | [
"Ensure",
"that",
"reference",
"data",
"is",
"processed",
"and",
"that",
"the",
"resulting",
"output",
"data",
"structures",
"are",
"stuffed",
"in",
"BeanMetaData",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L7326-L7394 |
68,136 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java | EJBMDOrchestrator.removeTemporaryMethodData | private void removeTemporaryMethodData(BeanMetaData bmd) {
bmd.methodsExposedOnLocalHomeInterface = null;
bmd.methodsExposedOnLocalInterface = null;
bmd.methodsExposedOnRemoteHomeInterface = null;
bmd.methodsExposedOnRemoteInterface = null;
bmd.allPublicMethodsOnBean = null;
... | java | private void removeTemporaryMethodData(BeanMetaData bmd) {
bmd.methodsExposedOnLocalHomeInterface = null;
bmd.methodsExposedOnLocalInterface = null;
bmd.methodsExposedOnRemoteHomeInterface = null;
bmd.methodsExposedOnRemoteInterface = null;
bmd.allPublicMethodsOnBean = null;
... | [
"private",
"void",
"removeTemporaryMethodData",
"(",
"BeanMetaData",
"bmd",
")",
"{",
"bmd",
".",
"methodsExposedOnLocalHomeInterface",
"=",
"null",
";",
"bmd",
".",
"methodsExposedOnLocalInterface",
"=",
"null",
";",
"bmd",
".",
"methodsExposedOnRemoteHomeInterface",
"... | Removes temporary lists of data from BMD when they are no longer needed. | [
"Removes",
"temporary",
"lists",
"of",
"data",
"from",
"BMD",
"when",
"they",
"are",
"no",
"longer",
"needed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/EJBMDOrchestrator.java#L7900-L7907 |
68,137 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java | BrowserSessionImpl.next | public SIBusMessage next()
throws SISessionUnavailableException, SISessionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && CoreSPIBrowserSession.tc.isEntryEnabled())
SibTr.entry(CoreSPIBrowserSession.tc, "ne... | java | public SIBusMessage next()
throws SISessionUnavailableException, SISessionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && CoreSPIBrowserSession.tc.isEntryEnabled())
SibTr.entry(CoreSPIBrowserSession.tc, "ne... | [
"public",
"SIBusMessage",
"next",
"(",
")",
"throws",
"SISessionUnavailableException",
",",
"SISessionDroppedException",
",",
"SIResourceException",
",",
"SIConnectionLostException",
",",
"SIErrorException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",... | Gets the next item from the BrowseCursor.
@see com.ibm.wsspi.sib.core.BrowserSession#next() | [
"Gets",
"the",
"next",
"item",
"from",
"the",
"BrowseCursor",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java#L206-L280 |
68,138 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java | BrowserSessionImpl.close | public void close()
{
if (TraceComponent.isAnyTracingEnabled() && CoreSPIBrowserSession.tc.isEntryEnabled())
SibTr.entry(CoreSPIBrowserSession.tc, "close", this);
synchronized (this)
{
if (!_closed)
//if we're closed already, don't bother doing anything.
{
//dereference ... | java | public void close()
{
if (TraceComponent.isAnyTracingEnabled() && CoreSPIBrowserSession.tc.isEntryEnabled())
SibTr.entry(CoreSPIBrowserSession.tc, "close", this);
synchronized (this)
{
if (!_closed)
//if we're closed already, don't bother doing anything.
{
//dereference ... | [
"public",
"void",
"close",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"CoreSPIBrowserSession",
".",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"CoreSPIBrowserSession",
".",
"tc",
",",
... | Close this BrowserSession...
Dereference from the parent connection and set the closed flag to true.
@see com.ibm.ws.sib.processor.BrowserSession#close() | [
"Close",
"this",
"BrowserSession",
"...",
"Dereference",
"from",
"the",
"parent",
"connection",
"and",
"set",
"the",
"closed",
"flag",
"to",
"true",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java#L288-L306 |
68,139 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java | BrowserSessionImpl.checkNotClosed | void checkNotClosed() throws SISessionUnavailableException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkNotClosed");
synchronized (this)
{
if (_closed)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.... | java | void checkNotClosed() throws SISessionUnavailableException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkNotClosed");
synchronized (this)
{
if (_closed)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.... | [
"void",
"checkNotClosed",
"(",
")",
"throws",
"SISessionUnavailableException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"checkNotClosed\"",
... | Check if the session is closed. If the closed flag is set to
true, throw an exception.
@throws SISessionUnavailableException thrown if the session is closed | [
"Check",
"if",
"the",
"session",
"is",
"closed",
".",
"If",
"the",
"closed",
"flag",
"is",
"set",
"to",
"true",
"throw",
"an",
"exception",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java#L426-L448 |
68,140 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java | BrowserSessionImpl.getNamedDestination | public DestinationHandler getNamedDestination()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getNamedDestination");
SibTr.exit(tc, "getNamedDestination", _dest);
}
return _dest;
} | java | public DestinationHandler getNamedDestination()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getNamedDestination");
SibTr.exit(tc, "getNamedDestination", _dest);
}
return _dest;
} | [
"public",
"DestinationHandler",
"getNamedDestination",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getNamedDestination\"",
")... | Returns the destination that the session was created against
@return | [
"Returns",
"the",
"destination",
"that",
"the",
"session",
"was",
"created",
"against"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/BrowserSessionImpl.java#L552-L560 |
68,141 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/lifecycle/ClientConfig.java | ClientConfig.getUserAgent | public String getUserAgent(FacesContext facesContext)
{
if (userAgent == null)
{
synchronized (this)
{
if (userAgent == null)
{
Map<String, String[]> requestHeaders =
facesContext.getExternalConte... | java | public String getUserAgent(FacesContext facesContext)
{
if (userAgent == null)
{
synchronized (this)
{
if (userAgent == null)
{
Map<String, String[]> requestHeaders =
facesContext.getExternalConte... | [
"public",
"String",
"getUserAgent",
"(",
"FacesContext",
"facesContext",
")",
"{",
"if",
"(",
"userAgent",
"==",
"null",
")",
"{",
"synchronized",
"(",
"this",
")",
"{",
"if",
"(",
"userAgent",
"==",
"null",
")",
"{",
"Map",
"<",
"String",
",",
"String",... | This information will get stored as it cannot
change during the session anyway.
@return the UserAgent of the request. | [
"This",
"information",
"will",
"get",
"stored",
"as",
"it",
"cannot",
"change",
"during",
"the",
"session",
"anyway",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/lifecycle/ClientConfig.java#L179-L201 |
68,142 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/jwk/BigIntegerUtil.java | BigIntegerUtil.decode | public static BigInteger decode(String s) {
byte[] bytes = Base64.decodeBase64(s);
BigInteger bi = new BigInteger(1, bytes);
return bi;
} | java | public static BigInteger decode(String s) {
byte[] bytes = Base64.decodeBase64(s);
BigInteger bi = new BigInteger(1, bytes);
return bi;
} | [
"public",
"static",
"BigInteger",
"decode",
"(",
"String",
"s",
")",
"{",
"byte",
"[",
"]",
"bytes",
"=",
"Base64",
".",
"decodeBase64",
"(",
"s",
")",
";",
"BigInteger",
"bi",
"=",
"new",
"BigInteger",
"(",
"1",
",",
"bytes",
")",
";",
"return",
"bi... | This is in use by FAT only at the writing time | [
"This",
"is",
"in",
"use",
"by",
"FAT",
"only",
"at",
"the",
"writing",
"time"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/jwk/BigIntegerUtil.java#L19-L24 |
68,143 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/CommsDiagnosticModule.java | CommsDiagnosticModule.initialise | public static synchronized void initialise()
{
// Only initialise if it has not already been created
if (_instance == null)
{
// Check what environment we are running in. If we are in server mode we must use the
// server diagnostic module.
//Liberty COMMS TODO:
//For... | java | public static synchronized void initialise()
{
// Only initialise if it has not already been created
if (_instance == null)
{
// Check what environment we are running in. If we are in server mode we must use the
// server diagnostic module.
//Liberty COMMS TODO:
//For... | [
"public",
"static",
"synchronized",
"void",
"initialise",
"(",
")",
"{",
"// Only initialise if it has not already been created",
"if",
"(",
"_instance",
"==",
"null",
")",
"{",
"// Check what environment we are running in. If we are in server mode we must use the ",
"// server dia... | Initialises the diagnostic module. | [
"Initialises",
"the",
"diagnostic",
"module",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/CommsDiagnosticModule.java#L53-L104 |
68,144 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/CommsDiagnosticModule.java | CommsDiagnosticModule.ffdcDumpDefault | public void ffdcDumpDefault(Throwable t, IncidentStream is, Object callerThis, Object[] objs, String sourceId)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "ffdcDumpDefault",
new Object[]{t, is, callerThis, objs, sourceId});
// Dump the SIB informat... | java | public void ffdcDumpDefault(Throwable t, IncidentStream is, Object callerThis, Object[] objs, String sourceId)
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "ffdcDumpDefault",
new Object[]{t, is, callerThis, objs, sourceId});
// Dump the SIB informat... | [
"public",
"void",
"ffdcDumpDefault",
"(",
"Throwable",
"t",
",",
"IncidentStream",
"is",
",",
"Object",
"callerThis",
",",
"Object",
"[",
"]",
"objs",
",",
"String",
"sourceId",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".... | Called when an FFDC is generated and the stack matches one of our packages.
@see com.ibm.ws.sib.utils.ffdc.SibDiagnosticModule#ffdcDumpDefault(java.lang.Throwable, com.ibm.ws.ffdc.IncidentStream, java.lang.Object, java.lang.Object[], java.lang.String) | [
"Called",
"when",
"an",
"FFDC",
"is",
"generated",
"and",
"the",
"stack",
"matches",
"one",
"of",
"our",
"packages",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/CommsDiagnosticModule.java#L111-L126 |
68,145 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java | RemoteAsyncResultImpl.setObserver | boolean setObserver(Observer observer) { // F16043
boolean success;
Observer oldObserver;
synchronized (this) {
oldObserver = ivObserver;
success = oldObserver != null || !isDone();
ivObserver = success ? observer : null;
}
if (oldObserver !=... | java | boolean setObserver(Observer observer) { // F16043
boolean success;
Observer oldObserver;
synchronized (this) {
oldObserver = ivObserver;
success = oldObserver != null || !isDone();
ivObserver = success ? observer : null;
}
if (oldObserver !=... | [
"boolean",
"setObserver",
"(",
"Observer",
"observer",
")",
"{",
"// F16043",
"boolean",
"success",
";",
"Observer",
"oldObserver",
";",
"synchronized",
"(",
"this",
")",
"{",
"oldObserver",
"=",
"ivObserver",
";",
"success",
"=",
"oldObserver",
"!=",
"null",
... | Sets the current observer and updates the pending one. If the result is
already available, the existing observer if any will be updated and
passed the new observer as data. Otherwise, the observer will be updated
when the result is available and will be passed null as data.
@param observer the new observer
@return tru... | [
"Sets",
"the",
"current",
"observer",
"and",
"updates",
"the",
"pending",
"one",
".",
"If",
"the",
"result",
"is",
"already",
"available",
"the",
"existing",
"observer",
"if",
"any",
"will",
"be",
"updated",
"and",
"passed",
"the",
"new",
"observer",
"as",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java#L128-L142 |
68,146 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java | RemoteAsyncResultImpl.cleanup | private void cleanup() { // d623593
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "cleanup");
synchronized (ivRemoteAsyncResultReaper) {
if (ivAddedToReaper) { // d690014
// d690014.3 -... | java | private void cleanup() { // d623593
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "cleanup");
synchronized (ivRemoteAsyncResultReaper) {
if (ivAddedToReaper) { // d690014
// d690014.3 -... | [
"private",
"void",
"cleanup",
"(",
")",
"{",
"// d623593",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",... | Clean up all resources associated with this object. | [
"Clean",
"up",
"all",
"resources",
"associated",
"with",
"this",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java#L218-L236 |
68,147 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java | RemoteAsyncResultImpl.exportObject | RemoteAsyncResult exportObject() throws RemoteException {
ivObjectID = ivRemoteRuntime.activateAsyncResult((Servant) createTie());
return ivRemoteRuntime.getAsyncResultReference(ivObjectID);
} | java | RemoteAsyncResult exportObject() throws RemoteException {
ivObjectID = ivRemoteRuntime.activateAsyncResult((Servant) createTie());
return ivRemoteRuntime.getAsyncResultReference(ivObjectID);
} | [
"RemoteAsyncResult",
"exportObject",
"(",
")",
"throws",
"RemoteException",
"{",
"ivObjectID",
"=",
"ivRemoteRuntime",
".",
"activateAsyncResult",
"(",
"(",
"Servant",
")",
"createTie",
"(",
")",
")",
";",
"return",
"ivRemoteRuntime",
".",
"getAsyncResultReference",
... | Export this object so that it is remotely accessible.
<p>This method must be called before the async work is scheduled. | [
"Export",
"this",
"object",
"so",
"that",
"it",
"is",
"remotely",
"accessible",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java#L243-L246 |
68,148 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java | RemoteAsyncResultImpl.unexportObject | protected void unexportObject() { // d623593
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isDebugEnabled())
Tr.debug(tc, "unexportObject: " + this);
if (ivObjectID != null) {
// Either the allowed timeout occurred or a method was ca... | java | protected void unexportObject() { // d623593
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isDebugEnabled())
Tr.debug(tc, "unexportObject: " + this);
if (ivObjectID != null) {
// Either the allowed timeout occurred or a method was ca... | [
"protected",
"void",
"unexportObject",
"(",
")",
"{",
"// d623593",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug... | Unexport this object so that it is not remotely accessible.
<p>The caller must be holding the monitor lock on the
RemoteAsyncResultReaper prior to calling this method if the async work
was successfully scheduled. | [
"Unexport",
"this",
"object",
"so",
"that",
"it",
"is",
"not",
"remotely",
"accessible",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.async/src/com/ibm/ws/ejbcontainer/async/osgi/internal/RemoteAsyncResultImpl.java#L287-L307 |
68,149 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanIdCache.java | BeanIdCache.find | public BeanId find(EJSHome home, Serializable pkey, boolean isHome)
{
int hashValue = BeanId.computeHashValue(home.j2eeName, pkey, isHome);
BeanId[] buckets = this.ivBuckets;
BeanId element = buckets[(hashValue & 0x7FFFFFFF) % buckets.length];
if (element == null || !element.equals... | java | public BeanId find(EJSHome home, Serializable pkey, boolean isHome)
{
int hashValue = BeanId.computeHashValue(home.j2eeName, pkey, isHome);
BeanId[] buckets = this.ivBuckets;
BeanId element = buckets[(hashValue & 0x7FFFFFFF) % buckets.length];
if (element == null || !element.equals... | [
"public",
"BeanId",
"find",
"(",
"EJSHome",
"home",
",",
"Serializable",
"pkey",
",",
"boolean",
"isHome",
")",
"{",
"int",
"hashValue",
"=",
"BeanId",
".",
"computeHashValue",
"(",
"home",
".",
"j2eeName",
",",
"pkey",
",",
"isHome",
")",
";",
"BeanId",
... | d156807.3 Begins | [
"d156807",
".",
"3",
"Begins"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanIdCache.java#L102-L131 |
68,150 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCacheImpl.java | FaceletCacheImpl.needsToBeRefreshed | protected boolean needsToBeRefreshed(DefaultFacelet facelet)
{
// if set to 0, constantly reload-- nocache
if (_refreshPeriod == NO_CACHE_DELAY)
{
return true;
}
// if set to -1, never reload
if (_refreshPeriod == INFINITE_DELAY)
{
ret... | java | protected boolean needsToBeRefreshed(DefaultFacelet facelet)
{
// if set to 0, constantly reload-- nocache
if (_refreshPeriod == NO_CACHE_DELAY)
{
return true;
}
// if set to -1, never reload
if (_refreshPeriod == INFINITE_DELAY)
{
ret... | [
"protected",
"boolean",
"needsToBeRefreshed",
"(",
"DefaultFacelet",
"facelet",
")",
"{",
"// if set to 0, constantly reload-- nocache",
"if",
"(",
"_refreshPeriod",
"==",
"NO_CACHE_DELAY",
")",
"{",
"return",
"true",
";",
"}",
"// if set to -1, never reload",
"if",
"(",
... | Template method for determining if the Facelet needs to be refreshed.
@param facelet
Facelet that could have expired
@return true if it needs to be refreshed | [
"Template",
"method",
"for",
"determining",
"if",
"the",
"Facelet",
"needs",
"to",
"be",
"refreshed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/FaceletCacheImpl.java#L139-L192 |
68,151 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java | PatternWrapper.getState | int getState() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "getState");
int state;
if (!prefixDone) {
// Somewhere in the prefix or at beginning and there is no prefix
Pattern.Clause prefix = pattern.getPrefix();
if (prefix == null || next >= prefix.items.length) {
// Th... | java | int getState() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "getState");
int state;
if (!prefixDone) {
// Somewhere in the prefix or at beginning and there is no prefix
Pattern.Clause prefix = pattern.getPrefix();
if (prefix == null || next >= prefix.items.length) {
// Th... | [
"int",
"getState",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"getState\"",
")",
";",
"int",
"state",
";",
"if",
"(",
"!",
"prefixDone",
")",
"{",
"// Somewhere in the ... | Get the state of this Pattern (which item is next to process | [
"Get",
"the",
"state",
"of",
"this",
"Pattern",
"(",
"which",
"item",
"is",
"next",
"to",
"process"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java#L74-L101 |
68,152 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java | PatternWrapper.advance | void advance() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "advance");
if (!prefixDone) {
Pattern.Clause prefix = pattern.getPrefix();
if (prefix == null || next >= prefix.items.length) {
Pattern.Clause suffix = pattern.getSuffix();
if (suffix != null && suffix != prefix) ... | java | void advance() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "advance");
if (!prefixDone) {
Pattern.Clause prefix = pattern.getPrefix();
if (prefix == null || next >= prefix.items.length) {
Pattern.Clause suffix = pattern.getSuffix();
if (suffix != null && suffix != prefix) ... | [
"void",
"advance",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"advance\"",
")",
";",
"if",
"(",
"!",
"prefixDone",
")",
"{",
"Pattern",
".",
"Clause",
"prefix",
"=",
... | Advance the state of this pattern | [
"Advance",
"the",
"state",
"of",
"this",
"pattern"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java#L104-L127 |
68,153 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java | PatternWrapper.getChars | char[] getChars() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "getChars");
char[] ans;
if (prefixDone)
ans = (char[]) pattern.getSuffix().items[next--];
else
ans = (char[]) pattern.getPrefix().items[next++];
if (tc.isEntryEnabled())
tc.exit(this,cclass, "getChars", new S... | java | char[] getChars() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "getChars");
char[] ans;
if (prefixDone)
ans = (char[]) pattern.getSuffix().items[next--];
else
ans = (char[]) pattern.getPrefix().items[next++];
if (tc.isEntryEnabled())
tc.exit(this,cclass, "getChars", new S... | [
"char",
"[",
"]",
"getChars",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"getChars\"",
")",
";",
"char",
"[",
"]",
"ans",
";",
"if",
"(",
"prefixDone",
")",
"ans",
... | Get the characters and advance (assumes the pattern is in one of the CHARS states | [
"Get",
"the",
"characters",
"and",
"advance",
"(",
"assumes",
"the",
"pattern",
"is",
"in",
"one",
"of",
"the",
"CHARS",
"states"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java#L130-L141 |
68,154 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java | PatternWrapper.matchMidClauses | public boolean matchMidClauses(char[] chars, int start, int length)
{
return pattern.matchMiddle(chars, start, start+length);
} | java | public boolean matchMidClauses(char[] chars, int start, int length)
{
return pattern.matchMiddle(chars, start, start+length);
} | [
"public",
"boolean",
"matchMidClauses",
"(",
"char",
"[",
"]",
"chars",
",",
"int",
"start",
",",
"int",
"length",
")",
"{",
"return",
"pattern",
".",
"matchMiddle",
"(",
"chars",
",",
"start",
",",
"start",
"+",
"length",
")",
";",
"}"
] | Test whether the underlying pattern's mid clauses match a set of characters.
@param chars
@param start
@param length
@return | [
"Test",
"whether",
"the",
"underlying",
"pattern",
"s",
"mid",
"clauses",
"match",
"a",
"set",
"of",
"characters",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PatternWrapper.java#L162-L166 |
68,155 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.extractPropertyFromURI | public String extractPropertyFromURI(String propName, String uri) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "extractPropertyFromURI", new Object[]{propName, uri});
String result = null;
// only something to do if uri is non-null & non-empty u
if (uri != nu... | java | public String extractPropertyFromURI(String propName, String uri) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "extractPropertyFromURI", new Object[]{propName, uri});
String result = null;
// only something to do if uri is non-null & non-empty u
if (uri != nu... | [
"public",
"String",
"extractPropertyFromURI",
"(",
"String",
"propName",
",",
"String",
"uri",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
... | Extract the value of the named property from URI.
Find the named property in the name value pairs of the uri and return the value,
or null if the property is not present.
@param propName the name of the property whose value is required
@param uri the URI to search in
@return | [
"Extract",
"the",
"value",
"of",
"the",
"named",
"property",
"from",
"URI",
".",
"Find",
"the",
"named",
"property",
"in",
"the",
"name",
"value",
"pairs",
"of",
"the",
"uri",
"and",
"return",
"the",
"value",
"or",
"null",
"if",
"the",
"property",
"is",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L98-L132 |
68,156 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.splitOnNonEscapedChar | private String[] splitOnNonEscapedChar(String inputStr, char splitChar, int expectedPartCount) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "splitOnNonEscapedChar", new Object[]{inputStr, splitChar, expectedPartCount});
String[] parts = null;
List<String> partsLi... | java | private String[] splitOnNonEscapedChar(String inputStr, char splitChar, int expectedPartCount) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "splitOnNonEscapedChar", new Object[]{inputStr, splitChar, expectedPartCount});
String[] parts = null;
List<String> partsLi... | [
"private",
"String",
"[",
"]",
"splitOnNonEscapedChar",
"(",
"String",
"inputStr",
",",
"char",
"splitChar",
",",
"int",
"expectedPartCount",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
"... | Split the specified string into the requested number of pieces using the splitter
character provided. This method is careful to only split on non-escaped instances
of the splitter character.
Historical regex expressions that this replaces were as follows (from Javadoc)
// Patterns used for splitting strings
// NB Thes... | [
"Split",
"the",
"specified",
"string",
"into",
"the",
"requested",
"number",
"of",
"pieces",
"using",
"the",
"splitter",
"character",
"provided",
".",
"This",
"method",
"is",
"careful",
"to",
"only",
"split",
"on",
"non",
"-",
"escaped",
"instances",
"of",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L424-L530 |
68,157 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.unescape | private String unescape(String input, char c) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unescape", new Object[]{input, c});
String result = input;
// if there are no instances of c in the String we can just return the original
if (input.indexOf(c) != -1) ... | java | private String unescape(String input, char c) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unescape", new Object[]{input, c});
String result = input;
// if there are no instances of c in the String we can just return the original
if (input.indexOf(c) != -1) ... | [
"private",
"String",
"unescape",
"(",
"String",
"input",
",",
"char",
"c",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
","... | Remove '\' characters from input String when they precede
specified character.
@param input The string to be processed
@param c The character that should be unescaped
@return The modified String | [
"Remove",
"\\",
"characters",
"from",
"input",
"String",
"when",
"they",
"precede",
"specified",
"character",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L695-L718 |
68,158 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.unescapeBackslash | private String unescapeBackslash(String input) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unescapeBackslash", input);
String result = input;
// If there are no backslashes then don't bother creating the buffer etc.
if (input.indexOf("\\... | java | private String unescapeBackslash(String input) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unescapeBackslash", input);
String result = input;
// If there are no backslashes then don't bother creating the buffer etc.
if (input.indexOf("\\... | [
"private",
"String",
"unescapeBackslash",
"(",
"String",
"input",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
","... | Convert escaped backslash to single backslash.
This method de-escapes double backslashes whilst at the same time
checking that there are no single backslahes in the input string.
@param input The string to be processed
@return The modified String
@throws JMSException if an unescaped backslash is found | [
"Convert",
"escaped",
"backslash",
"to",
"single",
"backslash",
".",
"This",
"method",
"de",
"-",
"escapes",
"double",
"backslashes",
"whilst",
"at",
"the",
"same",
"time",
"checking",
"that",
"there",
"are",
"no",
"single",
"backslahes",
"in",
"the",
"input",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L729-L760 |
68,159 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.validateNVP | private String[] validateNVP(String namePart, String valuePart, String uri, JmsDestination dest) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "validateNVP", new Object[]{namePart, valuePart, uri, dest});
// de-escape any escaped &s in the value (w... | java | private String[] validateNVP(String namePart, String valuePart, String uri, JmsDestination dest) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "validateNVP", new Object[]{namePart, valuePart, uri, dest});
// de-escape any escaped &s in the value (w... | [
"private",
"String",
"[",
"]",
"validateNVP",
"(",
"String",
"namePart",
",",
"String",
"valuePart",
",",
"String",
"uri",
",",
"JmsDestination",
"dest",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&... | This utility method performs the validation on the name and value parts of the NVP.
It performs several checks to make sure that neither part contain any illegal characters
unless they are escaped by a backslash.
The method also performs a conversion between any Jetstream-mappable MA88 properties.
Finally, it returns ... | [
"This",
"utility",
"method",
"performs",
"the",
"validation",
"on",
"the",
"name",
"and",
"value",
"parts",
"of",
"the",
"NVP",
".",
"It",
"performs",
"several",
"checks",
"to",
"make",
"sure",
"that",
"neither",
"part",
"contain",
"any",
"illegal",
"charact... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L778-L818 |
68,160 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.configureDestinationFromMap | private void configureDestinationFromMap(JmsDestination dest, Map<String,String> props, String uri) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "configureDestinationFromMap", new Object[]{dest, props, uri});
// Iterate over the map, retrieving th... | java | private void configureDestinationFromMap(JmsDestination dest, Map<String,String> props, String uri) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "configureDestinationFromMap", new Object[]{dest, props, uri});
// Iterate over the map, retrieving th... | [
"private",
"void",
"configureDestinationFromMap",
"(",
"JmsDestination",
"dest",
",",
"Map",
"<",
"String",
",",
"String",
">",
"props",
",",
"String",
"uri",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
... | This utililty method uses the supplied Map to configure a destination property.
The map contains the name and value pairs from the URI.
@param Destination dest The Destination object to configure
@param Map props The Map collection containing the NVPs from the URI
@param String uri The original URI used for debugging ... | [
"This",
"utililty",
"method",
"uses",
"the",
"supplied",
"Map",
"to",
"configure",
"a",
"destination",
"property",
".",
"The",
"map",
"contains",
"the",
"name",
"and",
"value",
"pairs",
"from",
"the",
"URI",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L829-L907 |
68,161 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.createDestinationFromURI | public Destination createDestinationFromURI(String uri, int qmProcessing) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "createDestinationFromURI", new Object[]{uri, qmProcessing});
Destination result = null;
if (uri != null) {
result = pr... | java | public Destination createDestinationFromURI(String uri, int qmProcessing) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "createDestinationFromURI", new Object[]{uri, qmProcessing});
Destination result = null;
if (uri != null) {
result = pr... | [
"public",
"Destination",
"createDestinationFromURI",
"(",
"String",
"uri",
",",
"int",
"qmProcessing",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr... | Create a Destination object from a full URI format String.
@param uri The URI format string describing the destination. If null, method returns
null. If not null, must begin with either queue:// or topic://, otherwise an ??
exception is thrown.
@param qmProcessing flag to indicate how to deal with QMs in MA88 queue URI... | [
"Create",
"a",
"Destination",
"object",
"from",
"a",
"full",
"URI",
"format",
"String",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L993-L1001 |
68,162 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java | URIDestinationCreator.charIsEscaped | private static boolean charIsEscaped(String str, int index) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "charIsEscaped", new Object[]{str, index});
// precondition, null str or out of range index returns false.
if (str == null || index < 0 || index >= str.length()) re... | java | private static boolean charIsEscaped(String str, int index) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "charIsEscaped", new Object[]{str, index});
// precondition, null str or out of range index returns false.
if (str == null || index < 0 || index >= str.length()) re... | [
"private",
"static",
"boolean",
"charIsEscaped",
"(",
"String",
"str",
",",
"int",
"index",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
"... | Test if the specified character is escaped.
Checks whether the character at the specified index is preceded by an
escape character. The test is non-trivial because it has to check that
the escape character is itself non-escaped.
@param str The string in which to perform the check
@param index The index in the string of... | [
"Test",
"if",
"the",
"specified",
"character",
"is",
"escaped",
".",
"Checks",
"whether",
"the",
"character",
"at",
"the",
"specified",
"index",
"is",
"preceded",
"by",
"an",
"escape",
"character",
".",
"The",
"test",
"is",
"non",
"-",
"trivial",
"because",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/URIDestinationCreator.java#L1012-L1029 |
68,163 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java | TokenUtils.readPrivateKey | public static PrivateKey readPrivateKey(String pemResName) throws Exception {
InputStream contentIS = TokenUtils.class.getResourceAsStream(pemResName);
byte[] tmp = new byte[4096];
int length = contentIS.read(tmp);
PrivateKey privateKey = decodePrivateKey(new String(tmp, 0, length));
... | java | public static PrivateKey readPrivateKey(String pemResName) throws Exception {
InputStream contentIS = TokenUtils.class.getResourceAsStream(pemResName);
byte[] tmp = new byte[4096];
int length = contentIS.read(tmp);
PrivateKey privateKey = decodePrivateKey(new String(tmp, 0, length));
... | [
"public",
"static",
"PrivateKey",
"readPrivateKey",
"(",
"String",
"pemResName",
")",
"throws",
"Exception",
"{",
"InputStream",
"contentIS",
"=",
"TokenUtils",
".",
"class",
".",
"getResourceAsStream",
"(",
"pemResName",
")",
";",
"byte",
"[",
"]",
"tmp",
"=",
... | Read a PEM encoded private key from the classpath
@param pemResName - key file resource name
@return PrivateKey
@throws Exception on decode failure | [
"Read",
"a",
"PEM",
"encoded",
"private",
"key",
"from",
"the",
"classpath"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java#L162-L168 |
68,164 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java | TokenUtils.readPublicKey | public static PublicKey readPublicKey(String pemResName) throws Exception {
InputStream contentIS = TokenUtils.class.getResourceAsStream(pemResName);
byte[] tmp = new byte[4096];
int length = contentIS.read(tmp);
PublicKey publicKey = decodePublicKey(new String(tmp, 0, length));
... | java | public static PublicKey readPublicKey(String pemResName) throws Exception {
InputStream contentIS = TokenUtils.class.getResourceAsStream(pemResName);
byte[] tmp = new byte[4096];
int length = contentIS.read(tmp);
PublicKey publicKey = decodePublicKey(new String(tmp, 0, length));
... | [
"public",
"static",
"PublicKey",
"readPublicKey",
"(",
"String",
"pemResName",
")",
"throws",
"Exception",
"{",
"InputStream",
"contentIS",
"=",
"TokenUtils",
".",
"class",
".",
"getResourceAsStream",
"(",
"pemResName",
")",
";",
"byte",
"[",
"]",
"tmp",
"=",
... | Read a PEM encoded public key from the classpath
@param pemResName - key file resource name
@return PublicKey
@throws Exception on decode failure | [
"Read",
"a",
"PEM",
"encoded",
"public",
"key",
"from",
"the",
"classpath"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java#L177-L183 |
68,165 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java | TokenUtils.generateKeyPair | public static KeyPair generateKeyPair(int keySize) throws NoSuchAlgorithmException {
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA");
keyPairGenerator.initialize(keySize);
KeyPair keyPair = keyPairGenerator.genKeyPair();
return keyPair;
} | java | public static KeyPair generateKeyPair(int keySize) throws NoSuchAlgorithmException {
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA");
keyPairGenerator.initialize(keySize);
KeyPair keyPair = keyPairGenerator.genKeyPair();
return keyPair;
} | [
"public",
"static",
"KeyPair",
"generateKeyPair",
"(",
"int",
"keySize",
")",
"throws",
"NoSuchAlgorithmException",
"{",
"KeyPairGenerator",
"keyPairGenerator",
"=",
"KeyPairGenerator",
".",
"getInstance",
"(",
"\"RSA\"",
")",
";",
"keyPairGenerator",
".",
"initialize",... | Generate a new RSA keypair.
@param keySize - the size of the key
@return KeyPair
@throws NoSuchAlgorithmException on failure to load RSA key generator | [
"Generate",
"a",
"new",
"RSA",
"keypair",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java#L192-L197 |
68,166 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java | TokenUtils.decodePrivateKey | public static PrivateKey decodePrivateKey(String pemEncoded) throws Exception {
pemEncoded = removeBeginEnd(pemEncoded);
byte[] pkcs8EncodedBytes = Base64.getDecoder().decode(pemEncoded);
// extract the private key
PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(pkcs8EncodedBytes... | java | public static PrivateKey decodePrivateKey(String pemEncoded) throws Exception {
pemEncoded = removeBeginEnd(pemEncoded);
byte[] pkcs8EncodedBytes = Base64.getDecoder().decode(pemEncoded);
// extract the private key
PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(pkcs8EncodedBytes... | [
"public",
"static",
"PrivateKey",
"decodePrivateKey",
"(",
"String",
"pemEncoded",
")",
"throws",
"Exception",
"{",
"pemEncoded",
"=",
"removeBeginEnd",
"(",
"pemEncoded",
")",
";",
"byte",
"[",
"]",
"pkcs8EncodedBytes",
"=",
"Base64",
".",
"getDecoder",
"(",
")... | Decode a PEM encoded private key string to an RSA PrivateKey
@param pemEncoded - PEM string for private key
@return PrivateKey
@throws Exception on decode failure | [
"Decode",
"a",
"PEM",
"encoded",
"private",
"key",
"string",
"to",
"an",
"RSA",
"PrivateKey"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java#L206-L216 |
68,167 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java | TokenUtils.decodePublicKey | public static PublicKey decodePublicKey(String pemEncoded) throws Exception {
pemEncoded = removeBeginEnd(pemEncoded);
byte[] encodedBytes = Base64.getDecoder().decode(pemEncoded);
X509EncodedKeySpec spec = new X509EncodedKeySpec(encodedBytes);
KeyFactory kf = KeyFactory.getInstance("RS... | java | public static PublicKey decodePublicKey(String pemEncoded) throws Exception {
pemEncoded = removeBeginEnd(pemEncoded);
byte[] encodedBytes = Base64.getDecoder().decode(pemEncoded);
X509EncodedKeySpec spec = new X509EncodedKeySpec(encodedBytes);
KeyFactory kf = KeyFactory.getInstance("RS... | [
"public",
"static",
"PublicKey",
"decodePublicKey",
"(",
"String",
"pemEncoded",
")",
"throws",
"Exception",
"{",
"pemEncoded",
"=",
"removeBeginEnd",
"(",
"pemEncoded",
")",
";",
"byte",
"[",
"]",
"encodedBytes",
"=",
"Base64",
".",
"getDecoder",
"(",
")",
".... | Decode a PEM encoded public key string to an RSA PublicKey
@param pemEncoded - PEM string for private key
@return PublicKey
@throws Exception on decode failure | [
"Decode",
"a",
"PEM",
"encoded",
"public",
"key",
"string",
"to",
"an",
"RSA",
"PublicKey"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat_tck/fat/src/org/eclipse/microprofile/jwt/tck/util/TokenUtils.java#L225-L232 |
68,168 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/DeferredService.java | DeferredService.registerDeferredService | public void registerDeferredService(BundleContext bundleContext, Class<?> providedService, Dictionary dict) {
Object obj = serviceReg.get();
if (obj instanceof ServiceRegistration<?>) {
// already registered - nothing to do here
return;
}
if (obj instanceof CountD... | java | public void registerDeferredService(BundleContext bundleContext, Class<?> providedService, Dictionary dict) {
Object obj = serviceReg.get();
if (obj instanceof ServiceRegistration<?>) {
// already registered - nothing to do here
return;
}
if (obj instanceof CountD... | [
"public",
"void",
"registerDeferredService",
"(",
"BundleContext",
"bundleContext",
",",
"Class",
"<",
"?",
">",
"providedService",
",",
"Dictionary",
"dict",
")",
"{",
"Object",
"obj",
"=",
"serviceReg",
".",
"get",
"(",
")",
";",
"if",
"(",
"obj",
"instanc... | Register information available after class loader is created
for use by RAR bundle | [
"Register",
"information",
"available",
"after",
"class",
"loader",
"is",
"created",
"for",
"use",
"by",
"RAR",
"bundle"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/DeferredService.java#L42-L84 |
68,169 | OpenLiberty/open-liberty | dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/DeferredService.java | DeferredService.deregisterDeferredService | public void deregisterDeferredService() {
Object obj = serviceReg.get();
if (obj == null) {
// already deregistered so there is nothing to be done
return;
}
if (obj instanceof CountDownLatch) {
// If someone else has the latch, then let them do whateve... | java | public void deregisterDeferredService() {
Object obj = serviceReg.get();
if (obj == null) {
// already deregistered so there is nothing to be done
return;
}
if (obj instanceof CountDownLatch) {
// If someone else has the latch, then let them do whateve... | [
"public",
"void",
"deregisterDeferredService",
"(",
")",
"{",
"Object",
"obj",
"=",
"serviceReg",
".",
"get",
"(",
")",
";",
"if",
"(",
"obj",
"==",
"null",
")",
"{",
"// already deregistered so there is nothing to be done",
"return",
";",
"}",
"if",
"(",
"obj... | Unregister information provided after class loader was created | [
"Unregister",
"information",
"provided",
"after",
"class",
"loader",
"was",
"created"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca/src/com/ibm/ws/jca/internal/DeferredService.java#L89-L116 |
68,170 | OpenLiberty/open-liberty | dev/com.ibm.ws.jdbc_fat_postgresql/fat/src/com/ibm/ws/jdbc/fat/postgresql/CustomPostgreSQLContainer.java | CustomPostgreSQLContainer.withConfigOption | public SELF withConfigOption(String key, String value) {
if (key == null) {
throw new java.lang.NullPointerException("key marked @NonNull but is null");
}
if (value == null) {
throw new java.lang.NullPointerException("value marked @NonNull but is null");
}
... | java | public SELF withConfigOption(String key, String value) {
if (key == null) {
throw new java.lang.NullPointerException("key marked @NonNull but is null");
}
if (value == null) {
throw new java.lang.NullPointerException("value marked @NonNull but is null");
}
... | [
"public",
"SELF",
"withConfigOption",
"(",
"String",
"key",
",",
"String",
"value",
")",
"{",
"if",
"(",
"key",
"==",
"null",
")",
"{",
"throw",
"new",
"java",
".",
"lang",
".",
"NullPointerException",
"(",
"\"key marked @NonNull but is null\"",
")",
";",
"}... | Add additional configuration options that should be used for this container.
@param key The PostgreSQL configuration option key. For example: "max_connections"
@param value The PostgreSQL configuration option value. For example: "200"
@return this | [
"Add",
"additional",
"configuration",
"options",
"that",
"should",
"be",
"used",
"for",
"this",
"container",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc_fat_postgresql/fat/src/com/ibm/ws/jdbc/fat/postgresql/CustomPostgreSQLContainer.java#L26-L35 |
68,171 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.getStateStream | public StateStream getStateStream()
{
if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getStateStream");
SibTr.exit(tc, "getStateStream", oststream);
}
return oststream;
} | java | public StateStream getStateStream()
{
if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getStateStream");
SibTr.exit(tc, "getStateStream", oststream);
}
return oststream;
} | [
"public",
"StateStream",
"getStateStream",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getStateStream\"",
")... | Used for debug | [
"Used",
"for",
"debug"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L355-L363 |
68,172 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.writeSilence | public boolean writeSilence(SIMPMessage m) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilence", new Object[] { m });
boolean sendMessage = true;
JsMessage jsMsg = m.getMessage();
// There may be Completed ticks afte... | java | public boolean writeSilence(SIMPMessage m) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilence", new Object[] { m });
boolean sendMessage = true;
JsMessage jsMsg = m.getMessage();
// There may be Completed ticks afte... | [
"public",
"boolean",
"writeSilence",
"(",
"SIMPMessage",
"m",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
... | This method uses a Value message to write Silence into the stream,
because a message has been rolled back
@param m The value message
@exception GDException Can be thrown from the writeCompletedRange method
@return boolean true if the message can be sent downstream
this is determined by the sendWindow | [
"This",
"method",
"uses",
"a",
"Value",
"message",
"to",
"write",
"Silence",
"into",
"the",
"stream",
"because",
"a",
"message",
"has",
"been",
"rolled",
"back"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L546-L615 |
68,173 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.writeSilenceForced | public boolean writeSilenceForced(SIMPMessage m) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilenceForced", new Object[] { m });
boolean msgRemoved = true;
JsMessage jsMsg = m.getMessage();
long start = jsMsg.g... | java | public boolean writeSilenceForced(SIMPMessage m) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilenceForced", new Object[] { m });
boolean msgRemoved = true;
JsMessage jsMsg = m.getMessage();
long start = jsMsg.g... | [
"public",
"boolean",
"writeSilenceForced",
"(",
"SIMPMessage",
"m",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"thi... | This method uses a Value message to write Silence into the stream,
because a message which was a Guess is being removed from the stream
It forces the stream to be updated to Silence without checking the
existing state
@param m The value message | [
"This",
"method",
"uses",
"a",
"Value",
"message",
"to",
"write",
"Silence",
"into",
"the",
"stream",
"because",
"a",
"message",
"which",
"was",
"a",
"Guess",
"is",
"being",
"removed",
"from",
"the",
"stream",
"It",
"forces",
"the",
"stream",
"to",
"be",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L627-L699 |
68,174 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.writeSilenceForced | public void writeSilenceForced(TickRange vtr) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilenceForced", new Object[] { vtr });
long start = vtr.startstamp;
long end = vtr.endstamp;
if (TraceComponent.isAnyTracing... | java | public void writeSilenceForced(TickRange vtr) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilenceForced", new Object[] { vtr });
long start = vtr.startstamp;
long end = vtr.endstamp;
if (TraceComponent.isAnyTracing... | [
"public",
"void",
"writeSilenceForced",
"(",
"TickRange",
"vtr",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",... | This method uses a Value TickRange to write Silence into the stream,
because a message has expired before it was sent and so needs to be removed
from the stream
It forces the stream to be updated to Silence without checking the
existing state
@param m The value tickRange | [
"This",
"method",
"uses",
"a",
"Value",
"TickRange",
"to",
"write",
"Silence",
"into",
"the",
"stream",
"because",
"a",
"message",
"has",
"expired",
"before",
"it",
"was",
"sent",
"and",
"so",
"needs",
"to",
"be",
"removed",
"from",
"the",
"stream",
"It",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L712-L759 |
68,175 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.writeSilenceForced | public void writeSilenceForced(long tick) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilenceForced", Long.valueOf(tick) );
// Details of the new silence
long startTick = -1;
long endTick = -1;
long completed... | java | public void writeSilenceForced(long tick) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeSilenceForced", Long.valueOf(tick) );
// Details of the new silence
long startTick = -1;
long endTick = -1;
long completed... | [
"public",
"void",
"writeSilenceForced",
"(",
"long",
"tick",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
"... | This replaces the specified tick with Silence
without checking the existing state
@param m The tick to be removed from the stream | [
"This",
"replaces",
"the",
"specified",
"tick",
"with",
"Silence",
"without",
"checking",
"the",
"existing",
"state"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L769-L843 |
68,176 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.writeAckPrefix | public List writeAckPrefix(long stamp)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeAckPrefix", Long.valueOf(stamp));
// Holds TickRanges of all Value ticks between AckPrefix
// and completedPrefix
// This is returned to the caller
List<Tick... | java | public List writeAckPrefix(long stamp)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "writeAckPrefix", Long.valueOf(stamp));
// Holds TickRanges of all Value ticks between AckPrefix
// and completedPrefix
// This is returned to the caller
List<Tick... | [
"public",
"List",
"writeAckPrefix",
"(",
"long",
"stamp",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"writeAckPrefix\"... | This method is called when all the messages up to the ackPrefix
have been acknowledged. For pointTopoint this is called when an Ack
message is recieved from the target. For pubsub this is called when
all the InternalOutputStreams associated with this SourceStream have
received Ack messages.
@param stamp The ackPrefix
... | [
"This",
"method",
"is",
"called",
"when",
"all",
"the",
"messages",
"up",
"to",
"the",
"ackPrefix",
"have",
"been",
"acknowledged",
".",
"For",
"pointTopoint",
"this",
"is",
"called",
"when",
"an",
"Ack",
"message",
"is",
"recieved",
"from",
"the",
"target",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L859-L987 |
68,177 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.restoreUncommitted | public void restoreUncommitted(SIMPMessage m)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "restoreUncommitted", new Object[] { m });
TickRange tr = null;
JsMessage jsMsg = m.getMessage();
long stamp = jsMsg.getGuaranteedValueValueTick();
lo... | java | public void restoreUncommitted(SIMPMessage m)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "restoreUncommitted", new Object[] { m });
TickRange tr = null;
JsMessage jsMsg = m.getMessage();
long stamp = jsMsg.getGuaranteedValueValueTick();
lo... | [
"public",
"void",
"restoreUncommitted",
"(",
"SIMPMessage",
"m",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"restoreUn... | This method uses a Value message to write an Uncommitted tick
into the stream.
It is called at retore time.
@param m The value message to write to the stream | [
"This",
"method",
"uses",
"a",
"Value",
"message",
"to",
"write",
"an",
"Uncommitted",
"tick",
"into",
"the",
"stream",
".",
"It",
"is",
"called",
"at",
"retore",
"time",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1371-L1407 |
68,178 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.restoreValue | public void restoreValue(SIMPMessage m) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "restoreValue", m);
TickRange tr = null;
long msgStoreId = AbstractItem.NO_ID;
try
{
if (m.isInStore())
msgStoreId... | java | public void restoreValue(SIMPMessage m) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "restoreValue", m);
TickRange tr = null;
long msgStoreId = AbstractItem.NO_ID;
try
{
if (m.isInStore())
msgStoreId... | [
"public",
"void",
"restoreValue",
"(",
"SIMPMessage",
"m",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
","... | This method uses a Value message to write a Value tick
into the stream.
It is called at retore time.
@param m The value message to write to the stream | [
"This",
"method",
"uses",
"a",
"Value",
"message",
"to",
"write",
"a",
"Value",
"tick",
"into",
"the",
"stream",
".",
"It",
"is",
"called",
"at",
"retore",
"time",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1417-L1472 |
68,179 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.newGuessInStream | public synchronized void newGuessInStream(long tick) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "newGuessInStream", new Object[] { Long.valueOf(tick),
Boolean.valueOf(containsGuesses),
Long.valueOf(sendWindow),
... | java | public synchronized void newGuessInStream(long tick) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "newGuessInStream", new Object[] { Long.valueOf(tick),
Boolean.valueOf(containsGuesses),
Long.valueOf(sendWindow),
... | [
"public",
"synchronized",
"void",
"newGuessInStream",
"(",
"long",
"tick",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(... | Also called by writeUncomitted when a guess is written into the stream | [
"Also",
"called",
"by",
"writeUncomitted",
"when",
"a",
"guess",
"is",
"written",
"into",
"the",
"stream"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1815-L1841 |
68,180 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.guessesInStream | public synchronized void guessesInStream()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "guessesInStream", Boolean.valueOf(containsGuesses));
containsGuesses = true;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc... | java | public synchronized void guessesInStream()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "guessesInStream", Boolean.valueOf(containsGuesses));
containsGuesses = true;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc... | [
"public",
"synchronized",
"void",
"guessesInStream",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"guessesInStream\""... | any messages while some are being reallocated | [
"any",
"messages",
"while",
"some",
"are",
"being",
"reallocated"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1845-L1854 |
68,181 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.noGuessesInStream | public synchronized void noGuessesInStream() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "noGuessesInStream");
if(TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
SibTr.debug(tc, "oldContainesGuesses:" + cont... | java | public synchronized void noGuessesInStream() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "noGuessesInStream");
if(TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
SibTr.debug(tc, "oldContainesGuesses:" + cont... | [
"public",
"synchronized",
"void",
"noGuessesInStream",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",... | ours to send | [
"ours",
"to",
"send"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1859-L1895 |
68,182 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.initialiseSendWindow | public synchronized void initialiseSendWindow(long sendWindow, long definedSendWindow)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "initialiseSendWindow", new Object[] {Long.valueOf(sendWindow), Long.valueOf(definedSendWindow)} );
... | java | public synchronized void initialiseSendWindow(long sendWindow, long definedSendWindow)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "initialiseSendWindow", new Object[] {Long.valueOf(sendWindow), Long.valueOf(definedSendWindow)} );
... | [
"public",
"synchronized",
"void",
"initialiseSendWindow",
"(",
"long",
"sendWindow",
",",
"long",
"definedSendWindow",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(... | this value straight away and also that we don't need to persist it | [
"this",
"value",
"straight",
"away",
"and",
"also",
"that",
"we",
"don",
"t",
"need",
"to",
"persist",
"it"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1900-L1933 |
68,183 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.setDefinedSendWindow | public synchronized void setDefinedSendWindow(long newSendWindow)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setDefinedSendWindow", Long.valueOf(newSendWindow) );
definedSendWindow = newSendWindow;
// PK41355 - Commenting out - should not be sending s... | java | public synchronized void setDefinedSendWindow(long newSendWindow)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setDefinedSendWindow", Long.valueOf(newSendWindow) );
definedSendWindow = newSendWindow;
// PK41355 - Commenting out - should not be sending s... | [
"public",
"synchronized",
"void",
"setDefinedSendWindow",
"(",
"long",
"newSendWindow",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"t... | This is used to set the sendWindow defined in Admin panels | [
"This",
"is",
"used",
"to",
"set",
"the",
"sendWindow",
"defined",
"in",
"Admin",
"panels"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1936-L1949 |
68,184 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.updateAndPersistSendWindow | public synchronized void updateAndPersistSendWindow() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "updateAndPersistSendWindow" );
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
SibTr.debug(tc, "define... | java | public synchronized void updateAndPersistSendWindow() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "updateAndPersistSendWindow" );
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
{
SibTr.debug(tc, "define... | [
"public",
"synchronized",
"void",
"updateAndPersistSendWindow",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this... | ONLY called from tests | [
"ONLY",
"called",
"from",
"tests"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L1952-L2002 |
68,185 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.msgCanBeSent | private synchronized boolean msgCanBeSent( long stamp, boolean nackMsg )
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "msgCanBeSent", new Object[] { Long.valueOf(stamp),
Boolean.valueOf(nackMsg),
Long.valueOf(firstMsgOutsideWindow),
B... | java | private synchronized boolean msgCanBeSent( long stamp, boolean nackMsg )
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "msgCanBeSent", new Object[] { Long.valueOf(stamp),
Boolean.valueOf(nackMsg),
Long.valueOf(firstMsgOutsideWindow),
B... | [
"private",
"synchronized",
"boolean",
"msgCanBeSent",
"(",
"long",
"stamp",
",",
"boolean",
"nackMsg",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Method that determines if the message can be sent.
If the message is a NACK message then we should not check the stream for guesses,
but we should still follow the other checks for the stream.
@param stamp
@return | [
"Method",
"that",
"determines",
"if",
"the",
"message",
"can",
"be",
"sent",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L2037-L2063 |
68,186 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.msgRemoved | private synchronized TickRange msgRemoved(long tick, StateStream ststream, TransactionCommon tran) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "msgRemoved",
new Object[]{Long.valueOf(tick),
... | java | private synchronized TickRange msgRemoved(long tick, StateStream ststream, TransactionCommon tran) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "msgRemoved",
new Object[]{Long.valueOf(tick),
... | [
"private",
"synchronized",
"TickRange",
"msgRemoved",
"(",
"long",
"tick",
",",
"StateStream",
"ststream",
",",
"TransactionCommon",
"tran",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
"... | This method is called when the totalMessages on the stream
falls and we have the possibility of sending a message
because it is now inside the sendWindow | [
"This",
"method",
"is",
"called",
"when",
"the",
"totalMessages",
"on",
"the",
"stream",
"falls",
"and",
"we",
"have",
"the",
"possibility",
"of",
"sending",
"a",
"message",
"because",
"it",
"is",
"now",
"inside",
"the",
"sendWindow"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L2072-L2168 |
68,187 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.getAllMessagesOnStream | public synchronized List getAllMessagesOnStream()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getAllMessagesOnStream");
List<Long> msgs = new LinkedList<Long>();
oststream.setCursor(0);
// Get the first TickRange
TickRange tr = oststream.g... | java | public synchronized List getAllMessagesOnStream()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getAllMessagesOnStream");
List<Long> msgs = new LinkedList<Long>();
oststream.setCursor(0);
// Get the first TickRange
TickRange tr = oststream.g... | [
"public",
"synchronized",
"List",
"getAllMessagesOnStream",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getAllMessa... | Get an unmodifiable list of all of the messages in the VALUE
state on this stream | [
"Get",
"an",
"unmodifiable",
"list",
"of",
"all",
"of",
"the",
"messages",
"in",
"the",
"VALUE",
"state",
"on",
"this",
"stream"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L2314-L2341 |
68,188 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.getAllMessageItemsOnStream | public synchronized List<TickRange> getAllMessageItemsOnStream(boolean includeUncommitted)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getAllMessageItemsOnStream", Boolean.valueOf(includeUncommitted));
List<TickRange> msgs = new LinkedList<TickRange>();
... | java | public synchronized List<TickRange> getAllMessageItemsOnStream(boolean includeUncommitted)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getAllMessageItemsOnStream", Boolean.valueOf(includeUncommitted));
List<TickRange> msgs = new LinkedList<TickRange>();
... | [
"public",
"synchronized",
"List",
"<",
"TickRange",
">",
"getAllMessageItemsOnStream",
"(",
"boolean",
"includeUncommitted",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
"... | Get an unmodifiable list of all of the message items in the VALUE
state on this stream and, optionally, in the Uncommitted state | [
"Get",
"an",
"unmodifiable",
"list",
"of",
"all",
"of",
"the",
"message",
"items",
"in",
"the",
"VALUE",
"state",
"on",
"this",
"stream",
"and",
"optionally",
"in",
"the",
"Uncommitted",
"state"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L2347-L2375 |
68,189 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java | SourceStream.getTickRange | public synchronized TickRange getTickRange(long tick)
{
oststream.setCursor(tick);
// Get the TickRange
return (TickRange) oststream.getNext().clone();
} | java | public synchronized TickRange getTickRange(long tick)
{
oststream.setCursor(tick);
// Get the TickRange
return (TickRange) oststream.getNext().clone();
} | [
"public",
"synchronized",
"TickRange",
"getTickRange",
"(",
"long",
"tick",
")",
"{",
"oststream",
".",
"setCursor",
"(",
"tick",
")",
";",
"// Get the TickRange",
"return",
"(",
"TickRange",
")",
"oststream",
".",
"getNext",
"(",
")",
".",
"clone",
"(",
")"... | Get a tick range given a tick value
@param tick
@return TickRange | [
"Get",
"a",
"tick",
"range",
"given",
"a",
"tick",
"value"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/SourceStream.java#L2406-L2412 |
68,190 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/Reader.java | Reader.read | public OpenAPI read(Set<Class<?>> classes) {
Set<Class<?>> sortedClasses = new TreeSet<>(new Comparator<Class<?>>() {
@Override
public int compare(Class<?> class1, Class<?> class2) {
if (class1.equals(class2)) {
return 0;
} else if (cla... | java | public OpenAPI read(Set<Class<?>> classes) {
Set<Class<?>> sortedClasses = new TreeSet<>(new Comparator<Class<?>>() {
@Override
public int compare(Class<?> class1, Class<?> class2) {
if (class1.equals(class2)) {
return 0;
} else if (cla... | [
"public",
"OpenAPI",
"read",
"(",
"Set",
"<",
"Class",
"<",
"?",
">",
">",
"classes",
")",
"{",
"Set",
"<",
"Class",
"<",
"?",
">",
">",
"sortedClasses",
"=",
"new",
"TreeSet",
"<>",
"(",
"new",
"Comparator",
"<",
"Class",
"<",
"?",
">",
">",
"("... | Scans a set of classes for both ReaderListeners and OpenAPI annotations. All found listeners will
be instantiated before any of the classes are scanned for OpenAPI annotations - so they can be invoked
accordingly.
@param classes a set of classes to scan
@return the generated OpenAPI definition | [
"Scans",
"a",
"set",
"of",
"classes",
"for",
"both",
"ReaderListeners",
"and",
"OpenAPI",
"annotations",
".",
"All",
"found",
"listeners",
"will",
"be",
"instantiated",
"before",
"any",
"of",
"the",
"classes",
"are",
"scanned",
"for",
"OpenAPI",
"annotations",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/Reader.java#L169-L189 |
68,191 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java | MfpDiagnostics.initialize | public static MfpDiagnostics initialize() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialize");
// We should only do this once
if (singleton == null) {
singleton = new MfpDiagnostics();
singleton.register(packageList);
}
if (TraceComponent.is... | java | public static MfpDiagnostics initialize() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialize");
// We should only do this once
if (singleton == null) {
singleton = new MfpDiagnostics();
singleton.register(packageList);
}
if (TraceComponent.is... | [
"public",
"static",
"MfpDiagnostics",
"initialize",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"initialize\"",
")",
";",
"// W... | Initialise the diagnostic module by creating the singleton instance and registering
it with the diagnostic engine in Websphere. | [
"Initialise",
"the",
"diagnostic",
"module",
"by",
"creating",
"the",
"singleton",
"instance",
"and",
"registering",
"it",
"with",
"the",
"diagnostic",
"engine",
"in",
"Websphere",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java#L93-L104 |
68,192 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java | MfpDiagnostics.ffdcDumpDefault | public void ffdcDumpDefault(Throwable t, IncidentStream is, Object callerThis, Object[] objs, String sourceId) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "ffdcDumpDefault");
// First trace the Throwable, so that we can actually spot the exception in the trace
if (Tra... | java | public void ffdcDumpDefault(Throwable t, IncidentStream is, Object callerThis, Object[] objs, String sourceId) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "ffdcDumpDefault");
// First trace the Throwable, so that we can actually spot the exception in the trace
if (Tra... | [
"public",
"void",
"ffdcDumpDefault",
"(",
"Throwable",
"t",
",",
"IncidentStream",
"is",
",",
"Object",
"callerThis",
",",
"Object",
"[",
"]",
"objs",
",",
"String",
"sourceId",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&... | Default ffdc dump routine - always invoked | [
"Default",
"ffdc",
"dump",
"routine",
"-",
"always",
"invoked"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java#L123-L152 |
68,193 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java | MfpDiagnostics.dumpUsefulStuff | private void dumpUsefulStuff(IncidentStream is, Object[] objs) {
// The first parameter is a marker telling us what sort of data we have in subsequent
// parameters.
if (objs != null && objs.length > 0) {
if (objs[0] == MfpConstants.DM_BUFFER && objs.length >= 4)
dumpJmfBuffer(is, (byte[])obj... | java | private void dumpUsefulStuff(IncidentStream is, Object[] objs) {
// The first parameter is a marker telling us what sort of data we have in subsequent
// parameters.
if (objs != null && objs.length > 0) {
if (objs[0] == MfpConstants.DM_BUFFER && objs.length >= 4)
dumpJmfBuffer(is, (byte[])obj... | [
"private",
"void",
"dumpUsefulStuff",
"(",
"IncidentStream",
"is",
",",
"Object",
"[",
"]",
"objs",
")",
"{",
"// The first parameter is a marker telling us what sort of data we have in subsequent",
"// parameters.",
"if",
"(",
"objs",
"!=",
"null",
"&&",
"objs",
".",
"... | routine to dump it. | [
"routine",
"to",
"dump",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java#L157-L170 |
68,194 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java | MfpDiagnostics.dumpJmfBuffer | private void dumpJmfBuffer(IncidentStream is, byte[] frame, int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "dumpJmfBuffer");
if (frame != null) {
// If the length passed in is 0 we probably have rubbish in both the length
// and the offset... | java | private void dumpJmfBuffer(IncidentStream is, byte[] frame, int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "dumpJmfBuffer");
if (frame != null) {
// If the length passed in is 0 we probably have rubbish in both the length
// and the offset... | [
"private",
"void",
"dumpJmfBuffer",
"(",
"IncidentStream",
"is",
",",
"byte",
"[",
"]",
"frame",
",",
"int",
"offset",
",",
"int",
"length",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"("... | to contain the Jetstream headers etc. | [
"to",
"contain",
"the",
"Jetstream",
"headers",
"etc",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java#L176-L202 |
68,195 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java | MfpDiagnostics.dumpJmfSlices | private void dumpJmfSlices(IncidentStream is, List<DataSlice> slices) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "dumpJmfSlices");
if (slices != null) {
try {
is.writeLine("JMF data slices", SibTr.formatSlices(slices, getDiagnosticDataLimitInt()));
}
... | java | private void dumpJmfSlices(IncidentStream is, List<DataSlice> slices) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "dumpJmfSlices");
if (slices != null) {
try {
is.writeLine("JMF data slices", SibTr.formatSlices(slices, getDiagnosticDataLimitInt()));
}
... | [
"private",
"void",
"dumpJmfSlices",
"(",
"IncidentStream",
"is",
",",
"List",
"<",
"DataSlice",
">",
"slices",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"ent... | user data - so we only dump at most the first 4K bytes of each slice. | [
"user",
"data",
"-",
"so",
"we",
"only",
"dump",
"at",
"most",
"the",
"first",
"4K",
"bytes",
"of",
"each",
"slice",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/MfpDiagnostics.java#L230-L247 |
68,196 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java | DestinationManager.initializeNonPersistent | protected void initializeNonPersistent(MessageProcessor messageProcessor)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initializeNonPersistent", messageProcessor);
/*
* Keep a local reference to the MessageProcessor object, as this allows ... | java | protected void initializeNonPersistent(MessageProcessor messageProcessor)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initializeNonPersistent", messageProcessor);
/*
* Keep a local reference to the MessageProcessor object, as this allows ... | [
"protected",
"void",
"initializeNonPersistent",
"(",
"MessageProcessor",
"messageProcessor",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"... | Initialize non-persistent fields. These fields are common to both MS
reconstitution of DestinationManagers and initial creation.
Feature 174199.2.4
@param MessageProcessor | [
"Initialize",
"non",
"-",
"persistent",
"fields",
".",
"These",
"fields",
"are",
"common",
"to",
"both",
"MS",
"reconstitution",
"of",
"DestinationManagers",
"and",
"initial",
"creation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java#L324-L352 |
68,197 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java | DestinationManager.moveAllInDoubtToUnreconciled | public void moveAllInDoubtToUnreconciled()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "moveAllInDoubtToUnreconciled");
DestinationTypeFilter filter = new DestinationTypeFilter();
filter.LOCAL = Boolean.TRUE;
filter.INDOUBT = Boolea... | java | public void moveAllInDoubtToUnreconciled()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "moveAllInDoubtToUnreconciled");
DestinationTypeFilter filter = new DestinationTypeFilter();
filter.LOCAL = Boolean.TRUE;
filter.INDOUBT = Boolea... | [
"public",
"void",
"moveAllInDoubtToUnreconciled",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"moveAllInDoubtToUnreconciled\"",
")",
... | Before reconciliation, we need to move any inDoubt handlers
to the Unreconciled state.
If the destination gets reconciled then we have recovered.
If not, we might get moved back to the inDoubt state, arguing
that the corrupt WCCM file is stil causing problems,
or finally WCCM might now tell us to remove the destination... | [
"Before",
"reconciliation",
"we",
"need",
"to",
"move",
"any",
"inDoubt",
"handlers",
"to",
"the",
"Unreconciled",
"state",
".",
"If",
"the",
"destination",
"gets",
"reconciled",
"then",
"we",
"have",
"recovered",
".",
"If",
"not",
"we",
"might",
"get",
"mov... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java#L409-L425 |
68,198 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java | DestinationManager.validateUnreconciled | public void validateUnreconciled()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "validateUnreconciled");
JsMessagingEngine engine =
messageProcessor.getMessagingEngine();
//find all local, unreconciled destinations
... | java | public void validateUnreconciled()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "validateUnreconciled");
JsMessagingEngine engine =
messageProcessor.getMessagingEngine();
//find all local, unreconciled destinations
... | [
"public",
"void",
"validateUnreconciled",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"validateUnreconciled\"",
")",
";",
"JsMess... | At the end of the reconciliation phase of MessageProcessor startup,
we need to check each unreconciled destination to see if it is safe
to delete that destination, whether the destination should be
altered to a new locality set, or whether the destination should be put
into a InDoubt state.
@author tpm | [
"At",
"the",
"end",
"of",
"the",
"reconciliation",
"phase",
"of",
"MessageProcessor",
"startup",
"we",
"need",
"to",
"check",
"each",
"unreconciled",
"destination",
"to",
"see",
"if",
"it",
"is",
"safe",
"to",
"delete",
"that",
"destination",
"whether",
"the",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java#L436-L561 |
68,199 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java | DestinationManager.startNewReconstituteThread | private void startNewReconstituteThread(Runnable runnable) throws InterruptedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "startNewReconstituteThread");
if (_reconstituteThreadpool == null)
{
createReconstituteThreadPoo... | java | private void startNewReconstituteThread(Runnable runnable) throws InterruptedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "startNewReconstituteThread");
if (_reconstituteThreadpool == null)
{
createReconstituteThreadPoo... | [
"private",
"void",
"startNewReconstituteThread",
"(",
"Runnable",
"runnable",
")",
"throws",
"InterruptedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
... | Starts a new thread for reconstitution
@param runnable
@throws InterruptedException | [
"Starts",
"a",
"new",
"thread",
"for",
"reconstitution"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/DestinationManager.java#L569-L583 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.