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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
70,900 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.releaseItem | public final void releaseItem() throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "releaseItem");
synchronized (this)
{
_strongReferenceToItem = NULL_STRONG_REF;
}
if (_softReference... | java | public final void releaseItem() throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "releaseItem");
synchronized (this)
{
_strongReferenceToItem = NULL_STRONG_REF;
}
if (_softReference... | [
"public",
"final",
"void",
"releaseItem",
"(",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"r... | Releases all references to the item as a result of the final removal of the item from the MS
@throws SevereMessageStoreException | [
"Releases",
"all",
"references",
"to",
"the",
"item",
"as",
"a",
"result",
"of",
"the",
"final",
"removal",
"of",
"the",
"item",
"from",
"the",
"MS"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L3833-L3860 |
70,901 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.releaseIfDiscardable | @Override
public final void releaseIfDiscardable() throws SevereMessageStoreException
{
boolean unlink = false; // flag so we can unlink outside sync block
if (isStoreNever())
{
synchronized (this)
{
if (ItemLinkState.STATE_AVAILABLE == _itemLinkSt... | java | @Override
public final void releaseIfDiscardable() throws SevereMessageStoreException
{
boolean unlink = false; // flag so we can unlink outside sync block
if (isStoreNever())
{
synchronized (this)
{
if (ItemLinkState.STATE_AVAILABLE == _itemLinkSt... | [
"@",
"Override",
"public",
"final",
"void",
"releaseIfDiscardable",
"(",
")",
"throws",
"SevereMessageStoreException",
"{",
"boolean",
"unlink",
"=",
"false",
";",
"// flag so we can unlink outside sync block",
"if",
"(",
"isStoreNever",
"(",
")",
")",
"{",
"synchroni... | This is the callback from the item cache to indicate that the
discardable item should be freed. It's only used to remove STORE_NEVER items
from the MS when the cache of these items is full.
@throws SevereMessageStoreException | [
"This",
"is",
"the",
"callback",
"from",
"the",
"item",
"cache",
"to",
"indicate",
"that",
"the",
"discardable",
"item",
"should",
"be",
"freed",
".",
"It",
"s",
"only",
"used",
"to",
"remove",
"STORE_NEVER",
"items",
"from",
"the",
"MS",
"when",
"the",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L3869-L3900 |
70,902 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.removeIfMatches | public final AbstractItem removeIfMatches(final Filter filter, PersistentTransaction transaction) throws ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "removeIfMatches", new Object[] {... | java | public final AbstractItem removeIfMatches(final Filter filter, PersistentTransaction transaction) throws ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "removeIfMatches", new Object[] {... | [
"public",
"final",
"AbstractItem",
"removeIfMatches",
"(",
"final",
"Filter",
"filter",
",",
"PersistentTransaction",
"transaction",
")",
"throws",
"ProtocolException",
",",
"TransactionException",
",",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",... | remove the item if it matches and is available
@param filter
@param transaction
@return item if locked
@throws ProtocolException Thrown if an add is attempted when the
transaction cannot allow any further work to be added i.e. after
completion of the transaction.
@throws TransactionException Thrown if an unexpected ... | [
"remove",
"the",
"item",
"if",
"it",
"matches",
"and",
"is",
"available"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L3916-L3926 |
70,903 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/lifecycle/RestoreViewExecutor.java | RestoreViewExecutor._getLifecycle | private Lifecycle _getLifecycle(FacesContext facesContext)
{
LifecycleFactory factory = (LifecycleFactory) FactoryFinder.getFactory(FactoryFinder.LIFECYCLE_FACTORY);
String id = facesContext.getExternalContext().getInitParameter(FacesServlet.LIFECYCLE_ID_ATTR);
if (id == null)
{
... | java | private Lifecycle _getLifecycle(FacesContext facesContext)
{
LifecycleFactory factory = (LifecycleFactory) FactoryFinder.getFactory(FactoryFinder.LIFECYCLE_FACTORY);
String id = facesContext.getExternalContext().getInitParameter(FacesServlet.LIFECYCLE_ID_ATTR);
if (id == null)
{
... | [
"private",
"Lifecycle",
"_getLifecycle",
"(",
"FacesContext",
"facesContext",
")",
"{",
"LifecycleFactory",
"factory",
"=",
"(",
"LifecycleFactory",
")",
"FactoryFinder",
".",
"getFactory",
"(",
"FactoryFinder",
".",
"LIFECYCLE_FACTORY",
")",
";",
"String",
"id",
"=... | Gets the current Lifecycle instance from the LifecycleFactory
@param facesContext
@return | [
"Gets",
"the",
"current",
"Lifecycle",
"instance",
"from",
"the",
"LifecycleFactory"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/lifecycle/RestoreViewExecutor.java#L551-L560 |
70,904 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.locationInOutputDir | private boolean locationInOutputDir(String location) {
String expandedOutputLocation = cfgSvc.resolveString(LibertyConstants.DEFAULT_OUTPUT_LOCATION);
return location.startsWith(LibertyConstants.DEFAULT_OUTPUT_LOCATION)
|| location.startsWith(expandedOutputLocation);
} | java | private boolean locationInOutputDir(String location) {
String expandedOutputLocation = cfgSvc.resolveString(LibertyConstants.DEFAULT_OUTPUT_LOCATION);
return location.startsWith(LibertyConstants.DEFAULT_OUTPUT_LOCATION)
|| location.startsWith(expandedOutputLocation);
} | [
"private",
"boolean",
"locationInOutputDir",
"(",
"String",
"location",
")",
"{",
"String",
"expandedOutputLocation",
"=",
"cfgSvc",
".",
"resolveString",
"(",
"LibertyConstants",
".",
"DEFAULT_OUTPUT_LOCATION",
")",
";",
"return",
"location",
".",
"startsWith",
"(",
... | Determines if the location is rooted in the server's output location.
@param location
@return true if the location is under the server's output location; false otherwise. | [
"Determines",
"if",
"the",
"location",
"is",
"rooted",
"in",
"the",
"server",
"s",
"output",
"location",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L347-L352 |
70,905 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.setLocation | private void setLocation(String _location) {
String res = null;
File resFile = null;
boolean relativePath = true;
boolean defaultPath = false;
// try as "absolute" resource (contains symbol, or absolute path)
try {
res = cfgSvc.resolveString(_location);
... | java | private void setLocation(String _location) {
String res = null;
File resFile = null;
boolean relativePath = true;
boolean defaultPath = false;
// try as "absolute" resource (contains symbol, or absolute path)
try {
res = cfgSvc.resolveString(_location);
... | [
"private",
"void",
"setLocation",
"(",
"String",
"_location",
")",
"{",
"String",
"res",
"=",
"null",
";",
"File",
"resFile",
"=",
"null",
";",
"boolean",
"relativePath",
"=",
"true",
";",
"boolean",
"defaultPath",
"=",
"false",
";",
"// try as \"absolute\" re... | Set the physical location of this store to the input value.
This method will resolve all symbolic names in the location.
If location is just a file name, then we assume its location is
the LibertyConstants.DEFAULT_CONFIG_LOCATION.
@param _location | [
"Set",
"the",
"physical",
"location",
"of",
"this",
"store",
"to",
"the",
"input",
"value",
".",
"This",
"method",
"will",
"resolve",
"all",
"symbolic",
"names",
"in",
"the",
"location",
".",
"If",
"location",
"is",
"just",
"a",
"file",
"name",
"then",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L362-L419 |
70,906 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.setFileBased | private void setFileBased(Boolean flag) {
this.fileBased = flag;
setProperty(Constants.SSLPROP_KEY_STORE_FILE_BASED, flag.toString());
} | java | private void setFileBased(Boolean flag) {
this.fileBased = flag;
setProperty(Constants.SSLPROP_KEY_STORE_FILE_BASED, flag.toString());
} | [
"private",
"void",
"setFileBased",
"(",
"Boolean",
"flag",
")",
"{",
"this",
".",
"fileBased",
"=",
"flag",
";",
"setProperty",
"(",
"Constants",
".",
"SSLPROP_KEY_STORE_FILE_BASED",
",",
"flag",
".",
"toString",
"(",
")",
")",
";",
"}"
] | Set the flag on whether this keystore is filebased or not to the input
value.
@param flag | [
"Set",
"the",
"flag",
"on",
"whether",
"this",
"keystore",
"is",
"filebased",
"or",
"not",
"to",
"the",
"input",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L535-L538 |
70,907 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.setReadOnly | private void setReadOnly(Boolean flag) {
this.readOnly = flag;
setProperty(Constants.SSLPROP_KEY_STORE_READ_ONLY, flag.toString());
} | java | private void setReadOnly(Boolean flag) {
this.readOnly = flag;
setProperty(Constants.SSLPROP_KEY_STORE_READ_ONLY, flag.toString());
} | [
"private",
"void",
"setReadOnly",
"(",
"Boolean",
"flag",
")",
"{",
"this",
".",
"readOnly",
"=",
"flag",
";",
"setProperty",
"(",
"Constants",
".",
"SSLPROP_KEY_STORE_READ_ONLY",
",",
"flag",
".",
"toString",
"(",
")",
")",
";",
"}"
] | Set the flag on whether this keystore is read only to the input flag.
@param flag | [
"Set",
"the",
"flag",
"on",
"whether",
"this",
"keystore",
"is",
"read",
"only",
"to",
"the",
"input",
"flag",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L545-L548 |
70,908 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.setInitializeAtStartup | private void setInitializeAtStartup(Boolean flag) {
this.initializeAtStartup = flag;
setProperty(Constants.SSLPROP_KEY_STORE_INITIALIZE_AT_STARTUP, flag.toString());
} | java | private void setInitializeAtStartup(Boolean flag) {
this.initializeAtStartup = flag;
setProperty(Constants.SSLPROP_KEY_STORE_INITIALIZE_AT_STARTUP, flag.toString());
} | [
"private",
"void",
"setInitializeAtStartup",
"(",
"Boolean",
"flag",
")",
"{",
"this",
".",
"initializeAtStartup",
"=",
"flag",
";",
"setProperty",
"(",
"Constants",
".",
"SSLPROP_KEY_STORE_INITIALIZE_AT_STARTUP",
",",
"flag",
".",
"toString",
"(",
")",
")",
";",
... | Set the flag on whether this keystore should initialize at startup.
@param flag | [
"Set",
"the",
"flag",
"on",
"whether",
"this",
"keystore",
"should",
"initialize",
"at",
"startup",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L555-L558 |
70,909 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.getLocation | public String getLocation() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getLocation -> " + location);
}
return this.location;
} | java | public String getLocation() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getLocation -> " + location);
}
return this.location;
} | [
"public",
"String",
"getLocation",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getLocation -> \"",
"+",
"location",
")",
"... | Query the location of this keystore.
@return String | [
"Query",
"the",
"location",
"of",
"this",
"keystore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L574-L579 |
70,910 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.getPollingRate | public long getPollingRate() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getPollingRate returning " + pollingRate);
return this.pollingRate;
} | java | public long getPollingRate() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getPollingRate returning " + pollingRate);
return this.pollingRate;
} | [
"public",
"long",
"getPollingRate",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getPollingRate returning \"",
"+",
"pollingRate",
"... | Query the monitor interval
@return Boolean | [
"Query",
"the",
"monitor",
"interval"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L649-L653 |
70,911 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.getTrigger | public String getTrigger() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getTrigger returning " + trigger);
return this.trigger;
} | java | public String getTrigger() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getTrigger returning " + trigger);
return this.trigger;
} | [
"public",
"String",
"getTrigger",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getTrigger returning \"",
"+",
"trigger",
")",
";",... | Query the file monitoring trigger
@return Boolean | [
"Query",
"the",
"file",
"monitoring",
"trigger"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L660-L664 |
70,912 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.getKeyStore | public KeyStore getKeyStore(boolean reinitialize, boolean createIfNotPresent) throws Exception {
if (myKeyStore == null || reinitialize) {
myKeyStore = do_getKeyStore(reinitialize, createIfNotPresent);
}
return myKeyStore;
} | java | public KeyStore getKeyStore(boolean reinitialize, boolean createIfNotPresent) throws Exception {
if (myKeyStore == null || reinitialize) {
myKeyStore = do_getKeyStore(reinitialize, createIfNotPresent);
}
return myKeyStore;
} | [
"public",
"KeyStore",
"getKeyStore",
"(",
"boolean",
"reinitialize",
",",
"boolean",
"createIfNotPresent",
")",
"throws",
"Exception",
"{",
"if",
"(",
"myKeyStore",
"==",
"null",
"||",
"reinitialize",
")",
"{",
"myKeyStore",
"=",
"do_getKeyStore",
"(",
"reinitiali... | Get the key store wrapped by this object.
@param reinitialize
@param createIfNotPresent
@return KeyStore
@throws Exception | [
"Get",
"the",
"key",
"store",
"wrapped",
"by",
"this",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L909-L915 |
70,913 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.store | public void store() throws Exception {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "store");
try {
String name = getProperty(Constants.SSLPROP_KEY_STORE_NAME);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
... | java | public void store() throws Exception {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "store");
try {
String name = getProperty(Constants.SSLPROP_KEY_STORE_NAME);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
... | [
"public",
"void",
"store",
"(",
")",
"throws",
"Exception",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"store\"",
")",
";",
"try",
"{",... | Store the current information into the wrapped keystore.
@throws Exception | [
"Store",
"the",
"current",
"information",
"into",
"the",
"wrapped",
"keystore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L922-L979 |
70,914 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.initializeKeyStore | public void initializeKeyStore(boolean reinitialize) throws Exception {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "initializeKeyStore");
try {
String initAtStartup = getProperty(Constants.SSLPROP_KEY_STORE_INITIALIZE_AT_STARTUP);
b... | java | public void initializeKeyStore(boolean reinitialize) throws Exception {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "initializeKeyStore");
try {
String initAtStartup = getProperty(Constants.SSLPROP_KEY_STORE_INITIALIZE_AT_STARTUP);
b... | [
"public",
"void",
"initializeKeyStore",
"(",
"boolean",
"reinitialize",
")",
"throws",
"Exception",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
... | Initialize the wrapped keystore.
@param reinitialize
@throws Exception | [
"Initialize",
"the",
"wrapped",
"keystore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L987-L1008 |
70,915 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.provideExpirationWarnings | public void provideExpirationWarnings(int daysBeforeExpireWarning, String keyStoreName) throws Exception {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "provideExpirationWarnings", Integer.valueOf(daysBeforeExpireWarning));
KeyStore keystore = getKeyStore(fa... | java | public void provideExpirationWarnings(int daysBeforeExpireWarning, String keyStoreName) throws Exception {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "provideExpirationWarnings", Integer.valueOf(daysBeforeExpireWarning));
KeyStore keystore = getKeyStore(fa... | [
"public",
"void",
"provideExpirationWarnings",
"(",
"int",
"daysBeforeExpireWarning",
",",
"String",
"keyStoreName",
")",
"throws",
"Exception",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")... | Cycle through the keystore looking for expired certificates. Print a
warning for any certificates that are expired or will expire during the
input interval.
@param daysBeforeExpireWarning
@param keyStoreName
@throws Exception | [
"Cycle",
"through",
"the",
"keystore",
"looking",
"for",
"expired",
"certificates",
".",
"Print",
"a",
"warning",
"for",
"any",
"certificates",
"that",
"are",
"expired",
"or",
"will",
"expire",
"during",
"the",
"input",
"interval",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L1019-L1051 |
70,916 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.printWarning | public void printWarning(int daysBeforeExpireWarning, String keyStoreName, String alias, X509Certificate cert) {
try {
long millisDelta = ((((daysBeforeExpireWarning * 24L) * 60L) * 60L) * 1000L);
long millisBeforeExpiration = cert.getNotAfter().getTime() - System.currentTimeMillis();
... | java | public void printWarning(int daysBeforeExpireWarning, String keyStoreName, String alias, X509Certificate cert) {
try {
long millisDelta = ((((daysBeforeExpireWarning * 24L) * 60L) * 60L) * 1000L);
long millisBeforeExpiration = cert.getNotAfter().getTime() - System.currentTimeMillis();
... | [
"public",
"void",
"printWarning",
"(",
"int",
"daysBeforeExpireWarning",
",",
"String",
"keyStoreName",
",",
"String",
"alias",
",",
"X509Certificate",
"cert",
")",
"{",
"try",
"{",
"long",
"millisDelta",
"=",
"(",
"(",
"(",
"(",
"daysBeforeExpireWarning",
"*",
... | Print a warning about a certificate being expired or soon to be expired in
the keystore.
@param daysBeforeExpireWarning
@param keyStoreName
@param alias
@param cert | [
"Print",
"a",
"warning",
"about",
"a",
"certificate",
"being",
"expired",
"or",
"soon",
"to",
"be",
"expired",
"in",
"the",
"keystore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L1062-L1082 |
70,917 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.openKeyStore | public static InputStream openKeyStore(String fileName) throws MalformedURLException, IOException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "openKeyStore: " + fileName);
URL urlFile = null;
// Check if the filename exists as a File.
Fil... | java | public static InputStream openKeyStore(String fileName) throws MalformedURLException, IOException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "openKeyStore: " + fileName);
URL urlFile = null;
// Check if the filename exists as a File.
Fil... | [
"public",
"static",
"InputStream",
"openKeyStore",
"(",
"String",
"fileName",
")",
"throws",
"MalformedURLException",
",",
"IOException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"T... | The purpose of this method is to open the passed in file which represents
the key store.
@param fileName
@return InputStream
@throws MalformedURLException
@throws IOException | [
"The",
"purpose",
"of",
"this",
"method",
"is",
"to",
"open",
"the",
"passed",
"in",
"file",
"which",
"represents",
"the",
"key",
"store",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L1126-L1150 |
70,918 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.setCertificateEntry | public void setCertificateEntry(String alias, Certificate cert) throws KeyStoreException, KeyException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "setCertificateEntry", new Object[] { alias, cert });
}
if (Boolean.parseBoolean(getProperty(... | java | public void setCertificateEntry(String alias, Certificate cert) throws KeyStoreException, KeyException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "setCertificateEntry", new Object[] { alias, cert });
}
if (Boolean.parseBoolean(getProperty(... | [
"public",
"void",
"setCertificateEntry",
"(",
"String",
"alias",
",",
"Certificate",
"cert",
")",
"throws",
"KeyStoreException",
",",
"KeyException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
... | Set a new certificate into the keystore and save the updated store.
@param alias
@param cert
@throws KeyStoreException
- if the store is read only or not found
@throws KeyException
- if an error happens updating the store with the cert | [
"Set",
"a",
"new",
"certificate",
"into",
"the",
"keystore",
"and",
"save",
"the",
"updated",
"store",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L1188-L1260 |
70,919 | OpenLiberty/open-liberty | dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java | WSKeyStore.getKeyPassword | private SerializableProtectedString getKeyPassword(String alias) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getKeyPassword " + alias);
SerializableProtectedString keyPass = certAliasInfo.get(alias);
if (keyPass != null) {
if (TraceCo... | java | private SerializableProtectedString getKeyPassword(String alias) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "getKeyPassword " + alias);
SerializableProtectedString keyPass = certAliasInfo.get(alias);
if (keyPass != null) {
if (TraceCo... | [
"private",
"SerializableProtectedString",
"getKeyPassword",
"(",
"String",
"alias",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"getKeyPass... | Query the password of a key entry in this keystore.
@param alias
@return | [
"Query",
"the",
"password",
"of",
"a",
"key",
"entry",
"in",
"this",
"keystore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java#L1354-L1367 |
70,920 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/validation/ServerValidator.java | ServerValidator.validateServerVariables | private void validateServerVariables(ValidationHelper helper, Context context, Set<String> variables, Server t) {
ServerVariables serverVariables = t.getVariables();
for (String variable : variables) {
if (serverVariables == null || !serverVariables.containsKey(variable)) {
... | java | private void validateServerVariables(ValidationHelper helper, Context context, Set<String> variables, Server t) {
ServerVariables serverVariables = t.getVariables();
for (String variable : variables) {
if (serverVariables == null || !serverVariables.containsKey(variable)) {
... | [
"private",
"void",
"validateServerVariables",
"(",
"ValidationHelper",
"helper",
",",
"Context",
"context",
",",
"Set",
"<",
"String",
">",
"variables",
",",
"Server",
"t",
")",
"{",
"ServerVariables",
"serverVariables",
"=",
"t",
".",
"getVariables",
"(",
")",
... | Ensures that all the serverVariables are defined
@param helper the helper to send validation messages
@param variables the set of variables to validate | [
"Ensures",
"that",
"all",
"the",
"serverVariables",
"are",
"defined"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/validation/ServerValidator.java#L61-L70 |
70,921 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/validation/ServerValidator.java | ServerValidator.validateURL | private Set<String> validateURL(ValidationHelper helper, Context context, String url) {
String pathToCheck = url;
Set<String> serverVariables = new HashSet<String>();
while (pathToCheck.contains("{")) {
if (!pathToCheck.contains("}")) {
final String message = Tr.form... | java | private Set<String> validateURL(ValidationHelper helper, Context context, String url) {
String pathToCheck = url;
Set<String> serverVariables = new HashSet<String>();
while (pathToCheck.contains("{")) {
if (!pathToCheck.contains("}")) {
final String message = Tr.form... | [
"private",
"Set",
"<",
"String",
">",
"validateURL",
"(",
"ValidationHelper",
"helper",
",",
"Context",
"context",
",",
"String",
"url",
")",
"{",
"String",
"pathToCheck",
"=",
"url",
";",
"Set",
"<",
"String",
">",
"serverVariables",
"=",
"new",
"HashSet",
... | Validate the url and extract server variables parameters | [
"Validate",
"the",
"url",
"and",
"extract",
"server",
"variables",
"parameters"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/validation/ServerValidator.java#L75-L113 |
70,922 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/BinaryLogRecordSerializerVersion2Impl.java | BinaryLogRecordSerializerVersion2Impl.findFirstEyeCatcher | public int findFirstEyeCatcher(byte[] buffer, int off, int len) {
if (off < 0 || off >= buffer.length) {
throw new IllegalArgumentException("Offset should be in the buffer boundaries");
}
if (off + len > buffer.length) {
len = buffer.length - off;
}
// i - pointer in eyeCatcher, p - in the buffer.
int... | java | public int findFirstEyeCatcher(byte[] buffer, int off, int len) {
if (off < 0 || off >= buffer.length) {
throw new IllegalArgumentException("Offset should be in the buffer boundaries");
}
if (off + len > buffer.length) {
len = buffer.length - off;
}
// i - pointer in eyeCatcher, p - in the buffer.
int... | [
"public",
"int",
"findFirstEyeCatcher",
"(",
"byte",
"[",
"]",
"buffer",
",",
"int",
"off",
",",
"int",
"len",
")",
"{",
"if",
"(",
"off",
"<",
"0",
"||",
"off",
">=",
"buffer",
".",
"length",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
... | assumption that the EYE_CATCHER does not have repeatable bytes. | [
"assumption",
"that",
"the",
"EYE_CATCHER",
"does",
"not",
"have",
"repeatable",
"bytes",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/BinaryLogRecordSerializerVersion2Impl.java#L598-L630 |
70,923 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.initialize | private void initialize()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "initialize");
subsets = new ReliabilitySubset[maxReliabilityIndex + 1];
subsetIDs = new long[maxReliabilityIndex + 1];
for(int i=0;i<subsetIDs.length;i++)
{
subs... | java | private void initialize()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "initialize");
subsets = new ReliabilitySubset[maxReliabilityIndex + 1];
subsetIDs = new long[maxReliabilityIndex + 1];
for(int i=0;i<subsetIDs.length;i++)
{
subs... | [
"private",
"void",
"initialize",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"initialize\"",
")",
";",
"subsets"... | Initialize some arrays | [
"Initialize",
"some",
"arrays"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L252-L268 |
70,924 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.setStream | protected void setStream(
int priority,
Reliability reliability,
Stream stream) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"setStream",
new Object[] { new Integer(priority), reliability, stream });
... | java | protected void setStream(
int priority,
Reliability reliability,
Stream stream) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"setStream",
new Object[] { new Integer(priority), reliability, stream });
... | [
"protected",
"void",
"setStream",
"(",
"int",
"priority",
",",
"Reliability",
"reliability",
",",
"Stream",
"stream",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
... | Set an element in the stream array
@param priority
@param reliability
@param stream
@throws SIResourceException | [
"Set",
"an",
"element",
"in",
"the",
"stream",
"array"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L290-L306 |
70,925 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.updateCellule | public void updateCellule( SIBUuid8 newRemoteMEUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "updateCellule", newRemoteMEUuid);
this.remoteMEUuid = newRemoteMEUuid;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.ex... | java | public void updateCellule( SIBUuid8 newRemoteMEUuid)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "updateCellule", newRemoteMEUuid);
this.remoteMEUuid = newRemoteMEUuid;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.ex... | [
"public",
"void",
"updateCellule",
"(",
"SIBUuid8",
"newRemoteMEUuid",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"upd... | This method should only be called when the streamSet was created with
an unknown targetCellule and WLM has now told us correct targetCellule.
This can only happen when the SourceStreamManager is owned by a
PtoPOuptuHandler within a LinkHandler | [
"This",
"method",
"should",
"only",
"be",
"called",
"when",
"the",
"streamSet",
"was",
"created",
"with",
"an",
"unknown",
"targetCellule",
"and",
"WLM",
"has",
"now",
"told",
"us",
"correct",
"targetCellule",
".",
"This",
"can",
"only",
"happen",
"when",
"t... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L314-L323 |
70,926 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.createPersistentSubset | private ReliabilitySubset createPersistentSubset(Reliability reliability,
TransactionCommon tran) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createPersistentSubset", new Object[] { reliability });
ReliabilitySubset subs... | java | private ReliabilitySubset createPersistentSubset(Reliability reliability,
TransactionCommon tran) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createPersistentSubset", new Object[] { reliability });
ReliabilitySubset subs... | [
"private",
"ReliabilitySubset",
"createPersistentSubset",
"(",
"Reliability",
"reliability",
",",
"TransactionCommon",
"tran",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled"... | Create a new ReliabilitySubset for the given reliability. If it is not express,
store it in the message store and record the message store ID.
@param reliability
@throws SIResourceException
@throws SIStoreException | [
"Create",
"a",
"new",
"ReliabilitySubset",
"for",
"the",
"given",
"reliability",
".",
"If",
"it",
"is",
"not",
"express",
"store",
"it",
"in",
"the",
"message",
"store",
"and",
"record",
"the",
"message",
"store",
"ID",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L373-L415 |
70,927 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.createNonPersistentSubsets | private void createNonPersistentSubsets()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createNonPersistentSubsets");
for(int i=0; i<subsets.length; i++)
{
createNonPersistentSubset(getReliability(i));
}
if (TraceComponent.isAnyTrac... | java | private void createNonPersistentSubsets()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createNonPersistentSubsets");
for(int i=0; i<subsets.length; i++)
{
createNonPersistentSubset(getReliability(i));
}
if (TraceComponent.isAnyTrac... | [
"private",
"void",
"createNonPersistentSubsets",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"createNonPersistentSubse... | Create all the ReliabilitySubsets non persistently. | [
"Create",
"all",
"the",
"ReliabilitySubsets",
"non",
"persistently",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L420-L432 |
70,928 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.createNonPersistentSubset | private ReliabilitySubset createNonPersistentSubset(Reliability reliability)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"createNonPersistentSubset",
new Object[] { reliability });
ReliabilitySubset subset = new ReliabilitySubset(relia... | java | private ReliabilitySubset createNonPersistentSubset(Reliability reliability)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"createNonPersistentSubset",
new Object[] { reliability });
ReliabilitySubset subset = new ReliabilitySubset(relia... | [
"private",
"ReliabilitySubset",
"createNonPersistentSubset",
"(",
"Reliability",
"reliability",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
... | Create a new ReliabilitySubset for the given Reliability but do not
persist it.
@param reliability | [
"Create",
"a",
"new",
"ReliabilitySubset",
"for",
"the",
"given",
"Reliability",
"but",
"do",
"not",
"persist",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L440-L456 |
70,929 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.getStream | public Stream getStream(int priority, Reliability reliability) throws SIResourceException
{
return getSubset(reliability).getStream(priority);
} | java | public Stream getStream(int priority, Reliability reliability) throws SIResourceException
{
return getSubset(reliability).getStream(priority);
} | [
"public",
"Stream",
"getStream",
"(",
"int",
"priority",
",",
"Reliability",
"reliability",
")",
"throws",
"SIResourceException",
"{",
"return",
"getSubset",
"(",
"reliability",
")",
".",
"getStream",
"(",
"priority",
")",
";",
"}"
] | Get a specific stream based on priority and reliability
@param priority
@param reliability
@throws SIResourceException | [
"Get",
"a",
"specific",
"stream",
"based",
"on",
"priority",
"and",
"reliability"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L465-L468 |
70,930 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.getDestUuid | public SIBUuid12 getDestUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getDestUuid");
SibTr.exit(tc, "getDestUuid", destID);
}
return destID;
} | java | public SIBUuid12 getDestUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getDestUuid");
SibTr.exit(tc, "getDestUuid", destID);
}
return destID;
} | [
"public",
"SIBUuid12",
"getDestUuid",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getDestUuid\"",
")",
";"... | Get the destination Uuid
@return The destination Uuid | [
"Get",
"the",
"destination",
"Uuid"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L751-L760 |
70,931 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.setDestUuid | protected void setDestUuid(SIBUuid12 destID)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestUuid", destID);
this.destID = destID;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestUuid");
} | java | protected void setDestUuid(SIBUuid12 destID)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestUuid", destID);
this.destID = destID;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestUuid");
} | [
"protected",
"void",
"setDestUuid",
"(",
"SIBUuid12",
"destID",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setDestUuid\"",
",",
"d... | Set the destination Uuid
@return The destination Uuid | [
"Set",
"the",
"destination",
"Uuid"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L767-L776 |
70,932 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.getBusUuid | public SIBUuid8 getBusUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getBusUuid");
SibTr.exit(tc, "getBusUuid", busID);
}
return busID;
} | java | public SIBUuid8 getBusUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getBusUuid");
SibTr.exit(tc, "getBusUuid", busID);
}
return busID;
} | [
"public",
"SIBUuid8",
"getBusUuid",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getBusUuid\"",
")",
";",
... | Get the bus Uuid
@return The bus Uuid | [
"Get",
"the",
"bus",
"Uuid"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L783-L792 |
70,933 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.isPersistent | public boolean isPersistent()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "isPersistent");
SibTr.exit(tc, "isPersistent", Boolean.valueOf(persistent));
}
return persistent;
} | java | public boolean isPersistent()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "isPersistent");
SibTr.exit(tc, "isPersistent", Boolean.valueOf(persistent));
}
return persistent;
} | [
"public",
"boolean",
"isPersistent",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"isPersistent\"",
")",
";"... | Get the persistence of this StreamSet
@return true if this StreamSet is persistent | [
"Get",
"the",
"persistence",
"of",
"this",
"StreamSet"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L817-L825 |
70,934 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.getStreamID | public SIBUuid12 getStreamID()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getStreamID");
SibTr.exit(tc, "getStreamID", streamID);
}
return streamID;
} | java | public SIBUuid12 getStreamID()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "getStreamID");
SibTr.exit(tc, "getStreamID", streamID);
}
return streamID;
} | [
"public",
"SIBUuid12",
"getStreamID",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getStreamID\"",
")",
";"... | Get the stream ID for this protocol item.
@return An instance of SIBUuid12. | [
"Get",
"the",
"stream",
"ID",
"for",
"this",
"protocol",
"item",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L832-L841 |
70,935 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.setPersistentData | protected void setPersistentData(int priority,
Reliability reliability,
long completedPrefix) throws SIResourceException
{
getSubset(reliability).setPersistentData(priority, completedPrefix);
} | java | protected void setPersistentData(int priority,
Reliability reliability,
long completedPrefix) throws SIResourceException
{
getSubset(reliability).setPersistentData(priority, completedPrefix);
} | [
"protected",
"void",
"setPersistentData",
"(",
"int",
"priority",
",",
"Reliability",
"reliability",
",",
"long",
"completedPrefix",
")",
"throws",
"SIResourceException",
"{",
"getSubset",
"(",
"reliability",
")",
".",
"setPersistentData",
"(",
"priority",
",",
"com... | Set the persistent data for a specific stream
@param priority
@param reliability
@param completedPrefix
@throws SIResourceException | [
"Set",
"the",
"persistent",
"data",
"for",
"a",
"specific",
"stream"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L868-L873 |
70,936 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java | StreamSet.getPersistentData | protected long getPersistentData(int priority, Reliability reliability) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"getPersistentData",
new Object[] { new Integer(priority), reliability });
long prefix = getSubs... | java | protected long getPersistentData(int priority, Reliability reliability) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"getPersistentData",
new Object[] { new Integer(priority), reliability });
long prefix = getSubs... | [
"protected",
"long",
"getPersistentData",
"(",
"int",
"priority",
",",
"Reliability",
"reliability",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"... | Get the persistent data for a specific stream
@param priority
@param reliability
@throws SIResourceException | [
"Get",
"the",
"persistent",
"data",
"for",
"a",
"specific",
"stream"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/gd/StreamSet.java#L882-L896 |
70,937 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java | LoggerOnThread.isOverFileLimit | private boolean isOverFileLimit(int addition) {
if (LogFile.UNLIMITED == getMaximumSize()) {
return false;
}
// Note: to do this properly, we need to know if the admin updates the
// file externally, i.e. 'cat /dev/null > file' to clear it out. Windows
// JDK filechan... | java | private boolean isOverFileLimit(int addition) {
if (LogFile.UNLIMITED == getMaximumSize()) {
return false;
}
// Note: to do this properly, we need to know if the admin updates the
// file externally, i.e. 'cat /dev/null > file' to clear it out. Windows
// JDK filechan... | [
"private",
"boolean",
"isOverFileLimit",
"(",
"int",
"addition",
")",
"{",
"if",
"(",
"LogFile",
".",
"UNLIMITED",
"==",
"getMaximumSize",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"// Note: to do this properly, we need to know if the admin updates the",
"// fi... | Query whether the input amount will push the log file over the maximum
allowed size.
@param addition
@return boolean | [
"Query",
"whether",
"the",
"input",
"amount",
"will",
"push",
"the",
"log",
"file",
"over",
"the",
"maximum",
"allowed",
"size",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java#L300-L312 |
70,938 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java | LoggerOnThread.renameFile | private void renameFile(File source, File target) {
if (!source.exists()) {
// don't do anything if the source file doesn't exist
return;
}
if (target.exists()) {
target.delete();
}
boolean rc = source.renameTo(target);
if (!rc) {
... | java | private void renameFile(File source, File target) {
if (!source.exists()) {
// don't do anything if the source file doesn't exist
return;
}
if (target.exists()) {
target.delete();
}
boolean rc = source.renameTo(target);
if (!rc) {
... | [
"private",
"void",
"renameFile",
"(",
"File",
"source",
",",
"File",
"target",
")",
"{",
"if",
"(",
"!",
"source",
".",
"exists",
"(",
")",
")",
"{",
"// don't do anything if the source file doesn't exist",
"return",
";",
"}",
"if",
"(",
"target",
".",
"exis... | Rename the source file into the target file, deleting the target if
necessary.
@param source
@param target | [
"Rename",
"the",
"source",
"file",
"into",
"the",
"target",
"file",
"deleting",
"the",
"target",
"if",
"necessary",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java#L347-L361 |
70,939 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java | LoggerOnThread.addBackup | private void addBackup() {
// move the current log file to the newly formatted backup name
String newname = this.fileinfo + this.myFormat.format(new Date(HttpDispatcher.getApproxTime())) + this.extensioninfo;
File newFile = new File(newname);
renameFile(this.myFile, newFile);
// ... | java | private void addBackup() {
// move the current log file to the newly formatted backup name
String newname = this.fileinfo + this.myFormat.format(new Date(HttpDispatcher.getApproxTime())) + this.extensioninfo;
File newFile = new File(newname);
renameFile(this.myFile, newFile);
// ... | [
"private",
"void",
"addBackup",
"(",
")",
"{",
"// move the current log file to the newly formatted backup name",
"String",
"newname",
"=",
"this",
".",
"fileinfo",
"+",
"this",
".",
"myFormat",
".",
"format",
"(",
"new",
"Date",
"(",
"HttpDispatcher",
".",
"getAppr... | Move the current logfile to a backup name, taking care of any existing
backup files according to the configured limit. | [
"Move",
"the",
"current",
"logfile",
"to",
"a",
"backup",
"name",
"taking",
"care",
"of",
"any",
"existing",
"backup",
"files",
"according",
"to",
"the",
"configured",
"limit",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java#L367-L386 |
70,940 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java | LoggerOnThread.rotate | private void rotate() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, getFileName() + ": Rotating output log");
}
try {
this.myChannel.close();
} catch (IOException ioe) {
FFDCFilter.processException(ioe, getClass().ge... | java | private void rotate() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, getFileName() + ": Rotating output log");
}
try {
this.myChannel.close();
} catch (IOException ioe) {
FFDCFilter.processException(ioe, getClass().ge... | [
"private",
"void",
"rotate",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"getFileName",
"(",
")",
"+",
"\": Rotating output l... | When the output file has reached it's maximum size, this code will
rotate the current log to a backup and get ready to start logging
with a new file. | [
"When",
"the",
"output",
"file",
"has",
"reached",
"it",
"s",
"maximum",
"size",
"this",
"code",
"will",
"rotate",
"the",
"current",
"log",
"to",
"a",
"backup",
"and",
"get",
"ready",
"to",
"start",
"logging",
"with",
"a",
"new",
"file",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/logging/internal/LoggerOnThread.java#L394-L423 |
70,941 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/HexString.java | HexString.binToHex | public static void binToHex(byte[] bin, int start, int length, StringBuffer hex) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "binToHex", new Object[]{bin, Integer.valueOf(start), Integer.valueOf(length), hex});
/* Constant for binary to Hex conversion ... | java | public static void binToHex(byte[] bin, int start, int length, StringBuffer hex) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "binToHex", new Object[]{bin, Integer.valueOf(start), Integer.valueOf(length), hex});
/* Constant for binary to Hex conversion ... | [
"public",
"static",
"void",
"binToHex",
"(",
"byte",
"[",
"]",
"bin",
",",
"int",
"start",
",",
"int",
"length",
",",
"StringBuffer",
"hex",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"... | Converts a binary value held in a byte array into a hex string, in the
given StringBuffer, using exactly two characters per byte of input.
@param bin The byte array containing the binary value.
@param start The offset into the byte array for conversion to start..
@param length The number of bytes to convert.
@para... | [
"Converts",
"a",
"binary",
"value",
"held",
"in",
"a",
"byte",
"array",
"into",
"a",
"hex",
"string",
"in",
"the",
"given",
"StringBuffer",
"using",
"exactly",
"two",
"characters",
"per",
"byte",
"of",
"input",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/HexString.java#L38-L61 |
70,942 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/HexString.java | HexString.binToHex | public static String binToHex(byte[] bin)
{
StringBuffer hex = new StringBuffer();
binToHex(bin,0,bin.length,hex);
return hex.toString();
} | java | public static String binToHex(byte[] bin)
{
StringBuffer hex = new StringBuffer();
binToHex(bin,0,bin.length,hex);
return hex.toString();
} | [
"public",
"static",
"String",
"binToHex",
"(",
"byte",
"[",
"]",
"bin",
")",
"{",
"StringBuffer",
"hex",
"=",
"new",
"StringBuffer",
"(",
")",
";",
"binToHex",
"(",
"bin",
",",
"0",
",",
"bin",
".",
"length",
",",
"hex",
")",
";",
"return",
"hex",
... | Converts a binary value held in a byte array into a hex string.
@param bin The byte array containing the binary value.
@return String The hex string | [
"Converts",
"a",
"binary",
"value",
"held",
"in",
"a",
"byte",
"array",
"into",
"a",
"hex",
"string",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/HexString.java#L69-L74 |
70,943 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/HexString.java | HexString.hexToBin | public static byte[] hexToBin(String hex, int start) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "hexToBin", new Object[]{hex, Integer.valueOf(start)});
int digit1, digit2;
int length = (hex.length() - start); // no of characters to be processed
// Handle the spe... | java | public static byte[] hexToBin(String hex, int start) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "hexToBin", new Object[]{hex, Integer.valueOf(start)});
int digit1, digit2;
int length = (hex.length() - start); // no of characters to be processed
// Handle the spe... | [
"public",
"static",
"byte",
"[",
"]",
"hexToBin",
"(",
"String",
"hex",
",",
"int",
"start",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc"... | Converts a hex string into a byte array holding the binary value.
This code is reused from MA88.
@param hex The String containing the hex data (2 characters per byte)
@param start The int offset into the string (in characters) where the hex data starts
@return The resulting byte array.
@throws Illega... | [
"Converts",
"a",
"hex",
"string",
"into",
"a",
"byte",
"array",
"holding",
"the",
"binary",
"value",
".",
"This",
"code",
"is",
"reused",
"from",
"MA88",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/HexString.java#L88-L139 |
70,944 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterCell.java | FilterCell.findNextCell | public FilterCell findNextCell(int nextValue) {
if (nextCell == null) {
return null;
}
return (FilterCell) (nextCell.get(nextValue));
} | java | public FilterCell findNextCell(int nextValue) {
if (nextCell == null) {
return null;
}
return (FilterCell) (nextCell.get(nextValue));
} | [
"public",
"FilterCell",
"findNextCell",
"(",
"int",
"nextValue",
")",
"{",
"if",
"(",
"nextCell",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"return",
"(",
"FilterCell",
")",
"(",
"nextCell",
".",
"get",
"(",
"nextValue",
")",
")",
";",
"}"
] | Find the next cell, for a given number, which may come after this cell
in the address tree.
@param nextValue
The next value in the IPv6 Address that is to be tested
for inclusion in the address tree
@return null if the the nextValue does not have another cell connected to
this
cell in the tree. Otherwise return the ne... | [
"Find",
"the",
"next",
"cell",
"for",
"a",
"given",
"number",
"which",
"may",
"come",
"after",
"this",
"cell",
"in",
"the",
"address",
"tree",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterCell.java#L44-L49 |
70,945 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATProducer.java | StaticCATProducer.rcvCloseProducerSess | static void rcvCloseProducerSess(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | java | static void rcvCloseProducerSess(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | [
"static",
"void",
"rcvCloseProducerSess",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isA... | Close the Synchronous Producer Session provided by the client.
Fields:
BIT16 ConnectionObjectId
BIT16 ProducerSessionId
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange | [
"Close",
"the",
"Synchronous",
"Producer",
"Session",
"provided",
"by",
"the",
"client",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATProducer.java#L263-L331 |
70,946 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATProducer.java | StaticCATProducer.rcvSendSessMsg | static void rcvSendSessMsg(CommsServerByteBuffer request,
Conversation conversation,
int requestNumber,
boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.is... | java | static void rcvSendSessMsg(CommsServerByteBuffer request,
Conversation conversation,
int requestNumber,
boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.is... | [
"static",
"void",
"rcvSendSessMsg",
"(",
"CommsServerByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isA... | Calls the internal send method that will send a message and inform the
client as to the outcome.
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange | [
"Calls",
"the",
"internal",
"send",
"method",
"that",
"will",
"send",
"a",
"message",
"and",
"inform",
"the",
"client",
"as",
"to",
"the",
"outcome",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATProducer.java#L343-L358 |
70,947 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/MetaTypeRegistry.java | MetaTypeRegistry.getRegistryEntry | RegistryEntry getRegistryEntry(String pid) {
if (pid == null) {
return null;
}
return entryMap.get(pid);
} | java | RegistryEntry getRegistryEntry(String pid) {
if (pid == null) {
return null;
}
return entryMap.get(pid);
} | [
"RegistryEntry",
"getRegistryEntry",
"(",
"String",
"pid",
")",
"{",
"if",
"(",
"pid",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"return",
"entryMap",
".",
"get",
"(",
"pid",
")",
";",
"}"
] | get the registry entry, if any, for the supplied pid, which may be null
@param pid pid of desired registry entry, or null
@return entry for the pid, or null. | [
"get",
"the",
"registry",
"entry",
"if",
"any",
"for",
"the",
"supplied",
"pid",
"which",
"may",
"be",
"null"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/MetaTypeRegistry.java#L151-L156 |
70,948 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/MetaTypeRegistry.java | MetaTypeRegistry.processReferencedTypes | private void processReferencedTypes(RegistryEntry pidEntry) {
//parent first, AD has a reference pid
for (ExtendedAttributeDefinition ad : pidEntry.getAttributeMap().values()) {
if (ad.getType() == MetaTypeFactory.PID_TYPE) {
if (ad.getReferencePid() != null) {
... | java | private void processReferencedTypes(RegistryEntry pidEntry) {
//parent first, AD has a reference pid
for (ExtendedAttributeDefinition ad : pidEntry.getAttributeMap().values()) {
if (ad.getType() == MetaTypeFactory.PID_TYPE) {
if (ad.getReferencePid() != null) {
... | [
"private",
"void",
"processReferencedTypes",
"(",
"RegistryEntry",
"pidEntry",
")",
"{",
"//parent first, AD has a reference pid",
"for",
"(",
"ExtendedAttributeDefinition",
"ad",
":",
"pidEntry",
".",
"getAttributeMap",
"(",
")",
".",
"values",
"(",
")",
")",
"{",
... | Keeps track of which OCDs are referenced by a PID type attribute in another OCD
@param pidEntry | [
"Keeps",
"track",
"of",
"which",
"OCDs",
"are",
"referenced",
"by",
"a",
"PID",
"type",
"attribute",
"in",
"another",
"OCD"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/MetaTypeRegistry.java#L367-L409 |
70,949 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/TransactionLock.java | TransactionLock.unLock | protected final void unLock(ObjectManagerState objectManagerState)
{
synchronized (objectManagerState.transactionUnlockSequenceLock) {
unlockSequence = objectManagerState.getNewGlobalTransactionUnlockSequence();
lockingTransaction = null;
} // synchronized.
} | java | protected final void unLock(ObjectManagerState objectManagerState)
{
synchronized (objectManagerState.transactionUnlockSequenceLock) {
unlockSequence = objectManagerState.getNewGlobalTransactionUnlockSequence();
lockingTransaction = null;
} // synchronized.
} | [
"protected",
"final",
"void",
"unLock",
"(",
"ObjectManagerState",
"objectManagerState",
")",
"{",
"synchronized",
"(",
"objectManagerState",
".",
"transactionUnlockSequenceLock",
")",
"{",
"unlockSequence",
"=",
"objectManagerState",
".",
"getNewGlobalTransactionUnlockSequen... | Releases the lock on the transaction.
@param objectManagerState within which the transaction is unlocked. | [
"Releases",
"the",
"lock",
"on",
"the",
"transaction",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/TransactionLock.java#L36-L42 |
70,950 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java | BridgeUtils.validateCertificate | protected void validateCertificate(X509Certificate[] chain) throws com.ibm.wsspi.security.wim.exception.CertificateMapFailedException {
// validate the certificate array
if (chain == null || chain.length == 0) {
throw new com.ibm.wsspi.security.wim.exception.CertificateMapFailedException();
... | java | protected void validateCertificate(X509Certificate[] chain) throws com.ibm.wsspi.security.wim.exception.CertificateMapFailedException {
// validate the certificate array
if (chain == null || chain.length == 0) {
throw new com.ibm.wsspi.security.wim.exception.CertificateMapFailedException();
... | [
"protected",
"void",
"validateCertificate",
"(",
"X509Certificate",
"[",
"]",
"chain",
")",
"throws",
"com",
".",
"ibm",
".",
"wsspi",
".",
"security",
".",
"wim",
".",
"exception",
".",
"CertificateMapFailedException",
"{",
"// validate the certificate array",
"if"... | Validate an X509 certificate array.
@param chain Certificate chain to validate.
@throws com.ibm.wsspi.security.wim.exception.CertificateMapFailedException The certificate array is invalid because it is null,
empty or contains an null certificate. | [
"Validate",
"an",
"X509",
"certificate",
"array",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java#L169-L180 |
70,951 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java | BridgeUtils.separateIDAndRealm | protected IDAndRealm separateIDAndRealm(String inputString) throws WIMException {
// initialize the method name
String methodName = "seperateIDAndRealm";
if (tc.isDebugEnabled()) {
Tr.debug(tc, methodName + " " + "inputString = \"" + inputString + "\"");
}
String defa... | java | protected IDAndRealm separateIDAndRealm(String inputString) throws WIMException {
// initialize the method name
String methodName = "seperateIDAndRealm";
if (tc.isDebugEnabled()) {
Tr.debug(tc, methodName + " " + "inputString = \"" + inputString + "\"");
}
String defa... | [
"protected",
"IDAndRealm",
"separateIDAndRealm",
"(",
"String",
"inputString",
")",
"throws",
"WIMException",
"{",
"// initialize the method name",
"String",
"methodName",
"=",
"\"seperateIDAndRealm\"",
";",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
... | Separate the ID and realm from an input String.
@param inputString String containing the ID and realm.
@return WIMUserRegistryID with the ID and realm separated.
@throws WIMException The default realm could not be found.
@pre inputString != null
@post $return != null
@post $return.getId() != null
@post $return.getR... | [
"Separate",
"the",
"ID",
"and",
"realm",
"from",
"an",
"input",
"String",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java#L197-L224 |
70,952 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java | BridgeUtils.isIdentifierTypeProperty | public boolean isIdentifierTypeProperty(String inputProperty) {
// initialize the return value
boolean returnValue = false;
// test the property
if ((inputProperty != null)
&& ((inputProperty.equals(Service.PROP_UNIQUE_ID)) || (inputProperty.equals(Service.PROP_UNIQUE_NAME))
... | java | public boolean isIdentifierTypeProperty(String inputProperty) {
// initialize the return value
boolean returnValue = false;
// test the property
if ((inputProperty != null)
&& ((inputProperty.equals(Service.PROP_UNIQUE_ID)) || (inputProperty.equals(Service.PROP_UNIQUE_NAME))
... | [
"public",
"boolean",
"isIdentifierTypeProperty",
"(",
"String",
"inputProperty",
")",
"{",
"// initialize the return value",
"boolean",
"returnValue",
"=",
"false",
";",
"// test the property",
"if",
"(",
"(",
"inputProperty",
"!=",
"null",
")",
"&&",
"(",
"(",
"inp... | Test to see if a property is an IdentifierType property.
@param inputProperty Property to test.
@return true if the property is an IdentifierType property, false otherwise.
@pre inputProperty != null | [
"Test",
"to",
"see",
"if",
"a",
"property",
"is",
"an",
"IdentifierType",
"property",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java#L325-L335 |
70,953 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java | BridgeUtils.createRealmDataObject | protected void createRealmDataObject(Root inputRootObject, String inputRealm) {
// use the root DataGraph to create a Context DataGraph
List<Context> contexts = inputRootObject.getContexts();
if (contexts != null) {
Context ctx = new Context();
// set "WIM.Realm" in the C... | java | protected void createRealmDataObject(Root inputRootObject, String inputRealm) {
// use the root DataGraph to create a Context DataGraph
List<Context> contexts = inputRootObject.getContexts();
if (contexts != null) {
Context ctx = new Context();
// set "WIM.Realm" in the C... | [
"protected",
"void",
"createRealmDataObject",
"(",
"Root",
"inputRootObject",
",",
"String",
"inputRealm",
")",
"{",
"// use the root DataGraph to create a Context DataGraph",
"List",
"<",
"Context",
">",
"contexts",
"=",
"inputRootObject",
".",
"getContexts",
"(",
")",
... | Create a DataObject for the realm context.
@param inputRootDataObject The root DataObject.
@param inputRealm The realm.
@pre inputRootDataObject != null
@pre inputRealm != null
@pre inputRealm != "" | [
"Create",
"a",
"DataObject",
"for",
"the",
"realm",
"context",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java#L347-L358 |
70,954 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java | BridgeUtils.createPropertyControlDataObject | protected void createPropertyControlDataObject(Root inputRootDataObject, String inputProperty) {
// use the root DataGraph to create a PropertyControl DataGraph
List<Control> propertyControls = inputRootDataObject.getControls();
PropertyControl propCtrl = null;
if (propertyControls != nu... | java | protected void createPropertyControlDataObject(Root inputRootDataObject, String inputProperty) {
// use the root DataGraph to create a PropertyControl DataGraph
List<Control> propertyControls = inputRootDataObject.getControls();
PropertyControl propCtrl = null;
if (propertyControls != nu... | [
"protected",
"void",
"createPropertyControlDataObject",
"(",
"Root",
"inputRootDataObject",
",",
"String",
"inputProperty",
")",
"{",
"// use the root DataGraph to create a PropertyControl DataGraph",
"List",
"<",
"Control",
">",
"propertyControls",
"=",
"inputRootDataObject",
... | Create a DataObject for the property request.
@param inputRootDataObject The root DataObject.
@param inputProperty The property to request
@pre inputRootDataObject != null
@pre inputProperty != null
@pre inputProperty != "" | [
"Create",
"a",
"DataObject",
"for",
"the",
"property",
"request",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java#L370-L382 |
70,955 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java | BridgeUtils.getRealInputAttrName | protected String getRealInputAttrName(String inputAttrName, String id, boolean isUser) {
boolean isInputAttrValueDN = UniqueNameHelper.isDN(id) != null;
boolean isInputAttrIdentifier = isIdentifierTypeProperty(inputAttrName);
if (!isInputAttrIdentifier && isInputAttrValueDN) {
// To... | java | protected String getRealInputAttrName(String inputAttrName, String id, boolean isUser) {
boolean isInputAttrValueDN = UniqueNameHelper.isDN(id) != null;
boolean isInputAttrIdentifier = isIdentifierTypeProperty(inputAttrName);
if (!isInputAttrIdentifier && isInputAttrValueDN) {
// To... | [
"protected",
"String",
"getRealInputAttrName",
"(",
"String",
"inputAttrName",
",",
"String",
"id",
",",
"boolean",
"isUser",
")",
"{",
"boolean",
"isInputAttrValueDN",
"=",
"UniqueNameHelper",
".",
"isDN",
"(",
"id",
")",
"!=",
"null",
";",
"boolean",
"isInputA... | get input securityName.
@param input security attribute defined in the realm.
@param input security name value.
@param loginAccount or Group.
@return uniqueName if the property is an IdentifierType property, principalName otherwise. | [
"get",
"input",
"securityName",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java#L488-L527 |
70,956 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java | BridgeUtils.getDefaultRealmName | public String getDefaultRealmName() {
String returnRealm = getCoreConfiguration().getDefaultRealmName();
if (returnRealm == null) {
returnRealm = urRealmName;
}
return returnRealm;
} | java | public String getDefaultRealmName() {
String returnRealm = getCoreConfiguration().getDefaultRealmName();
if (returnRealm == null) {
returnRealm = urRealmName;
}
return returnRealm;
} | [
"public",
"String",
"getDefaultRealmName",
"(",
")",
"{",
"String",
"returnRealm",
"=",
"getCoreConfiguration",
"(",
")",
".",
"getDefaultRealmName",
"(",
")",
";",
"if",
"(",
"returnRealm",
"==",
"null",
")",
"{",
"returnRealm",
"=",
"urRealmName",
";",
"}",
... | Method to return the default realm
@return default realm Name | [
"Method",
"to",
"return",
"the",
"default",
"realm"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.registry/src/com/ibm/ws/security/wim/registry/util/BridgeUtils.java#L534-L541 |
70,957 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPAKeyInfoManager.java | LTPAKeyInfoManager.loadPropertiesFile | private final Properties loadPropertiesFile(WsResource res) throws IOException {
Properties props = new Properties();
InputStream is = res.get();
try {
props.load(is);
} catch (IOException e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
... | java | private final Properties loadPropertiesFile(WsResource res) throws IOException {
Properties props = new Properties();
InputStream is = res.get();
try {
props.load(is);
} catch (IOException e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
... | [
"private",
"final",
"Properties",
"loadPropertiesFile",
"(",
"WsResource",
"res",
")",
"throws",
"IOException",
"{",
"Properties",
"props",
"=",
"new",
"Properties",
"(",
")",
";",
"InputStream",
"is",
"=",
"res",
".",
"get",
"(",
")",
";",
"try",
"{",
"pr... | Load the contents of the properties file.
@param res The WsResource of the key import file.
@return The properties
@throws TokenException | [
"Load",
"the",
"contents",
"of",
"the",
"properties",
"file",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPAKeyInfoManager.java#L69-L88 |
70,958 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPAKeyInfoManager.java | LTPAKeyInfoManager.getLTPAKeyFileResource | final WsResource getLTPAKeyFileResource(WsLocationAdmin locService, String ltpaKeyFile) {
WsResource ltpaFile = locService.resolveResource(ltpaKeyFile);
if (ltpaFile != null && ltpaFile.exists()) {
return ltpaFile;
} else {
// The file does not exist so return null
... | java | final WsResource getLTPAKeyFileResource(WsLocationAdmin locService, String ltpaKeyFile) {
WsResource ltpaFile = locService.resolveResource(ltpaKeyFile);
if (ltpaFile != null && ltpaFile.exists()) {
return ltpaFile;
} else {
// The file does not exist so return null
... | [
"final",
"WsResource",
"getLTPAKeyFileResource",
"(",
"WsLocationAdmin",
"locService",
",",
"String",
"ltpaKeyFile",
")",
"{",
"WsResource",
"ltpaFile",
"=",
"locService",
".",
"resolveResource",
"(",
"ltpaKeyFile",
")",
";",
"if",
"(",
"ltpaFile",
"!=",
"null",
"... | Given the path to the LTPA key file return the WsResource for the file
if the file exists.
@param ltpaKeyFile
@return WsResource if the file exist, null if it does not. | [
"Given",
"the",
"path",
"to",
"the",
"LTPA",
"key",
"file",
"return",
"the",
"WsResource",
"for",
"the",
"file",
"if",
"the",
"file",
"exists",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.token.ltpa/src/com/ibm/ws/security/token/ltpa/internal/LTPAKeyInfoManager.java#L187-L195 |
70,959 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSBoxManager.java | JSBoxManager.cleanupBoxedCache | void cleanupBoxedCache(int boxedAccessor) {
for (int i = 0; i < boxedCache.length; i++)
if (boxed[i][0] == boxedAccessor)
boxedCache[i] = null;
} | java | void cleanupBoxedCache(int boxedAccessor) {
for (int i = 0; i < boxedCache.length; i++)
if (boxed[i][0] == boxedAccessor)
boxedCache[i] = null;
} | [
"void",
"cleanupBoxedCache",
"(",
"int",
"boxedAccessor",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"boxedCache",
".",
"length",
";",
"i",
"++",
")",
"if",
"(",
"boxed",
"[",
"i",
"]",
"[",
"0",
"]",
"==",
"boxedAccessor",
")",
"... | Remove entries from the boxedCache after removing the entry from the main cache
that they depend upon.
@param boxedAccessor the accessor of the entry that was removed from the main cache | [
"Remove",
"entries",
"from",
"the",
"boxedCache",
"after",
"removing",
"the",
"entry",
"from",
"the",
"main",
"cache",
"that",
"they",
"depend",
"upon",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSBoxManager.java#L57-L61 |
70,960 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.health/src/com/ibm/ws/microprofile/health/internal/HealthCheckHttpResponseBuilder.java | HealthCheckHttpResponseBuilder.getJSON | private JSON getJSON() throws JSONMarshallException {
if (json == null) {
JSONSettings settings = new JSONSettings(Include.NON_NULL);
json = JSONFactory.newInstance(settings);
}
return json;
} | java | private JSON getJSON() throws JSONMarshallException {
if (json == null) {
JSONSettings settings = new JSONSettings(Include.NON_NULL);
json = JSONFactory.newInstance(settings);
}
return json;
} | [
"private",
"JSON",
"getJSON",
"(",
")",
"throws",
"JSONMarshallException",
"{",
"if",
"(",
"json",
"==",
"null",
")",
"{",
"JSONSettings",
"settings",
"=",
"new",
"JSONSettings",
"(",
"Include",
".",
"NON_NULL",
")",
";",
"json",
"=",
"JSONFactory",
".",
"... | Utility that returns a JSON object from a factory
@return the JSON object providing POJO-JSON serialization and deserialization
@throws JSONMarshallException if there are problems configuring serialization inclusion | [
"Utility",
"that",
"returns",
"a",
"JSON",
"object",
"from",
"a",
"factory"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.health/src/com/ibm/ws/microprofile/health/internal/HealthCheckHttpResponseBuilder.java#L146-L152 |
70,961 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java | SubscriptionStateFilter.setSubscriptionIDFilter | public void setSubscriptionIDFilter(String subscriptionId)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setSubscriptionIDFilter", subscriptionId);
this._subscriptionId = subscriptionId;
this._destination = null;
this._consumerDispatcherState = null;
if (tc.isEntryEnabled())
SibTr.... | java | public void setSubscriptionIDFilter(String subscriptionId)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setSubscriptionIDFilter", subscriptionId);
this._subscriptionId = subscriptionId;
this._destination = null;
this._consumerDispatcherState = null;
if (tc.isEntryEnabled())
SibTr.... | [
"public",
"void",
"setSubscriptionIDFilter",
"(",
"String",
"subscriptionId",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setSubscriptionIDFilter\"",
",",
"subscriptionId",
")",
";",
"this",
".",
... | setter to create a filter based on subscriptionId
@param subscriptionId | [
"setter",
"to",
"create",
"a",
"filter",
"based",
"on",
"subscriptionId"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java#L64-L75 |
70,962 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java | SubscriptionStateFilter.setDestinationFilter | public void setDestinationFilter(SIBUuid12 destination)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setDestinationFilter", destination);
this._destination = destination;
this._subscriptionId = null;
this._consumerDispatcherState = null;
if (tc.isEntryEnabled())
SibTr.exit(tc, "se... | java | public void setDestinationFilter(SIBUuid12 destination)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setDestinationFilter", destination);
this._destination = destination;
this._subscriptionId = null;
this._consumerDispatcherState = null;
if (tc.isEntryEnabled())
SibTr.exit(tc, "se... | [
"public",
"void",
"setDestinationFilter",
"(",
"SIBUuid12",
"destination",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setDestinationFilter\"",
",",
"destination",
")",
";",
"this",
".",
"_destin... | setter to create a filter based on destination name
@param destination The destination uuid | [
"setter",
"to",
"create",
"a",
"filter",
"based",
"on",
"destination",
"name"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java#L83-L94 |
70,963 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java | SubscriptionStateFilter.setConsumerDispatcherStateFilter | public void setConsumerDispatcherStateFilter(ConsumerDispatcherState consumerDispatcherState)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setConsumerDispatcherStateFilter", consumerDispatcherState);
this._consumerDispatcherState = consumerDispatcherState;
this._subscriptionId = null;
this._dest... | java | public void setConsumerDispatcherStateFilter(ConsumerDispatcherState consumerDispatcherState)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "setConsumerDispatcherStateFilter", consumerDispatcherState);
this._consumerDispatcherState = consumerDispatcherState;
this._subscriptionId = null;
this._dest... | [
"public",
"void",
"setConsumerDispatcherStateFilter",
"(",
"ConsumerDispatcherState",
"consumerDispatcherState",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setConsumerDispatcherStateFilter\"",
",",
"consu... | setter to create a filter based on a specific consumer dispatcher state object
@param consumerDispatcherState | [
"setter",
"to",
"create",
"a",
"filter",
"based",
"on",
"a",
"specific",
"consumer",
"dispatcher",
"state",
"object"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java#L102-L113 |
70,964 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java | SubscriptionStateFilter.filterMatches | public boolean filterMatches(AbstractItem item)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "filterMatches", item);
/* Cast the incoming item to a subscriptionState object. if it is not, an
* exception will be thrown and the match will fail */
ConsumerDispatcherState subState = null;
if (item... | java | public boolean filterMatches(AbstractItem item)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "filterMatches", item);
/* Cast the incoming item to a subscriptionState object. if it is not, an
* exception will be thrown and the match will fail */
ConsumerDispatcherState subState = null;
if (item... | [
"public",
"boolean",
"filterMatches",
"(",
"AbstractItem",
"item",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"filterMatches\"",
",",
"item",
")",
";",
"/* Cast the incoming item to a subscriptionSta... | Callback method from messagestore
@param item to test for match | [
"Callback",
"method",
"from",
"messagestore"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/filters/SubscriptionStateFilter.java#L121-L198 |
70,965 | OpenLiberty/open-liberty | dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/internal/LibertyVersion.java | LibertyVersion.matchesToMicros | public boolean matchesToMicros(LibertyVersion other) {
if (other == null) {
return true;
}
return this.major == other.major && this.minor == other.minor && this.micro == other.micro;
} | java | public boolean matchesToMicros(LibertyVersion other) {
if (other == null) {
return true;
}
return this.major == other.major && this.minor == other.minor && this.micro == other.micro;
} | [
"public",
"boolean",
"matchesToMicros",
"(",
"LibertyVersion",
"other",
")",
"{",
"if",
"(",
"other",
"==",
"null",
")",
"{",
"return",
"true",
";",
"}",
"return",
"this",
".",
"major",
"==",
"other",
".",
"major",
"&&",
"this",
".",
"minor",
"==",
"ot... | Matches the major, minor and micro parts of this version to the other version
@param other The other version, can be <code>null</code> in which case this returns true.
@return | [
"Matches",
"the",
"major",
"minor",
"and",
"micro",
"parts",
"of",
"this",
"version",
"to",
"the",
"other",
"version"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/internal/LibertyVersion.java#L82-L87 |
70,966 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2/src/com/ibm/ws/jaxrs20/metadata/ProviderResourceInfo.java | ProviderResourceInfo.putCustomizedProperty | public void putCustomizedProperty(String key, Object obj) {
if (key == null || obj == null)
return;
customizedProperties.put(key, obj);
} | java | public void putCustomizedProperty(String key, Object obj) {
if (key == null || obj == null)
return;
customizedProperties.put(key, obj);
} | [
"public",
"void",
"putCustomizedProperty",
"(",
"String",
"key",
",",
"Object",
"obj",
")",
"{",
"if",
"(",
"key",
"==",
"null",
"||",
"obj",
"==",
"null",
")",
"return",
";",
"customizedProperties",
".",
"put",
"(",
"key",
",",
"obj",
")",
";",
"}"
] | put anything here, such as J2EEName
@param key
@param obj | [
"put",
"anything",
"here",
"such",
"as",
"J2EEName"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2/src/com/ibm/ws/jaxrs20/metadata/ProviderResourceInfo.java#L117-L122 |
70,967 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java | PartialMatch.newPartialMatch | PartialMatch newPartialMatch(char[] key, PartialMatch pm) {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "newPartialMatch", "key: "+new String(key)+", pm:"+pm);
PartialMatch ans = new PartialMatch(key, pm, owner);
if (tc.isEntryEnabled())
tc.exit(this,cclass, "newPartialMatch", ans);
retur... | java | PartialMatch newPartialMatch(char[] key, PartialMatch pm) {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "newPartialMatch", "key: "+new String(key)+", pm:"+pm);
PartialMatch ans = new PartialMatch(key, pm, owner);
if (tc.isEntryEnabled())
tc.exit(this,cclass, "newPartialMatch", ans);
retur... | [
"PartialMatch",
"newPartialMatch",
"(",
"char",
"[",
"]",
"key",
",",
"PartialMatch",
"pm",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"newPartialMatch\"",
",",
"\"key: \"",
"+"... | An overrideable wrapper for the internal constructor | [
"An",
"overrideable",
"wrapper",
"for",
"the",
"internal",
"constructor"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java#L163-L170 |
70,968 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java | PartialMatch.put | void put(PatternWrapper pattern, Conjunction selector, MatchTarget object,
InternTable subExpr) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "put", new Object[]{pattern,selector,object,subExpr});
switch (pattern.getState()) {
case PatternWrapper.FINAL_EXACT:
... | java | void put(PatternWrapper pattern, Conjunction selector, MatchTarget object,
InternTable subExpr) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "put", new Object[]{pattern,selector,object,subExpr});
switch (pattern.getState()) {
case PatternWrapper.FINAL_EXACT:
... | [
"void",
"put",
"(",
"PatternWrapper",
"pattern",
",",
"Conjunction",
"selector",
",",
"MatchTarget",
"object",
",",
"InternTable",
"subExpr",
")",
"throws",
"MatchingException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
... | Put a new Pattern or part thereof into this PartialMatch or its down-chain peers
@param pattern the pattern being considered, wrapped in a PatternWrapper
@param selector the Conjunction from the original ContentMatcher.put
@param object the MatchTarget from the original ContentMatcher.put
@param subExpr the InternTabl... | [
"Put",
"a",
"new",
"Pattern",
"or",
"part",
"thereof",
"into",
"this",
"PartialMatch",
"or",
"its",
"down",
"-",
"chain",
"peers"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java#L256-L313 |
70,969 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java | PartialMatch.remove | void remove(PatternWrapper pattern, Conjunction selector, MatchTarget object,
InternTable subExpr, OrdinalPosition parentId) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "remove", new Object[]{pattern,selector,object,subExpr});
switch (pattern.getState()) {
case Pa... | java | void remove(PatternWrapper pattern, Conjunction selector, MatchTarget object,
InternTable subExpr, OrdinalPosition parentId) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "remove", new Object[]{pattern,selector,object,subExpr});
switch (pattern.getState()) {
case Pa... | [
"void",
"remove",
"(",
"PatternWrapper",
"pattern",
",",
"Conjunction",
"selector",
",",
"MatchTarget",
"object",
",",
"InternTable",
"subExpr",
",",
"OrdinalPosition",
"parentId",
")",
"throws",
"MatchingException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(... | Remove a Pattern or part thereof from this PartialMatch or its down-chain peers
@param pattern the Pattern being considered, wrapped in a PatternWrapper
@param selector the Conjunction from the original ContentMatcher.remove
@param object the MatchTarget from the original ContentMatcher.remove
@param subExpr the Intern... | [
"Remove",
"a",
"Pattern",
"or",
"part",
"thereof",
"from",
"this",
"PartialMatch",
"or",
"its",
"down",
"-",
"chain",
"peers"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java#L321-L387 |
70,970 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java | PartialMatch.get | void get(char[] chars, int start, int length, boolean invert, MatchSpaceKey msg,
EvalCache cache, Object contextValue, SearchResults result)
throws MatchingException, BadMessageFormatMatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "get", new Object[]{chars,new Integer(start),ne... | java | void get(char[] chars, int start, int length, boolean invert, MatchSpaceKey msg,
EvalCache cache, Object contextValue, SearchResults result)
throws MatchingException, BadMessageFormatMatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "get", new Object[]{chars,new Integer(start),ne... | [
"void",
"get",
"(",
"char",
"[",
"]",
"chars",
",",
"int",
"start",
",",
"int",
"length",
",",
"boolean",
"invert",
",",
"MatchSpaceKey",
"msg",
",",
"EvalCache",
"cache",
",",
"Object",
"contextValue",
",",
"SearchResults",
"result",
")",
"throws",
"Match... | Perform get operation on this PartialMatch and its descendents
@param chars the array of characters containing the value of the Identifier
@param start the start character within chars
@param length the number of characters to consider within chars
@param invert perform suffix matching (examine the end of the range fir... | [
"Perform",
"get",
"operation",
"on",
"this",
"PartialMatch",
"and",
"its",
"descendents"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java#L398-L428 |
70,971 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java | PartialMatch.doPartialGet | void doPartialGet(char[] chars, int start, int length, boolean invert, MatchSpaceKey msg,
EvalCache cache, Object contextValue, SearchResults result)
throws MatchingException, BadMessageFormatMatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "doPartialGet", new Object[] {chars,new... | java | void doPartialGet(char[] chars, int start, int length, boolean invert, MatchSpaceKey msg,
EvalCache cache, Object contextValue, SearchResults result)
throws MatchingException, BadMessageFormatMatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "doPartialGet", new Object[] {chars,new... | [
"void",
"doPartialGet",
"(",
"char",
"[",
"]",
"chars",
",",
"int",
"start",
",",
"int",
"length",
",",
"boolean",
"invert",
",",
"MatchSpaceKey",
"msg",
",",
"EvalCache",
"cache",
",",
"Object",
"contextValue",
",",
"SearchResults",
"result",
")",
"throws",... | Take action when a portion of a String matches this PartialMatch but is not
exhausted by it
@param chars the characters containing the value
@param start the start of the range of characters remaining after the partial match
@param length the number of characters remaining after the partial match (> 0)
@param invert pe... | [
"Take",
"action",
"when",
"a",
"portion",
"of",
"a",
"String",
"matches",
"this",
"PartialMatch",
"but",
"is",
"not",
"exhausted",
"by",
"it"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java#L440-L456 |
70,972 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java | PartialMatch.findMatchManyWrapper | private MatchManyWrapper findMatchManyWrapper(PatternWrapper pattern)
{
MatchManyWrapper wrapper = null;
if (matchManyChildren != null)
{
// Iterate over the matchManyChildren
Iterator iter = matchManyChildren.iterator();
while(iter.hasNext())
{
MatchManyWrapper nextElemen... | java | private MatchManyWrapper findMatchManyWrapper(PatternWrapper pattern)
{
MatchManyWrapper wrapper = null;
if (matchManyChildren != null)
{
// Iterate over the matchManyChildren
Iterator iter = matchManyChildren.iterator();
while(iter.hasNext())
{
MatchManyWrapper nextElemen... | [
"private",
"MatchManyWrapper",
"findMatchManyWrapper",
"(",
"PatternWrapper",
"pattern",
")",
"{",
"MatchManyWrapper",
"wrapper",
"=",
"null",
";",
"if",
"(",
"matchManyChildren",
"!=",
"null",
")",
"{",
"// Iterate over the matchManyChildren",
"Iterator",
"iter",
"=",
... | Locates a wrapped pattern+matcher pair where we've been give a pattern.
@param pattern
@return | [
"Locates",
"a",
"wrapped",
"pattern",
"+",
"matcher",
"pair",
"where",
"we",
"ve",
"been",
"give",
"a",
"pattern",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/PartialMatch.java#L514-L535 |
70,973 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatelessBeanO.java | StatelessBeanO.getCallerPrincipal | @Override
public Principal getCallerPrincipal() {
synchronized (this) {
if ((state == PRE_CREATE) || (state == CREATING) || (!allowRollbackOnly))
throw new IllegalStateException();
}
return super.getCallerPrincipal();
} | java | @Override
public Principal getCallerPrincipal() {
synchronized (this) {
if ((state == PRE_CREATE) || (state == CREATING) || (!allowRollbackOnly))
throw new IllegalStateException();
}
return super.getCallerPrincipal();
} | [
"@",
"Override",
"public",
"Principal",
"getCallerPrincipal",
"(",
")",
"{",
"synchronized",
"(",
"this",
")",
"{",
"if",
"(",
"(",
"state",
"==",
"PRE_CREATE",
")",
"||",
"(",
"state",
"==",
"CREATING",
")",
"||",
"(",
"!",
"allowRollbackOnly",
")",
")"... | getCallerPrincipal is invalid if called within the setSessionContext
method | [
"getCallerPrincipal",
"is",
"invalid",
"if",
"called",
"within",
"the",
"setSessionContext",
"method"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatelessBeanO.java#L883-L892 |
70,974 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/MQLinkPubSubBridgeItemStream.java | MQLinkPubSubBridgeItemStream.getMQLinkHandler | public MQLinkHandler getMQLinkHandler()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "getMQLinkHandler");
SibTr.exit(tc, "getMQLinkHandler", _mqLinkHandler);
}
return _mqLinkHandler;
} | java | public MQLinkHandler getMQLinkHandler()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "getMQLinkHandler");
SibTr.exit(tc, "getMQLinkHandler", _mqLinkHandler);
}
return _mqLinkHandler;
} | [
"public",
"MQLinkHandler",
"getMQLinkHandler",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMQLinkHandler\"",
")",
";",
"SibTr",
".",
"exit",
"(",
"tc",
",",
"\"getMQLinkHandler\"",... | Returns the MQLinkHandler.
@return String | [
"Returns",
"the",
"MQLinkHandler",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/MQLinkPubSubBridgeItemStream.java#L101-L109 |
70,975 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/MQLinkPubSubBridgeItemStream.java | MQLinkPubSubBridgeItemStream.markAsToBeDeleted | public void markAsToBeDeleted(Transaction transaction) throws SIResourceException
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "markAsToBeDeleted", transaction);
toBeDeleted = Boolean.TRUE;
try
{
requestUpdate(transaction);
}
catch (MessageStoreException e)
{
... | java | public void markAsToBeDeleted(Transaction transaction) throws SIResourceException
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "markAsToBeDeleted", transaction);
toBeDeleted = Boolean.TRUE;
try
{
requestUpdate(transaction);
}
catch (MessageStoreException e)
{
... | [
"public",
"void",
"markAsToBeDeleted",
"(",
"Transaction",
"transaction",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"markAsToBeDeleted\"",
",",
"transaction",
")",
... | Mark this itemstream as awaiting deletion and harden the indicator
@throws SIStoreException | [
"Mark",
"this",
"itemstream",
"as",
"awaiting",
"deletion",
"and",
"harden",
"the",
"indicator"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/MQLinkPubSubBridgeItemStream.java#L114-L146 |
70,976 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/NavigationHandlerImpl.java | NavigationHandlerImpl.getNavigationCase | public NavigationCase getNavigationCase(FacesContext facesContext, String fromAction, String outcome)
{
NavigationContext navigationContext = new NavigationContext();
try
{
return getNavigationCommand(facesContext, navigationContext, fromAction, outcome, null);
}
... | java | public NavigationCase getNavigationCase(FacesContext facesContext, String fromAction, String outcome)
{
NavigationContext navigationContext = new NavigationContext();
try
{
return getNavigationCommand(facesContext, navigationContext, fromAction, outcome, null);
}
... | [
"public",
"NavigationCase",
"getNavigationCase",
"(",
"FacesContext",
"facesContext",
",",
"String",
"fromAction",
",",
"String",
"outcome",
")",
"{",
"NavigationContext",
"navigationContext",
"=",
"new",
"NavigationContext",
"(",
")",
";",
"try",
"{",
"return",
"ge... | Returns the navigation case that applies for the given action and outcome | [
"Returns",
"the",
"navigation",
"case",
"that",
"applies",
"for",
"the",
"given",
"action",
"and",
"outcome"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/NavigationHandlerImpl.java#L389-L400 |
70,977 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/NavigationHandlerImpl.java | NavigationHandlerImpl.createNavigationCase | private NavigationCase createNavigationCase(String fromViewId, String outcome, String toViewId)
{
return new NavigationCase(fromViewId, null, outcome, null, toViewId, null, false, false);
} | java | private NavigationCase createNavigationCase(String fromViewId, String outcome, String toViewId)
{
return new NavigationCase(fromViewId, null, outcome, null, toViewId, null, false, false);
} | [
"private",
"NavigationCase",
"createNavigationCase",
"(",
"String",
"fromViewId",
",",
"String",
"outcome",
",",
"String",
"toViewId",
")",
"{",
"return",
"new",
"NavigationCase",
"(",
"fromViewId",
",",
"null",
",",
"outcome",
",",
"null",
",",
"toViewId",
",",... | Derive a NavigationCase from a flow node.
@param flowNode
@return | [
"Derive",
"a",
"NavigationCase",
"from",
"a",
"flow",
"node",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/NavigationHandlerImpl.java#L941-L944 |
70,978 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/NavigationHandlerImpl.java | NavigationHandlerImpl.getViewId | public String getViewId(FacesContext context, String fromAction, String outcome)
{
return this.getNavigationCase(context, fromAction, outcome).getToViewId(context);
} | java | public String getViewId(FacesContext context, String fromAction, String outcome)
{
return this.getNavigationCase(context, fromAction, outcome).getToViewId(context);
} | [
"public",
"String",
"getViewId",
"(",
"FacesContext",
"context",
",",
"String",
"fromAction",
",",
"String",
"outcome",
")",
"{",
"return",
"this",
".",
"getNavigationCase",
"(",
"context",
",",
"fromAction",
",",
"outcome",
")",
".",
"getToViewId",
"(",
"cont... | Returns the view ID that would be created for the given action and outcome | [
"Returns",
"the",
"view",
"ID",
"that",
"would",
"be",
"created",
"for",
"the",
"given",
"action",
"and",
"outcome"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/NavigationHandlerImpl.java#L1155-L1158 |
70,979 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.sse.3.2/src/org/apache/cxf/jaxrs/sse/client/SseEventSourceImpl.java | SseEventSourceImpl.handleRetry | @FFDCIgnore({NumberFormatException.class, IllegalArgumentException.class, ParseException.class})
private long handleRetry(String retryValue) {
// RETRY_AFTER is a String that can either correspond to seconds (long)
// or a HTTP-Date (which can be one of 7 variations)"
if (!(retryValue.con... | java | @FFDCIgnore({NumberFormatException.class, IllegalArgumentException.class, ParseException.class})
private long handleRetry(String retryValue) {
// RETRY_AFTER is a String that can either correspond to seconds (long)
// or a HTTP-Date (which can be one of 7 variations)"
if (!(retryValue.con... | [
"@",
"FFDCIgnore",
"(",
"{",
"NumberFormatException",
".",
"class",
",",
"IllegalArgumentException",
".",
"class",
",",
"ParseException",
".",
"class",
"}",
")",
"private",
"long",
"handleRetry",
"(",
"String",
"retryValue",
")",
"{",
"// RETRY_AFTER is a String tha... | return the milliseconds to delay before reconnecting; -1 means don't reconnect | [
"return",
"the",
"milliseconds",
"to",
"delay",
"before",
"reconnecting",
";",
"-",
"1",
"means",
"don",
"t",
"reconnect"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.sse.3.2/src/org/apache/cxf/jaxrs/sse/client/SseEventSourceImpl.java#L319-L374 |
70,980 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.WASInstallDirectory | public static final void WASInstallDirectory(String WASInstallDirectory)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "WASInstallDirectory", WASInstallDirectory);
_WASInstallDirectory = WASInstallDirectory;
if (tc.isEntryEnabled())
Tr.exit(tc, "WASInstallDirectory");
... | java | public static final void WASInstallDirectory(String WASInstallDirectory)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "WASInstallDirectory", WASInstallDirectory);
_WASInstallDirectory = WASInstallDirectory;
if (tc.isEntryEnabled())
Tr.exit(tc, "WASInstallDirectory");
... | [
"public",
"static",
"final",
"void",
"WASInstallDirectory",
"(",
"String",
"WASInstallDirectory",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"WASInstallDirectory\"",
",",
"WASInstallDirectory",
")",
"... | Sets the WAS install directory.
@param WASInstallDirectory The WAS install directory | [
"Sets",
"the",
"WAS",
"install",
"directory",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L149-L158 |
70,981 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.cellName | public static final void cellName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "cellName", name);
_cellName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "cellName");
} | java | public static final void cellName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "cellName", name);
_cellName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "cellName");
} | [
"public",
"static",
"final",
"void",
"cellName",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"cellName\"",
",",
"name",
")",
";",
"_cellName",
"=",
"name",
";",
"if",
... | Sets the name of the cell in which the current server resides
@param name The name of the WAS cell. | [
"Sets",
"the",
"name",
"of",
"the",
"cell",
"in",
"which",
"the",
"current",
"server",
"resides"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L185-L194 |
70,982 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.clusterName | public static final void clusterName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "clusterName", name);
_clusterName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "clusterName");
} | java | public static final void clusterName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "clusterName", name);
_clusterName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "clusterName");
} | [
"public",
"static",
"final",
"void",
"clusterName",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"clusterName\"",
",",
"name",
")",
";",
"_clusterName",
"=",
"name",
";",
... | Sets the name of the cluster in which the current server resides
@param name The name of the WAS cluster | [
"Sets",
"the",
"name",
"of",
"the",
"cluster",
"in",
"which",
"the",
"current",
"server",
"resides"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L221-L230 |
70,983 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.nodeName | public static final void nodeName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "nodeName", name);
_nodeName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "nodeName");
} | java | public static final void nodeName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "nodeName", name);
_nodeName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "nodeName");
} | [
"public",
"static",
"final",
"void",
"nodeName",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"nodeName\"",
",",
"name",
")",
";",
"_nodeName",
"=",
"name",
";",
"if",
... | Sets the name of the node in which the current server resides
@param name The node name | [
"Sets",
"the",
"name",
"of",
"the",
"node",
"in",
"which",
"the",
"current",
"server",
"resides"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L257-L266 |
70,984 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.serverName | public static final void serverName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "serverName", name);
_serverName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "serverName");
} | java | public static final void serverName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "serverName", name);
_serverName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "serverName");
} | [
"public",
"static",
"final",
"void",
"serverName",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"serverName\"",
",",
"name",
")",
";",
"_serverName",
"=",
"name",
";",
"... | Sets the name of the current WAS server
@param name The name of the WAS server | [
"Sets",
"the",
"name",
"of",
"the",
"current",
"WAS",
"server"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L293-L302 |
70,985 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.serverShortName | public static final void serverShortName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "serverShortName", name);
_serverShortName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "serverShortName");
} | java | public static final void serverShortName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "serverShortName", name);
_serverShortName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "serverShortName");
} | [
"public",
"static",
"final",
"void",
"serverShortName",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"serverShortName\"",
",",
"name",
")",
";",
"_serverShortName",
"=",
"na... | Sets the short name of the current WAS server
@param name The short name of the WAS server | [
"Sets",
"the",
"short",
"name",
"of",
"the",
"current",
"WAS",
"server"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L329-L338 |
70,986 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.uuid | public static final void uuid(String uuid)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "uuid", uuid);
_uuid = uuid;
if (tc.isEntryEnabled())
Tr.exit(tc, "uuid");
} | java | public static final void uuid(String uuid)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "uuid", uuid);
_uuid = uuid;
if (tc.isEntryEnabled())
Tr.exit(tc, "uuid");
} | [
"public",
"static",
"final",
"void",
"uuid",
"(",
"String",
"uuid",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"uuid\"",
",",
"uuid",
")",
";",
"_uuid",
"=",
"uuid",
";",
"if",
"(",
"tc"... | Sets the UUID of the current WAS server
@param name The UUID of the WAS server | [
"Sets",
"the",
"UUID",
"of",
"the",
"current",
"WAS",
"server"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L365-L374 |
70,987 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.fqServerName | public static final String fqServerName()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "fqServerName");
String fqServerName = _serverName; // RLSUtils.FQHAMCompatibleServerName(_cellName,_nodeName,_serverName); tWAS
if (tc.isEntryEnabled())
Tr.exit(tc, "fqServerName", fq... | java | public static final String fqServerName()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "fqServerName");
String fqServerName = _serverName; // RLSUtils.FQHAMCompatibleServerName(_cellName,_nodeName,_serverName); tWAS
if (tc.isEntryEnabled())
Tr.exit(tc, "fqServerName", fq... | [
"public",
"static",
"final",
"String",
"fqServerName",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"fqServerName\"",
")",
";",
"String",
"fqServerName",
"=",
"_serverName",
";",
"// RLSUtils.F... | Gets the fully qualified name of the current WAS server
@return String The fully qualified name of the WAS server | [
"Gets",
"the",
"fully",
"qualified",
"name",
"of",
"the",
"current",
"WAS",
"server"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L401-L411 |
70,988 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.HAEnabled | public static final void HAEnabled(boolean HAEnabled)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "HAEnabled", new Boolean(HAEnabled));
_HAEnabled = HAEnabled;
if (tc.isEntryEnabled())
Tr.exit(tc, "HAEnabled");
} | java | public static final void HAEnabled(boolean HAEnabled)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "HAEnabled", new Boolean(HAEnabled));
_HAEnabled = HAEnabled;
if (tc.isEntryEnabled())
Tr.exit(tc, "HAEnabled");
} | [
"public",
"static",
"final",
"void",
"HAEnabled",
"(",
"boolean",
"HAEnabled",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"HAEnabled\"",
",",
"new",
"Boolean",
"(",
"HAEnabled",
")",
")",
";",... | Sets the HAEnabled flag
@param HAEnabled The HAEnabled flag | [
"Sets",
"the",
"HAEnabled",
"flag"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L453-L462 |
70,989 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.localFailureScope | public static final void localFailureScope(FailureScope localFailureScope)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "localFailureScope", localFailureScope);
_localFailureScope = localFailureScope;
if (tc.isEntryEnabled())
Tr.exit(tc, "localFailureScope");
} | java | public static final void localFailureScope(FailureScope localFailureScope)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "localFailureScope", localFailureScope);
_localFailureScope = localFailureScope;
if (tc.isEntryEnabled())
Tr.exit(tc, "localFailureScope");
} | [
"public",
"static",
"final",
"void",
"localFailureScope",
"(",
"FailureScope",
"localFailureScope",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"localFailureScope\"",
",",
"localFailureScope",
")",
";"... | Sets the local FailureScope reference.
@param localFailureScope The local FailureScope | [
"Sets",
"the",
"local",
"FailureScope",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L489-L498 |
70,990 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.isZOS | public static final boolean isZOS()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "isZOS");
if (tc.isEntryEnabled())
Tr.exit(tc, "isZOS", new Boolean(_isZOS));
return _isZOS;
} | java | public static final boolean isZOS()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "isZOS");
if (tc.isEntryEnabled())
Tr.exit(tc, "isZOS", new Boolean(_isZOS));
return _isZOS;
} | [
"public",
"static",
"final",
"boolean",
"isZOS",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"isZOS\"",
")",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"e... | Gets the isZOS flag.
@return boolean Flag to indicate if this is a zOS platform. | [
"Gets",
"the",
"isZOS",
"flag",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L544-L551 |
70,991 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java | Configuration.useFileLocking | public static final void useFileLocking(boolean useFileLocking)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "useFileLocking", new Boolean(useFileLocking));
_useFileLocking = useFileLocking;
if (tc.isEntryEnabled())
Tr.exit(tc, "useFileLocking");
} | java | public static final void useFileLocking(boolean useFileLocking)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "useFileLocking", new Boolean(useFileLocking));
_useFileLocking = useFileLocking;
if (tc.isEntryEnabled())
Tr.exit(tc, "useFileLocking");
} | [
"public",
"static",
"final",
"void",
"useFileLocking",
"(",
"boolean",
"useFileLocking",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"useFileLocking\"",
",",
"new",
"Boolean",
"(",
"useFileLocking",
... | Sets the useFileLocking flag. | [
"Sets",
"the",
"useFileLocking",
"flag",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Configuration.java#L559-L568 |
70,992 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java | AppBndAuthorizationTableService.registerDefaultDelegationProvider | private void registerDefaultDelegationProvider(ComponentContext cc) {
defaultDelegationProvider = new DefaultDelegationProvider();
defaultDelegationProvider.setSecurityService(securityServiceRef.getService());
defaultDelegationProvider.setIdentityStoreHandlerService(identityStoreHandlerServiceRe... | java | private void registerDefaultDelegationProvider(ComponentContext cc) {
defaultDelegationProvider = new DefaultDelegationProvider();
defaultDelegationProvider.setSecurityService(securityServiceRef.getService());
defaultDelegationProvider.setIdentityStoreHandlerService(identityStoreHandlerServiceRe... | [
"private",
"void",
"registerDefaultDelegationProvider",
"(",
"ComponentContext",
"cc",
")",
"{",
"defaultDelegationProvider",
"=",
"new",
"DefaultDelegationProvider",
"(",
")",
";",
"defaultDelegationProvider",
".",
"setSecurityService",
"(",
"securityServiceRef",
".",
"get... | Register the webcontainer's default delegation provider.
@param cc | [
"Register",
"the",
"webcontainer",
"s",
"default",
"delegation",
"provider",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java#L165-L175 |
70,993 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java | AppBndAuthorizationTableService.updateMapForSpecialSubject | private Map<String, RoleSet> updateMapForSpecialSubject(String appName,
Map<String, RoleSet> specialSubjectToRolesMap,
String specialSubjectName) {
RoleSet computedRoles = RoleSet.EMPTY_ROLESE... | java | private Map<String, RoleSet> updateMapForSpecialSubject(String appName,
Map<String, RoleSet> specialSubjectToRolesMap,
String specialSubjectName) {
RoleSet computedRoles = RoleSet.EMPTY_ROLESE... | [
"private",
"Map",
"<",
"String",
",",
"RoleSet",
">",
"updateMapForSpecialSubject",
"(",
"String",
"appName",
",",
"Map",
"<",
"String",
",",
"RoleSet",
">",
"specialSubjectToRolesMap",
",",
"String",
"specialSubjectName",
")",
"{",
"RoleSet",
"computedRoles",
"="... | Parse the security-role entries to look for the specified special
subject, and update the subject-to-roles mapping with the result.
If the special subject was not found, an empty list is added to
the subject-to-roles map. Otherwise, the list contains the set of
roles mapped to the special subject.
@param appName the n... | [
"Parse",
"the",
"security",
"-",
"role",
"entries",
"to",
"look",
"for",
"the",
"specified",
"special",
"subject",
"and",
"update",
"the",
"subject",
"-",
"to",
"-",
"roles",
"mapping",
"with",
"the",
"result",
".",
"If",
"the",
"special",
"subject",
"was"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java#L281-L311 |
70,994 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java | AppBndAuthorizationTableService.getMissingAccessId | @FFDCIgnore(EntryNotFoundException.class)
private String getMissingAccessId(com.ibm.ws.javaee.dd.appbnd.Subject subjectFromArchive) {
String subjectType = null;
try {
SecurityService securityService = securityServiceRef.getService();
UserRegistryService userRegistryService = ... | java | @FFDCIgnore(EntryNotFoundException.class)
private String getMissingAccessId(com.ibm.ws.javaee.dd.appbnd.Subject subjectFromArchive) {
String subjectType = null;
try {
SecurityService securityService = securityServiceRef.getService();
UserRegistryService userRegistryService = ... | [
"@",
"FFDCIgnore",
"(",
"EntryNotFoundException",
".",
"class",
")",
"private",
"String",
"getMissingAccessId",
"(",
"com",
".",
"ibm",
".",
"ws",
".",
"javaee",
".",
"dd",
".",
"appbnd",
".",
"Subject",
"subjectFromArchive",
")",
"{",
"String",
"subjectType",... | Get the access id for a user or group in the bindings config by looking up
the user registry.
@param subject the Subject object in the bindings config, can be User or Group
@return the access id of the Subject specified in the bindings config,
otherwise null when a registry error occurs or the entry is not found | [
"Get",
"the",
"access",
"id",
"for",
"a",
"user",
"or",
"group",
"in",
"the",
"bindings",
"config",
"by",
"looking",
"up",
"the",
"user",
"registry",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java#L336-L372 |
70,995 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java | AppBndAuthorizationTableService.updateMissingUserAccessId | private String updateMissingUserAccessId(AuthzTableContainer maps, User user, String userNameFromRole) {
String accessIdFromRole;
accessIdFromRole = getMissingAccessId(user);
if (accessIdFromRole != null) {
maps.userToAccessIdMap.put(userNameFromRole, accessIdFromRole);
} els... | java | private String updateMissingUserAccessId(AuthzTableContainer maps, User user, String userNameFromRole) {
String accessIdFromRole;
accessIdFromRole = getMissingAccessId(user);
if (accessIdFromRole != null) {
maps.userToAccessIdMap.put(userNameFromRole, accessIdFromRole);
} els... | [
"private",
"String",
"updateMissingUserAccessId",
"(",
"AuthzTableContainer",
"maps",
",",
"User",
"user",
",",
"String",
"userNameFromRole",
")",
"{",
"String",
"accessIdFromRole",
";",
"accessIdFromRole",
"=",
"getMissingAccessId",
"(",
"user",
")",
";",
"if",
"("... | Update the map for the specified user name. If the accessID is
successfully computed, the map will be updated with the accessID.
If the accessID can not be computed due to the user not being found,
INVALID_ACCESS_ID will be stored.
@param maps
@param user
@param userNameFromRole
@return | [
"Update",
"the",
"map",
"for",
"the",
"specified",
"user",
"name",
".",
"If",
"the",
"accessID",
"is",
"successfully",
"computed",
"the",
"map",
"will",
"be",
"updated",
"with",
"the",
"accessID",
".",
"If",
"the",
"accessID",
"can",
"not",
"be",
"computed... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java#L385-L395 |
70,996 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java | AppBndAuthorizationTableService.updateMissingGroupAccessId | private String updateMissingGroupAccessId(AuthzTableContainer maps, Group group, String groupNameFromRole) {
String accessIdFromRole;
accessIdFromRole = getMissingAccessId(group);
if (accessIdFromRole != null) {
maps.groupToAccessIdMap.put(groupNameFromRole, accessIdFromRole);
... | java | private String updateMissingGroupAccessId(AuthzTableContainer maps, Group group, String groupNameFromRole) {
String accessIdFromRole;
accessIdFromRole = getMissingAccessId(group);
if (accessIdFromRole != null) {
maps.groupToAccessIdMap.put(groupNameFromRole, accessIdFromRole);
... | [
"private",
"String",
"updateMissingGroupAccessId",
"(",
"AuthzTableContainer",
"maps",
",",
"Group",
"group",
",",
"String",
"groupNameFromRole",
")",
"{",
"String",
"accessIdFromRole",
";",
"accessIdFromRole",
"=",
"getMissingAccessId",
"(",
"group",
")",
";",
"if",
... | Update the map for the specified group name. If the accessID is
successfully computed, the map will be updated with the accessID.
If the accessID can not be computed due to the user not being found,
INVALID_ACCESS_ID will be stored.
@param maps
@param group
@param groupNameFromRole
@return | [
"Update",
"the",
"map",
"for",
"the",
"specified",
"group",
"name",
".",
"If",
"the",
"accessID",
"is",
"successfully",
"computed",
"the",
"map",
"will",
"be",
"updated",
"with",
"the",
"accessID",
".",
"If",
"the",
"accessID",
"can",
"not",
"be",
"compute... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.appbnd/src/com/ibm/ws/security/appbnd/internal/authorization/AppBndAuthorizationTableService.java#L408-L419 |
70,997 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/Director.java | Director.fireProgressEvent | private void fireProgressEvent(int state, int progress, String messageKey, RepositoryResource installResource) throws InstallException {
String resourceName = null;
if (installResource instanceof EsaResource) {
EsaResource esar = ((EsaResource) installResource);
if (esar.getVisib... | java | private void fireProgressEvent(int state, int progress, String messageKey, RepositoryResource installResource) throws InstallException {
String resourceName = null;
if (installResource instanceof EsaResource) {
EsaResource esar = ((EsaResource) installResource);
if (esar.getVisib... | [
"private",
"void",
"fireProgressEvent",
"(",
"int",
"state",
",",
"int",
"progress",
",",
"String",
"messageKey",
",",
"RepositoryResource",
"installResource",
")",
"throws",
"InstallException",
"{",
"String",
"resourceName",
"=",
"null",
";",
"if",
"(",
"installR... | Fires a progress event message to be displayed
@param state the state integer
@param progress the progress integer
@param messageKey the message key
@param installResource the resource necessitating the progress event
@throws InstallException | [
"Fires",
"a",
"progress",
"event",
"message",
"to",
"be",
"displayed"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/Director.java#L168-L189 |
70,998 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/Director.java | Director.fireInstallProgressEvent | public void fireInstallProgressEvent(int progress, InstallAsset installAsset) throws InstallException {
if (installAsset.isServerPackage())
fireProgressEvent(InstallProgressEvent.DEPLOY, progress, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_DEPLOYING", installAsset.toString()), true);
... | java | public void fireInstallProgressEvent(int progress, InstallAsset installAsset) throws InstallException {
if (installAsset.isServerPackage())
fireProgressEvent(InstallProgressEvent.DEPLOY, progress, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_DEPLOYING", installAsset.toString()), true);
... | [
"public",
"void",
"fireInstallProgressEvent",
"(",
"int",
"progress",
",",
"InstallAsset",
"installAsset",
")",
"throws",
"InstallException",
"{",
"if",
"(",
"installAsset",
".",
"isServerPackage",
"(",
")",
")",
"fireProgressEvent",
"(",
"InstallProgressEvent",
".",
... | Fires an install progress event to be displayed
@param progress the progress integer
@param installAsset the install asset necessitating the progress event
@throws InstallException | [
"Fires",
"an",
"install",
"progress",
"event",
"to",
"be",
"displayed"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/Director.java#L198-L212 |
70,999 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/Director.java | Director.fireDownloadProgressEvent | public void fireDownloadProgressEvent(int progress, RepositoryResource installResource) throws InstallException {
if (installResource.getType().equals(ResourceType.FEATURE)) {
Visibility v = ((EsaResource) installResource).getVisibility();
if (v.equals(Visibility.PUBLIC) || v.equals(Visi... | java | public void fireDownloadProgressEvent(int progress, RepositoryResource installResource) throws InstallException {
if (installResource.getType().equals(ResourceType.FEATURE)) {
Visibility v = ((EsaResource) installResource).getVisibility();
if (v.equals(Visibility.PUBLIC) || v.equals(Visi... | [
"public",
"void",
"fireDownloadProgressEvent",
"(",
"int",
"progress",
",",
"RepositoryResource",
"installResource",
")",
"throws",
"InstallException",
"{",
"if",
"(",
"installResource",
".",
"getType",
"(",
")",
".",
"equals",
"(",
"ResourceType",
".",
"FEATURE",
... | Fires a download progress event to be displayed
@param progress the progress integer
@param installResource the install resource necessitating the progress event
@throws InstallException | [
"Fires",
"a",
"download",
"progress",
"event",
"to",
"be",
"displayed"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/Director.java#L221-L235 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.