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
67,100
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.init
public void init(HttpInboundServiceContext sc) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); }
java
public void init(HttpInboundServiceContext sc) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); }
[ "public", "void", "init", "(", "HttpInboundServiceContext", "sc", ")", "{", "// for requests, we don't care about the validation", "setHeaderValidation", "(", "false", ")", ";", "setOwner", "(", "sc", ")", ";", "setBinaryParseState", "(", "HttpInternalConstants", ".", "...
Initialize this incoming HTTP request message. @param sc
[ "Initialize", "this", "incoming", "HTTP", "request", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L159-L164
67,101
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.init
public void init(HttpOutboundServiceContext sc) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); setVersion(getServiceContext().getHttpConfig().getOutgoingVersion());...
java
public void init(HttpOutboundServiceContext sc) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); setVersion(getServiceContext().getHttpConfig().getOutgoingVersion());...
[ "public", "void", "init", "(", "HttpOutboundServiceContext", "sc", ")", "{", "// for requests, we don't care about the validation", "setHeaderValidation", "(", "false", ")", ";", "setOwner", "(", "sc", ")", ";", "setBinaryParseState", "(", "HttpInternalConstants", ".", ...
Initialize this outgoing HTTP request message. @param sc
[ "Initialize", "this", "outgoing", "HTTP", "request", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L171-L177
67,102
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.init
public void init(HttpInboundServiceContext sc, BNFHeaders hdrs) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); if (null != hdrs) { hdrs.duplicate(this);...
java
public void init(HttpInboundServiceContext sc, BNFHeaders hdrs) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); if (null != hdrs) { hdrs.duplicate(this);...
[ "public", "void", "init", "(", "HttpInboundServiceContext", "sc", ",", "BNFHeaders", "hdrs", ")", "{", "// for requests, we don't care about the validation", "setHeaderValidation", "(", "false", ")", ";", "setOwner", "(", "sc", ")", ";", "setBinaryParseState", "(", "H...
Initialize this incoming HTTP request message with specific headers, ie. ones stored in a cache perhaps. @param sc @param hdrs
[ "Initialize", "this", "incoming", "HTTP", "request", "message", "with", "specific", "headers", "ie", ".", "ones", "stored", "in", "a", "cache", "perhaps", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L186-L194
67,103
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.init
public void init(HttpOutboundServiceContext sc, BNFHeaders hdrs) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); if (null != hdrs) { hdrs.duplicate(this)...
java
public void init(HttpOutboundServiceContext sc, BNFHeaders hdrs) { // for requests, we don't care about the validation setHeaderValidation(false); setOwner(sc); setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION); if (null != hdrs) { hdrs.duplicate(this)...
[ "public", "void", "init", "(", "HttpOutboundServiceContext", "sc", ",", "BNFHeaders", "hdrs", ")", "{", "// for requests, we don't care about the validation", "setHeaderValidation", "(", "false", ")", ";", "setOwner", "(", "sc", ")", ";", "setBinaryParseState", "(", "...
Initialize this outgoing HTTP request message with specific headers, ie. ones stored in a cache perhaps. @param sc @param hdrs
[ "Initialize", "this", "outgoing", "HTTP", "request", "message", "with", "specific", "headers", "ie", ".", "ones", "stored", "in", "a", "cache", "perhaps", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L203-L212
67,104
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.encodePseudoHeaders
@Override public WsByteBuffer[] encodePseudoHeaders() { WsByteBuffer[] firstLine = new WsByteBuffer[1]; firstLine[0] = allocateBuffer(getOutgoingBufferSize()); LiteralIndexType indexType = LiteralIndexType.NOINDEXING; //For the time being, there will be no indexing on the responses ...
java
@Override public WsByteBuffer[] encodePseudoHeaders() { WsByteBuffer[] firstLine = new WsByteBuffer[1]; firstLine[0] = allocateBuffer(getOutgoingBufferSize()); LiteralIndexType indexType = LiteralIndexType.NOINDEXING; //For the time being, there will be no indexing on the responses ...
[ "@", "Override", "public", "WsByteBuffer", "[", "]", "encodePseudoHeaders", "(", ")", "{", "WsByteBuffer", "[", "]", "firstLine", "=", "new", "WsByteBuffer", "[", "1", "]", ";", "firstLine", "[", "0", "]", "=", "allocateBuffer", "(", "getOutgoingBufferSize", ...
of the first line.
[ "of", "the", "first", "line", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L557-L606
67,105
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.setMethod
@Override public void setMethod(String method) throws UnsupportedMethodException { MethodValues val = MethodValues.match(method, 0, method.length()); if (null == val) { throw new UnsupportedMethodException("Illegal method " + method); } setMethod(val); }
java
@Override public void setMethod(String method) throws UnsupportedMethodException { MethodValues val = MethodValues.match(method, 0, method.length()); if (null == val) { throw new UnsupportedMethodException("Illegal method " + method); } setMethod(val); }
[ "@", "Override", "public", "void", "setMethod", "(", "String", "method", ")", "throws", "UnsupportedMethodException", "{", "MethodValues", "val", "=", "MethodValues", ".", "match", "(", "method", ",", "0", ",", "method", ".", "length", "(", ")", ")", ";", ...
Set the method of this request to the given String if it is valid. @param method @throws UnsupportedMethodException
[ "Set", "the", "method", "of", "this", "request", "to", "the", "given", "String", "if", "it", "is", "valid", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L728-L735
67,106
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.setMethod
@Override public void setMethod(MethodValues method) { this.myMethod = method; super.setFirstLineChanged(); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "setMethod(v): " + (null != method ? method.getName() : null)); } }
java
@Override public void setMethod(MethodValues method) { this.myMethod = method; super.setFirstLineChanged(); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "setMethod(v): " + (null != method ? method.getName() : null)); } }
[ "@", "Override", "public", "void", "setMethod", "(", "MethodValues", "method", ")", "{", "this", ".", "myMethod", "=", "method", ";", "super", ".", "setFirstLineChanged", "(", ")", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&",...
Set the request method to the given value. @param method
[ "Set", "the", "request", "method", "to", "the", "given", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L757-L764
67,107
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.getRequestURI
@Override final public String getRequestURI() { if (null == this.myURIString) { this.myURIString = GenericUtils.getEnglishString(this.myURIBytes); } return this.myURIString; }
java
@Override final public String getRequestURI() { if (null == this.myURIString) { this.myURIString = GenericUtils.getEnglishString(this.myURIBytes); } return this.myURIString; }
[ "@", "Override", "final", "public", "String", "getRequestURI", "(", ")", "{", "if", "(", "null", "==", "this", ".", "myURIString", ")", "{", "this", ".", "myURIString", "=", "GenericUtils", ".", "getEnglishString", "(", "this", ".", "myURIBytes", ")", ";",...
Query the value of the request URI. @return String
[ "Query", "the", "value", "of", "the", "request", "URI", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L771-L777
67,108
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.getTargetHost
private String getTargetHost() { String host = getVirtualHost(); if (null == host) { host = (isIncoming()) ? getServiceContext().getLocalAddr().getCanonicalHostName() : getServiceContext().getRemoteAddr().getCanonicalHostName(); } return host; }
java
private String getTargetHost() { String host = getVirtualHost(); if (null == host) { host = (isIncoming()) ? getServiceContext().getLocalAddr().getCanonicalHostName() : getServiceContext().getRemoteAddr().getCanonicalHostName(); } return host; }
[ "private", "String", "getTargetHost", "(", ")", "{", "String", "host", "=", "getVirtualHost", "(", ")", ";", "if", "(", "null", "==", "host", ")", "{", "host", "=", "(", "isIncoming", "(", ")", ")", "?", "getServiceContext", "(", ")", ".", "getLocalAdd...
Find the target host of the request. This checks the VirtualHost data but falls back on the socket layer target if need be. @return String
[ "Find", "the", "target", "host", "of", "the", "request", ".", "This", "checks", "the", "VirtualHost", "data", "but", "falls", "back", "on", "the", "socket", "layer", "target", "if", "need", "be", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L795-L801
67,109
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.getTargetPort
private int getTargetPort() { int port = getVirtualPort(); if (NOTSET == port) { port = (isIncoming()) ? getServiceContext().getLocalPort() : getServiceContext().getRemotePort(); } return port; }
java
private int getTargetPort() { int port = getVirtualPort(); if (NOTSET == port) { port = (isIncoming()) ? getServiceContext().getLocalPort() : getServiceContext().getRemotePort(); } return port; }
[ "private", "int", "getTargetPort", "(", ")", "{", "int", "port", "=", "getVirtualPort", "(", ")", ";", "if", "(", "NOTSET", "==", "port", ")", "{", "port", "=", "(", "isIncoming", "(", ")", ")", "?", "getServiceContext", "(", ")", ".", "getLocalPort", ...
Find the target port of the request. This checks the VirtualPort data and falls back on the socket port information if need be. @return int
[ "Find", "the", "target", "port", "of", "the", "request", ".", "This", "checks", "the", "VirtualPort", "data", "and", "falls", "back", "on", "the", "socket", "port", "information", "if", "need", "be", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L809-L815
67,110
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.getVirtualPort
@Override public int getVirtualPort() { if (HeaderStorage.NOTSET != this.iUrlPort) { // use the port from the parsed URL return this.iUrlPort; } if (NOT_PRESENT <= this.iHdrPort) { // already searched the header value and either found it or not, ...
java
@Override public int getVirtualPort() { if (HeaderStorage.NOTSET != this.iUrlPort) { // use the port from the parsed URL return this.iUrlPort; } if (NOT_PRESENT <= this.iHdrPort) { // already searched the header value and either found it or not, ...
[ "@", "Override", "public", "int", "getVirtualPort", "(", ")", "{", "if", "(", "HeaderStorage", ".", "NOTSET", "!=", "this", ".", "iUrlPort", ")", "{", "// use the port from the parsed URL", "return", "this", ".", "iUrlPort", ";", "}", "if", "(", "NOT_PRESENT",...
Query the target port of this request. It will first check for a port in the URL string and if not found, it will check the Host header. This will return -1 if it is not found in either spot. @return int
[ "Query", "the", "target", "port", "of", "this", "request", ".", "It", "will", "first", "check", "for", "a", "port", "in", "the", "URL", "string", "and", "if", "not", "found", "it", "will", "check", "the", "Host", "header", ".", "This", "will", "return"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L954-L1021
67,111
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.parseURI
private void parseURI(byte[] data, int start) { // at this point, we're parsing /URI [?querystring] if (start >= data.length) { // PK22096 - default to "/" if not found, should have caught empty // string inputs previously (http://host:port is valid) this.myURIBytes =...
java
private void parseURI(byte[] data, int start) { // at this point, we're parsing /URI [?querystring] if (start >= data.length) { // PK22096 - default to "/" if not found, should have caught empty // string inputs previously (http://host:port is valid) this.myURIBytes =...
[ "private", "void", "parseURI", "(", "byte", "[", "]", "data", ",", "int", "start", ")", "{", "// at this point, we're parsing /URI [?querystring]", "if", "(", "start", ">=", "data", ".", "length", ")", "{", "// PK22096 - default to \"/\" if not found, should have caught...
Parse the URI information out of the input data, along with any query information found afterwards. If format errors are found, then an exception is thrown. @param data @param start @throws IllegalArgumentException
[ "Parse", "the", "URI", "information", "out", "of", "the", "input", "data", "along", "with", "any", "query", "information", "found", "afterwards", ".", "If", "format", "errors", "are", "found", "then", "an", "exception", "is", "thrown", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1151-L1188
67,112
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.parseScheme
private void parseScheme(byte[] data) { // we know the first character is correct, find the colon for (int i = 1; i < data.length; i++) { if (':' == data[i]) { SchemeValues val = SchemeValues.match(data, 0, i); if (null == val) { throw new ...
java
private void parseScheme(byte[] data) { // we know the first character is correct, find the colon for (int i = 1; i < data.length; i++) { if (':' == data[i]) { SchemeValues val = SchemeValues.match(data, 0, i); if (null == val) { throw new ...
[ "private", "void", "parseScheme", "(", "byte", "[", "]", "data", ")", "{", "// we know the first character is correct, find the colon", "for", "(", "int", "i", "=", "1", ";", "i", "<", "data", ".", "length", ";", "i", "++", ")", "{", "if", "(", "'", "'",...
Parse the scheme marker out of the input data and then start the parse for the next section. If any errors are encountered, then an exception is thrown. @param data @throws IllegalArgumentException
[ "Parse", "the", "scheme", "marker", "out", "of", "the", "input", "data", "and", "then", "start", "the", "parse", "for", "the", "next", "section", ".", "If", "any", "errors", "are", "encountered", "then", "an", "exception", "is", "thrown", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1252-L1271
67,113
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.setRequestURI
@Override public void setRequestURI(byte[] uri) { if (null == uri || 0 == uri.length) { throw new IllegalArgumentException("setRequestURI: null input"); } super.setFirstLineChanged(); if ('*' == uri[0]) { // URI of "*" can only be one character long to be va...
java
@Override public void setRequestURI(byte[] uri) { if (null == uri || 0 == uri.length) { throw new IllegalArgumentException("setRequestURI: null input"); } super.setFirstLineChanged(); if ('*' == uri[0]) { // URI of "*" can only be one character long to be va...
[ "@", "Override", "public", "void", "setRequestURI", "(", "byte", "[", "]", "uri", ")", "{", "if", "(", "null", "==", "uri", "||", "0", "==", "uri", ".", "length", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"setRequestURI: null input\"", "...
Allow the user to set the URI in the HttpRequest to the given byte array, prior to sending the request. @param uri
[ "Allow", "the", "user", "to", "set", "the", "URI", "in", "the", "HttpRequest", "to", "the", "given", "byte", "array", "prior", "to", "sending", "the", "request", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1393-L1429
67,114
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.initScheme
public void initScheme() { // set the scheme based on whether the socket is secure or not if (null == getServiceContext() || null == getServiceContext().getTSC()) { // discrimination path, not ready for this yet return; } if (getServiceContext().isSecure()) { ...
java
public void initScheme() { // set the scheme based on whether the socket is secure or not if (null == getServiceContext() || null == getServiceContext().getTSC()) { // discrimination path, not ready for this yet return; } if (getServiceContext().isSecure()) { ...
[ "public", "void", "initScheme", "(", ")", "{", "// set the scheme based on whether the socket is secure or not", "if", "(", "null", "==", "getServiceContext", "(", ")", "||", "null", "==", "getServiceContext", "(", ")", ".", "getTSC", "(", ")", ")", "{", "// discr...
Initialize the scheme information based on the socket being secure or not.
[ "Initialize", "the", "scheme", "information", "based", "on", "the", "socket", "being", "secure", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1450-L1461
67,115
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.getScheme
@Override public String getScheme() { // if it hasn't been set yet, then check whether the SC is secure // or not and set the value accordingly if (null == this.myScheme) { initScheme(); } if (null == this.myScheme) { // if the request has been already destroyed t...
java
@Override public String getScheme() { // if it hasn't been set yet, then check whether the SC is secure // or not and set the value accordingly if (null == this.myScheme) { initScheme(); } if (null == this.myScheme) { // if the request has been already destroyed t...
[ "@", "Override", "public", "String", "getScheme", "(", ")", "{", "// if it hasn't been set yet, then check whether the SC is secure", "// or not and set the value accordingly", "if", "(", "null", "==", "this", ".", "myScheme", ")", "{", "initScheme", "(", ")", ";", "}",...
Query the value of the scheme. @return String
[ "Query", "the", "value", "of", "the", "scheme", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1468-L1479
67,116
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.setScheme
@Override public void setScheme(SchemeValues scheme) { this.myScheme = scheme; super.setFirstLineChanged(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "setScheme(v): " + (null != scheme ? scheme.getName() : null)); } }
java
@Override public void setScheme(SchemeValues scheme) { this.myScheme = scheme; super.setFirstLineChanged(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "setScheme(v): " + (null != scheme ? scheme.getName() : null)); } }
[ "@", "Override", "public", "void", "setScheme", "(", "SchemeValues", "scheme", ")", "{", "this", ".", "myScheme", "=", "scheme", ";", "super", ".", "setFirstLineChanged", "(", ")", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&",...
Set the value of the scheme in the Request by using the int identifiers. @param scheme
[ "Set", "the", "value", "of", "the", "scheme", "in", "the", "Request", "by", "using", "the", "int", "identifiers", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1487-L1494
67,117
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.deserializeMethod
private void deserializeMethod(ObjectInput stream) throws IOException, ClassNotFoundException { MethodValues method = null; if (SERIALIZATION_V2 == getDeserializationVersion()) { method = MethodValues.find(readByteArray(stream)); } else { method = MethodValues.find((Strin...
java
private void deserializeMethod(ObjectInput stream) throws IOException, ClassNotFoundException { MethodValues method = null; if (SERIALIZATION_V2 == getDeserializationVersion()) { method = MethodValues.find(readByteArray(stream)); } else { method = MethodValues.find((Strin...
[ "private", "void", "deserializeMethod", "(", "ObjectInput", "stream", ")", "throws", "IOException", ",", "ClassNotFoundException", "{", "MethodValues", "method", "=", "null", ";", "if", "(", "SERIALIZATION_V2", "==", "getDeserializationVersion", "(", ")", ")", "{", ...
Deserialize the method information from the input stream. @param stream @throws IOException @throws ClassNotFoundException
[ "Deserialize", "the", "method", "information", "from", "the", "input", "stream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1712-L1723
67,118
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.deserializeScheme
private void deserializeScheme(ObjectInput stream) throws IOException, ClassNotFoundException { SchemeValues scheme = null; if (SERIALIZATION_V2 == getDeserializationVersion()) { byte[] value = readByteArray(stream); if (null == value) { throw new IOException("Mis...
java
private void deserializeScheme(ObjectInput stream) throws IOException, ClassNotFoundException { SchemeValues scheme = null; if (SERIALIZATION_V2 == getDeserializationVersion()) { byte[] value = readByteArray(stream); if (null == value) { throw new IOException("Mis...
[ "private", "void", "deserializeScheme", "(", "ObjectInput", "stream", ")", "throws", "IOException", ",", "ClassNotFoundException", "{", "SchemeValues", "scheme", "=", "null", ";", "if", "(", "SERIALIZATION_V2", "==", "getDeserializationVersion", "(", ")", ")", "{", ...
Deserialize the scheme information from the input stream. @param stream @throws IOException @throws ClassNotFoundException
[ "Deserialize", "the", "scheme", "information", "from", "the", "input", "stream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1732-L1745
67,119
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java
HttpRequestMessageImpl.parseParameters
private synchronized void parseParameters() { if (null != this.queryParams) { // already parsed return; } if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "parseParameters for " + this); } String encoding = getCh...
java
private synchronized void parseParameters() { if (null != this.queryParams) { // already parsed return; } if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "parseParameters for " + this); } String encoding = getCh...
[ "private", "synchronized", "void", "parseParameters", "(", ")", "{", "if", "(", "null", "!=", "this", ".", "queryParams", ")", "{", "// already parsed", "return", ";", "}", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", ...
Parse the query parameters out of this message. This will check just the URL query data of the request.
[ "Parse", "the", "query", "parameters", "out", "of", "this", "message", ".", "This", "will", "check", "just", "the", "URL", "query", "data", "of", "the", "request", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpRequestMessageImpl.java#L1870-L1902
67,120
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.setDataSourceFactory
protected void setDataSourceFactory(ServiceReference<ResourceFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setDataSourceFactory", "setting " + ref); } ...
java
protected void setDataSourceFactory(ServiceReference<ResourceFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setDataSourceFactory", "setting " + ref); } ...
[ "protected", "void", "setDataSourceFactory", "(", "ServiceReference", "<", "ResourceFactory", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "Level", ...
Declarative Services method for setting the data source service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "setting", "the", "data", "source", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L204-L209
67,121
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.unsetDataSourceFactory
protected void unsetDataSourceFactory(ServiceReference<ResourceFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetDataSourceFactory", "unsetting " + ref); ...
java
protected void unsetDataSourceFactory(ServiceReference<ResourceFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetDataSourceFactory", "unsetting " + ref); ...
[ "protected", "void", "unsetDataSourceFactory", "(", "ServiceReference", "<", "ResourceFactory", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "Level", ...
Declarative Services method for unsetting the data source service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "unsetting", "the", "data", "source", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L216-L221
67,122
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.setResourceConfigFactory
protected void setResourceConfigFactory(ServiceReference<ResourceConfigFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setResourceConfigFactory", "setting " + ref); ...
java
protected void setResourceConfigFactory(ServiceReference<ResourceConfigFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setResourceConfigFactory", "setting " + ref); ...
[ "protected", "void", "setResourceConfigFactory", "(", "ServiceReference", "<", "ResourceConfigFactory", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "...
Declarative Services method for setting the ResourceConfigFactory service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "setting", "the", "ResourceConfigFactory", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L228-L233
67,123
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.unsetResourceConfigFactory
protected void unsetResourceConfigFactory(ServiceReference<ResourceConfigFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetResourceConfigFactory", "unsetting " + ...
java
protected void unsetResourceConfigFactory(ServiceReference<ResourceConfigFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetResourceConfigFactory", "unsetting " + ...
[ "protected", "void", "unsetResourceConfigFactory", "(", "ServiceReference", "<", "ResourceConfigFactory", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", ...
Declarative Services method for unsetting the ResourceConfigFactory service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "unsetting", "the", "ResourceConfigFactory", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L240-L245
67,124
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.setLocalTransactionCurrent
protected void setLocalTransactionCurrent(ServiceReference<LocalTransactionCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setLocalTransactionCurrent", "setting " + ...
java
protected void setLocalTransactionCurrent(ServiceReference<LocalTransactionCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setLocalTransactionCurrent", "setting " + ...
[ "protected", "void", "setLocalTransactionCurrent", "(", "ServiceReference", "<", "LocalTransactionCurrent", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(",...
Declarative Services method for setting the LocalTransactionCurrent service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "setting", "the", "LocalTransactionCurrent", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L252-L257
67,125
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.unsetLocalTransactionCurrent
protected void unsetLocalTransactionCurrent(ServiceReference<LocalTransactionCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetLocalTransactionCurrent", "unsettin...
java
protected void unsetLocalTransactionCurrent(ServiceReference<LocalTransactionCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetLocalTransactionCurrent", "unsettin...
[ "protected", "void", "unsetLocalTransactionCurrent", "(", "ServiceReference", "<", "LocalTransactionCurrent", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(...
Declarative Services method for unsetting the LocalTransactionCurrent service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "unsetting", "the", "LocalTransactionCurrent", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L264-L269
67,126
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.setEmbeddableWebSphereTransactionManager
protected void setEmbeddableWebSphereTransactionManager(ServiceReference<EmbeddableWebSphereTransactionManager> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setEmbeddableW...
java
protected void setEmbeddableWebSphereTransactionManager(ServiceReference<EmbeddableWebSphereTransactionManager> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setEmbeddableW...
[ "protected", "void", "setEmbeddableWebSphereTransactionManager", "(", "ServiceReference", "<", "EmbeddableWebSphereTransactionManager", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ...
Declarative Services method for setting the EmbeddableWebSphereTransactionManager service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "setting", "the", "EmbeddableWebSphereTransactionManager", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L276-L281
67,127
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.unsetEmbeddableWebSphereTransactionManager
protected void unsetEmbeddableWebSphereTransactionManager(ServiceReference<EmbeddableWebSphereTransactionManager> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetEmbedda...
java
protected void unsetEmbeddableWebSphereTransactionManager(ServiceReference<EmbeddableWebSphereTransactionManager> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetEmbedda...
[ "protected", "void", "unsetEmbeddableWebSphereTransactionManager", "(", "ServiceReference", "<", "EmbeddableWebSphereTransactionManager", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS",...
Declarative Services method for unsetting the EmbeddableWebSphereTransactionManager service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "unsetting", "the", "EmbeddableWebSphereTransactionManager", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L288-L293
67,128
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.setUowCurrent
protected void setUowCurrent(ServiceReference<UOWCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setUowCurrent", "setting " + ref); } uowCurrentRef.s...
java
protected void setUowCurrent(ServiceReference<UOWCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setUowCurrent", "setting " + ref); } uowCurrentRef.s...
[ "protected", "void", "setUowCurrent", "(", "ServiceReference", "<", "UOWCurrent", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "Level", ".", "FINE...
Declarative Services method for setting the UOWCurrent service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "setting", "the", "UOWCurrent", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L300-L305
67,129
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.unsetUowCurrent
protected void unsetUowCurrent(ServiceReference<UOWCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetUowCurrent", "unsetting " + ref); } uowCurren...
java
protected void unsetUowCurrent(ServiceReference<UOWCurrent> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetUowCurrent", "unsetting " + ref); } uowCurren...
[ "protected", "void", "unsetUowCurrent", "(", "ServiceReference", "<", "UOWCurrent", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "Level", ".", "FI...
Declarative Services method for unsetting the UOWCurrent service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "unsetting", "the", "UOWCurrent", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L312-L317
67,130
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.setUserTransaction
protected void setUserTransaction(ServiceReference<UserTransaction> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setUserTransaction", "setting " + ref); } ...
java
protected void setUserTransaction(ServiceReference<UserTransaction> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setUserTransaction", "setting " + ref); } ...
[ "protected", "void", "setUserTransaction", "(", "ServiceReference", "<", "UserTransaction", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "Level", "....
Declarative Services method for setting the UserTransaction service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "setting", "the", "UserTransaction", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L324-L329
67,131
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.unsetUserTransaction
protected void unsetUserTransaction(ServiceReference<UserTransaction> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetUserTransaction", "unsetting " + ref); } ...
java
protected void unsetUserTransaction(ServiceReference<UserTransaction> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetUserTransaction", "unsetting " + ref); } ...
[ "protected", "void", "unsetUserTransaction", "(", "ServiceReference", "<", "UserTransaction", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "Level", ...
Declarative Services method for unsetting the UserTransaction service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "unsetting", "the", "UserTransaction", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L336-L341
67,132
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.setSerializationService
protected void setSerializationService(ServiceReference<SerializationService> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setSerializationService", "setting " + ref); ...
java
protected void setSerializationService(ServiceReference<SerializationService> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "setSerializationService", "setting " + ref); ...
[ "protected", "void", "setSerializationService", "(", "ServiceReference", "<", "SerializationService", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "Le...
Declarative Services method for setting the SerializationService service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "setting", "the", "SerializationService", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L348-L353
67,133
OpenLiberty/open-liberty
dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java
DatabaseStoreService.unsetSerializationService
protected void unsetSerializationService(ServiceReference<SerializationService> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetSerializationService", "unsetting " + ref...
java
protected void unsetSerializationService(ServiceReference<SerializationService> ref) { if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, "unsetSerializationService", "unsetting " + ref...
[ "protected", "void", "unsetSerializationService", "(", "ServiceReference", "<", "SerializationService", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "LoggingUtil", ".", "SESSION_LOGGER_WAS", ".", "isLoggable", "(", "...
Declarative Services method for unsetting the SerializationService service reference @param ref reference to service object; type of service object is verified
[ "Declarative", "Services", "method", "for", "unsetting", "the", "SerializationService", "service", "reference" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.db/src/com/ibm/ws/session/store/db/DatabaseStoreService.java#L360-L365
67,134
OpenLiberty/open-liberty
dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/tsx/db/Query.java
Query.getJdbcConnection
private Connection getJdbcConnection() throws JspCoreException, SQLException { Connection conn = null; String url = getConnProperties().getUrl(); String user = getConnProperties().getLoginUser(); String passwd = getConnProperties().getLoginPasswd(); String jndiName = getConnPro...
java
private Connection getJdbcConnection() throws JspCoreException, SQLException { Connection conn = null; String url = getConnProperties().getUrl(); String user = getConnProperties().getLoginUser(); String passwd = getConnProperties().getLoginPasswd(); String jndiName = getConnPro...
[ "private", "Connection", "getJdbcConnection", "(", ")", "throws", "JspCoreException", ",", "SQLException", "{", "Connection", "conn", "=", "null", ";", "String", "url", "=", "getConnProperties", "(", ")", ".", "getUrl", "(", ")", ";", "String", "user", "=", ...
Return a valid jdbc connection. if jndiName is specified then assume that we need to use a datasource else use a drivermanager
[ "Return", "a", "valid", "jdbc", "connection", ".", "if", "jndiName", "is", "specified", "then", "assume", "that", "we", "need", "to", "use", "a", "datasource", "else", "use", "a", "drivermanager" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/tsx/db/Query.java#L169-L205
67,135
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/URLUtils.java
URLUtils.isAbsolutePath
public static boolean isAbsolutePath(String uri) { boolean absolute = false; if (uri != null) { if (uri.indexOf(":/") != -1) { absolute = true; } else if (uri.indexOf(":\\") != -1) { absolute = true; } } return absolute...
java
public static boolean isAbsolutePath(String uri) { boolean absolute = false; if (uri != null) { if (uri.indexOf(":/") != -1) { absolute = true; } else if (uri.indexOf(":\\") != -1) { absolute = true; } } return absolute...
[ "public", "static", "boolean", "isAbsolutePath", "(", "String", "uri", ")", "{", "boolean", "absolute", "=", "false", ";", "if", "(", "uri", "!=", "null", ")", "{", "if", "(", "uri", ".", "indexOf", "(", "\":/\"", ")", "!=", "-", "1", ")", "{", "ab...
Checks to see if URI is absolute or relative. @param uri @return true it is absolute or false if not
[ "Checks", "to", "see", "if", "URI", "is", "absolute", "or", "relative", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/utils/URLUtils.java#L23-L34
67,136
OpenLiberty/open-liberty
dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java
IFixUtils.equalsHashes
private static boolean equalsHashes(File fileToHash, String hashToCompare) throws IOException { boolean result = false; // Now calculate the new hash and compare the 2. If they are NOT the same the ifix needs to be re-applied. String fileHash = MD5Utils.getFileMD5String(fileToHash); if ...
java
private static boolean equalsHashes(File fileToHash, String hashToCompare) throws IOException { boolean result = false; // Now calculate the new hash and compare the 2. If they are NOT the same the ifix needs to be re-applied. String fileHash = MD5Utils.getFileMD5String(fileToHash); if ...
[ "private", "static", "boolean", "equalsHashes", "(", "File", "fileToHash", ",", "String", "hashToCompare", ")", "throws", "IOException", "{", "boolean", "result", "=", "false", ";", "// Now calculate the new hash and compare the 2. If they are NOT the same the ifix needs to be ...
This method calculates a hash of the required file and compares it against the supplied hash. It then returns true if both hashes are equals. @param fileToHash - The file to calculate the hash for. @param hashToCompare - The hash to compare. @return - A boolean indicating whether the hashes are equal.
[ "This", "method", "calculates", "a", "hash", "of", "the", "required", "file", "and", "compares", "it", "against", "the", "supplied", "hash", ".", "It", "then", "returns", "true", "if", "both", "hashes", "are", "equals", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java#L305-L314
67,137
OpenLiberty/open-liberty
dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java
IFixUtils.processIFixXmls
private static Map<String, IFixInfo> processIFixXmls(File wlpInstallationDirectory, Map<String, BundleFile> bundleFiles, CommandConsole console) { // A map of update file names and the IfixInfo objects that contain the latest versions of these files. Map<String, IFixInfo> filteredIfixInfos = new HashMa...
java
private static Map<String, IFixInfo> processIFixXmls(File wlpInstallationDirectory, Map<String, BundleFile> bundleFiles, CommandConsole console) { // A map of update file names and the IfixInfo objects that contain the latest versions of these files. Map<String, IFixInfo> filteredIfixInfos = new HashMa...
[ "private", "static", "Map", "<", "String", ",", "IFixInfo", ">", "processIFixXmls", "(", "File", "wlpInstallationDirectory", ",", "Map", "<", "String", ",", "BundleFile", ">", "bundleFiles", ",", "CommandConsole", "console", ")", "{", "// A map of update file names ...
This method processes all of the ifix xml's and stores the latest version of each file found in a map. The comparisons on each file are based on the date associated with the file. The latest date means the latest update. @param wlpInstallationDirectory - The Liberty install dir. @param bundleFiles - A Map of all bundl...
[ "This", "method", "processes", "all", "of", "the", "ifix", "xml", "s", "and", "stores", "the", "latest", "version", "of", "each", "file", "found", "in", "a", "map", ".", "The", "comparisons", "on", "each", "file", "are", "based", "on", "the", "date", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java#L414-L474
67,138
OpenLiberty/open-liberty
dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java
IFixUtils.getExistingMatchingIfixID
private static String getExistingMatchingIfixID(BundleFile bundleFile, Set<String> existingIDs, Map<String, BundleFile> bundleFiles) { String existingIfixKey = null; // Iterate over the known ids. for (String existingID : existingIDs) { // If we have a corresponding BundleFile for th...
java
private static String getExistingMatchingIfixID(BundleFile bundleFile, Set<String> existingIDs, Map<String, BundleFile> bundleFiles) { String existingIfixKey = null; // Iterate over the known ids. for (String existingID : existingIDs) { // If we have a corresponding BundleFile for th...
[ "private", "static", "String", "getExistingMatchingIfixID", "(", "BundleFile", "bundleFile", ",", "Set", "<", "String", ">", "existingIDs", ",", "Map", "<", "String", ",", "BundleFile", ">", "bundleFiles", ")", "{", "String", "existingIfixKey", "=", "null", ";",...
This method takes a ifix ID finds any existing IFix IDs that refer to the same base bundle. Because the ifix jars will have different qualifiers, we need to be able to work out which ids are related. @param bundleFile - The bundleFile that maps to the current jar file we're processing. @param existingIDs - A Set of St...
[ "This", "method", "takes", "a", "ifix", "ID", "finds", "any", "existing", "IFix", "IDs", "that", "refer", "to", "the", "same", "base", "bundle", ".", "Because", "the", "ifix", "jars", "will", "have", "different", "qualifiers", "we", "need", "to", "be", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java#L489-L510
67,139
OpenLiberty/open-liberty
dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java
IFixUtils.processLPMFXmls
private static Map<String, BundleFile> processLPMFXmls(File wlpInstallationDirectory, CommandConsole console) { // A map of update file names and the IfixInfo objects that contain the latest versions of these files. Map<String, BundleFile> bundleFiles = new HashMap<String, BundleFile>(); // Ite...
java
private static Map<String, BundleFile> processLPMFXmls(File wlpInstallationDirectory, CommandConsole console) { // A map of update file names and the IfixInfo objects that contain the latest versions of these files. Map<String, BundleFile> bundleFiles = new HashMap<String, BundleFile>(); // Ite...
[ "private", "static", "Map", "<", "String", ",", "BundleFile", ">", "processLPMFXmls", "(", "File", "wlpInstallationDirectory", ",", "CommandConsole", "console", ")", "{", "// A map of update file names and the IfixInfo objects that contain the latest versions of these files.", "M...
This method processes all of the Liberty profile Metadata files stores the BundleFile objects containing the BundleSymbolic name and version of each bundle against the id of the file that matches the corresponding entry in the ifix.xml. @param wlpInstallationDirectory - The Liberty install dir. @param console - The Co...
[ "This", "method", "processes", "all", "of", "the", "Liberty", "profile", "Metadata", "files", "stores", "the", "BundleFile", "objects", "containing", "the", "BundleSymbolic", "name", "and", "version", "of", "each", "bundle", "against", "the", "id", "of", "the", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.product.utility/src/com/ibm/ws/product/utility/extension/IFixUtils.java#L520-L542
67,140
OpenLiberty/open-liberty
dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java
AccessIdUtil.getEntityType
public static String getEntityType(String accessId) { Matcher m = matcher(accessId); if (m != null) { return m.group(1); } return null; }
java
public static String getEntityType(String accessId) { Matcher m = matcher(accessId); if (m != null) { return m.group(1); } return null; }
[ "public", "static", "String", "getEntityType", "(", "String", "accessId", ")", "{", "Matcher", "m", "=", "matcher", "(", "accessId", ")", ";", "if", "(", "m", "!=", "null", ")", "{", "return", "m", ".", "group", "(", "1", ")", ";", "}", "return", "...
Given an accessId, extract the entity type. @param accessId @return The type for the accessId, or {@code null} if the accessId is invalid
[ "Given", "an", "accessId", "extract", "the", "entity", "type", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java#L147-L153
67,141
OpenLiberty/open-liberty
dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java
AccessIdUtil.getRealm
public static String getRealm(String accessId) { Matcher m = matcher(accessId); if (m != null) { return m.group(2); } return null; }
java
public static String getRealm(String accessId) { Matcher m = matcher(accessId); if (m != null) { return m.group(2); } return null; }
[ "public", "static", "String", "getRealm", "(", "String", "accessId", ")", "{", "Matcher", "m", "=", "matcher", "(", "accessId", ")", ";", "if", "(", "m", "!=", "null", ")", "{", "return", "m", ".", "group", "(", "2", ")", ";", "}", "return", "null"...
Given an accessId, extract the realm. @param accessId @return The realm for the accessId, or {@code null} if the accessId is invalid
[ "Given", "an", "accessId", "extract", "the", "realm", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java#L161-L167
67,142
OpenLiberty/open-liberty
dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java
AccessIdUtil.getUniqueId
public static String getUniqueId(String accessId) { Matcher m = matcher(accessId); if (m != null) { return m.group(3); } return null; }
java
public static String getUniqueId(String accessId) { Matcher m = matcher(accessId); if (m != null) { return m.group(3); } return null; }
[ "public", "static", "String", "getUniqueId", "(", "String", "accessId", ")", "{", "Matcher", "m", "=", "matcher", "(", "accessId", ")", ";", "if", "(", "m", "!=", "null", ")", "{", "return", "m", ".", "group", "(", "3", ")", ";", "}", "return", "nu...
Given an accessId, extract the uniqueId. @param accessId @return The uniqueId for the accessId, or {@code null} if the accessId is invalid
[ "Given", "an", "accessId", "extract", "the", "uniqueId", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java#L175-L181
67,143
OpenLiberty/open-liberty
dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java
AccessIdUtil.getUniqueId
public static String getUniqueId(String accessId, String realm) { if (realm != null) { Pattern pattern = Pattern.compile("([^:]+):(" + Pattern.quote(realm) + ")/(.*)"); Matcher m = pattern.matcher(accessId); if (m.matches()) { if (m.group(3).length() > 0)...
java
public static String getUniqueId(String accessId, String realm) { if (realm != null) { Pattern pattern = Pattern.compile("([^:]+):(" + Pattern.quote(realm) + ")/(.*)"); Matcher m = pattern.matcher(accessId); if (m.matches()) { if (m.group(3).length() > 0)...
[ "public", "static", "String", "getUniqueId", "(", "String", "accessId", ",", "String", "realm", ")", "{", "if", "(", "realm", "!=", "null", ")", "{", "Pattern", "pattern", "=", "Pattern", ".", "compile", "(", "\"([^:]+):(\"", "+", "Pattern", ".", "quote", ...
Given an accessId and realm name, extract the uniqueId. @param accessId @param realm @return The uniqueId for the accessId, or {@code null} if the accessId is invalid
[ "Given", "an", "accessId", "and", "realm", "name", "extract", "the", "uniqueId", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security/src/com/ibm/ws/security/AccessIdUtil.java#L190-L203
67,144
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.3/src/com/ibm/ws/microprofile/config13/sources/EnvConfig13Source.java
EnvConfig13Source.replaceNonAlpha
private String replaceNonAlpha(String name) { String modifiedName = null; if (p != null) modifiedName = p.matcher(name).replaceAll("_"); return modifiedName; }
java
private String replaceNonAlpha(String name) { String modifiedName = null; if (p != null) modifiedName = p.matcher(name).replaceAll("_"); return modifiedName; }
[ "private", "String", "replaceNonAlpha", "(", "String", "name", ")", "{", "String", "modifiedName", "=", "null", ";", "if", "(", "p", "!=", "null", ")", "modifiedName", "=", "p", ".", "matcher", "(", "name", ")", ".", "replaceAll", "(", "\"_\"", ")", ";...
Replace non-alphanumeric characters in a string with underscores. @param name @return modified name
[ "Replace", "non", "-", "alphanumeric", "characters", "in", "a", "string", "with", "underscores", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.3/src/com/ibm/ws/microprofile/config13/sources/EnvConfig13Source.java#L64-L69
67,145
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java
SubscriptionItemStream.setConsumerDispatcher
public void setConsumerDispatcher(ConsumerDispatcher consumerDispatcher) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setConsumerDispatcher", consumerDispatcher); this.consumerDispatcher = consumerDispatcher; if (TraceComponent.isAnyTracin...
java
public void setConsumerDispatcher(ConsumerDispatcher consumerDispatcher) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setConsumerDispatcher", consumerDispatcher); this.consumerDispatcher = consumerDispatcher; if (TraceComponent.isAnyTracin...
[ "public", "void", "setConsumerDispatcher", "(", "ConsumerDispatcher", "consumerDispatcher", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\...
Set the consumerDispatcher object to which this itemstream belongs @param the consumerDispatcher object
[ "Set", "the", "consumerDispatcher", "object", "to", "which", "this", "itemstream", "belongs" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java#L126-L135
67,146
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java
SubscriptionItemStream.xmlWriteOn
@Override public void xmlWriteOn(FormattedWriter writer) throws IOException { if (consumerDispatcher != null) { writer.newLine(); writer.taggedValue("consumerDispatcher", consumerDispatcher.toString()); } }
java
@Override public void xmlWriteOn(FormattedWriter writer) throws IOException { if (consumerDispatcher != null) { writer.newLine(); writer.taggedValue("consumerDispatcher", consumerDispatcher.toString()); } }
[ "@", "Override", "public", "void", "xmlWriteOn", "(", "FormattedWriter", "writer", ")", "throws", "IOException", "{", "if", "(", "consumerDispatcher", "!=", "null", ")", "{", "writer", ".", "newLine", "(", ")", ";", "writer", ".", "taggedValue", "(", "\"cons...
Prints debug information to the XML writer
[ "Prints", "debug", "information", "to", "the", "XML", "writer" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java#L153-L161
67,147
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java
SubscriptionItemStream.deleteIfPossible
public void deleteIfPossible(boolean startAsynchThread) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteIfPossible", new Boolean(startAsynchThread)); // Lock exclusively to stop any further messages from being added. _subscriptionLockMan...
java
public void deleteIfPossible(boolean startAsynchThread) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteIfPossible", new Boolean(startAsynchThread)); // Lock exclusively to stop any further messages from being added. _subscriptionLockMan...
[ "public", "void", "deleteIfPossible", "(", "boolean", "startAsynchThread", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"deleteIfPossible...
Method deleteIfPossible. <p>Test whether the item stream is marked as awaiting deletion and if so, check if there are still items on the itemstream that will block its removal.</p> Any failures to delete the subscription will queue the request to the Asynch deletion thread.
[ "Method", "deleteIfPossible", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java#L255-L400
67,148
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java
SubscriptionItemStream.markAsToBeDeleted
public void markAsToBeDeleted() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "markAsToBeDeleted"); toBeDeleted = true; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "markAsToBeDeleted"); }
java
public void markAsToBeDeleted() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "markAsToBeDeleted"); toBeDeleted = true; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "markAsToBeDeleted"); }
[ "public", "void", "markAsToBeDeleted", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"markAsToBeDeleted\"", ")", ";", "toBeDeleted"...
Mark this itemstream as awaiting deletion
[ "Mark", "this", "itemstream", "as", "awaiting", "deletion" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java#L421-L430
67,149
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java
SubscriptionItemStream.removeAllAvailableReferences
public void removeAllAvailableReferences() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeAllAvailableReferences"); LocalTransaction transaction = null; ItemReference itemReference = null; try ...
java
public void removeAllAvailableReferences() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeAllAvailableReferences"); LocalTransaction transaction = null; ItemReference itemReference = null; try ...
[ "public", "void", "removeAllAvailableReferences", "(", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"rem...
Removes all available reference items from the reference stream in batches @throws MessageStoreException
[ "Removes", "all", "available", "reference", "items", "from", "the", "reference", "stream", "in", "batches" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java#L438-L557
67,150
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java
SubscriptionItemStream.getSubscriptionLockManager
public LockManager getSubscriptionLockManager() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getSubscriptionLockManager"); SibTr.exit(tc, "getSubscriptionLockManager", _subscriptionLockManager); } return _subscriptionLo...
java
public LockManager getSubscriptionLockManager() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getSubscriptionLockManager"); SibTr.exit(tc, "getSubscriptionLockManager", _subscriptionLockManager); } return _subscriptionLo...
[ "public", "LockManager", "getSubscriptionLockManager", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getSubscriptionLockManager\"...
Returns the lock manager associated with this subscription
[ "Returns", "the", "lock", "manager", "associated", "with", "this", "subscription" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/SubscriptionItemStream.java#L626-L634
67,151
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/serializable/TaskSkipped.java
TaskSkipped.readObject
@Trivial private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { GetField fields = in.readFields(); failure = (Throwable) fields.get(FAILURE, null); previousResult = (byte[]) fields.get(PREVIOUS_RESULT, null); }
java
@Trivial private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { GetField fields = in.readFields(); failure = (Throwable) fields.get(FAILURE, null); previousResult = (byte[]) fields.get(PREVIOUS_RESULT, null); }
[ "@", "Trivial", "private", "void", "readObject", "(", "ObjectInputStream", "in", ")", "throws", "IOException", ",", "ClassNotFoundException", "{", "GetField", "fields", "=", "in", ".", "readFields", "(", ")", ";", "failure", "=", "(", "Throwable", ")", "fields...
Deserialize information about the skipped execution. @param in The stream from which this object is read. @throws IOException @throws ClassNotFoundException
[ "Deserialize", "information", "about", "the", "skipped", "execution", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/serializable/TaskSkipped.java#L122-L127
67,152
OpenLiberty/open-liberty
dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/serializable/TaskSkipped.java
TaskSkipped.writeObject
@Trivial private void writeObject(ObjectOutputStream out) throws IOException { PutField fields = out.putFields(); fields.put(FAILURE, failure); fields.put(PREVIOUS_RESULT, previousResult); out.writeFields(); }
java
@Trivial private void writeObject(ObjectOutputStream out) throws IOException { PutField fields = out.putFields(); fields.put(FAILURE, failure); fields.put(PREVIOUS_RESULT, previousResult); out.writeFields(); }
[ "@", "Trivial", "private", "void", "writeObject", "(", "ObjectOutputStream", "out", ")", "throws", "IOException", "{", "PutField", "fields", "=", "out", ".", "putFields", "(", ")", ";", "fields", ".", "put", "(", "FAILURE", ",", "failure", ")", ";", "field...
Serialize information about the skipped execution. @param out The stream to which this object is serialized. @throws IOException
[ "Serialize", "information", "about", "the", "skipped", "execution", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.persistent/src/com/ibm/ws/concurrent/persistent/serializable/TaskSkipped.java#L135-L141
67,153
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ws/staticvalue/StaticValue.java
StaticValue.mutateStaticValue
public static <T> StaticValue<T> mutateStaticValue(StaticValue<T> staticValue, Callable<T> initializer) { if (multiplex) { // Multiplexing case; must check for existing StaticValue if (staticValue == null) { // no existing value; create new one with no constructor initial...
java
public static <T> StaticValue<T> mutateStaticValue(StaticValue<T> staticValue, Callable<T> initializer) { if (multiplex) { // Multiplexing case; must check for existing StaticValue if (staticValue == null) { // no existing value; create new one with no constructor initial...
[ "public", "static", "<", "T", ">", "StaticValue", "<", "T", ">", "mutateStaticValue", "(", "StaticValue", "<", "T", ">", "staticValue", ",", "Callable", "<", "T", ">", "initializer", ")", "{", "if", "(", "multiplex", ")", "{", "// Multiplexing case; must che...
Mutates a static value. Note that if not multiplexing then this method returns a new StaticValue object with the value as obtained by the initializer. @param staticValue the mutated static value using the specified initializer @param initializer the initializer to use to get the new value for the static value @return ...
[ "Mutates", "a", "static", "value", ".", "Note", "that", "if", "not", "multiplexing", "then", "this", "method", "returns", "a", "new", "StaticValue", "object", "with", "the", "value", "as", "obtained", "by", "the", "initializer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ws/staticvalue/StaticValue.java#L76-L89
67,154
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ArrayUtils.java
ArrayUtils.concat
public static Object concat(Object[] arrs) { int totalLen = 0; Class commonComponentType = null; for (int i = 0, len = arrs.length; i < len; i++) { // skip all null arrays if (arrs[i] == null) { continue; } ...
java
public static Object concat(Object[] arrs) { int totalLen = 0; Class commonComponentType = null; for (int i = 0, len = arrs.length; i < len; i++) { // skip all null arrays if (arrs[i] == null) { continue; } ...
[ "public", "static", "Object", "concat", "(", "Object", "[", "]", "arrs", ")", "{", "int", "totalLen", "=", "0", ";", "Class", "commonComponentType", "=", "null", ";", "for", "(", "int", "i", "=", "0", ",", "len", "=", "arrs", ".", "length", ";", "i...
Concatenates arrays into one. Any null or empty arrays are ignored. If all arrays are null or empty, returns null. Elements will be ordered in the order in which the arrays are supplied. @param arrs array of arrays @return the concatenated array
[ "Concatenates", "arrays", "into", "one", ".", "Any", "null", "or", "empty", "arrays", "are", "ignored", ".", "If", "all", "arrays", "are", "null", "or", "empty", "returns", "null", ".", "Elements", "will", "be", "ordered", "in", "the", "order", "in", "wh...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ArrayUtils.java#L114-L148
67,155
OpenLiberty/open-liberty
dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/util/WIMSortCompare.java
WIMSortCompare.compare
@Override public int compare(T entity1, T entity2) { SortHandler shandler = new SortHandler(sortControl); return shandler.compareEntitysWithRespectToProperties((Entity) entity1, (Entity) entity2); }
java
@Override public int compare(T entity1, T entity2) { SortHandler shandler = new SortHandler(sortControl); return shandler.compareEntitysWithRespectToProperties((Entity) entity1, (Entity) entity2); }
[ "@", "Override", "public", "int", "compare", "(", "T", "entity1", ",", "T", "entity2", ")", "{", "SortHandler", "shandler", "=", "new", "SortHandler", "(", "sortControl", ")", ";", "return", "shandler", ".", "compareEntitysWithRespectToProperties", "(", "(", "...
Compares its two objects for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second. @param obj1 the first object @param obj2 the second object @return a negative integer, zero, or a positive integer as the first argument is less than, eq...
[ "Compares", "its", "two", "objects", "for", "order", ".", "Returns", "a", "negative", "integer", "zero", "or", "a", "positive", "integer", "as", "the", "first", "argument", "is", "less", "than", "equal", "to", "or", "greater", "than", "the", "second", "." ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/util/WIMSortCompare.java#L43-L48
67,156
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/lock/LockManager.java
LockManager.dump
public void dump() { if (!tc.isDumpEnabled()) { return; } Enumeration vEnum = lockTable.keys(); Tr.dump(tc, "-- Lock Manager Dump --"); while (vEnum.hasMoreElements()) { Object key = vEnum.nextElement(); Tr.dump(tc, "lock table entry", ...
java
public void dump() { if (!tc.isDumpEnabled()) { return; } Enumeration vEnum = lockTable.keys(); Tr.dump(tc, "-- Lock Manager Dump --"); while (vEnum.hasMoreElements()) { Object key = vEnum.nextElement(); Tr.dump(tc, "lock table entry", ...
[ "public", "void", "dump", "(", ")", "{", "if", "(", "!", "tc", ".", "isDumpEnabled", "(", ")", ")", "{", "return", ";", "}", "Enumeration", "vEnum", "=", "lockTable", ".", "keys", "(", ")", ";", "Tr", ".", "dump", "(", "tc", ",", "\"-- Lock Manager...
Dump internal state of lock manager.
[ "Dump", "internal", "state", "of", "lock", "manager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/lock/LockManager.java#L451-L466
67,157
OpenLiberty/open-liberty
dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/buildtasks/AbstractInstrumentationTask.java
AbstractInstrumentationTask.getCommandline
protected Commandline getCommandline() { Commandline cmdl = new Commandline(); if (configFile != null) { cmdl.createArgument().setValue("--config"); cmdl.createArgument().setFile(configFile); } if (debug) { cmdl.createArgument().setValue("--debug"); ...
java
protected Commandline getCommandline() { Commandline cmdl = new Commandline(); if (configFile != null) { cmdl.createArgument().setValue("--config"); cmdl.createArgument().setFile(configFile); } if (debug) { cmdl.createArgument().setValue("--debug"); ...
[ "protected", "Commandline", "getCommandline", "(", ")", "{", "Commandline", "cmdl", "=", "new", "Commandline", "(", ")", ";", "if", "(", "configFile", "!=", "null", ")", "{", "cmdl", ".", "createArgument", "(", ")", ".", "setValue", "(", "\"--config\"", ")...
Get the command line configuration arguments for the StaticTraceInstrumentation invocations. @return the ant Commandline that holds the command line arguments
[ "Get", "the", "command", "line", "configuration", "arguments", "for", "the", "StaticTraceInstrumentation", "invocations", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/buildtasks/AbstractInstrumentationTask.java#L98-L108
67,158
OpenLiberty/open-liberty
dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/buildtasks/AbstractInstrumentationTask.java
AbstractInstrumentationTask.execute
@Override public void execute() { List<File> flist = new ArrayList<File>(); if (file != null) { flist.add(file); } for (int i = 0; i < filesets.size(); i++) { FileSet fs = filesets.elementAt(i); DirectoryScanner ds = fs.getDirectoryScanner(getPro...
java
@Override public void execute() { List<File> flist = new ArrayList<File>(); if (file != null) { flist.add(file); } for (int i = 0; i < filesets.size(); i++) { FileSet fs = filesets.elementAt(i); DirectoryScanner ds = fs.getDirectoryScanner(getPro...
[ "@", "Override", "public", "void", "execute", "(", ")", "{", "List", "<", "File", ">", "flist", "=", "new", "ArrayList", "<", "File", ">", "(", ")", ";", "if", "(", "file", "!=", "null", ")", "{", "flist", ".", "add", "(", "file", ")", ";", "}"...
Execute the build task.
[ "Execute", "the", "build", "task", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/buildtasks/AbstractInstrumentationTask.java#L115-L203
67,159
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.write
private ReturnCode write(String command, ReturnCode notStartedRC, ReturnCode errorRC) { SocketChannel channel = null; try { ServerCommandID commandID = createServerCommand(command); if (commandID.getPort() > 0) { channel = SelectorProvider.provider().openSocketCha...
java
private ReturnCode write(String command, ReturnCode notStartedRC, ReturnCode errorRC) { SocketChannel channel = null; try { ServerCommandID commandID = createServerCommand(command); if (commandID.getPort() > 0) { channel = SelectorProvider.provider().openSocketCha...
[ "private", "ReturnCode", "write", "(", "String", "command", ",", "ReturnCode", "notStartedRC", ",", "ReturnCode", "errorRC", ")", "{", "SocketChannel", "channel", "=", "null", ";", "try", "{", "ServerCommandID", "commandID", "=", "createServerCommand", "(", "comma...
Write a command to the server process. @param command the command to write @param notStartedRC the return code if the server could not be reached @param errorRC the return code if an error occurred while communicating with the server @return {@link ReturnCode#OK} if the command was sent, notStartedRC if the server cou...
[ "Write", "a", "command", "to", "the", "server", "process", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L100-L166
67,160
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.startStatus
public ReturnCode startStatus(ServerLock lock) { // The server process might not have created the command file yet. // Wait for it to appear. while (!isValid()) { ReturnCode rc = startStatusWait(lock); if (rc != ReturnCode.START_STATUS_ACTION) { return rc;...
java
public ReturnCode startStatus(ServerLock lock) { // The server process might not have created the command file yet. // Wait for it to appear. while (!isValid()) { ReturnCode rc = startStatusWait(lock); if (rc != ReturnCode.START_STATUS_ACTION) { return rc;...
[ "public", "ReturnCode", "startStatus", "(", "ServerLock", "lock", ")", "{", "// The server process might not have created the command file yet.", "// Wait for it to appear.", "while", "(", "!", "isValid", "(", ")", ")", "{", "ReturnCode", "rc", "=", "startStatusWait", "("...
Waits for the server to be fully started. @param lock the server lock, which must be held by the server process before this method is called
[ "Waits", "for", "the", "server", "to", "be", "fully", "started", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L174-L205
67,161
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.startStatusWait
private ReturnCode startStatusWait(ServerLock lock) { try { Thread.sleep(BootstrapConstants.POLL_INTERVAL_MS); } catch (InterruptedException ex) { Debug.printStackTrace(ex); return ReturnCode.ERROR_SERVER_START; } // This method is only called if the ...
java
private ReturnCode startStatusWait(ServerLock lock) { try { Thread.sleep(BootstrapConstants.POLL_INTERVAL_MS); } catch (InterruptedException ex) { Debug.printStackTrace(ex); return ReturnCode.ERROR_SERVER_START; } // This method is only called if the ...
[ "private", "ReturnCode", "startStatusWait", "(", "ServerLock", "lock", ")", "{", "try", "{", "Thread", ".", "sleep", "(", "BootstrapConstants", ".", "POLL_INTERVAL_MS", ")", ";", "}", "catch", "(", "InterruptedException", "ex", ")", "{", "Debug", ".", "printSt...
Wait a bit because the server process could not be contacted, and then verify that the server process is still running. @param lock @return {@link ReturnCode#START_STATUS_ACTION} to try contacting the server process again, or another return code to give up
[ "Wait", "a", "bit", "because", "the", "server", "process", "could", "not", "be", "contacted", "and", "then", "verify", "that", "the", "server", "process", "is", "still", "running", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L215-L231
67,162
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.stopServer
public ReturnCode stopServer(boolean force) { return write(force ? FORCE_STOP_COMMAND : STOP_COMMAND, ReturnCode.REDUNDANT_ACTION_STATUS, ReturnCode.ERROR_SERVER_STOP); }
java
public ReturnCode stopServer(boolean force) { return write(force ? FORCE_STOP_COMMAND : STOP_COMMAND, ReturnCode.REDUNDANT_ACTION_STATUS, ReturnCode.ERROR_SERVER_STOP); }
[ "public", "ReturnCode", "stopServer", "(", "boolean", "force", ")", "{", "return", "write", "(", "force", "?", "FORCE_STOP_COMMAND", ":", "STOP_COMMAND", ",", "ReturnCode", ".", "REDUNDANT_ACTION_STATUS", ",", "ReturnCode", ".", "ERROR_SERVER_STOP", ")", ";", "}" ...
Stop the server by issuing a "stop" instruction to the server listener
[ "Stop", "the", "server", "by", "issuing", "a", "stop", "instruction", "to", "the", "server", "listener" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L236-L240
67,163
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.introspectServer
public ReturnCode introspectServer(String dumpTimestamp, Set<JavaDumpAction> javaDumpActions) { // Since "server dump" is used for diagnostics, we go out of our way to // not send an unrecognized command to the server even if the user has // broken their environment such that the client process ...
java
public ReturnCode introspectServer(String dumpTimestamp, Set<JavaDumpAction> javaDumpActions) { // Since "server dump" is used for diagnostics, we go out of our way to // not send an unrecognized command to the server even if the user has // broken their environment such that the client process ...
[ "public", "ReturnCode", "introspectServer", "(", "String", "dumpTimestamp", ",", "Set", "<", "JavaDumpAction", ">", "javaDumpActions", ")", "{", "// Since \"server dump\" is used for diagnostics, we go out of our way to", "// not send an unrecognized command to the server even if the u...
Dump the server by issuing a "introspect" instruction to the server listener
[ "Dump", "the", "server", "by", "issuing", "a", "introspect", "instruction", "to", "the", "server", "listener" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L245-L264
67,164
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.javaDump
public ReturnCode javaDump(Set<JavaDumpAction> javaDumpActions) { StringBuilder commandBuilder = new StringBuilder(JAVADUMP_COMMAND); char sep = DELIM; for (JavaDumpAction javaDumpAction : javaDumpActions) { commandBuilder.append(sep).append(javaDumpAction.toString()); se...
java
public ReturnCode javaDump(Set<JavaDumpAction> javaDumpActions) { StringBuilder commandBuilder = new StringBuilder(JAVADUMP_COMMAND); char sep = DELIM; for (JavaDumpAction javaDumpAction : javaDumpActions) { commandBuilder.append(sep).append(javaDumpAction.toString()); se...
[ "public", "ReturnCode", "javaDump", "(", "Set", "<", "JavaDumpAction", ">", "javaDumpActions", ")", "{", "StringBuilder", "commandBuilder", "=", "new", "StringBuilder", "(", "JAVADUMP_COMMAND", ")", ";", "char", "sep", "=", "DELIM", ";", "for", "(", "JavaDumpAct...
Create a java dump of the server JVM by issuing a "javadump" instruction to the server listener
[ "Create", "a", "java", "dump", "of", "the", "server", "JVM", "by", "issuing", "a", "javadump", "instruction", "to", "the", "server", "listener" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L270-L281
67,165
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.pause
public ReturnCode pause(String targetArg) { StringBuilder commandBuilder = new StringBuilder(PAUSE_COMMAND); char sep = DELIM; if (targetArg != null) { commandBuilder.append(sep).append(targetArg); } return write(commandBuilder.toString(), Retur...
java
public ReturnCode pause(String targetArg) { StringBuilder commandBuilder = new StringBuilder(PAUSE_COMMAND); char sep = DELIM; if (targetArg != null) { commandBuilder.append(sep).append(targetArg); } return write(commandBuilder.toString(), Retur...
[ "public", "ReturnCode", "pause", "(", "String", "targetArg", ")", "{", "StringBuilder", "commandBuilder", "=", "new", "StringBuilder", "(", "PAUSE_COMMAND", ")", ";", "char", "sep", "=", "DELIM", ";", "if", "(", "targetArg", "!=", "null", ")", "{", "commandB...
Attempt to Stop the inbound work to a server by issuing a "pause" request to the server.
[ "Attempt", "to", "Stop", "the", "inbound", "work", "to", "a", "server", "by", "issuing", "a", "pause", "request", "to", "the", "server", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L287-L298
67,166
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java
ServerCommandClient.resume
public ReturnCode resume(String targetArg) { StringBuilder commandBuilder = new StringBuilder(RESUME_COMMAND); char sep = DELIM; if (targetArg != null) { commandBuilder.append(sep).append(targetArg); } return write(commandBuilder.toString(), Ret...
java
public ReturnCode resume(String targetArg) { StringBuilder commandBuilder = new StringBuilder(RESUME_COMMAND); char sep = DELIM; if (targetArg != null) { commandBuilder.append(sep).append(targetArg); } return write(commandBuilder.toString(), Ret...
[ "public", "ReturnCode", "resume", "(", "String", "targetArg", ")", "{", "StringBuilder", "commandBuilder", "=", "new", "StringBuilder", "(", "RESUME_COMMAND", ")", ";", "char", "sep", "=", "DELIM", ";", "if", "(", "targetArg", "!=", "null", ")", "{", "comman...
Resume Inbound work to a server by issuing a "resume" request to the server.
[ "Resume", "Inbound", "work", "to", "a", "server", "by", "issuing", "a", "resume", "request", "to", "the", "server", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/internal/commands/ServerCommandClient.java#L304-L315
67,167
OpenLiberty/open-liberty
dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/JtiNonceCache.java
JtiNonceCache.contain
public boolean contain(OidcTokenImplBase token) { //(IdToken token) { String key = token.getJwtId(); if (key == null) { return false; } key = getCacheKey(token); long currentTimeMilliseconds = (new Date()).getTime(); synchronized (primaryTable) { ...
java
public boolean contain(OidcTokenImplBase token) { //(IdToken token) { String key = token.getJwtId(); if (key == null) { return false; } key = getCacheKey(token); long currentTimeMilliseconds = (new Date()).getTime(); synchronized (primaryTable) { ...
[ "public", "boolean", "contain", "(", "OidcTokenImplBase", "token", ")", "{", "//(IdToken token) {", "String", "key", "=", "token", ".", "getJwtId", "(", ")", ";", "if", "(", "key", "==", "null", ")", "{", "return", "false", ";", "}", "key", "=", "getCach...
Find and return the object associated with the specified key. Add it if not already present.
[ "Find", "and", "return", "the", "object", "associated", "with", "the", "specified", "key", ".", "Add", "it", "if", "not", "already", "present", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/JtiNonceCache.java#L101-L127
67,168
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSStateManager.java
WSStateManager.isValid
public final ResourceException isValid(int newAction) { try { setState(newAction, true); } catch (TransactionException exp) { FFDCFilter.processException(exp, "com.ibm.ws.rsadapter.spi.WSStateManager.isValid", "385", this); return exp; } return null; ...
java
public final ResourceException isValid(int newAction) { try { setState(newAction, true); } catch (TransactionException exp) { FFDCFilter.processException(exp, "com.ibm.ws.rsadapter.spi.WSStateManager.isValid", "385", this); return exp; } return null; ...
[ "public", "final", "ResourceException", "isValid", "(", "int", "newAction", ")", "{", "try", "{", "setState", "(", "newAction", ",", "true", ")", ";", "}", "catch", "(", "TransactionException", "exp", ")", "{", "FFDCFilter", ".", "processException", "(", "ex...
If the action is valid return null. Otherwise return a TransactionException with the cause. @param newAction int @return TransactionException
[ "If", "the", "action", "is", "valid", "return", "null", ".", "Otherwise", "return", "a", "TransactionException", "with", "the", "cause", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSStateManager.java#L388-L397
67,169
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.containsValue
public boolean containsValue(Object value) throws ObjectManagerException { if (getRoot() != null) return containsValue(getRoot(), value); return false; }
java
public boolean containsValue(Object value) throws ObjectManagerException { if (getRoot() != null) return containsValue(getRoot(), value); return false; }
[ "public", "boolean", "containsValue", "(", "Object", "value", ")", "throws", "ObjectManagerException", "{", "if", "(", "getRoot", "(", ")", "!=", "null", ")", "return", "containsValue", "(", "getRoot", "(", ")", ",", "value", ")", ";", "return", "false", "...
Searches this TreeMap for the specified value. @param value the object to search for @return true if <code>value</code> is a value of this TreeMap, false otherwise
[ "Searches", "this", "TreeMap", "for", "the", "specified", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L618-L622
67,170
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.entrySet
public Set entrySet() throws ObjectManagerException { return new AbstractSetView() { public long size() { return size; } public boolean contains(Object object) throws ObjectManagerException { if (object instanceof Map.Entry) { ...
java
public Set entrySet() throws ObjectManagerException { return new AbstractSetView() { public long size() { return size; } public boolean contains(Object object) throws ObjectManagerException { if (object instanceof Map.Entry) { ...
[ "public", "Set", "entrySet", "(", ")", "throws", "ObjectManagerException", "{", "return", "new", "AbstractSetView", "(", ")", "{", "public", "long", "size", "(", ")", "{", "return", "size", ";", "}", "public", "boolean", "contains", "(", "Object", "object", ...
Answers a Set of the mappings contained in this TreeMap. Each element in the set is a Map.Entry. The set is backed by this TreeMap so changes to one are relected by the other. The set does not support adding. @return a Set of the mappings
[ "Answers", "a", "Set", "of", "the", "mappings", "contained", "in", "this", "TreeMap", ".", "Each", "element", "in", "the", "set", "is", "a", "Map", ".", "Entry", ".", "The", "set", "is", "backed", "by", "this", "TreeMap", "so", "changes", "to", "one", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L643-L666
67,171
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.get
public Object get(Object key) throws ObjectManagerException { Entry node = find(key); if (node != null) return node.value; return null; }
java
public Object get(Object key) throws ObjectManagerException { Entry node = find(key); if (node != null) return node.value; return null; }
[ "public", "Object", "get", "(", "Object", "key", ")", "throws", "ObjectManagerException", "{", "Entry", "node", "=", "find", "(", "key", ")", ";", "if", "(", "node", "!=", "null", ")", "return", "node", ".", "value", ";", "return", "null", ";", "}" ]
Answers the value of the mapping with the specified key. @param key the key @return the value of the mapping with the specified key @exception ClassCastException when the key cannot be compared with the keys in this TreeMap @exception NullPointerException when the key is null and the comparator cannot handle null
[ "Answers", "the", "value", "of", "the", "mapping", "with", "the", "specified", "key", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L821-L826
67,172
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.headMap
public SortedMap headMap(Object endKey) { // Check for errors if (comparator == null) ((Comparable) endKey).compareTo(endKey); else comparator.compare(endKey, endKey); return makeSubMap(null, endKey); }
java
public SortedMap headMap(Object endKey) { // Check for errors if (comparator == null) ((Comparable) endKey).compareTo(endKey); else comparator.compare(endKey, endKey); return makeSubMap(null, endKey); }
[ "public", "SortedMap", "headMap", "(", "Object", "endKey", ")", "{", "// Check for errors", "if", "(", "comparator", "==", "null", ")", "(", "(", "Comparable", ")", "endKey", ")", ".", "compareTo", "(", "endKey", ")", ";", "else", "comparator", ".", "compa...
Answers a SortedMap of the specified portion of this TreeMap which contains keys less than the end key. The returned SortedMap is backed by this TreeMap so changes to one are reflected by the other. @param endKey the end key @return a submap where the keys are less than <code>endKey</code> @exception ClassCastExcept...
[ "Answers", "a", "SortedMap", "of", "the", "specified", "portion", "of", "this", "TreeMap", "which", "contains", "keys", "less", "than", "the", "end", "key", ".", "The", "returned", "SortedMap", "is", "backed", "by", "this", "TreeMap", "so", "changes", "to", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L844-L851
67,173
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.keyCollection
public Collection keyCollection() { if (keyCollection == null) { keyCollection = new AbstractCollectionView() { public long size() throws ObjectManagerException { return AbstractTreeMap.this.size(); } public Iterator iterator() thr...
java
public Collection keyCollection() { if (keyCollection == null) { keyCollection = new AbstractCollectionView() { public long size() throws ObjectManagerException { return AbstractTreeMap.this.size(); } public Iterator iterator() thr...
[ "public", "Collection", "keyCollection", "(", ")", "{", "if", "(", "keyCollection", "==", "null", ")", "{", "keyCollection", "=", "new", "AbstractCollectionView", "(", ")", "{", "public", "long", "size", "(", ")", "throws", "ObjectManagerException", "{", "retu...
Answers a Collection of the keys contained in this TreeMap. The set is backed by this TreeMap so changes to one are relected by the other. The Collection does not support adding. @return a Collection of the keys
[ "Answers", "a", "Collection", "of", "the", "keys", "contained", "in", "this", "TreeMap", ".", "The", "set", "is", "backed", "by", "this", "TreeMap", "so", "changes", "to", "one", "are", "relected", "by", "the", "other", ".", "The", "Collection", "does", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L860-L878
67,174
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.remove
public Object remove(Object key) throws ObjectManagerException { Entry node = find(key); if (node == null) return null; Object result = node.value; rbDelete(node); return result; }
java
public Object remove(Object key) throws ObjectManagerException { Entry node = find(key); if (node == null) return null; Object result = node.value; rbDelete(node); return result; }
[ "public", "Object", "remove", "(", "Object", "key", ")", "throws", "ObjectManagerException", "{", "Entry", "node", "=", "find", "(", "key", ")", ";", "if", "(", "node", "==", "null", ")", "return", "null", ";", "Object", "result", "=", "node", ".", "va...
Removes a mapping with the specified key from this TreeMap. @param key the key of the mapping to remove @return the value of the removed mapping or null if key is not a key in this TreeMap @exception ClassCastException when the key cannot be compared with the keys in this TreeMap @exception NullPointerException when...
[ "Removes", "a", "mapping", "with", "the", "specified", "key", "from", "this", "TreeMap", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L1048-L1055
67,175
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.subMap
public SortedMap subMap(Object startKey, Object endKey) { if (comparator == null) { if (((Comparable) startKey).compareTo(endKey) <= 0) return makeSubMap(startKey, endKey); } else { if (comparator.compare(startKey, endKey) <= 0) return makeSubMap(s...
java
public SortedMap subMap(Object startKey, Object endKey) { if (comparator == null) { if (((Comparable) startKey).compareTo(endKey) <= 0) return makeSubMap(startKey, endKey); } else { if (comparator.compare(startKey, endKey) <= 0) return makeSubMap(s...
[ "public", "SortedMap", "subMap", "(", "Object", "startKey", ",", "Object", "endKey", ")", "{", "if", "(", "comparator", "==", "null", ")", "{", "if", "(", "(", "(", "Comparable", ")", "startKey", ")", ".", "compareTo", "(", "endKey", ")", "<=", "0", ...
Answers a SortedMap of the specified portion of this TreeMap which contains keys greater or equal to the start key but less than the end key. The returned SortedMap is backed by this TreeMap so changes to one are reflected by the other. @param startKey the start key @param endKey the end key @return a submap where th...
[ "Answers", "a", "SortedMap", "of", "the", "specified", "portion", "of", "this", "TreeMap", "which", "contains", "keys", "greater", "or", "equal", "to", "the", "start", "key", "but", "less", "than", "the", "end", "key", ".", "The", "returned", "SortedMap", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L1103-L1112
67,176
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.tailMap
public SortedMap tailMap(Object startKey) { // Check for errors if (comparator == null) ((Comparable) startKey).compareTo(startKey); else comparator.compare(startKey, startKey); return makeSubMap(startKey, null); }
java
public SortedMap tailMap(Object startKey) { // Check for errors if (comparator == null) ((Comparable) startKey).compareTo(startKey); else comparator.compare(startKey, startKey); return makeSubMap(startKey, null); }
[ "public", "SortedMap", "tailMap", "(", "Object", "startKey", ")", "{", "// Check for errors", "if", "(", "comparator", "==", "null", ")", "(", "(", "Comparable", ")", "startKey", ")", ".", "compareTo", "(", "startKey", ")", ";", "else", "comparator", ".", ...
Answers a SortedMap of the specified portion of this TreeMap which contains keys greater or equal to the start key. The returned SortedMap is backed by this TreeMap so changes to one are reflected by the other. @param startKey the start key @return a submap where the keys are greater or equal to <code>startKey</code>...
[ "Answers", "a", "SortedMap", "of", "the", "specified", "portion", "of", "this", "TreeMap", "which", "contains", "keys", "greater", "or", "equal", "to", "the", "start", "key", ".", "The", "returned", "SortedMap", "is", "backed", "by", "this", "TreeMap", "so",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L1142-L1149
67,177
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java
AbstractTreeMap.values
public Collection values() { if (values == null) { values = new AbstractCollectionView() { public long size() throws ObjectManagerException { return AbstractTreeMap.this.size(); } public Iterator iterator() throws ObjectManagerExce...
java
public Collection values() { if (values == null) { values = new AbstractCollectionView() { public long size() throws ObjectManagerException { return AbstractTreeMap.this.size(); } public Iterator iterator() throws ObjectManagerExce...
[ "public", "Collection", "values", "(", ")", "{", "if", "(", "values", "==", "null", ")", "{", "values", "=", "new", "AbstractCollectionView", "(", ")", "{", "public", "long", "size", "(", ")", "throws", "ObjectManagerException", "{", "return", "AbstractTreeM...
Answers a Collection of the values contained in this TreeMap. The collection is backed by this TreeMap so changes to one are relected by the other. The collection does not support adding. @return a Collection of the values
[ "Answers", "a", "Collection", "of", "the", "values", "contained", "in", "this", "TreeMap", ".", "The", "collection", "is", "backed", "by", "this", "TreeMap", "so", "changes", "to", "one", "are", "relected", "by", "the", "other", ".", "The", "collection", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractTreeMap.java#L1158-L1175
67,178
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java
MongoServerSelector.assignMongoServers
public static void assignMongoServers(LibertyServer libertyServer) throws Exception { MongoServerSelector mongoServerSelector = new MongoServerSelector(libertyServer); mongoServerSelector.updateLibertyServerMongos(); }
java
public static void assignMongoServers(LibertyServer libertyServer) throws Exception { MongoServerSelector mongoServerSelector = new MongoServerSelector(libertyServer); mongoServerSelector.updateLibertyServerMongos(); }
[ "public", "static", "void", "assignMongoServers", "(", "LibertyServer", "libertyServer", ")", "throws", "Exception", "{", "MongoServerSelector", "mongoServerSelector", "=", "new", "MongoServerSelector", "(", "libertyServer", ")", ";", "mongoServerSelector", ".", "updateLi...
Reads a server configuration and replaces the placeholder values with an available host and port as specified in the mongo.properties file @param libertyServer The server configuration to assign Mongo servers to @throws Exception Can't connect to any of the specified Mongo servers
[ "Reads", "a", "server", "configuration", "and", "replaces", "the", "placeholder", "values", "with", "an", "available", "host", "and", "port", "as", "specified", "in", "the", "mongo", ".", "properties", "file" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java#L67-L70
67,179
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java
MongoServerSelector.getMongoElements
private Map<String, List<MongoElement>> getMongoElements() throws Exception { for (MongoElement mongo : serverConfig.getMongos()) { addMongoElementToMap(mongo); } for (MongoDBElement mongoDB : serverConfig.getMongoDBs()) { if (mongoDB.getMongo() != null) { ...
java
private Map<String, List<MongoElement>> getMongoElements() throws Exception { for (MongoElement mongo : serverConfig.getMongos()) { addMongoElementToMap(mongo); } for (MongoDBElement mongoDB : serverConfig.getMongoDBs()) { if (mongoDB.getMongo() != null) { ...
[ "private", "Map", "<", "String", ",", "List", "<", "MongoElement", ">", ">", "getMongoElements", "(", ")", "throws", "Exception", "{", "for", "(", "MongoElement", "mongo", ":", "serverConfig", ".", "getMongos", "(", ")", ")", "{", "addMongoElementToMap", "("...
Creates a mapping of a Mongo server placeholder value to the one or more mongo elements in the server.xml containing that placeholder @param libertyServer @return
[ "Creates", "a", "mapping", "of", "a", "Mongo", "server", "placeholder", "value", "to", "the", "one", "or", "more", "mongo", "elements", "in", "the", "server", ".", "xml", "containing", "that", "placeholder" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java#L91-L101
67,180
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java
MongoServerSelector.updateMongoElements
private void updateMongoElements(String serverPlaceholder, ExternalTestService mongoService) { Integer[] port = { Integer.valueOf(mongoService.getPort()) }; for (MongoElement mongo : mongoElements.get(serverPlaceholder)) { mongo.setHostNames(mongoService.getAddress()); mongo.setP...
java
private void updateMongoElements(String serverPlaceholder, ExternalTestService mongoService) { Integer[] port = { Integer.valueOf(mongoService.getPort()) }; for (MongoElement mongo : mongoElements.get(serverPlaceholder)) { mongo.setHostNames(mongoService.getAddress()); mongo.setP...
[ "private", "void", "updateMongoElements", "(", "String", "serverPlaceholder", ",", "ExternalTestService", "mongoService", ")", "{", "Integer", "[", "]", "port", "=", "{", "Integer", ".", "valueOf", "(", "mongoService", ".", "getPort", "(", ")", ")", "}", ";", ...
For the mongo elements containing the given placeholder value, the host and port placeholder values in the mongo element are replaced with an actual host and port of an available mongo server. @param availableMongoServer
[ "For", "the", "mongo", "elements", "containing", "the", "given", "placeholder", "value", "the", "host", "and", "port", "placeholder", "values", "in", "the", "mongo", "element", "are", "replaced", "with", "an", "actual", "host", "and", "port", "of", "an", "av...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java#L125-L139
67,181
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java
MongoServerSelector.validateMongoConnection
private static boolean validateMongoConnection(ExternalTestService mongoService) { String method = "validateMongoConnection"; MongoClient mongoClient = null; String host = mongoService.getAddress(); int port = mongoService.getPort(); File trustStore = null; MongoClient...
java
private static boolean validateMongoConnection(ExternalTestService mongoService) { String method = "validateMongoConnection"; MongoClient mongoClient = null; String host = mongoService.getAddress(); int port = mongoService.getPort(); File trustStore = null; MongoClient...
[ "private", "static", "boolean", "validateMongoConnection", "(", "ExternalTestService", "mongoService", ")", "{", "String", "method", "=", "\"validateMongoConnection\"", ";", "MongoClient", "mongoClient", "=", "null", ";", "String", "host", "=", "mongoService", ".", "g...
Creates a connection to the mongo server at the given location using the mongo java client. @param location @param auth @param encrypted @return @throws Exception
[ "Creates", "a", "connection", "to", "the", "mongo", "server", "at", "the", "given", "location", "using", "the", "mongo", "java", "client", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java#L190-L242
67,182
OpenLiberty/open-liberty
dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java
MongoServerSelector.getSocketFactory
private static SSLSocketFactory getSocketFactory(File trustStore) throws KeyStoreException, FileNotFoundException, IOException, NoSuchAlgorithmException, CertificateException, KeyManagementException { KeyStore keystore = KeyStore.getInstance("JKS"); InputStream truststoreInputStream = null; try...
java
private static SSLSocketFactory getSocketFactory(File trustStore) throws KeyStoreException, FileNotFoundException, IOException, NoSuchAlgorithmException, CertificateException, KeyManagementException { KeyStore keystore = KeyStore.getInstance("JKS"); InputStream truststoreInputStream = null; try...
[ "private", "static", "SSLSocketFactory", "getSocketFactory", "(", "File", "trustStore", ")", "throws", "KeyStoreException", ",", "FileNotFoundException", ",", "IOException", ",", "NoSuchAlgorithmException", ",", "CertificateException", ",", "KeyManagementException", "{", "K...
Returns an SSLSocketFactory needed to connect to an SSL mongo server. The socket factory is created using the testTruststore.jks. @return @throws KeyStoreException @throws FileNotFoundException @throws IOException @throws NoSuchAlgorithmException @throws CertificateException @throws KeyManagementException
[ "Returns", "an", "SSLSocketFactory", "needed", "to", "connect", "to", "an", "SSL", "mongo", "server", ".", "The", "socket", "factory", "is", "created", "using", "the", "testTruststore", ".", "jks", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoServerSelector.java#L255-L277
67,183
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/LocaleUtils.java
LocaleUtils.converterTagLocaleFromString
public static Locale converterTagLocaleFromString(String name) { try { Locale locale; StringTokenizer st = new StringTokenizer(name, "_"); String language = st.nextToken(); if(st.hasMoreTokens()) { String country = st.nextT...
java
public static Locale converterTagLocaleFromString(String name) { try { Locale locale; StringTokenizer st = new StringTokenizer(name, "_"); String language = st.nextToken(); if(st.hasMoreTokens()) { String country = st.nextT...
[ "public", "static", "Locale", "converterTagLocaleFromString", "(", "String", "name", ")", "{", "try", "{", "Locale", "locale", ";", "StringTokenizer", "st", "=", "new", "StringTokenizer", "(", "name", ",", "\"_\"", ")", ";", "String", "language", "=", "st", ...
Convert locale string used by converter tags to locale. @param name name of the locale @return locale specified by the given String @see org.apache.myfaces.taglib.core.ConvertDateTimeTag#setConverterLocale @see org.apache.myfaces.taglib.core.ConvertNumberTag#setConverterLocale
[ "Convert", "locale", "string", "used", "by", "converter", "tags", "to", "locale", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/LocaleUtils.java#L109-L144
67,184
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ConcurrentLinkedList.java
ConcurrentLinkedList.incrementHeadSequenceNumber
public void incrementHeadSequenceNumber(ConcurrentSubList.Link link) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "incrementheadSequenceNumber", ...
java
public void incrementHeadSequenceNumber(ConcurrentSubList.Link link) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "incrementheadSequenceNumber", ...
[ "public", "void", "incrementHeadSequenceNumber", "(", "ConcurrentSubList", ".", "Link", "link", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ...
Increment the headSequenceNumber, after removal of a link in a subList. Caller must already be synchronized on headSequenceNumberLock. @param link causing the increment. @throws ObjectManagerException
[ "Increment", "the", "headSequenceNumber", "after", "removal", "of", "a", "link", "in", "a", "subList", ".", "Caller", "must", "already", "be", "synchronized", "on", "headSequenceNumberLock", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ConcurrentLinkedList.java#L139-L163
67,185
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ConcurrentLinkedList.java
ConcurrentLinkedList.resetTailSequenceNumber
private void resetTailSequenceNumber() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "resetTailSequenceNumber" ); for (int i = 0; i < subList...
java
private void resetTailSequenceNumber() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "resetTailSequenceNumber" ); for (int i = 0; i < subList...
[ "private", "void", "resetTailSequenceNumber", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass",...
Reset the tailSequenceNumber. Caller must be synchronized on tailSequenceNumberLock. @throws ObjectManagerException
[ "Reset", "the", "tailSequenceNumber", ".", "Caller", "must", "be", "synchronized", "on", "tailSequenceNumberLock", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ConcurrentLinkedList.java#L230-L256
67,186
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ConcurrentLinkedList.java
ConcurrentLinkedList.insert
protected ConcurrentSubList.Link insert(Token token, ConcurrentSubList.Link insertPoint, Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnab...
java
protected ConcurrentSubList.Link insert(Token token, ConcurrentSubList.Link insertPoint, Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnab...
[ "protected", "ConcurrentSubList", ".", "Link", "insert", "(", "Token", "token", ",", "ConcurrentSubList", ".", "Link", "insertPoint", ",", "Transaction", "transaction", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "...
Insert before the given link. @param token to insert. @param insertPoint which the new link will be before. @param transaction controling the insertion. @return ConcurrentSubList.Link the inserted Link. @throws ObjectManagerException
[ "Insert", "before", "the", "given", "link", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ConcurrentLinkedList.java#L554-L592
67,187
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.activate
public void activate(ComponentContext compcontext, Map<String, Object> properties) { String methodName = "activate"; if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Activating the WebContainer bundle"); } WebContainer.instanc...
java
public void activate(ComponentContext compcontext, Map<String, Object> properties) { String methodName = "activate"; if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Activating the WebContainer bundle"); } WebContainer.instanc...
[ "public", "void", "activate", "(", "ComponentContext", "compcontext", ",", "Map", "<", "String", ",", "Object", ">", "properties", ")", "{", "String", "methodName", "=", "\"activate\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&...
Activate the web container as a DS component. Activate all child services. Set the web container singleton. Post a started event. @param componentContext The component context of the activation. @param properties Properties for the activation.
[ "Activate", "the", "web", "container", "as", "a", "DS", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L273-L321
67,188
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.deactivate
@FFDCIgnore(Exception.class) public void deactivate(ComponentContext componentContext) { String methodName = "deactivate"; if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Deactivating the WebContainer bundle"); } if (TraceCompone...
java
@FFDCIgnore(Exception.class) public void deactivate(ComponentContext componentContext) { String methodName = "deactivate"; if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Deactivating the WebContainer bundle"); } if (TraceCompone...
[ "@", "FFDCIgnore", "(", "Exception", ".", "class", ")", "public", "void", "deactivate", "(", "ComponentContext", "componentContext", ")", "{", "String", "methodName", "=", "\"deactivate\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ...
Deactivate the web container as a DS component. Post a stopped event. Deactivate all child services. Clear the web container singleton. @param componentContext The component context of the deactivation.
[ "Deactivate", "the", "web", "container", "as", "a", "DS", "component", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L382-L417
67,189
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.setClassLoadingService
@Reference(service=ClassLoadingService.class, name="classLoadingService") protected void setClassLoadingService(ServiceReference<ClassLoadingService> ref) { classLoadingSRRef.setReference(ref); }
java
@Reference(service=ClassLoadingService.class, name="classLoadingService") protected void setClassLoadingService(ServiceReference<ClassLoadingService> ref) { classLoadingSRRef.setReference(ref); }
[ "@", "Reference", "(", "service", "=", "ClassLoadingService", ".", "class", ",", "name", "=", "\"classLoadingService\"", ")", "protected", "void", "setClassLoadingService", "(", "ServiceReference", "<", "ClassLoadingService", ">", "ref", ")", "{", "classLoadingSRRef",...
DS method for setting the class loading service reference. @param service
[ "DS", "method", "for", "setting", "the", "class", "loading", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L444-L447
67,190
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.setEncodingService
@Reference(policy=ReferencePolicy.DYNAMIC) protected void setEncodingService(EncodingUtils encUtils) { encodingServiceRef.set(encUtils); }
java
@Reference(policy=ReferencePolicy.DYNAMIC) protected void setEncodingService(EncodingUtils encUtils) { encodingServiceRef.set(encUtils); }
[ "@", "Reference", "(", "policy", "=", "ReferencePolicy", ".", "DYNAMIC", ")", "protected", "void", "setEncodingService", "(", "EncodingUtils", "encUtils", ")", "{", "encodingServiceRef", ".", "set", "(", "encUtils", ")", ";", "}" ]
DS method for setting the Encoding service. @param service
[ "DS", "method", "for", "setting", "the", "Encoding", "service", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L545-L548
67,191
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.setSessionHelper
@Reference(service=SessionHelper.class, name="sessionHelper") protected void setSessionHelper(ServiceReference<SessionHelper> ref) { sessionHelperSRRef.setReference(ref); }
java
@Reference(service=SessionHelper.class, name="sessionHelper") protected void setSessionHelper(ServiceReference<SessionHelper> ref) { sessionHelperSRRef.setReference(ref); }
[ "@", "Reference", "(", "service", "=", "SessionHelper", ".", "class", ",", "name", "=", "\"sessionHelper\"", ")", "protected", "void", "setSessionHelper", "(", "ServiceReference", "<", "SessionHelper", ">", "ref", ")", "{", "sessionHelperSRRef", ".", "setReference...
Set the reference to the session helper service. @param ref
[ "Set", "the", "reference", "to", "the", "session", "helper", "service", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L597-L600
67,192
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.createModuleMetaData
@Override public ModuleMetaData createModuleMetaData(ExtendedModuleInfo moduleInfo) throws MetaDataException { WebModuleInfo webModule = (WebModuleInfo) moduleInfo; if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "createModuleMetaData: " + webModule.getNam...
java
@Override public ModuleMetaData createModuleMetaData(ExtendedModuleInfo moduleInfo) throws MetaDataException { WebModuleInfo webModule = (WebModuleInfo) moduleInfo; if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "createModuleMetaData: " + webModule.getNam...
[ "@", "Override", "public", "ModuleMetaData", "createModuleMetaData", "(", "ExtendedModuleInfo", "moduleInfo", ")", "throws", "MetaDataException", "{", "WebModuleInfo", "webModule", "=", "(", "WebModuleInfo", ")", "moduleInfo", ";", "if", "(", "TraceComponent", ".", "i...
This will create the metadata for a web module in the web container
[ "This", "will", "create", "the", "metadata", "for", "a", "web", "module", "in", "the", "web", "container" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L827-L858
67,193
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.registerMBeans
protected void registerMBeans(WebModuleMetaDataImpl webModule, com.ibm.wsspi.adaptable.module.Container container) { String methodName = "registerMBeans"; String appName = webModule.getApplicationMetaData().getName(); String webAppName = webModule.getName(); String debugName; i...
java
protected void registerMBeans(WebModuleMetaDataImpl webModule, com.ibm.wsspi.adaptable.module.Container container) { String methodName = "registerMBeans"; String appName = webModule.getApplicationMetaData().getName(); String webAppName = webModule.getName(); String debugName; i...
[ "protected", "void", "registerMBeans", "(", "WebModuleMetaDataImpl", "webModule", ",", "com", ".", "ibm", ".", "wsspi", ".", "adaptable", ".", "module", ".", "Container", "container", ")", "{", "String", "methodName", "=", "\"registerMBeans\"", ";", "String", "a...
Check for the JSR77 runtime, and, if available, use it to register module and servlet mbeans. As a side effect, assign the mbean registration to the web module metadata and to the servlet metadata. The web module container is required for access to the web module descriptor. @param webModule The web module to regist...
[ "Check", "for", "the", "JSR77", "runtime", "and", "if", "available", "use", "it", "to", "register", "module", "and", "servlet", "mbeans", ".", "As", "a", "side", "effect", "assign", "the", "mbean", "registration", "to", "the", "web", "module", "metadata", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L987-L1036
67,194
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.stopModule
public void stopModule(ExtendedModuleInfo moduleInfo) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "stopModule()",((WebModuleInfo)moduleInfo).getName()); } WebModuleInfo webModule = (WebModuleInfo) moduleInfo; try { ...
java
public void stopModule(ExtendedModuleInfo moduleInfo) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "stopModule()",((WebModuleInfo)moduleInfo).getName()); } WebModuleInfo webModule = (WebModuleInfo) moduleInfo; try { ...
[ "public", "void", "stopModule", "(", "ExtendedModuleInfo", "moduleInfo", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", "(", "tc", ",", "\"stopModule()\"...
This will stop a web module in the web container
[ "This", "will", "stop", "a", "web", "module", "in", "the", "web", "container" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L1154-L1201
67,195
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java
WebContainer.setConnContextPool
@Reference(cardinality=ReferenceCardinality.MANDATORY, policy=ReferencePolicy.DYNAMIC, policyOption=ReferencePolicyOption.GREEDY) protected void setConnContextPool(SRTConnectionContextPool pool) { this.connContextPool = pool; }
java
@Reference(cardinality=ReferenceCardinality.MANDATORY, policy=ReferencePolicy.DYNAMIC, policyOption=ReferencePolicyOption.GREEDY) protected void setConnContextPool(SRTConnectionContextPool pool) { this.connContextPool = pool; }
[ "@", "Reference", "(", "cardinality", "=", "ReferenceCardinality", ".", "MANDATORY", ",", "policy", "=", "ReferencePolicy", ".", "DYNAMIC", ",", "policyOption", "=", "ReferencePolicyOption", ".", "GREEDY", ")", "protected", "void", "setConnContextPool", "(", "SRTCon...
Only DS should invoke this method
[ "Only", "DS", "should", "invoke", "this", "method" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java#L1445-L1448
67,196
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/Cache.java
Cache.refreshEntry
public void refreshEntry(com.ibm.wsspi.cache.CacheEntry ce){ cacheInstance.refreshEntry(ce.cacheEntry); }
java
public void refreshEntry(com.ibm.wsspi.cache.CacheEntry ce){ cacheInstance.refreshEntry(ce.cacheEntry); }
[ "public", "void", "refreshEntry", "(", "com", ".", "ibm", ".", "wsspi", ".", "cache", ".", "CacheEntry", "ce", ")", "{", "cacheInstance", ".", "refreshEntry", "(", "ce", ".", "cacheEntry", ")", ";", "}" ]
This method moves the specified entry to the end of the LRU queue. @param ce The cache entry
[ "This", "method", "moves", "the", "specified", "entry", "to", "the", "end", "of", "the", "LRU", "queue", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/Cache.java#L37-L39
67,197
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/Cache.java
Cache.getEntryDisk
public CacheEntry getEntryDisk(Object cacheId) { CacheEntry cacheEntry = new CacheEntry(cacheInstance.getEntryDisk(cacheId)); return cacheEntry; }
java
public CacheEntry getEntryDisk(Object cacheId) { CacheEntry cacheEntry = new CacheEntry(cacheInstance.getEntryDisk(cacheId)); return cacheEntry; }
[ "public", "CacheEntry", "getEntryDisk", "(", "Object", "cacheId", ")", "{", "CacheEntry", "cacheEntry", "=", "new", "CacheEntry", "(", "cacheInstance", ".", "getEntryDisk", "(", "cacheId", ")", ")", ";", "return", "cacheEntry", ";", "}" ]
This method returns the cache entry specified by cache ID from the disk cache. @param cacheId the cache ID @return The cache entry. NULL if cache ID does not exist.
[ "This", "method", "returns", "the", "cache", "entry", "specified", "by", "cache", "ID", "from", "the", "disk", "cache", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/Cache.java#L56-L59
67,198
OpenLiberty/open-liberty
dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/Cache.java
Cache.getEntry
public com.ibm.wsspi.cache.CacheEntry getEntry(Object cacheId){ CacheEntry cacheEntry = new CacheEntry(cacheInstance.getEntry(cacheId)); return cacheEntry; }
java
public com.ibm.wsspi.cache.CacheEntry getEntry(Object cacheId){ CacheEntry cacheEntry = new CacheEntry(cacheInstance.getEntry(cacheId)); return cacheEntry; }
[ "public", "com", ".", "ibm", ".", "wsspi", ".", "cache", ".", "CacheEntry", "getEntry", "(", "Object", "cacheId", ")", "{", "CacheEntry", "cacheEntry", "=", "new", "CacheEntry", "(", "cacheInstance", ".", "getEntry", "(", "cacheId", ")", ")", ";", "return"...
This method returns an instance of CacheEntry specified cache ID. @param cacheId the cache ID @return The instance of CacheEntry
[ "This", "method", "returns", "an", "instance", "of", "CacheEntry", "specified", "cache", "ID", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/Cache.java#L108-L111
67,199
OpenLiberty/open-liberty
dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/translator/document/XMLEncodingDetector.java
XMLEncodingDetector.getEncoding
public static Object[] getEncoding(JspInputSource inputSource) throws IOException, JspCoreException { InputStream inStream = XMLEncodingDetector.getInputStream(inputSource); //InputStream inStream = JspUtil.getInputStream(fname, jarFile, ctxt, // ...
java
public static Object[] getEncoding(JspInputSource inputSource) throws IOException, JspCoreException { InputStream inStream = XMLEncodingDetector.getInputStream(inputSource); //InputStream inStream = JspUtil.getInputStream(fname, jarFile, ctxt, // ...
[ "public", "static", "Object", "[", "]", "getEncoding", "(", "JspInputSource", "inputSource", ")", "throws", "IOException", ",", "JspCoreException", "{", "InputStream", "inStream", "=", "XMLEncodingDetector", ".", "getInputStream", "(", "inputSource", ")", ";", "//In...
Autodetects the encoding of the XML document supplied by the given input stream. Encoding autodetection is done according to the XML 1.0 specification, Appendix F.1: Detection Without External Encoding Information. @return Two-element array, where the first element (of type java.lang.String) contains the name of the ...
[ "Autodetects", "the", "encoding", "of", "the", "XML", "document", "supplied", "by", "the", "given", "input", "stream", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/translator/document/XMLEncodingDetector.java#L86-L97