id int32 0 165k | repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 |
|---|---|---|---|---|---|---|---|---|---|---|---|
68,800 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.common/src/com/ibm/ws/security/common/random/RandomUtils.java | RandomUtils.getRandomAlphaNumeric | public static String getRandomAlphaNumeric(int length) {
if (length <= 0) {
return "";
}
Random r = getRandom();
StringBuffer result = new StringBuffer(length);
for (int i = 0; i < length; i++) {
int n = r.nextInt(alphaNumChars.length);
resu... | java | public static String getRandomAlphaNumeric(int length) {
if (length <= 0) {
return "";
}
Random r = getRandom();
StringBuffer result = new StringBuffer(length);
for (int i = 0; i < length; i++) {
int n = r.nextInt(alphaNumChars.length);
resu... | [
"public",
"static",
"String",
"getRandomAlphaNumeric",
"(",
"int",
"length",
")",
"{",
"if",
"(",
"length",
"<=",
"0",
")",
"{",
"return",
"\"\"",
";",
"}",
"Random",
"r",
"=",
"getRandom",
"(",
")",
";",
"StringBuffer",
"result",
"=",
"new",
"StringBuff... | Generates a random alphanumeric string of length n.
@param length
@return | [
"Generates",
"a",
"random",
"alphanumeric",
"string",
"of",
"length",
"n",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.common/src/com/ibm/ws/security/common/random/RandomUtils.java#L48-L63 |
68,801 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/LogProviderConfigImpl.java | LogProviderConfigImpl.getLogHeader | static String getLogHeader(Map<String, String> config) {
StringBuilder builder = new StringBuilder(512);
String productInfo = config.get("websphere.product.info");
if (productInfo != null) {
builder.append("product = ").append(productInfo).append(LoggingConstants.nl);
}
... | java | static String getLogHeader(Map<String, String> config) {
StringBuilder builder = new StringBuilder(512);
String productInfo = config.get("websphere.product.info");
if (productInfo != null) {
builder.append("product = ").append(productInfo).append(LoggingConstants.nl);
}
... | [
"static",
"String",
"getLogHeader",
"(",
"Map",
"<",
"String",
",",
"String",
">",
"config",
")",
"{",
"StringBuilder",
"builder",
"=",
"new",
"StringBuilder",
"(",
"512",
")",
";",
"String",
"productInfo",
"=",
"config",
".",
"get",
"(",
"\"websphere.produc... | Returns the header to be written at the beginning of all log files. | [
"Returns",
"the",
"header",
"to",
"be",
"written",
"at",
"the",
"beginning",
"of",
"all",
"log",
"files",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/LogProviderConfigImpl.java#L237-L284 |
68,802 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java | BaseFFDCService.init | @Override
public synchronized void init(LogProviderConfig config) {
ffdcSummaryPolicy = ((LogProviderConfigImpl) config).getFfdcSummaryPolicy();
update(config);
} | java | @Override
public synchronized void init(LogProviderConfig config) {
ffdcSummaryPolicy = ((LogProviderConfigImpl) config).getFfdcSummaryPolicy();
update(config);
} | [
"@",
"Override",
"public",
"synchronized",
"void",
"init",
"(",
"LogProviderConfig",
"config",
")",
"{",
"ffdcSummaryPolicy",
"=",
"(",
"(",
"LogProviderConfigImpl",
")",
"config",
")",
".",
"getFfdcSummaryPolicy",
"(",
")",
";",
"update",
"(",
"config",
")",
... | Initialize the FFDC service based on the provided configuration | [
"Initialize",
"the",
"FFDC",
"service",
"based",
"on",
"the",
"provided",
"configuration"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java#L94-L98 |
68,803 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java | BaseFFDCService.update | @Override
public synchronized void update(LogProviderConfig config) {
// Get the configured log location, and derive the ffdc location from it
File location = config.getLogDirectory();
if (location == null) {
location = new File(".");
}
location = new File(locatio... | java | @Override
public synchronized void update(LogProviderConfig config) {
// Get the configured log location, and derive the ffdc location from it
File location = config.getLogDirectory();
if (location == null) {
location = new File(".");
}
location = new File(locatio... | [
"@",
"Override",
"public",
"synchronized",
"void",
"update",
"(",
"LogProviderConfig",
"config",
")",
"{",
"// Get the configured log location, and derive the ffdc location from it",
"File",
"location",
"=",
"config",
".",
"getLogDirectory",
"(",
")",
";",
"if",
"(",
"l... | Update the FFDC service based on the provided configuration | [
"Update",
"the",
"FFDC",
"service",
"based",
"on",
"the",
"provided",
"configuration"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java#L103-L132 |
68,804 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java | BaseFFDCService.stop | @Override
public synchronized void stop() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Stopping the basic FFDC service");
}
logSummary(true);
} | java | @Override
public synchronized void stop() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Stopping the basic FFDC service");
}
logSummary(true);
} | [
"@",
"Override",
"public",
"synchronized",
"void",
"stop",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEventEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"event",
"(",
"tc",
",",
"\"Stopping the basic FF... | Stop this FFDC service instance and free up any resources currently used. | [
"Stop",
"this",
"FFDC",
"service",
"instance",
"and",
"free",
"up",
"any",
"resources",
"currently",
"used",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java#L142-L148 |
68,805 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java | BaseFFDCService.processException | @Override
public void processException(Throwable th, String sourceId, String probeId, Object callerThis, Object[] objectArray) {
log(sourceId, probeId, th, callerThis, objectArray);
} | java | @Override
public void processException(Throwable th, String sourceId, String probeId, Object callerThis, Object[] objectArray) {
log(sourceId, probeId, th, callerThis, objectArray);
} | [
"@",
"Override",
"public",
"void",
"processException",
"(",
"Throwable",
"th",
",",
"String",
"sourceId",
",",
"String",
"probeId",
",",
"Object",
"callerThis",
",",
"Object",
"[",
"]",
"objectArray",
")",
"{",
"log",
"(",
"sourceId",
",",
"probeId",
",",
... | Process an exception
@param th
The exception to be processed
@param sourceId
The source id of the reporting code
@param probeId
The probe of the reporting code
@param callerThis
The instance of the reporting code
@param objectArray
An array of additional interesting objects | [
"Process",
"an",
"exception"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java#L214-L217 |
68,806 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java | BaseFFDCService.log | @FFDCIgnore(PrivilegedActionException.class)
private void log(String sourceId, String probeId, Throwable th, Object callerThis, Object[] objectArray) {
IncidentImpl incident = getIncident(sourceId, probeId, th, callerThis, objectArray);
incident.log(th, callerThis, objectArray);
if (System.g... | java | @FFDCIgnore(PrivilegedActionException.class)
private void log(String sourceId, String probeId, Throwable th, Object callerThis, Object[] objectArray) {
IncidentImpl incident = getIncident(sourceId, probeId, th, callerThis, objectArray);
incident.log(th, callerThis, objectArray);
if (System.g... | [
"@",
"FFDCIgnore",
"(",
"PrivilegedActionException",
".",
"class",
")",
"private",
"void",
"log",
"(",
"String",
"sourceId",
",",
"String",
"probeId",
",",
"Throwable",
"th",
",",
"Object",
"callerThis",
",",
"Object",
"[",
"]",
"objectArray",
")",
"{",
"Inc... | Log a problem to the global incident stream (creating it if necessary
@param txt
A description of the incident (the name of the exception)
@param sourceId
The source id of the reporting code
@param probeId
The probe id of the reporting code
@param th
The exception
@param callerThis
The instance of the reporting code (... | [
"Log",
"a",
"problem",
"to",
"the",
"global",
"incident",
"stream",
"(",
"creating",
"it",
"if",
"necessary"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java#L236-L258 |
68,807 | OpenLiberty/open-liberty | dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java | BaseFFDCService.createSummaryStream | private OutputStream createSummaryStream(File targetFile) throws IOException {
if (targetFile == null)
return null;
TextFileOutputStreamFactory factory = FFDCConfigurator.getFileOutputStreamFactory();
OutputStream newStream = null;
// Creation and rolling of files should be... | java | private OutputStream createSummaryStream(File targetFile) throws IOException {
if (targetFile == null)
return null;
TextFileOutputStreamFactory factory = FFDCConfigurator.getFileOutputStreamFactory();
OutputStream newStream = null;
// Creation and rolling of files should be... | [
"private",
"OutputStream",
"createSummaryStream",
"(",
"File",
"targetFile",
")",
"throws",
"IOException",
"{",
"if",
"(",
"targetFile",
"==",
"null",
")",
"return",
"null",
";",
"TextFileOutputStreamFactory",
"factory",
"=",
"FFDCConfigurator",
".",
"getFileOutputStr... | This wrapper method for creating streams should be called while
synchronized on the targetFile..
@param targetFile
@return
@throws IOException | [
"This",
"wrapper",
"method",
"for",
"creating",
"streams",
"should",
"be",
"called",
"while",
"synchronized",
"on",
"the",
"targetFile",
".."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/BaseFFDCService.java#L433-L449 |
68,808 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.alertClose | public void alertClose() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"alertClose", " _outWriter: --> " + _outWriter);
// 104771
writerClosed = true;
if (com.ibm.ejs.ras.TraceCompo... | java | public void alertClose() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"alertClose", " _outWriter: --> " + _outWriter);
// 104771
writerClosed = true;
if (com.ibm.ejs.ras.TraceCompo... | [
"public",
"void",
"alertClose",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"//306998.15",
"lo... | Alert message that the outputstream has been closed. | [
"Alert",
"message",
"that",
"the",
"outputstream",
"has",
"been",
"closed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L176-L184 |
68,809 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.alertException | public void alertException() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"alertException", "entry _outWriter: --> " + _outWriter);
writerException = true;
if (com.ibm.ejs.ras.TraceCompone... | java | public void alertException() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"alertException", "entry _outWriter: --> " + _outWriter);
writerException = true;
if (com.ibm.ejs.ras.TraceCompone... | [
"public",
"void",
"alertException",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"//306998.15",
... | Alert message that there has been an exception in the outputstream. | [
"Alert",
"message",
"that",
"there",
"has",
"been",
"an",
"exception",
"in",
"the",
"outputstream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L214-L220 |
68,810 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.writerObtained | public boolean writerObtained() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"writerObtained"," " + String.valueOf(_gotWriter),"["+this+"]");
return _gotWriter;
} | java | public boolean writerObtained() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"writerObtained"," " + String.valueOf(_gotWriter),"["+this+"]");
return _gotWriter;
} | [
"public",
"boolean",
"writerObtained",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"//306998.15"... | Used to check whether the writer has been obtained.
@return Logical true if the writer has been previously obtained, false otherwise. | [
"Used",
"to",
"check",
"whether",
"the",
"writer",
"has",
"been",
"obtained",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L227-L231 |
68,811 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.outputStreamObtained | public boolean outputStreamObtained() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"outputStreamObtained"," " + String.valueOf(_gotOutputStream),"["+this+"]");
return _gotOutputStream;
} | java | public boolean outputStreamObtained() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.logp(Level.FINE, CLASS_NAME,"outputStreamObtained"," " + String.valueOf(_gotOutputStream),"["+this+"]");
return _gotOutputStream;
} | [
"public",
"boolean",
"outputStreamObtained",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"//3069... | Used to check whether the output stream has been obtained.
@return Logical true if the stream has been previously obtained, false otherwise. | [
"Used",
"to",
"check",
"whether",
"the",
"output",
"stream",
"has",
"been",
"obtained",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L238-L242 |
68,812 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.finish | public void finish() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"finish","["+this+"]");
if (!isCommitted()) {
commit();
}
// flush the OutputStream and Writer
try {
... | java | public void finish() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"finish","["+this+"]");
if (!isCommitted()) {
commit();
}
// flush the OutputStream and Writer
try {
... | [
"public",
"void",
"finish",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"//306998.15",
"logger... | Close this response. | [
"Close",
"this",
"response",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L247-L282 |
68,813 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.cleanupFromFinish | protected void cleanupFromFinish() {
_response = null;
_bufferSize = 0;
_encoding = null;
// LIBERTY _responseBuffer = null;
// _outWriterEncoding = null;
_gotOutputStream = false;
_gotWriter = false;
this._pwriter = null;
} | java | protected void cleanupFromFinish() {
_response = null;
_bufferSize = 0;
_encoding = null;
// LIBERTY _responseBuffer = null;
// _outWriterEncoding = null;
_gotOutputStream = false;
_gotWriter = false;
this._pwriter = null;
} | [
"protected",
"void",
"cleanupFromFinish",
"(",
")",
"{",
"_response",
"=",
"null",
";",
"_bufferSize",
"=",
"0",
";",
"_encoding",
"=",
"null",
";",
"// LIBERTY _responseBuffer = null;",
"// _outWriterEncoding = null;",
"_gotOutputStream",
"=",
"false",
";",
"_gotWrit... | shared cleanup from finish & finishKeepConnection | [
"shared",
"cleanup",
"from",
"finish",
"&",
"finishKeepConnection"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L285-L294 |
68,814 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.resetBuffer | public void resetBuffer() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"resetBuffer","["+this+"]");
//is committed check done in underlying layer in tWAS
if (isCommitted())
throw new I... | java | public void resetBuffer() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"resetBuffer","["+this+"]");
//is committed check done in underlying layer in tWAS
if (isCommitted())
throw new I... | [
"public",
"void",
"resetBuffer",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"//306998.15",
"l... | Clears the content of the underlying buffer in the response without clearing
headers or status code.
@throws IllegalStateException if the response has already been committed
@since 2.3 | [
"Clears",
"the",
"content",
"of",
"the",
"underlying",
"buffer",
"in",
"the",
"response",
"without",
"clearing",
"headers",
"or",
"status",
"code",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L414-L439 |
68,815 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.getOutputStream | public ServletOutputStream getOutputStream() {
final boolean isTraceOn = com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled();
if (isTraceOn&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"getOutputStream","gotWriter="+String.valueOf(_gotWriter)+" ["+this+"]");
... | java | public ServletOutputStream getOutputStream() {
final boolean isTraceOn = com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled();
if (isTraceOn&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"getOutputStream","gotWriter="+String.valueOf(_gotWriter)+" ["+this+"]");
... | [
"public",
"ServletOutputStream",
"getOutputStream",
"(",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"logger",
".",... | Returns an output stream for writing binary response data.
@see reinitStreamState | [
"Returns",
"an",
"output",
"stream",
"for",
"writing",
"binary",
"response",
"data",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L761-L790 |
68,816 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.getWriter | public PrintWriter getWriter() throws IOException, UnsupportedEncodingException {
final boolean isTraceOn = com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled();
if (isTraceOn&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"getWriter","gotOutputStream="+String.value... | java | public PrintWriter getWriter() throws IOException, UnsupportedEncodingException {
final boolean isTraceOn = com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled();
if (isTraceOn&&logger.isLoggable (Level.FINE)) //306998.15
logger.entering(CLASS_NAME,"getWriter","gotOutputStream="+String.value... | [
"public",
"PrintWriter",
"getWriter",
"(",
")",
"throws",
"IOException",
",",
"UnsupportedEncodingException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
... | Returns a PrintWriter for writing formatted text output.
@return The PrintWriter to use for writing formatted text output. | [
"Returns",
"a",
"PrintWriter",
"for",
"writing",
"formatted",
"text",
"output",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L797-L862 |
68,817 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.addCookie | public void addCookie(Cookie cookie) {
//
// Note: this method is overwritten in servlet 4.0
//
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"addCookie", "Adding cookie -->... | java | public void addCookie(Cookie cookie) {
//
// Note: this method is overwritten in servlet 4.0
//
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"addCookie", "Adding cookie -->... | [
"public",
"void",
"addCookie",
"(",
"Cookie",
"cookie",
")",
"{",
"//",
"// Note: this method is overwritten in servlet 4.0",
"//",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",... | Uses the given HTTP response message to assign a new value to
a browser-specific cookie. Updates the response to restrict
caching of sensitive cookie-related data.
@param cookie The cookie to add. | [
"Uses",
"the",
"given",
"HTTP",
"response",
"message",
"to",
"assign",
"a",
"new",
"value",
"to",
"a",
"browser",
"-",
"specific",
"cookie",
".",
"Updates",
"the",
"response",
"to",
"restrict",
"caching",
"of",
"sensitive",
"cookie",
"-",
"related",
"data",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L903-L931 |
68,818 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.commit | synchronized protected void commit() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {
logger.entering(CLASS_NAME,"commit","["+this+"] ,_headersWritten -->" + _headersWritten );
}
// begin 134537: part 2
// (!isCommitted())
... | java | synchronized protected void commit() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {
logger.entering(CLASS_NAME,"commit","["+this+"] ,_headersWritten -->" + _headersWritten );
}
// begin 134537: part 2
// (!isCommitted())
... | [
"synchronized",
"protected",
"void",
"commit",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"{"... | Commits the response by sending response codes and headers. A response may only be commited once. | [
"Commits",
"the",
"response",
"by",
"sending",
"response",
"codes",
"and",
"headers",
".",
"A",
"response",
"may",
"only",
"be",
"commited",
"once",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L936-L997 |
68,819 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.getCharacterEncoding | public String getCharacterEncoding() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"getCharacterEncoding","["+this+"]");
}
if (_encoding == null) {
setDefaultResponseEncoding();
... | java | public String getCharacterEncoding() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"getCharacterEncoding","["+this+"]");
}
if (_encoding == null) {
setDefaultResponseEncoding();
... | [
"public",
"String",
"getCharacterEncoding",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"{",
"... | Returns the character encoding used for writing text to the
body of this response. | [
"Returns",
"the",
"character",
"encoding",
"used",
"for",
"writing",
"text",
"to",
"the",
"body",
"of",
"this",
"response",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1206-L1219 |
68,820 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.getCookies | public Cookie[] getCookies() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"getCookies","["+this+"]");
}
return (_response.getCookies());
} | java | public Cookie[] getCookies() {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"getCookies","["+this+"]");
}
return (_response.getCookies());
} | [
"public",
"Cookie",
"[",
"]",
"getCookies",
"(",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"{",... | Get the Cookies that have been set in this response. | [
"Get",
"the",
"Cookies",
"that",
"have",
"been",
"set",
"in",
"this",
"response",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1282-L1287 |
68,821 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.sendError | public void sendError(int status) throws IOException {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"sendError", "error --> "+ String.valueOf(status),"["+this+"]");
}
Object[] args = { new... | java | public void sendError(int status) throws IOException {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"sendError", "error --> "+ String.valueOf(status),"["+this+"]");
}
Object[] args = { new... | [
"public",
"void",
"sendError",
"(",
"int",
"status",
")",
"throws",
"IOException",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".... | Sends an error response to the client using the specified status
code and no default message.
@param sc The status code.
@exception IOException
If an I/O error has occurred. | [
"Sends",
"an",
"error",
"response",
"to",
"the",
"client",
"using",
"the",
"specified",
"status",
"code",
"and",
"no",
"default",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1298-L1305 |
68,822 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.sendError | public void sendError(int status, String msg) throws IOException {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"sendError", "status --> " + status + " " + msg + " ["+this+"]");
}
WebAppDispatcher... | java | public void sendError(int status, String msg) throws IOException {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"sendError", "status --> " + status + " " + msg + " ["+this+"]");
}
WebAppDispatcher... | [
"public",
"void",
"sendError",
"(",
"int",
"status",
",",
"String",
"msg",
")",
"throws",
"IOException",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLogga... | Sends an error response to the client using the specified status code and detail message.
@param status the status code.
@param msg the detail message.
@exception IOException
If an I/O error has occurred. | [
"Sends",
"an",
"error",
"response",
"to",
"the",
"client",
"using",
"the",
"specified",
"status",
"code",
"and",
"detail",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1316-L1336 |
68,823 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.setReason | public void setReason(String msg) {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"setReason", " message --> " + msg,"["+this+"]");
}
_response.setReason(msg);
} | java | public void setReason(String msg) {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"setReason", " message --> " + msg,"["+this+"]");
}
_response.setReason(msg);
} | [
"public",
"void",
"setReason",
"(",
"String",
"msg",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
... | Sends an error response directly to the client using the specified status code and
detail message.
@param status the status code.
@param msg the detail message.
@exception IOException
If an I/O error has occurred. | [
"Sends",
"an",
"error",
"response",
"directly",
"to",
"the",
"client",
"using",
"the",
"specified",
"status",
"code",
"and",
"detail",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1348-L1353 |
68,824 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.setContentLength | public void setContentLength(int len) {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"setContentLength", "length --> " + String.valueOf(len) + " ["+this+"]");
}
// d151464 - check the include flag... | java | public void setContentLength(int len) {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"setContentLength", "length --> " + String.valueOf(len) + " ["+this+"]");
}
// d151464 - check the include flag... | [
"public",
"void",
"setContentLength",
"(",
"int",
"len",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")"... | Defines the content length for this response. This call must be made only once.
Not setting the content length may cause significant performance degradation.
@param len The content length. | [
"Defines",
"the",
"content",
"length",
"for",
"this",
"response",
".",
"This",
"call",
"must",
"be",
"made",
"only",
"once",
".",
"Not",
"setting",
"the",
"content",
"length",
"may",
"cause",
"significant",
"performance",
"degradation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1436-L1464 |
68,825 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.setDateHeader | public void setDateHeader(String name, long t) {
// 311717
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"setDateHeader", " name --> " + name + " value --> " + String.valueOf(t)+ " ["+this+"]");
}
... | java | public void setDateHeader(String name, long t) {
// 311717
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"setDateHeader", " name --> " + name + " value --> " + String.valueOf(t)+ " ["+this+"]");
}
... | [
"public",
"void",
"setDateHeader",
"(",
"String",
"name",
",",
"long",
"t",
")",
"{",
"// 311717",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
... | Adds a date header with the specified time. If this is called more than once,
the current value will replace the previous value.
@param name The header field name.
@param t The time in milliseconds since the epoch. | [
"Adds",
"a",
"date",
"header",
"with",
"the",
"specified",
"time",
".",
"If",
"this",
"is",
"called",
"more",
"than",
"once",
"the",
"current",
"value",
"will",
"replace",
"the",
"previous",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1670-L1705 |
68,826 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.logWarningActionNow | protected boolean logWarningActionNow(IServletWrapper w) {
if (w instanceof IServletWrapperInternal) {
boolean firstTime = ((IServletWrapperInternal) w).hitWarningStatus();
return firstTime;
} else {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.is... | java | protected boolean logWarningActionNow(IServletWrapper w) {
if (w instanceof IServletWrapperInternal) {
boolean firstTime = ((IServletWrapperInternal) w).hitWarningStatus();
return firstTime;
} else {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.is... | [
"protected",
"boolean",
"logWarningActionNow",
"(",
"IServletWrapper",
"w",
")",
"{",
"if",
"(",
"w",
"instanceof",
"IServletWrapperInternal",
")",
"{",
"boolean",
"firstTime",
"=",
"(",
"(",
"IServletWrapperInternal",
")",
"w",
")",
".",
"hitWarningStatus",
"(",
... | Do not sync for performance reasons. It is ok to print this warning more than once, just trying to limit it for the most part. | [
"Do",
"not",
"sync",
"for",
"performance",
"reasons",
".",
"It",
"is",
"ok",
"to",
"print",
"this",
"warning",
"more",
"than",
"once",
"just",
"trying",
"to",
"limit",
"it",
"for",
"the",
"most",
"part",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1805-L1816 |
68,827 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.setInternalHeader | public void setInternalHeader(String name, String s) {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"setInternalHeader", " name --> " + name + " value --> " + s,"["+this+"]");
}
setHeader(n... | java | public void setInternalHeader(String name, String s) {
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"setInternalHeader", " name --> " + name + " value --> " + s,"["+this+"]");
}
setHeader(n... | [
"public",
"void",
"setInternalHeader",
"(",
"String",
"name",
",",
"String",
"s",
")",
"{",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level"... | Adds a header field with the specified string value.
Does not check to see if this is an include. If this is
called more than once, the current value will replace the previous value.
@param name The header field name.
@param s The field's string value. | [
"Adds",
"a",
"header",
"field",
"with",
"the",
"specified",
"string",
"value",
".",
"Does",
"not",
"check",
"to",
"see",
"if",
"this",
"is",
"an",
"include",
".",
"If",
"this",
"is",
"called",
"more",
"than",
"once",
"the",
"current",
"value",
"will",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1846-L1851 |
68,828 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java | SRTServletResponse.setStatus | public void setStatus(int status) {
// 311717
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"setStatus", " status --> " + String.valueOf(status)+ " ["+this+"]");
}
WebAppDispatcherContext di... | java | public void setStatus(int status) {
// 311717
if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.entering(CLASS_NAME,"setStatus", " status --> " + String.valueOf(status)+ " ["+this+"]");
}
WebAppDispatcherContext di... | [
"public",
"void",
"setStatus",
"(",
"int",
"status",
")",
"{",
"// 311717",
"if",
"(",
"com",
".",
"ibm",
".",
"ejs",
".",
"ras",
".",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
... | Sets the status code and a default message for this response.
@param status The status code. | [
"Sets",
"the",
"status",
"code",
"and",
"a",
"default",
"message",
"for",
"this",
"response",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletResponse.java#L1984-L2009 |
68,829 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java | XidManager.start | public TransactionParticipant start(PersistentTranId ptid, int flags) throws XidUnknownException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", new Object[]{"PersistentTranId="+ptid, xaFlagsToString(flags)});
TransactionParticipant retval = null;
... | java | public TransactionParticipant start(PersistentTranId ptid, int flags) throws XidUnknownException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", new Object[]{"PersistentTranId="+ptid, xaFlagsToString(flags)});
TransactionParticipant retval = null;
... | [
"public",
"TransactionParticipant",
"start",
"(",
"PersistentTranId",
"ptid",
",",
"int",
"flags",
")",
"throws",
"XidUnknownException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Si... | using either the TMJOIN or TMRESUME flags. | [
"using",
"either",
"the",
"TMJOIN",
"or",
"TMRESUME",
"flags",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java#L92-L140 |
68,830 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java | XidManager.start | public void start(PersistentTranId ptid, TransactionParticipant participant) throws XidAlreadyKnownException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", new Object[]{"PersistentTranId="+ptid, "Participant="+participant});
// Defect 455354
... | java | public void start(PersistentTranId ptid, TransactionParticipant participant) throws XidAlreadyKnownException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "start", new Object[]{"PersistentTranId="+ptid, "Participant="+participant});
// Defect 455354
... | [
"public",
"void",
"start",
"(",
"PersistentTranId",
"ptid",
",",
"TransactionParticipant",
"participant",
")",
"throws",
"XidAlreadyKnownException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
... | with a NEW transaction branch. | [
"with",
"a",
"NEW",
"transaction",
"branch",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java#L144-L173 |
68,831 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java | XidManager.end | public void end(PersistentTranId ptid, int flags) throws XidUnknownException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "end", new Object[]{"PersistentTranId="+ptid, xaFlagsToString(flags)});
// Defect 455354
// We need to make sure that any cha... | java | public void end(PersistentTranId ptid, int flags) throws XidUnknownException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "end", new Object[]{"PersistentTranId="+ptid, xaFlagsToString(flags)});
// Defect 455354
// We need to make sure that any cha... | [
"public",
"void",
"end",
"(",
"PersistentTranId",
"ptid",
",",
"int",
"flags",
")",
"throws",
"XidUnknownException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entr... | later point. | [
"later",
"point",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java#L179-L242 |
68,832 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java | XidManager.restart | public void restart(PersistentMessageStore PM) throws TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "restart", "PersistenceManager="+PM);
if (PM != null)
{
// We need to store the PM so ... | java | public void restart(PersistentMessageStore PM) throws TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "restart", "PersistenceManager="+PM);
if (PM != null)
{
// We need to store the PM so ... | [
"public",
"void",
"restart",
"(",
"PersistentMessageStore",
"PM",
")",
"throws",
"TransactionException",
",",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"... | Called at server startup to rebuild our list of indoubt
transactions from the datastore.
@param PM The PersistentMessageStore to use to access our datastore.
@exception TransactionException
Thrown if any unexpected exceptions occur.
@throws SevereMessageStoreException | [
"Called",
"at",
"server",
"startup",
"to",
"rebuild",
"our",
"list",
"of",
"indoubt",
"transactions",
"from",
"the",
"datastore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java#L441-L503 |
68,833 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java | XidManager.recover | public Xid[] recover()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "recover");
Xid[] xids = new Xid[_indoubtXids.size()];
_indoubtXids.toArray(xids);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, ... | java | public Xid[] recover()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "recover");
Xid[] xids = new Xid[_indoubtXids.size()];
_indoubtXids.toArray(xids);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, ... | [
"public",
"Xid",
"[",
"]",
"recover",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"recover\"",
")",
";",
"Xi... | This method returns the list of indoubt Xids that the MessageStore
knows about at the time. This includes those recovered from the
datastore at restart time and any that are currently known about
as part of normal runtime processing.
@return The list of prepared Xids known to the MessageStore at the
time the method wa... | [
"This",
"method",
"returns",
"the",
"list",
"of",
"indoubt",
"Xids",
"that",
"the",
"MessageStore",
"knows",
"about",
"at",
"the",
"time",
".",
"This",
"includes",
"those",
"recovered",
"from",
"the",
"datastore",
"at",
"restart",
"time",
"and",
"any",
"that... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java#L515-L525 |
68,834 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java | XidManager.listRemoteInDoubts | public Xid[] listRemoteInDoubts()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "listRemoteInDoubts");
Vector<PersistentTranId> xids = (Vector<PersistentTranId>)_indoubtXids.clone();
Xid[] retval = null;
if (xids.size() > 0)
{
... | java | public Xid[] listRemoteInDoubts()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "listRemoteInDoubts");
Vector<PersistentTranId> xids = (Vector<PersistentTranId>)_indoubtXids.clone();
Xid[] retval = null;
if (xids.size() > 0)
{
... | [
"public",
"Xid",
"[",
"]",
"listRemoteInDoubts",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"listRemoteInDoubts\"... | This method returns a list representing all Xid known by the ME which do
not match those currently known by the local Transaction Manager. The
admin console can therefore use the output of this method to display a
list of xids that can be completed through the ME admin console.
@return The list of xids that the admin ... | [
"This",
"method",
"returns",
"a",
"list",
"representing",
"all",
"Xid",
"known",
"by",
"the",
"ME",
"which",
"do",
"not",
"match",
"those",
"currently",
"known",
"by",
"the",
"local",
"Transaction",
"Manager",
".",
"The",
"admin",
"console",
"can",
"therefor... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java#L564-L586 |
68,835 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java | XidManager.xaFlagsToString | public String xaFlagsToString(int flags)
{
StringBuilder retval = new StringBuilder("Flags=");
retval.append(Integer.toHexString(flags));
retval.append("( ");
if (flags == XAResource.TMNOFLAGS)
{
retval.append("TMNOFLAGS ");
}
else
{
... | java | public String xaFlagsToString(int flags)
{
StringBuilder retval = new StringBuilder("Flags=");
retval.append(Integer.toHexString(flags));
retval.append("( ");
if (flags == XAResource.TMNOFLAGS)
{
retval.append("TMNOFLAGS ");
}
else
{
... | [
"public",
"String",
"xaFlagsToString",
"(",
"int",
"flags",
")",
"{",
"StringBuilder",
"retval",
"=",
"new",
"StringBuilder",
"(",
"\"Flags=\"",
")",
";",
"retval",
".",
"append",
"(",
"Integer",
".",
"toHexString",
"(",
"flags",
")",
")",
";",
"retval",
"... | Feature SIB0048c.ms.1 | [
"Feature",
"SIB0048c",
".",
"ms",
".",
"1"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/XidManager.java#L654-L678 |
68,836 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/PositionAssignerImpl.java | PositionAssignerImpl.assign | public void assign(Identifier id)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
tc.entry(
cclass,
"assign",
"identifier: " + id);
// Assign ordinal position
String key = null;
switch (id.getType())
{
case Identifier.STRING :
//... | java | public void assign(Identifier id)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
tc.entry(
cclass,
"assign",
"identifier: " + id);
// Assign ordinal position
String key = null;
switch (id.getType())
{
case Identifier.STRING :
//... | [
"public",
"void",
"assign",
"(",
"Identifier",
"id",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"cclass",
",",
"\"assign\"",
",",
"\"identifier: \"... | Implement the assignPosition method | [
"Implement",
"the",
"assignPosition",
"method"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/PositionAssignerImpl.java#L72-L138 |
68,837 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/util/OSGiJNDIEnvironmentRefBindingHelper.java | OSGiJNDIEnvironmentRefBindingHelper.processBndAndExt | public static void processBndAndExt(Map<JNDIEnvironmentRefType, Map<String, String>> allBindings,
Map<String, String> envEntryValues,
ResourceRefConfigList resRefList,
RefBindingsGroup refBindingsGrou... | java | public static void processBndAndExt(Map<JNDIEnvironmentRefType, Map<String, String>> allBindings,
Map<String, String> envEntryValues,
ResourceRefConfigList resRefList,
RefBindingsGroup refBindingsGrou... | [
"public",
"static",
"void",
"processBndAndExt",
"(",
"Map",
"<",
"JNDIEnvironmentRefType",
",",
"Map",
"<",
"String",
",",
"String",
">",
">",
"allBindings",
",",
"Map",
"<",
"String",
",",
"String",
">",
"envEntryValues",
",",
"ResourceRefConfigList",
"resRefLi... | Process bindings and extensions for all JNDIEnvironmentRef. This method
can be called multiple times with different source objects.
@param allBindings the map of all bindings to update
@param envEntryValues the env-entry value bindings map to update
@param resRefList the resource-ref binding and extension list to upda... | [
"Process",
"bindings",
"and",
"extensions",
"for",
"all",
"JNDIEnvironmentRef",
".",
"This",
"method",
"can",
"be",
"called",
"multiple",
"times",
"with",
"different",
"source",
"objects",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/util/OSGiJNDIEnvironmentRefBindingHelper.java#L33-L47 |
68,838 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvStartSess | static void rcvStartSess(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange, boolean restart) //471642
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvS... | java | static void rcvStartSess(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange, boolean restart) //471642
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvS... | [
"static",
"void",
"rcvStartSess",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
",",
"boolean",
"restart",
")",
"//471642",
"{",
"if",
... | Start the Synchronous Consumer Session provided by the client.
Fields:
BIT16 ConnectionObjectId
BIT16 SyncConsumerSessionId
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange
@param restart indicates (re)start rather than start | [
"Start",
"the",
"Synchronous",
"Consumer",
"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/StaticCATConsumer.java#L395-L427 |
68,839 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvStopSess | static void rcvStopSess(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvStopSess",
... | java | static void rcvStopSess(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvStopSess",
... | [
"static",
"void",
"rcvStopSess",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracing... | Stop the Synchronous Consumer Session provided by the client.
Fields:
BIT16 ConnectionObjectId
BIT16 SyncConsumerSessionId
Note: The client reply is done by the CAT consumer instance
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange | [
"Stop",
"the",
"Synchronous",
"Consumer",
"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/StaticCATConsumer.java#L445-L476 |
68,840 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvRegisterAsyncConsumer | static void rcvRegisterAsyncConsumer(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange, boolean stoppable) //SIB0115d.comms
{
if (TraceComponent.isAn... | java | static void rcvRegisterAsyncConsumer(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange, boolean stoppable) //SIB0115d.comms
{
if (TraceComponent.isAn... | [
"static",
"void",
"rcvRegisterAsyncConsumer",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
",",
"boolean",
"stoppable",
")",
"//SIB0115d.co... | Register an asynchronous consumer for this consumer session.
Fields:
BIT16 ConnectionObjectId
BIT16 SyncConsumerSessionId
BIT16 MessageOrderContextId
BIT16 ClientSessionId
BIT32 Max batch size
BIT32 Max Sequential Failures
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param ... | [
"Register",
"an",
"asynchronous",
"consumer",
"for",
"this",
"consumer",
"session",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java#L497-L566 |
68,841 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvRequestMsgs | static void rcvRequestMsgs(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvRequestMsgs",
... | java | static void rcvRequestMsgs(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvRequestMsgs",
... | [
"static",
"void",
"rcvRequestMsgs",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTrac... | Request messages for this consumer.
Fields:
BIT16 ConnectionObjectId
BIT16 ConsumerSessionId
BIT32 ReceivedBytes
BIT32 RequestedBytes
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange | [
"Request",
"messages",
"for",
"this",
"consumer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java#L584-L619 |
68,842 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvSessReceive | static void rcvSessReceive(CommsServerByteBuffer request,
Conversation conversation,
int requestNumber,
boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.is... | java | static void rcvSessReceive(CommsServerByteBuffer request,
Conversation conversation,
int requestNumber,
boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.is... | [
"static",
"void",
"rcvSessReceive",
"(",
"CommsServerByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isA... | Receive a message using the Synchronous Consumer Session provided by the client.
The receive is farmed off to the CATConsumer handling the receives for this session.
Typically this will be the synchronous handler.
Fields:
BIT16 ConnectionObjectId
BIT16 SyncConsumerSessionId
BIT32 TransactionId
BIT64 TimeOut
@param ... | [
"Receive",
"a",
"message",
"using",
"the",
"Synchronous",
"Consumer",
"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/StaticCATConsumer.java#L690-L731 |
68,843 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvUnlockAll | static void rcvUnlockAll(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvUnlockAll",
... | java | static void rcvUnlockAll(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvUnlockAll",
... | [
"static",
"void",
"rcvUnlockAll",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracin... | Unlocks all locked messages on the server.
Fields:
BIT16 ConnectionObjectId
BIT16 ConsumerSessionId
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange | [
"Unlocks",
"all",
"locked",
"messages",
"on",
"the",
"server",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java#L843-L874 |
68,844 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvDeleteSet | static void rcvDeleteSet(CommsServerByteBuffer request,
Conversation conversation,
int requestNumber,
boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracing... | java | static void rcvDeleteSet(CommsServerByteBuffer request,
Conversation conversation,
int requestNumber,
boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracing... | [
"static",
"void",
"rcvDeleteSet",
"(",
"CommsServerByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAny... | Deletes a set of messages that are currently locked by the
server.
Fields:
BIT16 ConnectionObjectId
BIT16 ConsumerSessionId
BIT32 TranasctionId
BIT32 ArrayCount
BIT32[] MsgIds
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange
@param optimizedTx | [
"Deletes",
"a",
"set",
"of",
"messages",
"that",
"are",
"currently",
"locked",
"by",
"the",
"server",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java#L966-L1009 |
68,845 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java | StaticCATConsumer.rcvReadSet | static void rcvReadSet(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvReadSet",
... | java | static void rcvReadSet(CommsByteBuffer request, Conversation conversation, int requestNumber,
boolean allocatedFromBufferPool, boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "rcvReadSet",
... | [
"static",
"void",
"rcvReadSet",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingE... | Reads a set of messages that are currently locked by the server.
Fields:
BIT16 ConnectionObjectId
BIT16 ConsumerSessionId
BIT32 ArrayCount
BIT32[] MsgIds
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange | [
"Reads",
"a",
"set",
"of",
"messages",
"that",
"are",
"currently",
"locked",
"by",
"the",
"server",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATConsumer.java#L1028-L1061 |
68,846 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java | AsynchDeletionThread.cleanupSubscription | private void cleanupSubscription(SubscriptionItemStream stream)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "cleanupSubscription", stream);
try
{
// Indicate that we don't want the asynch deletion thread restarted if the
// subscription fails to delete, otherwise we might end up i... | java | private void cleanupSubscription(SubscriptionItemStream stream)
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "cleanupSubscription", stream);
try
{
// Indicate that we don't want the asynch deletion thread restarted if the
// subscription fails to delete, otherwise we might end up i... | [
"private",
"void",
"cleanupSubscription",
"(",
"SubscriptionItemStream",
"stream",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"cleanupSubscription\"",
",",
"stream",
")",
";",
"try",
"{",
"// Ind... | Delete the subscription in question.
@param stream | [
"Delete",
"the",
"subscription",
"in",
"question",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java#L301-L332 |
68,847 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java | AsynchDeletionThread.setRunning | public void setRunning(boolean running)
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "setRunning");
SibTr.exit(tc, "setRunning");
}
_isRunning = running;
return;
} | java | public void setRunning(boolean running)
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "setRunning");
SibTr.exit(tc, "setRunning");
}
_isRunning = running;
return;
} | [
"public",
"void",
"setRunning",
"(",
"boolean",
"running",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setRunning\"",
")",
";",
"SibTr",
".",
"exit",
"(",
"tc",
",",
"\"setRunning\"",
... | Method setRunning - Set indicator that the asynchDeletionThread is running | [
"Method",
"setRunning",
"-",
"Set",
"indicator",
"that",
"the",
"asynchDeletionThread",
"is",
"running"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java#L396-L407 |
68,848 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java | AsynchDeletionThread.isRunning | public boolean isRunning()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "isRunning");
SibTr.exit(tc, "isRunning", new Boolean(_isRunning));
}
return _isRunning;
} | java | public boolean isRunning()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "isRunning");
SibTr.exit(tc, "isRunning", new Boolean(_isRunning));
}
return _isRunning;
} | [
"public",
"boolean",
"isRunning",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isRunning\"",
")",
";",
"SibTr",
".",
"exit",
"(",
"tc",
",",
"\"isRunning\"",
",",
"new",
"Boolean... | Method isRunning - Determine if the AsynchDeletionThread is running or not.
@return boolean | [
"Method",
"isRunning",
"-",
"Determine",
"if",
"the",
"AsynchDeletionThread",
"is",
"running",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java#L413-L422 |
68,849 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java | AsynchDeletionThread.setStopping | public void setStopping()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "setStopping");
SibTr.exit(tc, "setStopping");
}
_isStopping = true;
return;
} | java | public void setStopping()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "setStopping");
SibTr.exit(tc, "setStopping");
}
_isStopping = true;
return;
} | [
"public",
"void",
"setStopping",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setStopping\"",
")",
";",
"SibTr",
".",
"exit",
"(",
"tc",
",",
"\"setStopping\"",
")",
";",
"}",
... | Method setStopping - Set indicator that the asynchDeletionThread is stopping | [
"Method",
"setStopping",
"-",
"Set",
"indicator",
"that",
"the",
"asynchDeletionThread",
"is",
"stopping"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java#L427-L438 |
68,850 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java | AsynchDeletionThread.isStopping | public boolean isStopping()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "isStopping");
SibTr.exit(tc, "isStopping", new Boolean(_isStopping));
}
return _isStopping;
} | java | public boolean isStopping()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "isStopping");
SibTr.exit(tc, "isStopping", new Boolean(_isStopping));
}
return _isStopping;
} | [
"public",
"boolean",
"isStopping",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isStopping\"",
")",
";",
"SibTr",
".",
"exit",
"(",
"tc",
",",
"\"isStopping\"",
",",
"new",
"Bool... | Method isStopping - Determine if the AsynchDeletionThread is stopping or not.
@return boolean | [
"Method",
"isStopping",
"-",
"Determine",
"if",
"the",
"AsynchDeletionThread",
"is",
"stopping",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java#L444-L453 |
68,851 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java | AsynchDeletionThread.rerun | public void rerun()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "rerun");
_rerunRequested = true;
if (tc.isEntryEnabled())
SibTr.exit(tc, "rerun");
} | java | public void rerun()
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "rerun");
_rerunRequested = true;
if (tc.isEntryEnabled())
SibTr.exit(tc, "rerun");
} | [
"public",
"void",
"rerun",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"rerun\"",
")",
";",
"_rerunRequested",
"=",
"true",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")... | Indicate that we want the Asynch deletion thread to run again | [
"Indicate",
"that",
"we",
"want",
"the",
"Asynch",
"deletion",
"thread",
"to",
"run",
"again"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AsynchDeletionThread.java#L458-L467 |
68,852 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsfContainer_fat_2.3/fat/src/com/ibm/ws/jsf/container/fat/utils/JSFUtils.java | JSFUtils.waitForPageResponse | public static boolean waitForPageResponse(HtmlPage page, String responseMessage) throws InterruptedException {
int i = 0;
boolean isTextFound = false;
while (!isTextFound && i < 5) {
isTextFound = page.asText().contains(responseMessage);
i++;
Thread.sleep(1000... | java | public static boolean waitForPageResponse(HtmlPage page, String responseMessage) throws InterruptedException {
int i = 0;
boolean isTextFound = false;
while (!isTextFound && i < 5) {
isTextFound = page.asText().contains(responseMessage);
i++;
Thread.sleep(1000... | [
"public",
"static",
"boolean",
"waitForPageResponse",
"(",
"HtmlPage",
"page",
",",
"String",
"responseMessage",
")",
"throws",
"InterruptedException",
"{",
"int",
"i",
"=",
"0",
";",
"boolean",
"isTextFound",
"=",
"false",
";",
"while",
"(",
"!",
"isTextFound",... | Create a custom wait mechanism that waits for any background JavaScript to finish
and verifies a message in the page response.
@param page The current HtmlPage
@return A boolean value indicating if the response message was found
@throws InterruptedException | [
"Create",
"a",
"custom",
"wait",
"mechanism",
"that",
"waits",
"for",
"any",
"background",
"JavaScript",
"to",
"finish",
"and",
"verifies",
"a",
"message",
"in",
"the",
"page",
"response",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsfContainer_fat_2.3/fat/src/com/ibm/ws/jsf/container/fat/utils/JSFUtils.java#L72-L82 |
68,853 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/MessageProxyInvocationHandler.java | MessageProxyInvocationHandler.invoke | @FFDCIgnore(InvocationTargetException.class)
@Override
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "invoke", method.toGenericString());
if (actualMessageObj... | java | @FFDCIgnore(InvocationTargetException.class)
@Override
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "invoke", method.toGenericString());
if (actualMessageObj... | [
"@",
"FFDCIgnore",
"(",
"InvocationTargetException",
".",
"class",
")",
"@",
"Override",
"public",
"Object",
"invoke",
"(",
"Object",
"proxy",
",",
"Method",
"method",
",",
"Object",
"[",
"]",
"args",
")",
"throws",
"Throwable",
"{",
"if",
"(",
"TraceCompone... | While Async send operation is in progress, do not allow application to access message object | [
"While",
"Async",
"send",
"operation",
"is",
"in",
"progress",
"do",
"not",
"allow",
"application",
"to",
"access",
"message",
"object"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/MessageProxyInvocationHandler.java#L48-L88 |
68,854 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java | HtmlRendererUtils.hasClientBehavior | public static boolean hasClientBehavior(String eventName,
Map<String, List<ClientBehavior>> behaviors,
FacesContext facesContext)
{
if (behaviors == null)
{
return false;
}
return (behaviors.get(eventName) != null);
} | java | public static boolean hasClientBehavior(String eventName,
Map<String, List<ClientBehavior>> behaviors,
FacesContext facesContext)
{
if (behaviors == null)
{
return false;
}
return (behaviors.get(eventName) != null);
} | [
"public",
"static",
"boolean",
"hasClientBehavior",
"(",
"String",
"eventName",
",",
"Map",
"<",
"String",
",",
"List",
"<",
"ClientBehavior",
">",
">",
"behaviors",
",",
"FacesContext",
"facesContext",
")",
"{",
"if",
"(",
"behaviors",
"==",
"null",
")",
"{... | Checks if the given component has a behavior attachment with a given name.
@param eventName the event name to be checked for
@param behaviors map of behaviors attached to the component
@return true if client behavior with given name is attached, false otherwise
@since 4.0.0 | [
"Checks",
"if",
"the",
"given",
"component",
"has",
"a",
"behavior",
"attachment",
"with",
"a",
"given",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java#L1762-L1771 |
68,855 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java | HtmlRendererUtils.renderBehaviorizedAttribute | public static boolean renderBehaviorizedAttribute(
FacesContext facesContext, ResponseWriter writer,
String componentProperty, UIComponent component, String eventName,
Collection<ClientBehaviorContext.Parameter> eventParameters,
Map<String, List<ClientBehavior>> clientBeh... | java | public static boolean renderBehaviorizedAttribute(
FacesContext facesContext, ResponseWriter writer,
String componentProperty, UIComponent component, String eventName,
Collection<ClientBehaviorContext.Parameter> eventParameters,
Map<String, List<ClientBehavior>> clientBeh... | [
"public",
"static",
"boolean",
"renderBehaviorizedAttribute",
"(",
"FacesContext",
"facesContext",
",",
"ResponseWriter",
"writer",
",",
"String",
"componentProperty",
",",
"UIComponent",
"component",
",",
"String",
"eventName",
",",
"Collection",
"<",
"ClientBehaviorCont... | Render an attribute taking into account the passed event,
the component property and the passed attribute value for the component
property. The event will be rendered on the selected htmlAttrName.
@param facesContext
@param writer
@param componentProperty
@param component
@param eventName
@param clientBehaviors
@param... | [
"Render",
"an",
"attribute",
"taking",
"into",
"account",
"the",
"passed",
"event",
"the",
"component",
"property",
"and",
"the",
"passed",
"attribute",
"value",
"for",
"the",
"component",
"property",
".",
"The",
"event",
"will",
"be",
"rendered",
"on",
"the",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java#L2233-L2244 |
68,856 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java | HtmlRendererUtils.isHideNoSelectionOption | public static boolean isHideNoSelectionOption(UIComponent component)
{
// check hideNoSelectionOption for literal value (String) or ValueExpression (Boolean)
Object hideNoSelectionOptionAttr = component.getAttributes().get(
JSFAttr.HIDE_NO_SELECTION_OPTION_ATTR);
return ((hid... | java | public static boolean isHideNoSelectionOption(UIComponent component)
{
// check hideNoSelectionOption for literal value (String) or ValueExpression (Boolean)
Object hideNoSelectionOptionAttr = component.getAttributes().get(
JSFAttr.HIDE_NO_SELECTION_OPTION_ATTR);
return ((hid... | [
"public",
"static",
"boolean",
"isHideNoSelectionOption",
"(",
"UIComponent",
"component",
")",
"{",
"// check hideNoSelectionOption for literal value (String) or ValueExpression (Boolean)",
"Object",
"hideNoSelectionOptionAttr",
"=",
"component",
".",
"getAttributes",
"(",
")",
... | Returns the value of the hideNoSelectionOption attribute of the given UIComponent
@param component
@return | [
"Returns",
"the",
"value",
"of",
"the",
"hideNoSelectionOption",
"attribute",
"of",
"the",
"given",
"UIComponent"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java#L2739-L2747 |
68,857 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java | HtmlRendererUtils.renderUnhandledFacesMessages | public static void renderUnhandledFacesMessages(FacesContext facesContext)
throws IOException
{
// create and configure HtmlMessages component
HtmlMessages messages = (HtmlMessages) facesContext.getApplication()
.createComponent(HtmlMessages.COMPONENT_TYPE);
messa... | java | public static void renderUnhandledFacesMessages(FacesContext facesContext)
throws IOException
{
// create and configure HtmlMessages component
HtmlMessages messages = (HtmlMessages) facesContext.getApplication()
.createComponent(HtmlMessages.COMPONENT_TYPE);
messa... | [
"public",
"static",
"void",
"renderUnhandledFacesMessages",
"(",
"FacesContext",
"facesContext",
")",
"throws",
"IOException",
"{",
"// create and configure HtmlMessages component",
"HtmlMessages",
"messages",
"=",
"(",
"HtmlMessages",
")",
"facesContext",
".",
"getApplicatio... | Renders all FacesMessages which have not been rendered yet with
the help of a HtmlMessages component.
@param facesContext | [
"Renders",
"all",
"FacesMessages",
"which",
"have",
"not",
"been",
"rendered",
"yet",
"with",
"the",
"help",
"of",
"a",
"HtmlMessages",
"component",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java#L2754-L2766 |
68,858 | OpenLiberty/open-liberty | dev/com.ibm.ws.cdi.weld/src/com/ibm/ws/cdi/config/liberty/CDI12ContainerConfig.java | CDI12ContainerConfig.deactivate | protected void deactivate(ComponentContext compcontext) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Deactivating " + this);
}
INSTANCE.compareAndSet(this, null);
} | java | protected void deactivate(ComponentContext compcontext) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Deactivating " + this);
}
INSTANCE.compareAndSet(this, null);
} | [
"protected",
"void",
"deactivate",
"(",
"ComponentContext",
"compcontext",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Deactivating... | DS method to deactivate this component
@param compcontext the context of this component | [
"DS",
"method",
"to",
"deactivate",
"this",
"component"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.cdi.weld/src/com/ibm/ws/cdi/config/liberty/CDI12ContainerConfig.java#L100-L105 |
68,859 | OpenLiberty/open-liberty | dev/com.ibm.ws.cdi.weld/src/com/ibm/ws/cdi/config/liberty/CDI12ContainerConfig.java | CDI12ContainerConfig.updateConfiguration | protected void updateConfiguration(Map<String, Object> properties) {
if (properties != null) {
this.properties.clear();
this.properties.putAll(properties);
}
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Current Properties: "... | java | protected void updateConfiguration(Map<String, Object> properties) {
if (properties != null) {
this.properties.clear();
this.properties.putAll(properties);
}
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Current Properties: "... | [
"protected",
"void",
"updateConfiguration",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"properties",
")",
"{",
"if",
"(",
"properties",
"!=",
"null",
")",
"{",
"this",
".",
"properties",
".",
"clear",
"(",
")",
";",
"this",
".",
"properties",
".",
... | Updates the current configuration properties
@param properties the updated configuration properties | [
"Updates",
"the",
"current",
"configuration",
"properties"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.cdi.weld/src/com/ibm/ws/cdi/config/liberty/CDI12ContainerConfig.java#L126-L134 |
68,860 | OpenLiberty/open-liberty | dev/com.ibm.ws.cdi.weld/src/com/ibm/ws/cdi/config/liberty/CDI12ContainerConfig.java | CDI12ContainerConfig.isImplicitBeanArchivesScanningDisabled | @Override
public boolean isImplicitBeanArchivesScanningDisabled() {
boolean enableImplicitBeanArchivesValue = (Boolean) this.properties.get("enableImplicitBeanArchives");
if (tc.isWarningEnabled() && !hasLoggedNoImplicitMsg && !enableImplicitBeanArchivesValue) {
hasLoggedNoImplicitMsg =... | java | @Override
public boolean isImplicitBeanArchivesScanningDisabled() {
boolean enableImplicitBeanArchivesValue = (Boolean) this.properties.get("enableImplicitBeanArchives");
if (tc.isWarningEnabled() && !hasLoggedNoImplicitMsg && !enableImplicitBeanArchivesValue) {
hasLoggedNoImplicitMsg =... | [
"@",
"Override",
"public",
"boolean",
"isImplicitBeanArchivesScanningDisabled",
"(",
")",
"{",
"boolean",
"enableImplicitBeanArchivesValue",
"=",
"(",
"Boolean",
")",
"this",
".",
"properties",
".",
"get",
"(",
"\"enableImplicitBeanArchives\"",
")",
";",
"if",
"(",
... | Get the Container level configuration about whether to disable the scanning for implicit bean archives.
If the value is true, it means CDI Container will not scan archives without beans.xml to see whether they are implicit archives.
@return true if the value set in the server configuration for the property of enableIm... | [
"Get",
"the",
"Container",
"level",
"configuration",
"about",
"whether",
"to",
"disable",
"the",
"scanning",
"for",
"implicit",
"bean",
"archives",
".",
"If",
"the",
"value",
"is",
"true",
"it",
"means",
"CDI",
"Container",
"will",
"not",
"scan",
"archives",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.cdi.weld/src/com/ibm/ws/cdi/config/liberty/CDI12ContainerConfig.java#L142-L152 |
68,861 | OpenLiberty/open-liberty | dev/com.ibm.ws.clientcontainer/src/com/ibm/ws/clientcontainer/internal/ClientRunnerImpl.java | ClientRunnerImpl.processPostConstruct | @FFDCIgnore(InjectionException.class)
private void processPostConstruct() {
ApplicationClient appClient = ((ClientModuleMetaData) cmd.getModuleMetaData()).getAppClient();
boolean isMetadataComplete = appClient.isMetadataComplete();
LifecycleCallbackHelper helper = new LifecycleCallbackHelper... | java | @FFDCIgnore(InjectionException.class)
private void processPostConstruct() {
ApplicationClient appClient = ((ClientModuleMetaData) cmd.getModuleMetaData()).getAppClient();
boolean isMetadataComplete = appClient.isMetadataComplete();
LifecycleCallbackHelper helper = new LifecycleCallbackHelper... | [
"@",
"FFDCIgnore",
"(",
"InjectionException",
".",
"class",
")",
"private",
"void",
"processPostConstruct",
"(",
")",
"{",
"ApplicationClient",
"appClient",
"=",
"(",
"(",
"ClientModuleMetaData",
")",
"cmd",
".",
"getModuleMetaData",
"(",
")",
")",
".",
"getAppC... | Process PostContruct annotation or metadata for Main class or Login Callback class. | [
"Process",
"PostContruct",
"annotation",
"or",
"metadata",
"for",
"Main",
"class",
"or",
"Login",
"Callback",
"class",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.clientcontainer/src/com/ibm/ws/clientcontainer/internal/ClientRunnerImpl.java#L117-L133 |
68,862 | OpenLiberty/open-liberty | dev/com.ibm.ws.clientcontainer/src/com/ibm/ws/clientcontainer/internal/ClientRunnerImpl.java | ClientRunnerImpl.processPreDestroy | @FFDCIgnore(InjectionException.class)
private void processPreDestroy() {
ApplicationClient appClient = ((ClientModuleMetaData) cmd.getModuleMetaData()).getAppClient();
boolean isMetadataComplete = appClient.isMetadataComplete();
LifecycleCallbackHelper helper = new LifecycleCallbackHelper(is... | java | @FFDCIgnore(InjectionException.class)
private void processPreDestroy() {
ApplicationClient appClient = ((ClientModuleMetaData) cmd.getModuleMetaData()).getAppClient();
boolean isMetadataComplete = appClient.isMetadataComplete();
LifecycleCallbackHelper helper = new LifecycleCallbackHelper(is... | [
"@",
"FFDCIgnore",
"(",
"InjectionException",
".",
"class",
")",
"private",
"void",
"processPreDestroy",
"(",
")",
"{",
"ApplicationClient",
"appClient",
"=",
"(",
"(",
"ClientModuleMetaData",
")",
"cmd",
".",
"getModuleMetaData",
"(",
")",
")",
".",
"getAppClie... | Process PreDestroy annotation or metadata for Login Callback class. | [
"Process",
"PreDestroy",
"annotation",
"or",
"metadata",
"for",
"Login",
"Callback",
"class",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.clientcontainer/src/com/ibm/ws/clientcontainer/internal/ClientRunnerImpl.java#L138-L153 |
68,863 | OpenLiberty/open-liberty | dev/com.ibm.ws.diagnostics/src/com/ibm/ws/diagnostics/java/NetworkInterfaces.java | NetworkInterfaces.introspect | @Override
public void introspect(final PrintWriter writer) throws Exception {
// Put out a header before the information
writer.println("Network Interface Information");
writer.println("-----------------------------");
// Extract the interface information inside a doPriv
try... | java | @Override
public void introspect(final PrintWriter writer) throws Exception {
// Put out a header before the information
writer.println("Network Interface Information");
writer.println("-----------------------------");
// Extract the interface information inside a doPriv
try... | [
"@",
"Override",
"public",
"void",
"introspect",
"(",
"final",
"PrintWriter",
"writer",
")",
"throws",
"Exception",
"{",
"// Put out a header before the information",
"writer",
".",
"println",
"(",
"\"Network Interface Information\"",
")",
";",
"writer",
".",
"println",... | Introspect all network interfaces for diagnostic information.
@param out the output stream to write diagnostics to | [
"Introspect",
"all",
"network",
"interfaces",
"for",
"diagnostic",
"information",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.diagnostics/src/com/ibm/ws/diagnostics/java/NetworkInterfaces.java#L46-L69 |
68,864 | OpenLiberty/open-liberty | dev/com.ibm.ws.diagnostics/src/com/ibm/ws/diagnostics/java/NetworkInterfaces.java | NetworkInterfaces.getInterfaceInfo | private void getInterfaceInfo(NetworkInterface networkInterface, PrintWriter out) throws IOException {
final String indent = " ";
// Basic information from the interface
out.println();
out.append("Interface: ").append(networkInterface.getDisplayName()).println();
out.append(i... | java | private void getInterfaceInfo(NetworkInterface networkInterface, PrintWriter out) throws IOException {
final String indent = " ";
// Basic information from the interface
out.println();
out.append("Interface: ").append(networkInterface.getDisplayName()).println();
out.append(i... | [
"private",
"void",
"getInterfaceInfo",
"(",
"NetworkInterface",
"networkInterface",
",",
"PrintWriter",
"out",
")",
"throws",
"IOException",
"{",
"final",
"String",
"indent",
"=",
"\" \"",
";",
"// Basic information from the interface",
"out",
".",
"println",
"(",
... | Capture interface specific information and write it to the provided writer.
@param networkInterface the interface to introspect
@param writer the print writer to write information to | [
"Capture",
"interface",
"specific",
"information",
"and",
"write",
"it",
"to",
"the",
"provided",
"writer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.diagnostics/src/com/ibm/ws/diagnostics/java/NetworkInterfaces.java#L77-L105 |
68,865 | OpenLiberty/open-liberty | dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ContextualInvocationHandler.java | ContextualInvocationHandler.invoke | private Object invoke(Method method, Object[] args) throws IllegalAccessException, InvocationTargetException {
ArrayList<ThreadContext> contextAppliedToThread = threadContextDescriptor.taskStarting();
try {
return method.invoke(object, args);
} finally {
threadContextDesc... | java | private Object invoke(Method method, Object[] args) throws IllegalAccessException, InvocationTargetException {
ArrayList<ThreadContext> contextAppliedToThread = threadContextDescriptor.taskStarting();
try {
return method.invoke(object, args);
} finally {
threadContextDesc... | [
"private",
"Object",
"invoke",
"(",
"Method",
"method",
",",
"Object",
"[",
"]",
"args",
")",
"throws",
"IllegalAccessException",
",",
"InvocationTargetException",
"{",
"ArrayList",
"<",
"ThreadContext",
">",
"contextAppliedToThread",
"=",
"threadContextDescriptor",
"... | Apply context, invoke the method, then remove the context from the thread.
@param method the method
@param args method parameters
@return result of the method
@throws IllegalAccessException if unable to access the method
@throws InvocationTargetException if the method fails | [
"Apply",
"context",
"invoke",
"the",
"method",
"then",
"remove",
"the",
"context",
"from",
"the",
"thread",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ContextualInvocationHandler.java#L73-L80 |
68,866 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/ViewDeclarationLanguageFactoryImpl.java | ViewDeclarationLanguageFactoryImpl.initialize | private synchronized void initialize()
{
if (!_initialized)
{
FacesContext context = FacesContext.getCurrentInstance();
if (isFacelets2Enabled(context))
{
logWarningIfLegacyFaceletViewHandlerIsPresent(context);
if (MyfacesConfig.g... | java | private synchronized void initialize()
{
if (!_initialized)
{
FacesContext context = FacesContext.getCurrentInstance();
if (isFacelets2Enabled(context))
{
logWarningIfLegacyFaceletViewHandlerIsPresent(context);
if (MyfacesConfig.g... | [
"private",
"synchronized",
"void",
"initialize",
"(",
")",
"{",
"if",
"(",
"!",
"_initialized",
")",
"{",
"FacesContext",
"context",
"=",
"FacesContext",
".",
"getCurrentInstance",
"(",
")",
";",
"if",
"(",
"isFacelets2Enabled",
"(",
"context",
")",
")",
"{"... | Initialize the supported view declaration languages. | [
"Initialize",
"the",
"supported",
"view",
"declaration",
"languages",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/ViewDeclarationLanguageFactoryImpl.java#L90-L122 |
68,867 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/ViewDeclarationLanguageFactoryImpl.java | ViewDeclarationLanguageFactoryImpl.isFacelets2Enabled | private boolean isFacelets2Enabled(FacesContext context)
{
String param = context.getExternalContext().getInitParameter(PARAM_DISABLE_JSF_FACELET);
boolean facelets2ParamDisabled = (param != null && Boolean.parseBoolean(param.toLowerCase()));
return !facelets2ParamDisabled;
} | java | private boolean isFacelets2Enabled(FacesContext context)
{
String param = context.getExternalContext().getInitParameter(PARAM_DISABLE_JSF_FACELET);
boolean facelets2ParamDisabled = (param != null && Boolean.parseBoolean(param.toLowerCase()));
return !facelets2ParamDisabled;
} | [
"private",
"boolean",
"isFacelets2Enabled",
"(",
"FacesContext",
"context",
")",
"{",
"String",
"param",
"=",
"context",
".",
"getExternalContext",
"(",
")",
".",
"getInitParameter",
"(",
"PARAM_DISABLE_JSF_FACELET",
")",
";",
"boolean",
"facelets2ParamDisabled",
"=",... | Determines if the current application uses Facelets-2.
To accomplish that it looks at the init param javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER,
@param context the <code>FacesContext</code>
@return <code>true</code> if the current application uses the built in Facelets-2,
<code>false</code> otherwise (e.g. it uses Fa... | [
"Determines",
"if",
"the",
"current",
"application",
"uses",
"Facelets",
"-",
"2",
".",
"To",
"accomplish",
"that",
"it",
"looks",
"at",
"the",
"init",
"param",
"javax",
".",
"faces",
".",
"DISABLE_FACELET_JSF_VIEWHANDLER"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/ViewDeclarationLanguageFactoryImpl.java#L132-L138 |
68,868 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/common/logging/LogUtils.java | LogUtils.createLogger | @FFDCIgnore({ MissingResourceException.class, IllegalArgumentException.class })
protected static Logger createLogger(final Class<?> cls,
String name,
String loggerName) {
ClassLoader orig = getContextClassLoader();
Cla... | java | @FFDCIgnore({ MissingResourceException.class, IllegalArgumentException.class })
protected static Logger createLogger(final Class<?> cls,
String name,
String loggerName) {
ClassLoader orig = getContextClassLoader();
Cla... | [
"@",
"FFDCIgnore",
"(",
"{",
"MissingResourceException",
".",
"class",
",",
"IllegalArgumentException",
".",
"class",
"}",
")",
"protected",
"static",
"Logger",
"createLogger",
"(",
"final",
"Class",
"<",
"?",
">",
"cls",
",",
"String",
"name",
",",
"String",
... | Create a logger | [
"Create",
"a",
"logger"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/common/logging/LogUtils.java#L237-L316 |
68,869 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/common/logging/LogUtils.java | LogUtils.log | public static void log(Logger logger,
Level level,
String message,
Throwable throwable,
Object parameter) {
if (logger.isLoggable(level)) {
final String formattedMessage =
... | java | public static void log(Logger logger,
Level level,
String message,
Throwable throwable,
Object parameter) {
if (logger.isLoggable(level)) {
final String formattedMessage =
... | [
"public",
"static",
"void",
"log",
"(",
"Logger",
"logger",
",",
"Level",
"level",
",",
"String",
"message",
",",
"Throwable",
"throwable",
",",
"Object",
"parameter",
")",
"{",
"if",
"(",
"logger",
".",
"isLoggable",
"(",
"level",
")",
")",
"{",
"final"... | Allows both parameter substitution and a typed Throwable to be logged.
@param logger the Logger the log to
@param level the severity level
@param message the log message
@param throwable the Throwable to log
@param parameter the parameter to substitute into message | [
"Allows",
"both",
"parameter",
"substitution",
"and",
"a",
"typed",
"Throwable",
"to",
"be",
"logged",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/common/logging/LogUtils.java#L367-L377 |
68,870 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/common/logging/LogUtils.java | LogUtils.localize | private static String localize(Logger logger, String message) {
ResourceBundle bundle = logger.getResourceBundle();
try {
return bundle != null ? bundle.getString(message) : message;
} catch (MissingResourceException ex) {
//string not in the bundle
return mes... | java | private static String localize(Logger logger, String message) {
ResourceBundle bundle = logger.getResourceBundle();
try {
return bundle != null ? bundle.getString(message) : message;
} catch (MissingResourceException ex) {
//string not in the bundle
return mes... | [
"private",
"static",
"String",
"localize",
"(",
"Logger",
"logger",
",",
"String",
"message",
")",
"{",
"ResourceBundle",
"bundle",
"=",
"logger",
".",
"getResourceBundle",
"(",
")",
";",
"try",
"{",
"return",
"bundle",
"!=",
"null",
"?",
"bundle",
".",
"g... | Retrieve localized message retrieved from a logger's resource
bundle.
@param logger the Logger
@param message the message to be localized | [
"Retrieve",
"localized",
"message",
"retrieved",
"from",
"a",
"logger",
"s",
"resource",
"bundle",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/common/logging/LogUtils.java#L499-L507 |
68,871 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java | IdTable.add | public synchronized int add(Object value)
throws IdTableFullException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "add", value);
if (value == null) throw new SIErrorException(nls.getFormattedMessage("IDTABLE_INTERNAL_SICJ0050", null, "IDTABLE_INTERNAL_SICJ0050")); // D226232
int ... | java | public synchronized int add(Object value)
throws IdTableFullException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "add", value);
if (value == null) throw new SIErrorException(nls.getFormattedMessage("IDTABLE_INTERNAL_SICJ0050", null, "IDTABLE_INTERNAL_SICJ0050")); // D226232
int ... | [
"public",
"synchronized",
"int",
"add",
"(",
"Object",
"value",
")",
"throws",
"IdTableFullException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"add\"",
",",
"value",
")",
";",
"i... | Adds an object to the table and returns the ID associated with the
object in the table. The object will never be assigned an ID which
clashes with another object.
@param value The object to store in the table
@return int The ID value that has been associated with the object.
@throws IdTableFullException Thrown if ther... | [
"Adds",
"an",
"object",
"to",
"the",
"table",
"and",
"returns",
"the",
"ID",
"associated",
"with",
"the",
"object",
"in",
"the",
"table",
".",
"The",
"object",
"will",
"never",
"be",
"assigned",
"an",
"ID",
"which",
"clashes",
"with",
"another",
"object",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java#L100-L137 |
68,872 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java | IdTable.remove | public synchronized Object remove(int id)
throws IllegalArgumentException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "remove", ""+id);
Object returnValue = get(id);
if (returnValue != null) table[id] = null;
if (id < lowestPossibleFree) lowestPossibleFree = id;
... | java | public synchronized Object remove(int id)
throws IllegalArgumentException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "remove", ""+id);
Object returnValue = get(id);
if (returnValue != null) table[id] = null;
if (id < lowestPossibleFree) lowestPossibleFree = id;
... | [
"public",
"synchronized",
"Object",
"remove",
"(",
"int",
"id",
")",
"throws",
"IllegalArgumentException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"remove\"",
",",
"\"\"",
"+",
"id... | Removes an object from the table.
@param id The ID of the object to remove. It is valid to specify
an ID which does not map to an object, this is effectivly a no-op.
@return Object The object which was removed or null if the ID did
not map to an object.
@throws IllegalArgumentException Thrown if the id specified is le... | [
"Removes",
"an",
"object",
"from",
"the",
"table",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java#L149-L173 |
68,873 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java | IdTable.get | public synchronized Object get(int id)
throws IllegalArgumentException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "get", ""+id);
if ((id < 1) || (id > maxSize)) throw new SIErrorException(nls.getFormattedMessage("IDTABLE_INTERNAL_SICJ0050", null, "IDTABLE_INTERNAL_SICJ0050")); // D226232
... | java | public synchronized Object get(int id)
throws IllegalArgumentException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "get", ""+id);
if ((id < 1) || (id > maxSize)) throw new SIErrorException(nls.getFormattedMessage("IDTABLE_INTERNAL_SICJ0050", null, "IDTABLE_INTERNAL_SICJ0050")); // D226232
... | [
"public",
"synchronized",
"Object",
"get",
"(",
"int",
"id",
")",
"throws",
"IllegalArgumentException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"get\"",
",",
"\"\"",
"+",
"id",
"... | Gets an object from the table by ID. Returns the object associated
with the specified ID. It is valid to specify an ID which does not
have an object associated with it. In this case, a value of
null is returned.
@param id The ID to get the object associated with.
@return Object The object associated with the ID or n... | [
"Gets",
"an",
"object",
"from",
"the",
"table",
"by",
"ID",
".",
"Returns",
"the",
"object",
"associated",
"with",
"the",
"specified",
"ID",
".",
"It",
"is",
"valid",
"to",
"specify",
"an",
"ID",
"which",
"does",
"not",
"have",
"an",
"object",
"associate... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java#L206-L216 |
68,874 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java | IdTable.growTable | private void growTable()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "growTable");
int newSize = Math.min(table.length+TABLE_GROWTH_INCREMENT, maxSize);
if (tc.isDebugEnabled()) SibTr.debug(this, tc, "existing size="+table.length+" new size="+newSize);
Object[] newTable = new Object[ne... | java | private void growTable()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "growTable");
int newSize = Math.min(table.length+TABLE_GROWTH_INCREMENT, maxSize);
if (tc.isDebugEnabled()) SibTr.debug(this, tc, "existing size="+table.length+" new size="+newSize);
Object[] newTable = new Object[ne... | [
"private",
"void",
"growTable",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"growTable\"",
")",
";",
"int",
"newSize",
"=",
"Math",
".",
"min",
"(",
"table",
".",
"leng... | Helper method which increases the size of the table by a factor of
TABLE_GROWTH_INCREMENT until the maximum size for the table is
achieved. | [
"Helper",
"method",
"which",
"increases",
"the",
"size",
"of",
"the",
"table",
"by",
"a",
"factor",
"of",
"TABLE_GROWTH_INCREMENT",
"until",
"the",
"maximum",
"size",
"for",
"the",
"table",
"is",
"achieved",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java#L223-L232 |
68,875 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java | IdTable.findFreeSlot | private int findFreeSlot()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "findFreeSlot");
boolean foundFreeSlot = false;
int index = lowestPossibleFree;
int largestIndex = Math.min(highWaterMark, table.length-1);
while ((!foundFreeSlot) && (index <= largestIndex))
{
... | java | private int findFreeSlot()
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "findFreeSlot");
boolean foundFreeSlot = false;
int index = lowestPossibleFree;
int largestIndex = Math.min(highWaterMark, table.length-1);
while ((!foundFreeSlot) && (index <= largestIndex))
{
... | [
"private",
"int",
"findFreeSlot",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"findFreeSlot\"",
")",
";",
"boolean",
"foundFreeSlot",
"=",
"false",
";",
"int",
"index",
"="... | Helper method which attempts to locate a free slot in the table.
The algorithm used is to scan from the lowest possible free value
looking for an entry with a null value. If more than half the
table is scanned before a free slot is found, then the code also
attempts to move the high watermark back towards the beginnin... | [
"Helper",
"method",
"which",
"attempts",
"to",
"locate",
"a",
"free",
"slot",
"in",
"the",
"table",
".",
"The",
"algorithm",
"used",
"is",
"to",
"scan",
"from",
"the",
"lowest",
"possible",
"free",
"value",
"looking",
"for",
"an",
"entry",
"with",
"a",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/impl/IdTable.java#L244-L281 |
68,876 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java | RequestMessage.init | public void init(HttpInboundConnection conn, SessionManager sessMgr) {
this.connection = conn;
this.request = conn.getRequest();
this.sessionData = new SessionInfo(this, sessMgr);
} | java | public void init(HttpInboundConnection conn, SessionManager sessMgr) {
this.connection = conn;
this.request = conn.getRequest();
this.sessionData = new SessionInfo(this, sessMgr);
} | [
"public",
"void",
"init",
"(",
"HttpInboundConnection",
"conn",
",",
"SessionManager",
"sessMgr",
")",
"{",
"this",
".",
"connection",
"=",
"conn",
";",
"this",
".",
"request",
"=",
"conn",
".",
"getRequest",
"(",
")",
";",
"this",
".",
"sessionData",
"=",... | Initialize this request with the input link.
@param conn | [
"Initialize",
"this",
"request",
"with",
"the",
"input",
"link",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java#L121-L125 |
68,877 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java | RequestMessage.clear | public void clear() {
this.attributes.clear();
this.queryParameters = null;
this.inReader = null;
this.streamActive = false;
this.inStream = null;
this.encoding = null;
this.sessionData = null;
this.strippedURI = null;
this.srvContext = null;
... | java | public void clear() {
this.attributes.clear();
this.queryParameters = null;
this.inReader = null;
this.streamActive = false;
this.inStream = null;
this.encoding = null;
this.sessionData = null;
this.strippedURI = null;
this.srvContext = null;
... | [
"public",
"void",
"clear",
"(",
")",
"{",
"this",
".",
"attributes",
".",
"clear",
"(",
")",
";",
"this",
".",
"queryParameters",
"=",
"null",
";",
"this",
".",
"inReader",
"=",
"null",
";",
"this",
".",
"streamActive",
"=",
"false",
";",
"this",
"."... | Clear all the temporary variables of this request. | [
"Clear",
"all",
"the",
"temporary",
"variables",
"of",
"this",
"request",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java#L130-L144 |
68,878 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java | RequestMessage.parseQueryFormData | private void parseQueryFormData() throws IOException {
int size = getContentLength();
if (0 == size) {
// no body present
this.queryParameters = new HashMap<String, String[]>();
return;
} else if (-1 == size) {
// chunked encoded perhaps
... | java | private void parseQueryFormData() throws IOException {
int size = getContentLength();
if (0 == size) {
// no body present
this.queryParameters = new HashMap<String, String[]>();
return;
} else if (-1 == size) {
// chunked encoded perhaps
... | [
"private",
"void",
"parseQueryFormData",
"(",
")",
"throws",
"IOException",
"{",
"int",
"size",
"=",
"getContentLength",
"(",
")",
";",
"if",
"(",
"0",
"==",
"size",
")",
"{",
"// no body present",
"this",
".",
"queryParameters",
"=",
"new",
"HashMap",
"<",
... | Read and parse the POST body data that represents query data.
@throws IOException | [
"Read",
"and",
"parse",
"the",
"POST",
"body",
"data",
"that",
"represents",
"query",
"data",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java#L693-L712 |
68,879 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java | RequestMessage.parseQueryString | private Map<String, String[]> parseQueryString(String data) {
Map<String, String[]> map = new Hashtable<String, String[]>();
if (null == data) {
return map;
}
String valArray[] = null;
char[] chars = data.toCharArray();
int key_start = 0;
for (int i = ... | java | private Map<String, String[]> parseQueryString(String data) {
Map<String, String[]> map = new Hashtable<String, String[]>();
if (null == data) {
return map;
}
String valArray[] = null;
char[] chars = data.toCharArray();
int key_start = 0;
for (int i = ... | [
"private",
"Map",
"<",
"String",
",",
"String",
"[",
"]",
">",
"parseQueryString",
"(",
"String",
"data",
")",
"{",
"Map",
"<",
"String",
",",
"String",
"[",
"]",
">",
"map",
"=",
"new",
"Hashtable",
"<",
"String",
",",
"String",
"[",
"]",
">",
"("... | Parse a string of query parameters into a Map representing the values
stored using the name as the key.
@param data
@return Map
@throws IllegalArgumentException
if the string is formatted incorrectly | [
"Parse",
"a",
"string",
"of",
"query",
"parameters",
"into",
"a",
"Map",
"representing",
"the",
"values",
"stored",
"using",
"the",
"name",
"as",
"the",
"key",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java#L774-L811 |
68,880 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java | RequestMessage.mergeQueryParams | private void mergeQueryParams(Map<String, String[]> urlParams) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "mergeQueryParams: " + urlParams);
}
for (Entry<String, String[]> entry : urlParams.entrySet()) {
String key = entry.getKey();
... | java | private void mergeQueryParams(Map<String, String[]> urlParams) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "mergeQueryParams: " + urlParams);
}
for (Entry<String, String[]> entry : urlParams.entrySet()) {
String key = entry.getKey();
... | [
"private",
"void",
"mergeQueryParams",
"(",
"Map",
"<",
"String",
",",
"String",
"[",
"]",
">",
"urlParams",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
... | In certain cases, the URL will contain query string information and the
POST body will as well. This method merges the two maps together.
@param urlParams | [
"In",
"certain",
"cases",
"the",
"URL",
"will",
"contain",
"query",
"string",
"information",
"and",
"the",
"POST",
"body",
"will",
"as",
"well",
".",
"This",
"method",
"merges",
"the",
"two",
"maps",
"together",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java#L819-L843 |
68,881 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java | RequestMessage.getCipherSuite | private String getCipherSuite() {
String suite = null;
SSLContext ssl = this.connection.getSSLContext();
if (null != ssl) {
suite = ssl.getSession().getCipherSuite();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getCip... | java | private String getCipherSuite() {
String suite = null;
SSLContext ssl = this.connection.getSSLContext();
if (null != ssl) {
suite = ssl.getSession().getCipherSuite();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "getCip... | [
"private",
"String",
"getCipherSuite",
"(",
")",
"{",
"String",
"suite",
"=",
"null",
";",
"SSLContext",
"ssl",
"=",
"this",
".",
"connection",
".",
"getSSLContext",
"(",
")",
";",
"if",
"(",
"null",
"!=",
"ssl",
")",
"{",
"suite",
"=",
"ssl",
".",
"... | Access the SSL cipher suite used in this connection.
@return String - null if this is not a secure connection | [
"Access",
"the",
"SSL",
"cipher",
"suite",
"used",
"in",
"this",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java#L1085-L1095 |
68,882 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java | RequestMessage.getPeerCertificates | private X509Certificate[] getPeerCertificates() {
X509Certificate[] rc = null;
SSLContext ssl = this.connection.getSSLContext();
if (null != ssl && (ssl.getNeedClientAuth() || ssl.getWantClientAuth())) {
try {
Object[] objs = ssl.getSession().getPeerCertificates();
... | java | private X509Certificate[] getPeerCertificates() {
X509Certificate[] rc = null;
SSLContext ssl = this.connection.getSSLContext();
if (null != ssl && (ssl.getNeedClientAuth() || ssl.getWantClientAuth())) {
try {
Object[] objs = ssl.getSession().getPeerCertificates();
... | [
"private",
"X509Certificate",
"[",
"]",
"getPeerCertificates",
"(",
")",
"{",
"X509Certificate",
"[",
"]",
"rc",
"=",
"null",
";",
"SSLContext",
"ssl",
"=",
"this",
".",
"connection",
".",
"getSSLContext",
"(",
")",
";",
"if",
"(",
"null",
"!=",
"ssl",
"... | Access any client SSL certificates for this connection.
@return X509Certificate[] - null if non-ssl or none exist | [
"Access",
"any",
"client",
"SSL",
"certificates",
"for",
"this",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/servlet/internal/RequestMessage.java#L1102-L1128 |
68,883 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.removeTarget | public void removeTarget(Object key) throws MatchingException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc,
"removeTarget",
new Object[]{key});
// Remove from the HashMap, with synch, there may be other accessors
synchronized(_... | java | public void removeTarget(Object key) throws MatchingException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc,
"removeTarget",
new Object[]{key});
// Remove from the HashMap, with synch, there may be other accessors
synchronized(_... | [
"public",
"void",
"removeTarget",
"(",
"Object",
"key",
")",
"throws",
"MatchingException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"... | Remove a target from the MatchSpace
@param key the identity of the target to remove (established at addTarget time)
@exception MatchingException if key undefined or on serious error | [
"Remove",
"a",
"target",
"from",
"the",
"MatchSpace"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L452-L478 |
68,884 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.removeConsumerPointMatchTarget | public void removeConsumerPointMatchTarget(DispatchableKey consumerPointData)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumerPointMatchTarget", consumerPointData);
// Remove the consumer point from the matchspace
try
{
removeTarget(consum... | java | public void removeConsumerPointMatchTarget(DispatchableKey consumerPointData)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeConsumerPointMatchTarget", consumerPointData);
// Remove the consumer point from the matchspace
try
{
removeTarget(consum... | [
"public",
"void",
"removeConsumerPointMatchTarget",
"(",
"DispatchableKey",
"consumerPointData",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",... | Method removeConsumerPointMatchTarget
Used to remove a ConsumerPoint from the MatchSpace.
@param consumerPointData The consumer to remove | [
"Method",
"removeConsumerPointMatchTarget",
"Used",
"to",
"remove",
"a",
"ConsumerPoint",
"from",
"the",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L784-L827 |
68,885 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.addPubSubOutputHandlerMatchTarget | public ControllableProxySubscription addPubSubOutputHandlerMatchTarget(
PubSubOutputHandler handler,
SIBUuid12 topicSpace,
String discriminator,
boolean foreignSecuredProxy,
String MESubUserId)
throws
SIDiscriminatorSyntaxException,
SISelectorSyntaxException
{
if (TraceComponen... | java | public ControllableProxySubscription addPubSubOutputHandlerMatchTarget(
PubSubOutputHandler handler,
SIBUuid12 topicSpace,
String discriminator,
boolean foreignSecuredProxy,
String MESubUserId)
throws
SIDiscriminatorSyntaxException,
SISelectorSyntaxException
{
if (TraceComponen... | [
"public",
"ControllableProxySubscription",
"addPubSubOutputHandlerMatchTarget",
"(",
"PubSubOutputHandler",
"handler",
",",
"SIBUuid12",
"topicSpace",
",",
"String",
"discriminator",
",",
"boolean",
"foreignSecuredProxy",
",",
"String",
"MESubUserId",
")",
"throws",
"SIDiscri... | Used to add a PubSubOutputHandler for ME-ME comms to the MatchSpace.
@param handler The PubSubOutputHandler
@param topicSpace The topicSpace to add the outputhandler against
@param discriminator The topic for the subscription
@param foreignSecuredProxy Flag to indicate whether a proxy sub
originated from a foreign b... | [
"Used",
"to",
"add",
"a",
"PubSubOutputHandler",
"for",
"ME",
"-",
"ME",
"comms",
"to",
"the",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1001-L1100 |
68,886 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.removeConsumerDispatcherMatchTarget | public void removeConsumerDispatcherMatchTarget(ConsumerDispatcher consumerDispatcher, SelectionCriteria selectionCriteria)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"removeConsumerDispatcherMatchTarget",
new Object[] {consumerDispatcher, sel... | java | public void removeConsumerDispatcherMatchTarget(ConsumerDispatcher consumerDispatcher, SelectionCriteria selectionCriteria)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"removeConsumerDispatcherMatchTarget",
new Object[] {consumerDispatcher, sel... | [
"public",
"void",
"removeConsumerDispatcherMatchTarget",
"(",
"ConsumerDispatcher",
"consumerDispatcher",
",",
"SelectionCriteria",
"selectionCriteria",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
... | Method removeConsumerDispatcherMatchTarget
Used to remove a ConsumerDispatcher from the MatchSpace.
@param consumerDispatcher The consumer dispatcher to remove | [
"Method",
"removeConsumerDispatcherMatchTarget",
"Used",
"to",
"remove",
"a",
"ConsumerDispatcher",
"from",
"the",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1247-L1299 |
68,887 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.removePubSubOutputHandlerMatchTarget | public void removePubSubOutputHandlerMatchTarget(
ControllableProxySubscription sub)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removePubSubOutputHandlerMatchTarget", sub);
// Remove the PubSub OutputHandler from the matchspace
try
{
removeTarg... | java | public void removePubSubOutputHandlerMatchTarget(
ControllableProxySubscription sub)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removePubSubOutputHandlerMatchTarget", sub);
// Remove the PubSub OutputHandler from the matchspace
try
{
removeTarg... | [
"public",
"void",
"removePubSubOutputHandlerMatchTarget",
"(",
"ControllableProxySubscription",
"sub",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
... | Method removePubSubOutputHandlerMatchTarget
Used to remove a PubSubOutputHandler from the MatchSpace.
@param sub the subscription to remove | [
"Method",
"removePubSubOutputHandlerMatchTarget",
"Used",
"to",
"remove",
"a",
"PubSubOutputHandler",
"from",
"the",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1307-L1349 |
68,888 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.buildSendTopicExpression | private String buildSendTopicExpression(
String destName,
String discriminator)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"buildSendTopicExpression",
new Object[] { destName, discriminator });
String combo = null;
if (discri... | java | private String buildSendTopicExpression(
String destName,
String discriminator)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"buildSendTopicExpression",
new Object[] { destName, discriminator });
String combo = null;
if (discri... | [
"private",
"String",
"buildSendTopicExpression",
"(",
"String",
"destName",
",",
"String",
"discriminator",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(... | Concatenates topicspace and a topic expression with a level separator between
Null or empty topics are treated as topics at the root level so the
combination topic becomes topicSpace/
@param topicSpace The topicspace name
@param discriminator The topic | [
"Concatenates",
"topicspace",
"and",
"a",
"topic",
"expression",
"with",
"a",
"level",
"separator",
"between"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1360-L1384 |
68,889 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.buildAddTopicExpression | public String buildAddTopicExpression(
String destName,
String discriminator) throws SIDiscriminatorSyntaxException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"buildAddTopicExpression",
new Object[] { destName, discriminator });
S... | java | public String buildAddTopicExpression(
String destName,
String discriminator) throws SIDiscriminatorSyntaxException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"buildAddTopicExpression",
new Object[] { destName, discriminator });
S... | [
"public",
"String",
"buildAddTopicExpression",
"(",
"String",
"destName",
",",
"String",
"discriminator",
")",
"throws",
"SIDiscriminatorSyntaxException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
... | Concatenates topicspace and a topic expression with a level separator between.
Null topics are treated as wildcarded topics at the root level so the
combination topic becomes topicSpace//.
Empty topics are treated as a subscription to the root level so becomes
topicSpace/
Topics that begin // need to be treated as top... | [
"Concatenates",
"topicspace",
"and",
"a",
"topic",
"expression",
"with",
"a",
"level",
"separator",
"between",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1401-L1445 |
68,890 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.getAllCDMatchTargets | public ArrayList getAllCDMatchTargets()
{
ArrayList consumerDispatcherList;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getAllCDMatchTargets");
// Get from the HashMap, with synch, there may be other accessors
synchronized(_targets)
{
consumerDis... | java | public ArrayList getAllCDMatchTargets()
{
ArrayList consumerDispatcherList;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getAllCDMatchTargets");
// Get from the HashMap, with synch, there may be other accessors
synchronized(_targets)
{
consumerDis... | [
"public",
"ArrayList",
"getAllCDMatchTargets",
"(",
")",
"{",
"ArrayList",
"consumerDispatcherList",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
","... | Method getAllCDMatchTargets
Used to return a list of all ConsumerDispatchers stored in the matchspace
@return List of matching consumers | [
"Method",
"getAllCDMatchTargets",
"Used",
"to",
"return",
"a",
"list",
"of",
"all",
"ConsumerDispatchers",
"stored",
"in",
"the",
"matchspace"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1453-L1480 |
68,891 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.getAllCDMatchTargetsForTopicSpace | public ArrayList getAllCDMatchTargetsForTopicSpace(String tSpace)
{
ArrayList consumerDispatcherList;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getAllCDMatchTargetsForTopicSpace");
// Get from the HashMap, with synch, there may be other accessors
synchro... | java | public ArrayList getAllCDMatchTargetsForTopicSpace(String tSpace)
{
ArrayList consumerDispatcherList;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getAllCDMatchTargetsForTopicSpace");
// Get from the HashMap, with synch, there may be other accessors
synchro... | [
"public",
"ArrayList",
"getAllCDMatchTargetsForTopicSpace",
"(",
"String",
"tSpace",
")",
"{",
"ArrayList",
"consumerDispatcherList",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
... | Method getAllCDMatchTargetsForTopicSpace
Used to return a list of all ConsumerDispatchers stored in the matchspace
for a specific topicspace.
@return List of matching consumers | [
"Method",
"getAllCDMatchTargetsForTopicSpace",
"Used",
"to",
"return",
"a",
"list",
"of",
"all",
"ConsumerDispatchers",
"stored",
"in",
"the",
"matchspace",
"for",
"a",
"specific",
"topicspace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1489-L1521 |
68,892 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.getAllPubSubOutputHandlerMatchTargets | public ArrayList getAllPubSubOutputHandlerMatchTargets()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getAllPubSubOutputHandlerMatchTargets");
ArrayList outputHandlerList;
// Get from the HashMap, with synch, there may be other accessors
synchronized(_tar... | java | public ArrayList getAllPubSubOutputHandlerMatchTargets()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getAllPubSubOutputHandlerMatchTargets");
ArrayList outputHandlerList;
// Get from the HashMap, with synch, there may be other accessors
synchronized(_tar... | [
"public",
"ArrayList",
"getAllPubSubOutputHandlerMatchTargets",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getAllPubSubOutputHandlerM... | Method getAllPubSubOutputHandlerMatchTargets
Used to return a list of all PubSubOutputHandlers stored in the matchspace
@return List of matching outputhandlers | [
"Method",
"getAllPubSubOutputHandlerMatchTargets",
"Used",
"to",
"return",
"a",
"list",
"of",
"all",
"PubSubOutputHandlers",
"stored",
"in",
"the",
"matchspace"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1529-L1560 |
68,893 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.addTopicAcl | public void addTopicAcl(SIBUuid12 destName, TopicAcl acl)
throws
SIDiscriminatorSyntaxException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "addTopicAcl", new Object[] { destName, acl });
String discriminator = null;
// Postpend # wildcard to the ful... | java | public void addTopicAcl(SIBUuid12 destName, TopicAcl acl)
throws
SIDiscriminatorSyntaxException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "addTopicAcl", new Object[] { destName, acl });
String discriminator = null;
// Postpend # wildcard to the ful... | [
"public",
"void",
"addTopicAcl",
"(",
"SIBUuid12",
"destName",
",",
"TopicAcl",
"acl",
")",
"throws",
"SIDiscriminatorSyntaxException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Sib... | Method addTopicAcl
Used to add a TopicAcl to the MatchSpace.
@param acl The TopicAcl | [
"Method",
"addTopicAcl",
"Used",
"to",
"add",
"a",
"TopicAcl",
"to",
"the",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L1850-L1938 |
68,894 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.removeAllTopicAcls | public void removeAllTopicAcls()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeAllTopicAcls");
ArrayList topicAclList = null;
try
{
// Remove from the HashMap, with synch, there may be other accessors
synchronized(_targets)
{
... | java | public void removeAllTopicAcls()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeAllTopicAcls");
ArrayList topicAclList = null;
try
{
// Remove from the HashMap, with synch, there may be other accessors
synchronized(_targets)
{
... | [
"public",
"void",
"removeAllTopicAcls",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeAllTopicAcls\"",
")",
";",
"ArrayList"... | Method removeAllTopicAcls
Used to remove all TopicAcls stored in the matchspace | [
"Method",
"removeAllTopicAcls",
"Used",
"to",
"remove",
"all",
"TopicAcls",
"stored",
"in",
"the",
"matchspace"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L2107-L2175 |
68,895 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java | MessageProcessorMatching.removeApplicationSignatureMatchTarget | public void removeApplicationSignatureMatchTarget(ApplicationSignature appSignature)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeApplicationSignatureMatchTarget", appSignature);
// Remove the consumer point from the matchspace
try
{
removeTarg... | java | public void removeApplicationSignatureMatchTarget(ApplicationSignature appSignature)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeApplicationSignatureMatchTarget", appSignature);
// Remove the consumer point from the matchspace
try
{
removeTarg... | [
"public",
"void",
"removeApplicationSignatureMatchTarget",
"(",
"ApplicationSignature",
"appSignature",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",... | Method removeApplicationSignatureMatchTarget
Used to remove a ApplicationSignature from the MatchSpace.
@param consumerPointData The ApplicationSignature to remove | [
"Method",
"removeApplicationSignatureMatchTarget",
"Used",
"to",
"remove",
"a",
"ApplicationSignature",
"from",
"the",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MessageProcessorMatching.java#L2989-L3032 |
68,896 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.faulttolerance.cdi/src/com/ibm/ws/microprofile/faulttolerance/cdi/FaultToleranceCDIComponent.java | FaultToleranceCDIComponent.setProvider | @Reference(policy = DYNAMIC, policyOption = GREEDY, cardinality = MANDATORY)
protected void setProvider(MetricRecorderProvider provider) {
metricProvider = provider;
} | java | @Reference(policy = DYNAMIC, policyOption = GREEDY, cardinality = MANDATORY)
protected void setProvider(MetricRecorderProvider provider) {
metricProvider = provider;
} | [
"@",
"Reference",
"(",
"policy",
"=",
"DYNAMIC",
",",
"policyOption",
"=",
"GREEDY",
",",
"cardinality",
"=",
"MANDATORY",
")",
"protected",
"void",
"setProvider",
"(",
"MetricRecorderProvider",
"provider",
")",
"{",
"metricProvider",
"=",
"provider",
";",
"}"
] | Require a provider, update dynamically if a new one becomes available | [
"Require",
"a",
"provider",
"update",
"dynamically",
"if",
"a",
"new",
"one",
"becomes",
"available"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.faulttolerance.cdi/src/com/ibm/ws/microprofile/faulttolerance/cdi/FaultToleranceCDIComponent.java#L43-L46 |
68,897 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TransactionImpl.java | TransactionImpl.recover | synchronized public void recover() {
if (tc.isEntryEnabled())
Tr.entry(tc, "recover", this);
final int state = _status.getState();
if (_subordinate) {
// For a subordinate, first check whether the global outcome is known locally.
switch (state) {
... | java | synchronized public void recover() {
if (tc.isEntryEnabled())
Tr.entry(tc, "recover", this);
final int state = _status.getState();
if (_subordinate) {
// For a subordinate, first check whether the global outcome is known locally.
switch (state) {
... | [
"synchronized",
"public",
"void",
"recover",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"recover\"",
",",
"this",
")",
";",
"final",
"int",
"state",
"=",
"_status",
".",
"getState",
"("... | Directs the TransactionImpl to perform recovery actions based on its
reconstructed state after a failure, or after an in-doubt timeout has
occurred.
This method is called by the RecoveryManager during recovery, in which case
there is no terminator object, or during normal operation if the transaction
commit retry inter... | [
"Directs",
"the",
"TransactionImpl",
"to",
"perform",
"recovery",
"actions",
"based",
"on",
"its",
"reconstructed",
"state",
"after",
"a",
"failure",
"or",
"after",
"an",
"in",
"-",
"doubt",
"timeout",
"has",
"occurred",
".",
"This",
"method",
"is",
"called",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TransactionImpl.java#L567-L658 |
68,898 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TransactionImpl.java | TransactionImpl.commit | @Override
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException {
if (tc.isEntryEnabled())
Tr.entry(tc, "commit (SPI)");
try {
processCommit();
} catch (HeuristicH... | java | @Override
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException {
if (tc.isEntryEnabled())
Tr.entry(tc, "commit (SPI)");
try {
processCommit();
} catch (HeuristicH... | [
"@",
"Override",
"public",
"void",
"commit",
"(",
")",
"throws",
"RollbackException",
",",
"HeuristicMixedException",
",",
"HeuristicRollbackException",
",",
"SecurityException",
",",
"IllegalStateException",
",",
"SystemException",
"{",
"if",
"(",
"tc",
".",
"isEntry... | Commit the transation associated with the target Transaction object
This call should only be made from the root.
@exception RollbackException Thrown to indicate that
the transaction has been rolled back rather than committed.
@exception HeuristicMixedException Thrown to indicate that a heuristic
mix decision was mad... | [
"Commit",
"the",
"transation",
"associated",
"with",
"the",
"target",
"Transaction",
"object"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TransactionImpl.java#L705-L724 |
68,899 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TransactionImpl.java | TransactionImpl.commit_one_phase | public void commit_one_phase() throws RollbackException, HeuristicMixedException, HeuristicHazardException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException {
if (tc.isEntryEnabled())
Tr.entry(tc, "commit_one_phase");
// This call is only valid for a sin... | java | public void commit_one_phase() throws RollbackException, HeuristicMixedException, HeuristicHazardException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException {
if (tc.isEntryEnabled())
Tr.entry(tc, "commit_one_phase");
// This call is only valid for a sin... | [
"public",
"void",
"commit_one_phase",
"(",
")",
"throws",
"RollbackException",
",",
"HeuristicMixedException",
",",
"HeuristicHazardException",
",",
"HeuristicRollbackException",
",",
"SecurityException",
",",
"IllegalStateException",
",",
"SystemException",
"{",
"if",
"(",... | Commit the transation associated with a subordinate which received
a commit_one_phase request from the superior. Any other
subordinate requests should call the internal methods directly.
@exception RollbackException Thrown to indicate that
the transaction has been rolled back rather than committed.
@exception Heurist... | [
"Commit",
"the",
"transation",
"associated",
"with",
"a",
"subordinate",
"which",
"received",
"a",
"commit_one_phase",
"request",
"from",
"the",
"superior",
".",
"Any",
"other",
"subordinate",
"requests",
"should",
"call",
"the",
"internal",
"methods",
"directly",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/TransactionImpl.java#L752-L765 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.