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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
110,500 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.finish | public void finish() //280584.3 6021: Cleanup of defect 280584.2 WAS.webcontainer removed throws clause.
{
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"finish", "entry");
}
if (WCCustomProperti... | java | public void finish() //280584.3 6021: Cleanup of defect 280584.2 WAS.webcontainer removed throws clause.
{
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"finish", "entry");
}
if (WCCustomProperti... | [
"public",
"void",
"finish",
"(",
")",
"//280584.3 6021: Cleanup of defect 280584.2 WAS.webcontainer removed throws clause.",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
... | Close this request.
This method must be called after the request has been processed. | [
"Close",
"this",
"request",
".",
"This",
"method",
"must",
"be",
"called",
"after",
"the",
"request",
"has",
"been",
"processed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2700-L2738 |
110,501 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.popParameterStack | public void popParameterStack()
{
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"popParameterStack", "entry");
}
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse... | java | public void popParameterStack()
{
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"popParameterStack", "entry");
}
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse... | [
"public",
"void",
"popParameterStack",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"{",
"//306998.15",
"logger",
".",
"logp",
"(",
"Level",
".",
... | Revert the state of the parameters which was saved before an include call | [
"Revert",
"the",
"state",
"of",
"the",
"parameters",
"which",
"was",
"saved",
"before",
"an",
"include",
"call"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L2877-L2899 |
110,502 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.getParameterMap | public java.util.Map getParameterMap()
{
//321485
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"getParameterMap", "");
}
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRe... | java | public java.util.Map getParameterMap()
{
//321485
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"getParameterMap", "");
}
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRe... | [
"public",
"java",
".",
"util",
".",
"Map",
"getParameterMap",
"(",
")",
"{",
"//321485",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"{",
"//306998.15",
"logger"... | Returns a java.util.Map of the parameters of this request. Request parameters are extra
information sent with the request. For HTTP servlets, parameters are contained in the
query string or posted form data.
@return an immutable Map object containing parameter names as keys and parameter values
as map values. The k... | [
"Returns",
"a",
"java",
".",
"util",
".",
"Map",
"of",
"the",
"parameters",
"of",
"this",
"request",
".",
"Request",
"parameters",
"are",
"extra",
"information",
"sent",
"with",
"the",
"request",
".",
"For",
"HTTP",
"servlets",
"parameters",
"are",
"containe... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3071-L3085 |
110,503 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.getRequestURL | public java.lang.StringBuffer getRequestURL()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
StringBuffer fullURL = new StringBuffer();
// get the scheme and port up front for later use
String scheme = getScheme();
int... | java | public java.lang.StringBuffer getRequestURL()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
StringBuffer fullURL = new StringBuffer();
// get the scheme and port up front for later use
String scheme = getScheme();
int... | [
"public",
"java",
".",
"lang",
".",
"StringBuffer",
"getRequestURL",
"(",
")",
"{",
"if",
"(",
"WCCustomProperties",
".",
"CHECK_REQUEST_OBJECT_IN_USE",
")",
"{",
"checkRequestObjectInUse",
"(",
")",
";",
"}",
"StringBuffer",
"fullURL",
"=",
"new",
"StringBuffer",... | Reconstructs the URL the client used to make the request. The returned URL contains
a protocol, server name, port number, and server path, but it does not include query
string parameters.
Because this method returns a StringBuffer, not a string, you can modify the URL
easily, for example, to append query parameters.
... | [
"Reconstructs",
"the",
"URL",
"the",
"client",
"used",
"to",
"make",
"the",
"request",
".",
"The",
"returned",
"URL",
"contains",
"a",
"protocol",
"server",
"name",
"port",
"number",
"and",
"server",
"path",
"but",
"it",
"does",
"not",
"include",
"query",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3102-L3137 |
110,504 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.getAllCookieValues | public List getAllCookieValues(String cookieName){
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
List cookieValues = _request.getAllCookieValues(cookieName);
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //30... | java | public List getAllCookieValues(String cookieName){
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
List cookieValues = _request.getAllCookieValues(cookieName);
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //30... | [
"public",
"List",
"getAllCookieValues",
"(",
"String",
"cookieName",
")",
"{",
"if",
"(",
"WCCustomProperties",
".",
"CHECK_REQUEST_OBJECT_IN_USE",
")",
"{",
"checkRequestObjectInUse",
"(",
")",
";",
"}",
"List",
"cookieValues",
"=",
"_request",
".",
"getAllCookieVa... | Get the values for the cookie specified.
@param name the cookie name
@return List of values associated with this cookie name. | [
"Get",
"the",
"values",
"for",
"the",
"cookie",
"specified",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3195-L3205 |
110,505 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.getSessionAffinityContext | public Object getSessionAffinityContext()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
// 321485
Object sac = _srtRequestHelper._sessionAffinityContext;
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)... | java | public Object getSessionAffinityContext()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
// 321485
Object sac = _srtRequestHelper._sessionAffinityContext;
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)... | [
"public",
"Object",
"getSessionAffinityContext",
"(",
")",
"{",
"if",
"(",
"WCCustomProperties",
".",
"CHECK_REQUEST_OBJECT_IN_USE",
")",
"{",
"checkRequestObjectInUse",
"(",
")",
";",
"}",
"// 321485",
"Object",
"sac",
"=",
"_srtRequestHelper",
".",
"_sessionAffinity... | LIDB4395 cmd start | [
"LIDB4395",
"cmd",
"start"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3239-L3250 |
110,506 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.getEncodedRequestURI | public String getEncodedRequestURI()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
// 321485
String uri = null;
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(L... | java | public String getEncodedRequestURI()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
// 321485
String uri = null;
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(L... | [
"public",
"String",
"getEncodedRequestURI",
"(",
")",
"{",
"if",
"(",
"WCCustomProperties",
".",
"CHECK_REQUEST_OBJECT_IN_USE",
")",
"{",
"checkRequestObjectInUse",
"(",
")",
";",
"}",
"// 321485",
"String",
"uri",
"=",
"null",
";",
"if",
"(",
"TraceComponent",
... | LIDB4395 cmd end | [
"LIDB4395",
"cmd",
"end"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3265-L3284 |
110,507 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.getRunningCollaborators | public boolean getRunningCollaborators()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
// 321485
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"... | java | public boolean getRunningCollaborators()
{
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
// 321485
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15
logger.logp(Level.FINE, CLASS_NAME,"... | [
"public",
"boolean",
"getRunningCollaborators",
"(",
")",
"{",
"if",
"(",
"WCCustomProperties",
".",
"CHECK_REQUEST_OBJECT_IN_USE",
")",
"{",
"checkRequestObjectInUse",
"(",
")",
";",
"}",
"// 321485",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")... | Returns a boolean that indicates if collaborators are
running. Session Manager needs this to suppress throwing
UnauthorizedSessionRequestExceptions when getSession is
called by collaborators, rather than the application.
PK01801 | [
"Returns",
"a",
"boolean",
"that",
"indicates",
"if",
"collaborators",
"are",
"running",
".",
"Session",
"Manager",
"needs",
"this",
"to",
"suppress",
"throwing",
"UnauthorizedSessionRequestExceptions",
"when",
"getSession",
"is",
"called",
"by",
"collaborators",
"rat... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3308-L3318 |
110,508 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.setDispatcherType | public void setDispatcherType(DispatcherType dispatcherType) {
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE))
logger.logp(Level.FINE, CLASS_NAME,"setDispatcherType","dispatcherType->"+dispatcherType);
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
... | java | public void setDispatcherType(DispatcherType dispatcherType) {
if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE))
logger.logp(Level.FINE, CLASS_NAME,"setDispatcherType","dispatcherType->"+dispatcherType);
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
... | [
"public",
"void",
"setDispatcherType",
"(",
"DispatcherType",
"dispatcherType",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINE",
")",
")",
"logger",
".",
"logp",
"(",
"... | whether include or forward was used. | [
"whether",
"include",
"or",
"forward",
"was",
"used",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3509-L3516 |
110,509 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.morphIntoPart | protected Part morphIntoPart(DiskFileItem commonsFile) {
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
Part p = new SRTServletRequestPart(commonsFile);
return p;
} | java | protected Part morphIntoPart(DiskFileItem commonsFile) {
if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
checkRequestObjectInUse();
}
Part p = new SRTServletRequestPart(commonsFile);
return p;
} | [
"protected",
"Part",
"morphIntoPart",
"(",
"DiskFileItem",
"commonsFile",
")",
"{",
"if",
"(",
"WCCustomProperties",
".",
"CHECK_REQUEST_OBJECT_IN_USE",
")",
"{",
"checkRequestObjectInUse",
"(",
")",
";",
"}",
"Part",
"p",
"=",
"new",
"SRTServletRequestPart",
"(",
... | replaced for Servlet 3.1 | [
"replaced",
"for",
"Servlet",
"3",
".",
"1"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L3923-L3929 |
110,510 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.sizeInputStreamData | @SuppressWarnings("rawtypes")
@Override
public long sizeInputStreamData(Map isd) throws UnsupportedEncodingException, IllegalStateException {
validateInputStreamData(isd);
// The length of IMPUT_STREAM_CONTENT_TYPE won't exceed Integer.MAX_VALUE
long size = LENGTH_INT + LENGTH_LONG;
... | java | @SuppressWarnings("rawtypes")
@Override
public long sizeInputStreamData(Map isd) throws UnsupportedEncodingException, IllegalStateException {
validateInputStreamData(isd);
// The length of IMPUT_STREAM_CONTENT_TYPE won't exceed Integer.MAX_VALUE
long size = LENGTH_INT + LENGTH_LONG;
... | [
"@",
"SuppressWarnings",
"(",
"\"rawtypes\"",
")",
"@",
"Override",
"public",
"long",
"sizeInputStreamData",
"(",
"Map",
"isd",
")",
"throws",
"UnsupportedEncodingException",
",",
"IllegalStateException",
"{",
"validateInputStreamData",
"(",
"isd",
")",
";",
"// The l... | returns estimated size of serialized InputStreamData
this code does not consider that the length in long overwraps. | [
"returns",
"estimated",
"size",
"of",
"serialized",
"InputStreamData",
"this",
"code",
"does",
"not",
"consider",
"that",
"the",
"length",
"in",
"long",
"overwraps",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L4135-L4154 |
110,511 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java | SRTServletRequest.validateInputStreamData | @SuppressWarnings("rawtypes")
protected void validateInputStreamData(Map isd) throws IllegalStateException {
String message = null;
if (isd != null) {
if (isd.size() <= 3) {
boolean type = isd.containsKey(INPUT_STREAM_CONTENT_TYPE);
boolean length = isd.co... | java | @SuppressWarnings("rawtypes")
protected void validateInputStreamData(Map isd) throws IllegalStateException {
String message = null;
if (isd != null) {
if (isd.size() <= 3) {
boolean type = isd.containsKey(INPUT_STREAM_CONTENT_TYPE);
boolean length = isd.co... | [
"@",
"SuppressWarnings",
"(",
"\"rawtypes\"",
")",
"protected",
"void",
"validateInputStreamData",
"(",
"Map",
"isd",
")",
"throws",
"IllegalStateException",
"{",
"String",
"message",
"=",
"null",
";",
"if",
"(",
"isd",
"!=",
"null",
")",
"{",
"if",
"(",
"is... | verify the InputStreamData Map object contains required value.
throws IllegalStateException if there is any missing values. | [
"verify",
"the",
"InputStreamData",
"Map",
"object",
"contains",
"required",
"value",
".",
"throws",
"IllegalStateException",
"if",
"there",
"is",
"any",
"missing",
"values",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/srt/SRTServletRequest.java#L4160-L4183 |
110,512 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/core/ValidateDelegateHandler.java | ValidateDelegateHandler.createValidator | protected Validator createValidator(FaceletContext ctx)
{
return ctx.getFacesContext().getApplication().createValidator(this.getValidatorId(ctx));
} | java | protected Validator createValidator(FaceletContext ctx)
{
return ctx.getFacesContext().getApplication().createValidator(this.getValidatorId(ctx));
} | [
"protected",
"Validator",
"createValidator",
"(",
"FaceletContext",
"ctx",
")",
"{",
"return",
"ctx",
".",
"getFacesContext",
"(",
")",
".",
"getApplication",
"(",
")",
".",
"createValidator",
"(",
"this",
".",
"getValidatorId",
"(",
"ctx",
")",
")",
";",
"}... | Uses the specified "validatorId" to get a new Validator instance from the Application.
@see javax.faces.application.Application#createValidator(java.lang.String)
@see javax.faces.view.facelets.ValidatorHandler#createValidator(javax.faces.view.facelets.FaceletContext) | [
"Uses",
"the",
"specified",
"validatorId",
"to",
"get",
"a",
"new",
"Validator",
"instance",
"from",
"the",
"Application",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/core/ValidateDelegateHandler.java#L63-L66 |
110,513 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.addChangeListener | public synchronized boolean addChangeListener(ChangeListener listener) {
if (bEnableListener && listener != null) {
eventSource.addListener(listener);
if (tc.isDebugEnabled()) {
Tr.debug(tc, "addChangeListener() cacheName=" + this.cacheName + " listener=" + eventSource.ge... | java | public synchronized boolean addChangeListener(ChangeListener listener) {
if (bEnableListener && listener != null) {
eventSource.addListener(listener);
if (tc.isDebugEnabled()) {
Tr.debug(tc, "addChangeListener() cacheName=" + this.cacheName + " listener=" + eventSource.ge... | [
"public",
"synchronized",
"boolean",
"addChangeListener",
"(",
"ChangeListener",
"listener",
")",
"{",
"if",
"(",
"bEnableListener",
"&&",
"listener",
"!=",
"null",
")",
"{",
"eventSource",
".",
"addListener",
"(",
"listener",
")",
";",
"if",
"(",
"tc",
".",
... | This is a helper method to add change listener to all entries. | [
"This",
"is",
"a",
"helper",
"method",
"to",
"add",
"change",
"listener",
"to",
"all",
"entries",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L120-L129 |
110,514 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.addInvalidationListener | public synchronized boolean addInvalidationListener(InvalidationListener listener) {
if (bEnableListener && listener != null) {
eventSource.addListener(listener);
if (tc.isDebugEnabled()) {
Tr.debug(tc, "addInvalidationListener() cacheName=" + this.cacheName + " listener=... | java | public synchronized boolean addInvalidationListener(InvalidationListener listener) {
if (bEnableListener && listener != null) {
eventSource.addListener(listener);
if (tc.isDebugEnabled()) {
Tr.debug(tc, "addInvalidationListener() cacheName=" + this.cacheName + " listener=... | [
"public",
"synchronized",
"boolean",
"addInvalidationListener",
"(",
"InvalidationListener",
"listener",
")",
"{",
"if",
"(",
"bEnableListener",
"&&",
"listener",
"!=",
"null",
")",
"{",
"eventSource",
".",
"addListener",
"(",
"listener",
")",
";",
"if",
"(",
"t... | This is a helper method to add invalidation listener to all entries. | [
"This",
"is",
"a",
"helper",
"method",
"to",
"add",
"invalidation",
"listener",
"to",
"all",
"entries",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L134-L143 |
110,515 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.addPreInvalidationListener | public synchronized boolean addPreInvalidationListener(PreInvalidationListener listener) {
if (bEnableListener && listener != null) {
if (eventSource.getPreInvalidationListenerCount() > 0 && tc.isDebugEnabled()) {
Tr.debug(tc, "addPreInvalidationListener() cacheName=" + this.cacheNam... | java | public synchronized boolean addPreInvalidationListener(PreInvalidationListener listener) {
if (bEnableListener && listener != null) {
if (eventSource.getPreInvalidationListenerCount() > 0 && tc.isDebugEnabled()) {
Tr.debug(tc, "addPreInvalidationListener() cacheName=" + this.cacheNam... | [
"public",
"synchronized",
"boolean",
"addPreInvalidationListener",
"(",
"PreInvalidationListener",
"listener",
")",
"{",
"if",
"(",
"bEnableListener",
"&&",
"listener",
"!=",
"null",
")",
"{",
"if",
"(",
"eventSource",
".",
"getPreInvalidationListenerCount",
"(",
")",... | This is a helper method to add pre-invalidation listener to all entries. | [
"This",
"is",
"a",
"helper",
"method",
"to",
"add",
"pre",
"-",
"invalidation",
"listener",
"to",
"all",
"entries",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L148-L157 |
110,516 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.disableCacheSizeInMB | public void disableCacheSizeInMB() {
this.memoryCacheSizeInMBEnabled = false;
this.cacheConfig.memoryCacheSizeInMB = -1;
this.currentMemoryCacheSizeInBytes = -1;
if (tc.isDebugEnabled()) {
Tr.debug(tc, "disableCacheSizeInMB() cacheName=" + this.cacheName);
}
} | java | public void disableCacheSizeInMB() {
this.memoryCacheSizeInMBEnabled = false;
this.cacheConfig.memoryCacheSizeInMB = -1;
this.currentMemoryCacheSizeInBytes = -1;
if (tc.isDebugEnabled()) {
Tr.debug(tc, "disableCacheSizeInMB() cacheName=" + this.cacheName);
}
} | [
"public",
"void",
"disableCacheSizeInMB",
"(",
")",
"{",
"this",
".",
"memoryCacheSizeInMBEnabled",
"=",
"false",
";",
"this",
".",
"cacheConfig",
".",
"memoryCacheSizeInMB",
"=",
"-",
"1",
";",
"this",
".",
"currentMemoryCacheSizeInBytes",
"=",
"-",
"1",
";",
... | Disable cache size in MB | [
"Disable",
"cache",
"size",
"in",
"MB"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L273-L280 |
110,517 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.increaseCacheSizeInBytes | public void increaseCacheSizeInBytes(long size, String msg) {
if (this.memoryCacheSizeInMBEnabled) {
this.currentMemoryCacheSizeInBytes += size;
if (tc.isDebugEnabled()) {
Tr.debug(tc, "increaseCacheSizeInBytes() cacheName=" + cacheName + " " + msg + " size=" + size + " c... | java | public void increaseCacheSizeInBytes(long size, String msg) {
if (this.memoryCacheSizeInMBEnabled) {
this.currentMemoryCacheSizeInBytes += size;
if (tc.isDebugEnabled()) {
Tr.debug(tc, "increaseCacheSizeInBytes() cacheName=" + cacheName + " " + msg + " size=" + size + " c... | [
"public",
"void",
"increaseCacheSizeInBytes",
"(",
"long",
"size",
",",
"String",
"msg",
")",
"{",
"if",
"(",
"this",
".",
"memoryCacheSizeInMBEnabled",
")",
"{",
"this",
".",
"currentMemoryCacheSizeInBytes",
"+=",
"size",
";",
"if",
"(",
"tc",
".",
"isDebugEn... | Increase cache size in bytes to the total count
@param size
The size to be increased | [
"Increase",
"cache",
"size",
"in",
"bytes",
"to",
"the",
"total",
"count"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L288-L296 |
110,518 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.initEventSource | private boolean initEventSource() {
boolean success = false;
try {
eventSource = ServerCache.cacheUnit.createEventSource(cacheConfig.useListenerContext, cacheName);
} catch (Exception ex) {
com.ibm.ws.ffdc.FFDCFilter.processException(ex, "com.ibm.ws.cache.Cache.initEventS... | java | private boolean initEventSource() {
boolean success = false;
try {
eventSource = ServerCache.cacheUnit.createEventSource(cacheConfig.useListenerContext, cacheName);
} catch (Exception ex) {
com.ibm.ws.ffdc.FFDCFilter.processException(ex, "com.ibm.ws.cache.Cache.initEventS... | [
"private",
"boolean",
"initEventSource",
"(",
")",
"{",
"boolean",
"success",
"=",
"false",
";",
"try",
"{",
"eventSource",
"=",
"ServerCache",
".",
"cacheUnit",
".",
"createEventSource",
"(",
"cacheConfig",
".",
"useListenerContext",
",",
"cacheName",
")",
";",... | This is a helper method to initialize event source for invalidation listener | [
"This",
"is",
"a",
"helper",
"method",
"to",
"initialize",
"event",
"source",
"for",
"invalidation",
"listener"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L409-L420 |
110,519 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.removeChangeListener | public synchronized boolean removeChangeListener(ChangeListener listener) {
if (bEnableListener && listener != null) {
eventSource.removeListener(listener);
return true;
}
return false;
} | java | public synchronized boolean removeChangeListener(ChangeListener listener) {
if (bEnableListener && listener != null) {
eventSource.removeListener(listener);
return true;
}
return false;
} | [
"public",
"synchronized",
"boolean",
"removeChangeListener",
"(",
"ChangeListener",
"listener",
")",
"{",
"if",
"(",
"bEnableListener",
"&&",
"listener",
"!=",
"null",
")",
"{",
"eventSource",
".",
"removeListener",
"(",
"listener",
")",
";",
"return",
"true",
"... | This is a helper method to remove change listener for all entries. | [
"This",
"is",
"a",
"helper",
"method",
"to",
"remove",
"change",
"listener",
"for",
"all",
"entries",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L472-L478 |
110,520 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.removeInvalidationListener | public synchronized boolean removeInvalidationListener(InvalidationListener listener) {
if (bEnableListener && listener != null) {
eventSource.removeListener(listener);
return true;
}
return false;
} | java | public synchronized boolean removeInvalidationListener(InvalidationListener listener) {
if (bEnableListener && listener != null) {
eventSource.removeListener(listener);
return true;
}
return false;
} | [
"public",
"synchronized",
"boolean",
"removeInvalidationListener",
"(",
"InvalidationListener",
"listener",
")",
"{",
"if",
"(",
"bEnableListener",
"&&",
"listener",
"!=",
"null",
")",
"{",
"eventSource",
".",
"removeListener",
"(",
"listener",
")",
";",
"return",
... | This is a helper method to remove invalidation listener for all entries. | [
"This",
"is",
"a",
"helper",
"method",
"to",
"remove",
"invalidation",
"listener",
"for",
"all",
"entries",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L483-L489 |
110,521 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java | DCacheBase.removePreInvalidationListener | public synchronized boolean removePreInvalidationListener(PreInvalidationListener listener) {
if (bEnableListener && listener != null) {
eventSource.removeListener(listener);
return true;
}
return false;
} | java | public synchronized boolean removePreInvalidationListener(PreInvalidationListener listener) {
if (bEnableListener && listener != null) {
eventSource.removeListener(listener);
return true;
}
return false;
} | [
"public",
"synchronized",
"boolean",
"removePreInvalidationListener",
"(",
"PreInvalidationListener",
"listener",
")",
"{",
"if",
"(",
"bEnableListener",
"&&",
"listener",
"!=",
"null",
")",
"{",
"eventSource",
".",
"removeListener",
"(",
"listener",
")",
";",
"retu... | This is a helper method to remove pre-invalidation listener for all entries. | [
"This",
"is",
"a",
"helper",
"method",
"to",
"remove",
"pre",
"-",
"invalidation",
"listener",
"for",
"all",
"entries",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/DCacheBase.java#L494-L500 |
110,522 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/ExtensionUtils.java | ExtensionUtils.listProductExtensionDirectories | static List<File> listProductExtensionDirectories() {
List<File> dirs = new ArrayList<File>();
for (ProductExtensionInfo info : ProductExtension.getProductExtensions()) {
// there are some fat tests which constructs incorrect ProductExtensionInfo.
// in order to avoid the test fa... | java | static List<File> listProductExtensionDirectories() {
List<File> dirs = new ArrayList<File>();
for (ProductExtensionInfo info : ProductExtension.getProductExtensions()) {
// there are some fat tests which constructs incorrect ProductExtensionInfo.
// in order to avoid the test fa... | [
"static",
"List",
"<",
"File",
">",
"listProductExtensionDirectories",
"(",
")",
"{",
"List",
"<",
"File",
">",
"dirs",
"=",
"new",
"ArrayList",
"<",
"File",
">",
"(",
")",
";",
"for",
"(",
"ProductExtensionInfo",
"info",
":",
"ProductExtension",
".",
"get... | List all of product extension directory.
It returns empty List object if there is no product extension. | [
"List",
"all",
"of",
"product",
"extension",
"directory",
".",
"It",
"returns",
"empty",
"List",
"object",
"if",
"there",
"is",
"no",
"product",
"extension",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/ExtensionUtils.java#L71-L87 |
110,523 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/ExtensionUtils.java | ExtensionUtils.findExtensionBundles | static private List<LaunchManifest.RequiredBundle> findExtensionBundles(List<File> dirs) throws IOException {
List<LaunchManifest.RequiredBundle> list = new ArrayList<LaunchManifest.RequiredBundle>();
for (File dir : dirs) {
if (dir.exists()) {
File[] files = dir.listFiles();... | java | static private List<LaunchManifest.RequiredBundle> findExtensionBundles(List<File> dirs) throws IOException {
List<LaunchManifest.RequiredBundle> list = new ArrayList<LaunchManifest.RequiredBundle>();
for (File dir : dirs) {
if (dir.exists()) {
File[] files = dir.listFiles();... | [
"static",
"private",
"List",
"<",
"LaunchManifest",
".",
"RequiredBundle",
">",
"findExtensionBundles",
"(",
"List",
"<",
"File",
">",
"dirs",
")",
"throws",
"IOException",
"{",
"List",
"<",
"LaunchManifest",
".",
"RequiredBundle",
">",
"list",
"=",
"new",
"Ar... | Find Required bundles from the manifest file underneath specified directory recursively.
this method does not expect that the parameters are null.
returns list of RequredBundle object. | [
"Find",
"Required",
"bundles",
"from",
"the",
"manifest",
"file",
"underneath",
"specified",
"directory",
"recursively",
".",
"this",
"method",
"does",
"not",
"expect",
"that",
"the",
"parameters",
"are",
"null",
".",
"returns",
"list",
"of",
"RequredBundle",
"o... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/ExtensionUtils.java#L94-L112 |
110,524 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/ExtensionUtils.java | ExtensionUtils.getRequiredBundles | static private String getRequiredBundles(File file) throws IOException {
JarFile jar = new JarFile(file);
Attributes attr = jar.getManifest().getMainAttributes();
jar.close();
return attr.getValue("Require-Bundle");
} | java | static private String getRequiredBundles(File file) throws IOException {
JarFile jar = new JarFile(file);
Attributes attr = jar.getManifest().getMainAttributes();
jar.close();
return attr.getValue("Require-Bundle");
} | [
"static",
"private",
"String",
"getRequiredBundles",
"(",
"File",
"file",
")",
"throws",
"IOException",
"{",
"JarFile",
"jar",
"=",
"new",
"JarFile",
"(",
"file",
")",
";",
"Attributes",
"attr",
"=",
"jar",
".",
"getManifest",
"(",
")",
".",
"getMainAttribut... | find the Require-Bundle name from the specified jar file. | [
"find",
"the",
"Require",
"-",
"Bundle",
"name",
"from",
"the",
"specified",
"jar",
"file",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/ExtensionUtils.java#L118-L123 |
110,525 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.jsl.model/src/com/ibm/jbatch/jsl/model/Listeners.java | Listeners.getListenerList | @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2014-06-11T05:49:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public List<Listener> getListenerList() {
if (listenerList == null) {
listenerList = new ArrayList<Listener>();
}
return this.list... | java | @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2014-06-11T05:49:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public List<Listener> getListenerList() {
if (listenerList == null) {
listenerList = new ArrayList<Listener>();
}
return this.list... | [
"@",
"Generated",
"(",
"value",
"=",
"\"com.ibm.jtc.jax.tools.xjc.Driver\"",
",",
"date",
"=",
"\"2014-06-11T05:49:00-04:00\"",
",",
"comments",
"=",
"\"JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-\"",
")",
"public",
"List",
"<",
"Listener",
">",
"getListenerList",
"(",
"... | Gets the value of the listenerList property.
<p>
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a <CODE>set</CODE> method for the listenerList property.
<p>
For example... | [
"Gets",
"the",
"value",
"of",
"the",
"listenerList",
"property",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.jsl.model/src/com/ibm/jbatch/jsl/model/Listeners.java#L82-L88 |
110,526 | OpenLiberty/open-liberty | dev/com.ibm.ws.session.store/src/com/ibm/ws/session/store/common/BackedSession.java | BackedSession.includeInAppDataChanges | private void includeInAppDataChanges(String name, Object value, int invoker) {
if (appDataTablesPerThread) {
Thread t = Thread.currentThread();
Hashtable sht = (Hashtable) appDataChanges.get(t);
if (sht == null) {
sht = new Hashtable();
appData... | java | private void includeInAppDataChanges(String name, Object value, int invoker) {
if (appDataTablesPerThread) {
Thread t = Thread.currentThread();
Hashtable sht = (Hashtable) appDataChanges.get(t);
if (sht == null) {
sht = new Hashtable();
appData... | [
"private",
"void",
"includeInAppDataChanges",
"(",
"String",
"name",
",",
"Object",
"value",
",",
"int",
"invoker",
")",
"{",
"if",
"(",
"appDataTablesPerThread",
")",
"{",
"Thread",
"t",
"=",
"Thread",
".",
"currentThread",
"(",
")",
";",
"Hashtable",
"sht"... | Adds a session attribute to the tracked list of changed data.
Precondition: invoker must be synchronized on BackedSession instance
@param name name of session attribute
@param value value of session attribute
@param invoker constant indicating the invoking method: GET_VALUE_GUTS or PUT_VALUE_GUTS | [
"Adds",
"a",
"session",
"attribute",
"to",
"the",
"tracked",
"list",
"of",
"changed",
"data",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session.store/src/com/ibm/ws/session/store/common/BackedSession.java#L671-L692 |
110,527 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.recover | private void recover(Connection conn) throws SQLException, RecoverableUnitSectionExistsException, InternalLogException {
if (tc.isEntryEnabled())
Tr.entry(tc, "recover", conn);
Statement recoveryStmt = null;
ResultSet recoveryRS = null;
try {
recoveryStmt = conn... | java | private void recover(Connection conn) throws SQLException, RecoverableUnitSectionExistsException, InternalLogException {
if (tc.isEntryEnabled())
Tr.entry(tc, "recover", conn);
Statement recoveryStmt = null;
ResultSet recoveryRS = null;
try {
recoveryStmt = conn... | [
"private",
"void",
"recover",
"(",
"Connection",
"conn",
")",
"throws",
"SQLException",
",",
"RecoverableUnitSectionExistsException",
",",
"InternalLogException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"... | Retrieves log records from the database ready for recovery
processing.
@exception SQLException thrown if a SQLException is
encountered when accessing the
Database.
@exception InternalLogException Thrown if an
unexpected error has occured. | [
"Retrieves",
"log",
"records",
"from",
"the",
"database",
"ready",
"for",
"recovery",
"processing",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L1031-L1088 |
110,528 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.isSQLErrorTransient | private boolean isSQLErrorTransient(SQLException sqlex) {
if (tc.isEntryEnabled())
Tr.entry(tc, "isSQLErrorTransient ", new Object[] { sqlex, this });
boolean retryBatch = false;
int sqlErrorCode = sqlex.getErrorCode();
if (tc.isEventEnabled()) {
Tr.event(tc, " S... | java | private boolean isSQLErrorTransient(SQLException sqlex) {
if (tc.isEntryEnabled())
Tr.entry(tc, "isSQLErrorTransient ", new Object[] { sqlex, this });
boolean retryBatch = false;
int sqlErrorCode = sqlex.getErrorCode();
if (tc.isEventEnabled()) {
Tr.event(tc, " S... | [
"private",
"boolean",
"isSQLErrorTransient",
"(",
"SQLException",
"sqlex",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"isSQLErrorTransient \"",
",",
"new",
"Object",
"[",
"]",
"{",
"sqlex",
",",
... | Determine whether we have encountered a potentially transient
SQL error condition. If so we can retry the SQL.
@return true if the error is transient. | [
"Determine",
"whether",
"we",
"have",
"encountered",
"a",
"potentially",
"transient",
"SQL",
"error",
"condition",
".",
"If",
"so",
"we",
"can",
"retry",
"the",
"SQL",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L2143-L2199 |
110,529 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.handleForceSectionsSQLException | private boolean handleForceSectionsSQLException(SQLException sqlex) throws InterruptedException {
if (tc.isEntryEnabled())
Tr.entry(tc, "handleForceSectionsSQLException", new java.lang.Object[] { sqlex, this });
boolean retryBatch = true;
boolean failAndReport = false;
int b... | java | private boolean handleForceSectionsSQLException(SQLException sqlex) throws InterruptedException {
if (tc.isEntryEnabled())
Tr.entry(tc, "handleForceSectionsSQLException", new java.lang.Object[] { sqlex, this });
boolean retryBatch = true;
boolean failAndReport = false;
int b... | [
"private",
"boolean",
"handleForceSectionsSQLException",
"(",
"SQLException",
"sqlex",
")",
"throws",
"InterruptedException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"handleForceSectionsSQLException\"",
",",
... | Attempts to replay the cached up SQL work if an error is
encountered during force processing and if the error is
determined to be transient.
@return true if the error cannot be handled and should be
reported. | [
"Attempts",
"to",
"replay",
"the",
"cached",
"up",
"SQL",
"work",
"if",
"an",
"error",
"is",
"encountered",
"during",
"force",
"processing",
"and",
"if",
"the",
"error",
"is",
"determined",
"to",
"be",
"transient",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L2359-L2450 |
110,530 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.takeHADBLock | private void takeHADBLock(Connection conn) throws SQLException, InternalLogException {
if (tc.isEntryEnabled())
Tr.entry(tc, "takeHADBLock", new java.lang.Object[] { conn, this });
Statement lockingStmt = null;
ResultSet lockingRS = null;
try {
lockingStmt = con... | java | private void takeHADBLock(Connection conn) throws SQLException, InternalLogException {
if (tc.isEntryEnabled())
Tr.entry(tc, "takeHADBLock", new java.lang.Object[] { conn, this });
Statement lockingStmt = null;
ResultSet lockingRS = null;
try {
lockingStmt = con... | [
"private",
"void",
"takeHADBLock",
"(",
"Connection",
"conn",
")",
"throws",
"SQLException",
",",
"InternalLogException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"takeHADBLock\"",
",",
"new",
"java",
... | Takes a row lock against the database table that is being used
for the recovery log. This fulfils the same role as the file
locking scheme in conventional transaction logging to a
filesystem. The intent is that only one server should be
logging to a specific table at a time. There is sometimes a
lag in peer recovery wh... | [
"Takes",
"a",
"row",
"lock",
"against",
"the",
"database",
"table",
"that",
"is",
"being",
"used",
"for",
"the",
"recovery",
"log",
".",
"This",
"fulfils",
"the",
"same",
"role",
"as",
"the",
"file",
"locking",
"scheme",
"in",
"conventional",
"transaction",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L2591-L2646 |
110,531 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.updateHADBLock | private void updateHADBLock(Connection conn, Statement lockingStmt, ResultSet lockingRS) throws SQLException {
if (tc.isEntryEnabled())
Tr.entry(tc, "updateHADBLock", new java.lang.Object[] { conn, lockingStmt, lockingRS, this });
if (lockingRS.next()) {
// We found the HA Lock ... | java | private void updateHADBLock(Connection conn, Statement lockingStmt, ResultSet lockingRS) throws SQLException {
if (tc.isEntryEnabled())
Tr.entry(tc, "updateHADBLock", new java.lang.Object[] { conn, lockingStmt, lockingRS, this });
if (lockingRS.next()) {
// We found the HA Lock ... | [
"private",
"void",
"updateHADBLock",
"(",
"Connection",
"conn",
",",
"Statement",
"lockingStmt",
",",
"ResultSet",
"lockingRS",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"... | Acquires ownership of the special row used in the HA locking
scheme. There is sometimes a lag in peer recovery where an old
server is closing down while a new server is opening the same
log for peer recovery.
@exception SQLException thrown if a SQLException is
encountered when accessing the
Database.
@exception Intern... | [
"Acquires",
"ownership",
"of",
"the",
"special",
"row",
"used",
"in",
"the",
"HA",
"locking",
"scheme",
".",
"There",
"is",
"sometimes",
"a",
"lag",
"in",
"peer",
"recovery",
"where",
"an",
"old",
"server",
"is",
"closing",
"down",
"while",
"a",
"new",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L2663-L2722 |
110,532 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.getTransientSQLErrorRetryAttempts | private Integer getTransientSQLErrorRetryAttempts() {
if (tc.isEntryEnabled())
Tr.entry(tc, "getTransientSQLErrorRetryAttempts");
Integer transientSqlRetryAttempts = null;
try {
transientSqlRetryAttempts = AccessController.doPrivileged(
new P... | java | private Integer getTransientSQLErrorRetryAttempts() {
if (tc.isEntryEnabled())
Tr.entry(tc, "getTransientSQLErrorRetryAttempts");
Integer transientSqlRetryAttempts = null;
try {
transientSqlRetryAttempts = AccessController.doPrivileged(
new P... | [
"private",
"Integer",
"getTransientSQLErrorRetryAttempts",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getTransientSQLErrorRetryAttempts\"",
")",
";",
"Integer",
"transientSqlRetryAttempts",
"=",
"nu... | This method retrieves a system property named
com.ibm.ws.recoverylog.custom.jdbc.impl.TransientRetryAttempts
which allows a value to be specified for the number of times
that we should try to get a connection and retry SQL work in
the face of transient sql error conditions. | [
"This",
"method",
"retrieves",
"a",
"system",
"property",
"named",
"com",
".",
"ibm",
".",
"ws",
".",
"recoverylog",
".",
"custom",
".",
"jdbc",
".",
"impl",
".",
"TransientRetryAttempts",
"which",
"allows",
"a",
"value",
"to",
"be",
"specified",
"for",
"t... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L3309-L3337 |
110,533 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.getTransientSQLErrorRetrySleepTime | private Integer getTransientSQLErrorRetrySleepTime() {
if (tc.isEntryEnabled())
Tr.entry(tc, "getTransientSQLErrorRetrySleepTime");
Integer transientSqlRetrySleepTime = null;
try {
transientSqlRetrySleepTime = AccessController.doPrivileged(
n... | java | private Integer getTransientSQLErrorRetrySleepTime() {
if (tc.isEntryEnabled())
Tr.entry(tc, "getTransientSQLErrorRetrySleepTime");
Integer transientSqlRetrySleepTime = null;
try {
transientSqlRetrySleepTime = AccessController.doPrivileged(
n... | [
"private",
"Integer",
"getTransientSQLErrorRetrySleepTime",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getTransientSQLErrorRetrySleepTime\"",
")",
";",
"Integer",
"transientSqlRetrySleepTime",
"=",
... | This method retrieves a system property named
com.ibm.ws.recoverylog.custom.jdbc.impl.TransientRetrySleepTime
which allows a value to be specified for the time we should
sleep between attempts to get a connection and retry SQL work
in the face of transient sql error conditions. | [
"This",
"method",
"retrieves",
"a",
"system",
"property",
"named",
"com",
".",
"ibm",
".",
"ws",
".",
"recoverylog",
".",
"custom",
".",
"jdbc",
".",
"impl",
".",
"TransientRetrySleepTime",
"which",
"allows",
"a",
"value",
"to",
"be",
"specified",
"for",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L3349-L3377 |
110,534 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.provideServiceability | @Override
public void provideServiceability() {
Exception e = new Exception();
try {
FFDCFilter.processException(e, "com.ibm.ws.recoverylog.custom.jdbc.impl.SQLMultiScopeRecoveryLog.provideServiceability", "3624", this);
HashMap<Long, RecoverableUnit> rus = _recoverableUnits;... | java | @Override
public void provideServiceability() {
Exception e = new Exception();
try {
FFDCFilter.processException(e, "com.ibm.ws.recoverylog.custom.jdbc.impl.SQLMultiScopeRecoveryLog.provideServiceability", "3624", this);
HashMap<Long, RecoverableUnit> rus = _recoverableUnits;... | [
"@",
"Override",
"public",
"void",
"provideServiceability",
"(",
")",
"{",
"Exception",
"e",
"=",
"new",
"Exception",
"(",
")",
";",
"try",
"{",
"FFDCFilter",
".",
"processException",
"(",
"e",
",",
"\"com.ibm.ws.recoverylog.custom.jdbc.impl.SQLMultiScopeRecoveryLog.p... | Called when logs fail. Provides more comprehensive FFDC - PI45254.
this is NOT synchronized to avoid deadlocks. | [
"Called",
"when",
"logs",
"fail",
".",
"Provides",
"more",
"comprehensive",
"FFDC",
"-",
"PI45254",
".",
"this",
"is",
"NOT",
"synchronized",
"to",
"avoid",
"deadlocks",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L3450-L3461 |
110,535 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.prepareConnectionForBatch | private int prepareConnectionForBatch(Connection conn) throws SQLException {
conn.setAutoCommit(false);
int initialIsolation = Connection.TRANSACTION_REPEATABLE_READ;
if (_isDB2)
{
try
{
initialIsolation = conn.getTransactionIsolation();
... | java | private int prepareConnectionForBatch(Connection conn) throws SQLException {
conn.setAutoCommit(false);
int initialIsolation = Connection.TRANSACTION_REPEATABLE_READ;
if (_isDB2)
{
try
{
initialIsolation = conn.getTransactionIsolation();
... | [
"private",
"int",
"prepareConnectionForBatch",
"(",
"Connection",
"conn",
")",
"throws",
"SQLException",
"{",
"conn",
".",
"setAutoCommit",
"(",
"false",
")",
";",
"int",
"initialIsolation",
"=",
"Connection",
".",
"TRANSACTION_REPEATABLE_READ",
";",
"if",
"(",
"_... | Sets AutoCommit and Isolation level for the connection | [
"Sets",
"AutoCommit",
"and",
"Isolation",
"level",
"for",
"the",
"connection"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L3464-L3493 |
110,536 | OpenLiberty/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java | SQLMultiScopeRecoveryLog.closeConnectionAfterBatch | private void closeConnectionAfterBatch(Connection conn, int initialIsolation) throws SQLException {
if (_isDB2)
{
if (Connection.TRANSACTION_REPEATABLE_READ != initialIsolation && Connection.TRANSACTION_SERIALIZABLE != initialIsolation)
try
{
... | java | private void closeConnectionAfterBatch(Connection conn, int initialIsolation) throws SQLException {
if (_isDB2)
{
if (Connection.TRANSACTION_REPEATABLE_READ != initialIsolation && Connection.TRANSACTION_SERIALIZABLE != initialIsolation)
try
{
... | [
"private",
"void",
"closeConnectionAfterBatch",
"(",
"Connection",
"conn",
",",
"int",
"initialIsolation",
")",
"throws",
"SQLException",
"{",
"if",
"(",
"_isDB2",
")",
"{",
"if",
"(",
"Connection",
".",
"TRANSACTION_REPEATABLE_READ",
"!=",
"initialIsolation",
"&&",... | closes the connection and resets the isolation level if required | [
"closes",
"the",
"connection",
"and",
"resets",
"the",
"isolation",
"level",
"if",
"required"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLMultiScopeRecoveryLog.java#L3496-L3516 |
110,537 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/utils/FatStringUtils.java | FatStringUtils.extractRegexGroup | public static String extractRegexGroup(String fromContent, String regex) throws Exception {
return extractRegexGroup(fromContent, regex, 1);
} | java | public static String extractRegexGroup(String fromContent, String regex) throws Exception {
return extractRegexGroup(fromContent, regex, 1);
} | [
"public",
"static",
"String",
"extractRegexGroup",
"(",
"String",
"fromContent",
",",
"String",
"regex",
")",
"throws",
"Exception",
"{",
"return",
"extractRegexGroup",
"(",
"fromContent",
",",
"regex",
",",
"1",
")",
";",
"}"
] | Extracts the first matching group in the provided content, if the regex includes at least one group. An exception is
thrown if the regex does not include a group, or if a matching group cannot be found in the content. | [
"Extracts",
"the",
"first",
"matching",
"group",
"in",
"the",
"provided",
"content",
"if",
"the",
"regex",
"includes",
"at",
"least",
"one",
"group",
".",
"An",
"exception",
"is",
"thrown",
"if",
"the",
"regex",
"does",
"not",
"include",
"a",
"group",
"or"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/utils/FatStringUtils.java#L22-L24 |
110,538 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/Runtime.java | Runtime.changedPropertyValue | public static void changedPropertyValue (String name, String value) {
if (tc.isEntryEnabled()) SibTr.entry(tc, "changedPropertyValue");
if (value == null) value = "null"; // Ensure that the new value is non-null (here we're only using for a message insert)
if (!value.equals(seenProperties.put(name,value))... | java | public static void changedPropertyValue (String name, String value) {
if (tc.isEntryEnabled()) SibTr.entry(tc, "changedPropertyValue");
if (value == null) value = "null"; // Ensure that the new value is non-null (here we're only using for a message insert)
if (!value.equals(seenProperties.put(name,value))... | [
"public",
"static",
"void",
"changedPropertyValue",
"(",
"String",
"name",
",",
"String",
"value",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"changedPropertyValue\"",
")",
";",
"if",
"(",
"v... | This method should be called each time a SIB property value is assigned a
none default value. An informational message is output for serviceability
reasons so that it is obvious that a property value has been changed.
@param name the name of the property that has been changed
@param value the new value assigned to the... | [
"This",
"method",
"should",
"be",
"called",
"each",
"time",
"a",
"SIB",
"property",
"value",
"is",
"assigned",
"a",
"none",
"default",
"value",
".",
"An",
"informational",
"message",
"is",
"output",
"for",
"serviceability",
"reasons",
"so",
"that",
"it",
"is... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/Runtime.java#L39-L51 |
110,539 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/DERUTCTime.java | DERUTCTime.getInstance | public static DERUTCTime getInstance(
Object obj)
{
if (obj == null || obj instanceof DERUTCTime)
{
return (DERUTCTime)obj;
}
if (obj instanceof ASN1OctetString)
{
return new DERUTCTime(((ASN1OctetString)obj).getOctets());
}
... | java | public static DERUTCTime getInstance(
Object obj)
{
if (obj == null || obj instanceof DERUTCTime)
{
return (DERUTCTime)obj;
}
if (obj instanceof ASN1OctetString)
{
return new DERUTCTime(((ASN1OctetString)obj).getOctets());
}
... | [
"public",
"static",
"DERUTCTime",
"getInstance",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"obj",
"==",
"null",
"||",
"obj",
"instanceof",
"DERUTCTime",
")",
"{",
"return",
"(",
"DERUTCTime",
")",
"obj",
";",
"}",
"if",
"(",
"obj",
"instanceof",
"ASN1Oc... | return an UTC Time from the passed in object.
@exception IllegalArgumentException if the object cannot be converted. | [
"return",
"an",
"UTC",
"Time",
"from",
"the",
"passed",
"in",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/DERUTCTime.java#L35-L49 |
110,540 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStore.java | SchemaStore.saveSchemas | static void saveSchemas(MessageStore msgStore, JMFSchema[] schemas) throws MessageEncodeFailedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "saveSchemas");
try {
// Get the SchemaStore reference, creating a new one if necessary
SchemaStoreItemStream sch... | java | static void saveSchemas(MessageStore msgStore, JMFSchema[] schemas) throws MessageEncodeFailedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "saveSchemas");
try {
// Get the SchemaStore reference, creating a new one if necessary
SchemaStoreItemStream sch... | [
"static",
"void",
"saveSchemas",
"(",
"MessageStore",
"msgStore",
",",
"JMFSchema",
"[",
"]",
"schemas",
")",
"throws",
"MessageEncodeFailedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
... | already held in the SchemaStore for that ME are added. | [
"already",
"held",
"in",
"the",
"SchemaStore",
"for",
"that",
"ME",
"are",
"added",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStore.java#L53-L71 |
110,541 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStore.java | SchemaStore.loadSchemas | static void loadSchemas(MessageStore msgStore, long[] schemaIds) throws MessageRestoreFailedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "loadSchemas");
try {
// Get the SchemaStore reference, creating a new one if necessary
SchemaStoreItemStream schem... | java | static void loadSchemas(MessageStore msgStore, long[] schemaIds) throws MessageRestoreFailedException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "loadSchemas");
try {
// Get the SchemaStore reference, creating a new one if necessary
SchemaStoreItemStream schem... | [
"static",
"void",
"loadSchemas",
"(",
"MessageStore",
"msgStore",
",",
"long",
"[",
"]",
"schemaIds",
")",
"throws",
"MessageRestoreFailedException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
... | decode the message that are not already in the JMF registry must be reloaded | [
"decode",
"the",
"message",
"that",
"are",
"not",
"already",
"in",
"the",
"JMF",
"registry",
"must",
"be",
"reloaded"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStore.java#L75-L96 |
110,542 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStore.java | SchemaStore.getSchemaStore | private static SchemaStoreItemStream getSchemaStore(MessageStore msgStore) throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getSchemaStore");
// Check the local cache first.
SchemaStoreItemStream store = schemaStores.get(msgStore);
// Not... | java | private static SchemaStoreItemStream getSchemaStore(MessageStore msgStore) throws MessageStoreException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getSchemaStore");
// Check the local cache first.
SchemaStoreItemStream store = schemaStores.get(msgStore);
// Not... | [
"private",
"static",
"SchemaStoreItemStream",
"getSchemaStore",
"(",
"MessageStore",
"msgStore",
")",
"throws",
"MessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr"... | SchemaStore for a particular ME. | [
"SchemaStore",
"for",
"a",
"particular",
"ME",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaStore.java#L100-L129 |
110,543 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteMessageRequest.java | RemoteMessageRequest.getJsMessage | public JsMessage getJsMessage()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getJsMessage");
InvalidOperationException finalE =
new InvalidOperationException(
nls.getFormattedMessage(
"INTERNAL_MESSAGING_ERROR_CWSIP0005",
new Object[] ... | java | public JsMessage getJsMessage()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getJsMessage");
InvalidOperationException finalE =
new InvalidOperationException(
nls.getFormattedMessage(
"INTERNAL_MESSAGING_ERROR_CWSIP0005",
new Object[] ... | [
"public",
"JsMessage",
"getJsMessage",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getJsMessage\"",
")",
";",
"InvalidOperationE... | No-op as the JsMessage is not present in the stream on the RME.
@throws UnSupportedOperationException | [
"No",
"-",
"op",
"as",
"the",
"JsMessage",
"is",
"not",
"present",
"in",
"the",
"stream",
"on",
"the",
"RME",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteMessageRequest.java#L96-L115 |
110,544 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteMessageRequest.java | RemoteMessageRequest.getRemoteEngineUuid | public String getRemoteEngineUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getRemoteEngineUuid");
String remoteUUID = _aiStream.getAnycastInputHandler().getLocalisationUuid().toString();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | java | public String getRemoteEngineUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getRemoteEngineUuid");
String remoteUUID = _aiStream.getAnycastInputHandler().getLocalisationUuid().toString();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | [
"public",
"String",
"getRemoteEngineUuid",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getRemoteEngineUuid\"",
")",
";",
"String... | Return the Messaging engine that this request has been generated against | [
"Return",
"the",
"Messaging",
"engine",
"that",
"this",
"request",
"has",
"been",
"generated",
"against"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/RemoteMessageRequest.java#L469-L479 |
110,545 | OpenLiberty/open-liberty | dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/UUID.java | UUID.getIPAddress | private static long getIPAddress()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "getIPAddress");
int lower32Bits = 0;
try
{
final byte[] address = AccessController.doPrivileged(new PrivilegedExceptionAction<byte[]>() {
@Override
pu... | java | private static long getIPAddress()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "getIPAddress");
int lower32Bits = 0;
try
{
final byte[] address = AccessController.doPrivileged(new PrivilegedExceptionAction<byte[]>() {
@Override
pu... | [
"private",
"static",
"long",
"getIPAddress",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getIPAddress\"",
")",
";",
"int",
"lower32Bits",
"=",
"0",
";",
"try",
"{",
"final",
"byte",
"["... | return value when the IP address is 9.20.217.12 | [
"return",
"value",
"when",
"the",
"IP",
"address",
"is",
"9",
".",
"20",
".",
"217",
".",
"12"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/UUID.java#L730-L774 |
110,546 | OpenLiberty/open-liberty | dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/Entity.java | Entity.isMandatory | public boolean isMandatory(String propName) {
if (mandatoryProperties == null) {
setMandatoryPropertyNames();
}
if (mandatoryProperties.contains(propName)) {
return true;
} else {
return false;
}
} | java | public boolean isMandatory(String propName) {
if (mandatoryProperties == null) {
setMandatoryPropertyNames();
}
if (mandatoryProperties.contains(propName)) {
return true;
} else {
return false;
}
} | [
"public",
"boolean",
"isMandatory",
"(",
"String",
"propName",
")",
"{",
"if",
"(",
"mandatoryProperties",
"==",
"null",
")",
"{",
"setMandatoryPropertyNames",
"(",
")",
";",
"}",
"if",
"(",
"mandatoryProperties",
".",
"contains",
"(",
"propName",
")",
")",
... | Returns true if the provided property is a mandatory property; false, otherwise.
@return
returned object is {@link boolean} | [
"Returns",
"true",
"if",
"the",
"provided",
"property",
"is",
"a",
"mandatory",
"property",
";",
"false",
"otherwise",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/Entity.java#L679-L688 |
110,547 | OpenLiberty/open-liberty | dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/Entity.java | Entity.isPersistentProperty | public boolean isPersistentProperty(String propName) {
if (transientProperties == null) {
setTransientPropertyNames();
}
if (transientProperties.contains(propName)) {
return false;
} else {
return true;
}
} | java | public boolean isPersistentProperty(String propName) {
if (transientProperties == null) {
setTransientPropertyNames();
}
if (transientProperties.contains(propName)) {
return false;
} else {
return true;
}
} | [
"public",
"boolean",
"isPersistentProperty",
"(",
"String",
"propName",
")",
"{",
"if",
"(",
"transientProperties",
"==",
"null",
")",
"{",
"setTransientPropertyNames",
"(",
")",
";",
"}",
"if",
"(",
"transientProperties",
".",
"contains",
"(",
"propName",
")",
... | Returns true if the provided property is a persistent property; false, otherwise.
@return
returned object is {@link boolean} | [
"Returns",
"true",
"if",
"the",
"provided",
"property",
"is",
"a",
"persistent",
"property",
";",
"false",
"otherwise",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security.wim.base/src/com/ibm/wsspi/security/wim/model/Entity.java#L697-L706 |
110,548 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ClassLoaderUtils.java | ClassLoaderUtils.loadClass | public static Class<?> loadClass(
String name,
ClassLoader callerClassLoader) throws ClassNotFoundException
{
Class<?> clazz = null;
try
{
ClassLoader loader = getContextClassLoader();
if (loader != null)
{
clazz = loader.loadClass(name);
}
}
catch ... | java | public static Class<?> loadClass(
String name,
ClassLoader callerClassLoader) throws ClassNotFoundException
{
Class<?> clazz = null;
try
{
ClassLoader loader = getContextClassLoader();
if (loader != null)
{
clazz = loader.loadClass(name);
}
}
catch ... | [
"public",
"static",
"Class",
"<",
"?",
">",
"loadClass",
"(",
"String",
"name",
",",
"ClassLoader",
"callerClassLoader",
")",
"throws",
"ClassNotFoundException",
"{",
"Class",
"<",
"?",
">",
"clazz",
"=",
"null",
";",
"try",
"{",
"ClassLoader",
"loader",
"="... | Loads the class with the specified name. For Java 2 callers, the
current thread's context class loader is preferred, falling back on the
class loader of the caller when the current thread's context is not set,
or the caller is pre Java 2. If the callerClassLoader is null, then
fall back on the system class loader.
@... | [
"Loads",
"the",
"class",
"with",
"the",
"specified",
"name",
".",
"For",
"Java",
"2",
"callers",
"the",
"current",
"thread",
"s",
"context",
"class",
"loader",
"is",
"preferred",
"falling",
"back",
"on",
"the",
"class",
"loader",
"of",
"the",
"caller",
"wh... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ClassLoaderUtils.java#L115-L148 |
110,549 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ClassLoaderUtils.java | ClassLoaderUtils.getResource | public static URL getResource(
String name,
ClassLoader callerClassLoader)
{
_checkResourceName(name);
URL url = null;
ClassLoader loader = getContextClassLoader();
if (loader != null)
{
url = loader.getResource(name);
}
if (url == null)
{
if (callerClass... | java | public static URL getResource(
String name,
ClassLoader callerClassLoader)
{
_checkResourceName(name);
URL url = null;
ClassLoader loader = getContextClassLoader();
if (loader != null)
{
url = loader.getResource(name);
}
if (url == null)
{
if (callerClass... | [
"public",
"static",
"URL",
"getResource",
"(",
"String",
"name",
",",
"ClassLoader",
"callerClassLoader",
")",
"{",
"_checkResourceName",
"(",
"name",
")",
";",
"URL",
"url",
"=",
"null",
";",
"ClassLoader",
"loader",
"=",
"getContextClassLoader",
"(",
")",
";... | Locates the resource with the specified name. For Java 2 callers, the
current thread's context class loader is preferred, falling back on the
class loader of the caller when the current thread's context is not set,
or the caller is pre Java 2. If the callerClassLoader is null, then
fall back on the system class loade... | [
"Locates",
"the",
"resource",
"with",
"the",
"specified",
"name",
".",
"For",
"Java",
"2",
"callers",
"the",
"current",
"thread",
"s",
"context",
"class",
"loader",
"is",
"preferred",
"falling",
"back",
"on",
"the",
"class",
"loader",
"of",
"the",
"caller",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ClassLoaderUtils.java#L161-L189 |
110,550 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ClassLoaderUtils.java | ClassLoaderUtils.getResourceAsStream | public static InputStream getResourceAsStream(
String name,
ClassLoader callerClassLoader)
{
_checkResourceName(name);
InputStream stream = null;
ClassLoader loader = getContextClassLoader();
if (loader != null)
{
stream = loader.getResourceAsStream(name);
}
if (st... | java | public static InputStream getResourceAsStream(
String name,
ClassLoader callerClassLoader)
{
_checkResourceName(name);
InputStream stream = null;
ClassLoader loader = getContextClassLoader();
if (loader != null)
{
stream = loader.getResourceAsStream(name);
}
if (st... | [
"public",
"static",
"InputStream",
"getResourceAsStream",
"(",
"String",
"name",
",",
"ClassLoader",
"callerClassLoader",
")",
"{",
"_checkResourceName",
"(",
"name",
")",
";",
"InputStream",
"stream",
"=",
"null",
";",
"ClassLoader",
"loader",
"=",
"getContextClass... | Locates the resource stream with the specified name. For Java 2 callers,
the current thread's context class loader is preferred, falling back on
the class loader of the caller when the current thread's context is not
set, or the caller is pre Java 2. If the callerClassLoader is null, then
fall back on the system clas... | [
"Locates",
"the",
"resource",
"stream",
"with",
"the",
"specified",
"name",
".",
"For",
"Java",
"2",
"callers",
"the",
"current",
"thread",
"s",
"context",
"class",
"loader",
"is",
"preferred",
"falling",
"back",
"on",
"the",
"class",
"loader",
"of",
"the",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/ClassLoaderUtils.java#L202-L230 |
110,551 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java | Serializer.writeNumber | public Serializer writeNumber(Number value) throws IOException {
if (null == value) return writeNull();
if (value instanceof Float)
{
if (((Float)value).isNaN()) return writeNull();
if (Float.NEGATIVE_INFINITY == value.floatValue()) return writeNull();
if (Fl... | java | public Serializer writeNumber(Number value) throws IOException {
if (null == value) return writeNull();
if (value instanceof Float)
{
if (((Float)value).isNaN()) return writeNull();
if (Float.NEGATIVE_INFINITY == value.floatValue()) return writeNull();
if (Fl... | [
"public",
"Serializer",
"writeNumber",
"(",
"Number",
"value",
")",
"throws",
"IOException",
"{",
"if",
"(",
"null",
"==",
"value",
")",
"return",
"writeNull",
"(",
")",
";",
"if",
"(",
"value",
"instanceof",
"Float",
")",
"{",
"if",
"(",
"(",
"(",
"Fl... | Method to write a number to the current writer.
@param value The number to write to the JSON output string.
@throws IOException Thrown if an error occurs during write. | [
"Method",
"to",
"write",
"a",
"number",
"to",
"the",
"current",
"writer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java#L88-L108 |
110,552 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java | Serializer.writeBoolean | public Serializer writeBoolean(Boolean value) throws IOException {
if (null == value) return writeNull();
writeRawString(value.toString());
return this;
} | java | public Serializer writeBoolean(Boolean value) throws IOException {
if (null == value) return writeNull();
writeRawString(value.toString());
return this;
} | [
"public",
"Serializer",
"writeBoolean",
"(",
"Boolean",
"value",
")",
"throws",
"IOException",
"{",
"if",
"(",
"null",
"==",
"value",
")",
"return",
"writeNull",
"(",
")",
";",
"writeRawString",
"(",
"value",
".",
"toString",
"(",
")",
")",
";",
"return",
... | Method to write a boolean value to the output stream.
@param value The Boolean object to write out as a JSON boolean.
@throws IOException Thrown if an error occurs during write. | [
"Method",
"to",
"write",
"a",
"boolean",
"value",
"to",
"the",
"output",
"stream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java#L115-L121 |
110,553 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java | Serializer.rightAlignedZero | private String rightAlignedZero(String s, int len)
{
if (len == s.length()) return s;
StringBuffer sb = new StringBuffer(s);
while (sb.length() < len)
{
sb.insert(0, '0');
}
return sb.toString();
} | java | private String rightAlignedZero(String s, int len)
{
if (len == s.length()) return s;
StringBuffer sb = new StringBuffer(s);
while (sb.length() < len)
{
sb.insert(0, '0');
}
return sb.toString();
} | [
"private",
"String",
"rightAlignedZero",
"(",
"String",
"s",
",",
"int",
"len",
")",
"{",
"if",
"(",
"len",
"==",
"s",
".",
"length",
"(",
")",
")",
"return",
"s",
";",
"StringBuffer",
"sb",
"=",
"new",
"StringBuffer",
"(",
"s",
")",
";",
"while",
... | Method to generate a string with a particular width. Alignment is done using zeroes if it does not meet the width requirements.
@param s The string to write
@param len The minimum length it should be, and to align with zeroes if length is smaller.
@return A string properly aligned/correct width. | [
"Method",
"to",
"generate",
"a",
"string",
"with",
"a",
"particular",
"width",
".",
"Alignment",
"is",
"done",
"using",
"zeroes",
"if",
"it",
"does",
"not",
"meet",
"the",
"width",
"requirements",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java#L129-L141 |
110,554 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java | Serializer.writeString | public Serializer writeString(String value) throws IOException {
if (null == value) return writeNull();
writer.write('"');
char[] chars = value.toCharArray();
for (int i=0; i<chars.length; i++)
{
char c = chars[i];
switch (c)
{
... | java | public Serializer writeString(String value) throws IOException {
if (null == value) return writeNull();
writer.write('"');
char[] chars = value.toCharArray();
for (int i=0; i<chars.length; i++)
{
char c = chars[i];
switch (c)
{
... | [
"public",
"Serializer",
"writeString",
"(",
"String",
"value",
")",
"throws",
"IOException",
"{",
"if",
"(",
"null",
"==",
"value",
")",
"return",
"writeNull",
"(",
")",
";",
"writer",
".",
"write",
"(",
"'",
"'",
")",
";",
"char",
"[",
"]",
"chars",
... | Method to write a String out to the writer, encoding special characters and unicode characters properly.
@param value The string to write out.
@throws IOException Thrown if an error occurs during write. | [
"Method",
"to",
"write",
"a",
"String",
"out",
"to",
"the",
"writer",
"encoding",
"special",
"characters",
"and",
"unicode",
"characters",
"properly",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java#L148-L185 |
110,555 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java | Serializer.write | private Serializer write(Object object) throws IOException {
if (null == object) return writeNull();
if (object instanceof Number) return writeNumber((Number) object);
if (object instanceof String) return writeString((String) object);
if (object instanceof Boolean) return writeBoolean((B... | java | private Serializer write(Object object) throws IOException {
if (null == object) return writeNull();
if (object instanceof Number) return writeNumber((Number) object);
if (object instanceof String) return writeString((String) object);
if (object instanceof Boolean) return writeBoolean((B... | [
"private",
"Serializer",
"write",
"(",
"Object",
"object",
")",
"throws",
"IOException",
"{",
"if",
"(",
"null",
"==",
"object",
")",
"return",
"writeNull",
"(",
")",
";",
"if",
"(",
"object",
"instanceof",
"Number",
")",
"return",
"writeNumber",
"(",
"(",... | Method to write out a generic JSON type.
@param object The JSON compatible object to serialize.
@throws IOException Thrown if an error occurs during write, or if a nonJSON compatible Java object is passed.. | [
"Method",
"to",
"write",
"out",
"a",
"generic",
"JSON",
"type",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java#L192-L201 |
110,556 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java | Serializer.writeObject | public Serializer writeObject(JSONObject object) throws IOException {
if (null == object) return writeNull();
// write header
writeRawString("{");
indentPush();
Iterator iter = null;
if (object instanceof OrderedJSONObject)
{
iter = ((OrderedJSONObje... | java | public Serializer writeObject(JSONObject object) throws IOException {
if (null == object) return writeNull();
// write header
writeRawString("{");
indentPush();
Iterator iter = null;
if (object instanceof OrderedJSONObject)
{
iter = ((OrderedJSONObje... | [
"public",
"Serializer",
"writeObject",
"(",
"JSONObject",
"object",
")",
"throws",
"IOException",
"{",
"if",
"(",
"null",
"==",
"object",
")",
"return",
"writeNull",
"(",
")",
";",
"// write header",
"writeRawString",
"(",
"\"{\"",
")",
";",
"indentPush",
"(",... | Method to write a complete JSON object to the stream.
@param object The JSON object to write out.
@throws IOException Thrown if an error occurs during write. | [
"Method",
"to",
"write",
"a",
"complete",
"JSON",
"object",
"to",
"the",
"stream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java#L208-L251 |
110,557 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java | Serializer.writeArray | public Serializer writeArray(JSONArray value) throws IOException {
if (null == value) return writeNull();
// write header
writeRawString("[");
indentPush();
for (Iterator iter=value.iterator(); iter.hasNext(); )
{
Object element = iter.next();
if... | java | public Serializer writeArray(JSONArray value) throws IOException {
if (null == value) return writeNull();
// write header
writeRawString("[");
indentPush();
for (Iterator iter=value.iterator(); iter.hasNext(); )
{
Object element = iter.next();
if... | [
"public",
"Serializer",
"writeArray",
"(",
"JSONArray",
"value",
")",
"throws",
"IOException",
"{",
"if",
"(",
"null",
"==",
"value",
")",
"return",
"writeNull",
"(",
")",
";",
"// write header",
"writeRawString",
"(",
"\"[\"",
")",
";",
"indentPush",
"(",
"... | Method to write a JSON array out to the stream.
@param value The JSON array to write out.
@throws IOException Thrown if an error occurs during write. | [
"Method",
"to",
"write",
"a",
"JSON",
"array",
"out",
"to",
"the",
"stream",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/java/internal/Serializer.java#L258-L284 |
110,558 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/adapter/urbridge/utils/URBridgeGroup.java | URBridgeGroup.getUsersForGroup | @Override
public void getUsersForGroup(List<String> grpMbrAttrs, int countLimit) throws WIMException {
String securityName = null;
try {
securityName = getSecurityName(false);
List<String> returnNames = urBridge.getUsersForGroup(securityName, countLimit).getList();
... | java | @Override
public void getUsersForGroup(List<String> grpMbrAttrs, int countLimit) throws WIMException {
String securityName = null;
try {
securityName = getSecurityName(false);
List<String> returnNames = urBridge.getUsersForGroup(securityName, countLimit).getList();
... | [
"@",
"Override",
"public",
"void",
"getUsersForGroup",
"(",
"List",
"<",
"String",
">",
"grpMbrAttrs",
",",
"int",
"countLimit",
")",
"throws",
"WIMException",
"{",
"String",
"securityName",
"=",
"null",
";",
"try",
"{",
"securityName",
"=",
"getSecurityName",
... | Get the groups for the user and add the specified attributes
to each of the groups.
@param grpMbrAttrs the attributes to be added to the groups.
@param countLimit restricts the size of the number of groups returned
for the user.
@Exception an error occurs in the underlying registry or while
attempting to add the attri... | [
"Get",
"the",
"groups",
"for",
"the",
"user",
"and",
"add",
"the",
"specified",
"attributes",
"to",
"each",
"of",
"the",
"groups",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/adapter/urbridge/utils/URBridgeGroup.java#L102-L128 |
110,559 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/util/XorShiftRandom.java | XorShiftRandom.random | public static long random(final long randomStart)
{
long randomValue = randomStart;
randomValue ^= (randomValue << 21);
randomValue ^= (randomValue >>> 35);
randomValue ^= (randomValue << 4);
return randomValue;
} | java | public static long random(final long randomStart)
{
long randomValue = randomStart;
randomValue ^= (randomValue << 21);
randomValue ^= (randomValue >>> 35);
randomValue ^= (randomValue << 4);
return randomValue;
} | [
"public",
"static",
"long",
"random",
"(",
"final",
"long",
"randomStart",
")",
"{",
"long",
"randomValue",
"=",
"randomStart",
";",
"randomValue",
"^=",
"(",
"randomValue",
"<<",
"21",
")",
";",
"randomValue",
"^=",
"(",
"randomValue",
">>>",
"35",
")",
"... | Calculate a random value based on the given start Value.
@param randomStart the start value. Usually the result of the previous invocation
@return the new random value. | [
"Calculate",
"a",
"random",
"value",
"based",
"on",
"the",
"given",
"start",
"Value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/util/XorShiftRandom.java#L50-L58 |
110,560 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/admin/JsPermittedChainUsage.java | JsPermittedChainUsage.fromString | public JsPermittedChainUsage fromString(String name)
{
JsPermittedChainUsage result = null;
for (int i = 0; i < _set.length && result == null; i++)
{
if (name.equals(_set[i].toString())) result = _set[i];
}
return result;
} | java | public JsPermittedChainUsage fromString(String name)
{
JsPermittedChainUsage result = null;
for (int i = 0; i < _set.length && result == null; i++)
{
if (name.equals(_set[i].toString())) result = _set[i];
}
return result;
} | [
"public",
"JsPermittedChainUsage",
"fromString",
"(",
"String",
"name",
")",
"{",
"JsPermittedChainUsage",
"result",
"=",
"null",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"_set",
".",
"length",
"&&",
"result",
"==",
"null",
";",
"i",
"++",
... | This method converts a string into an instance of the enum. If the string
is not valid for this enum then null is returned.
@param name The name of one of the enums.
@return The matchine enum for the string. | [
"This",
"method",
"converts",
"a",
"string",
"into",
"an",
"instance",
"of",
"the",
"enum",
".",
"If",
"the",
"string",
"is",
"not",
"valid",
"for",
"this",
"enum",
"then",
"null",
"is",
"returned",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/admin/JsPermittedChainUsage.java#L97-L107 |
110,561 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/internal/OSGiInjectionEngineImpl.java | OSGiInjectionEngineImpl.getInjectionScopeData | public OSGiInjectionScopeData getInjectionScopeData(ComponentMetaData cmd, NamingConstants.JavaColonNamespace namespace) {
if (cmd == null) {
return null;
}
if (namespace == NamingConstants.JavaColonNamespace.GLOBAL) {
return globalScopeData;
}
if (names... | java | public OSGiInjectionScopeData getInjectionScopeData(ComponentMetaData cmd, NamingConstants.JavaColonNamespace namespace) {
if (cmd == null) {
return null;
}
if (namespace == NamingConstants.JavaColonNamespace.GLOBAL) {
return globalScopeData;
}
if (names... | [
"public",
"OSGiInjectionScopeData",
"getInjectionScopeData",
"(",
"ComponentMetaData",
"cmd",
",",
"NamingConstants",
".",
"JavaColonNamespace",
"namespace",
")",
"{",
"if",
"(",
"cmd",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"if",
"(",
"namespace",
... | Gets the injection scope data for a namespace.
@param cmd the component metadata, or null if null should be returned
@param namespace the namespace
@return the scope data, or null if unavailable | [
"Gets",
"the",
"injection",
"scope",
"data",
"for",
"a",
"namespace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/internal/OSGiInjectionEngineImpl.java#L465-L511 |
110,562 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/internal/OSGiInjectionEngineImpl.java | OSGiInjectionEngineImpl.processApplicationReferences | private void processApplicationReferences(EARApplicationInfo appInfo, Application app) throws StateChangeException {
Map<JNDIEnvironmentRefType, List<? extends JNDIEnvironmentRef>> allRefs =
new EnumMap<JNDIEnvironmentRefType, List<? extends JNDIEnvironmentRef>>(JNDIEnvironmentRefType.cl... | java | private void processApplicationReferences(EARApplicationInfo appInfo, Application app) throws StateChangeException {
Map<JNDIEnvironmentRefType, List<? extends JNDIEnvironmentRef>> allRefs =
new EnumMap<JNDIEnvironmentRefType, List<? extends JNDIEnvironmentRef>>(JNDIEnvironmentRefType.cl... | [
"private",
"void",
"processApplicationReferences",
"(",
"EARApplicationInfo",
"appInfo",
",",
"Application",
"app",
")",
"throws",
"StateChangeException",
"{",
"Map",
"<",
"JNDIEnvironmentRefType",
",",
"List",
"<",
"?",
"extends",
"JNDIEnvironmentRef",
">",
">",
"all... | Process references declared in application.xml. | [
"Process",
"references",
"declared",
"in",
"application",
".",
"xml",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection/src/com/ibm/ws/injectionengine/osgi/internal/OSGiInjectionEngineImpl.java#L864-L903 |
110,563 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaXaResource.java | SibRaXaResource.isTransactionRolledBack | boolean isTransactionRolledBack () {
final String methodName = "isTransactionRolledBack";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName);
}
// Default to true indicating a rollback
boolean isRolledBack = t... | java | boolean isTransactionRolledBack () {
final String methodName = "isTransactionRolledBack";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName);
}
// Default to true indicating a rollback
boolean isRolledBack = t... | [
"boolean",
"isTransactionRolledBack",
"(",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"isTransactionRolledBack\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
"... | Checks if the transaction was rolled back or not. If for some reason
we could not obtain the transaction state then we return true indicating
a rollback.
@return true if the transaction was rolled back | [
"Checks",
"if",
"the",
"transaction",
"was",
"rolled",
"back",
"or",
"not",
".",
"If",
"for",
"some",
"reason",
"we",
"could",
"not",
"obtain",
"the",
"transaction",
"state",
"then",
"we",
"return",
"true",
"indicating",
"a",
"rollback",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaXaResource.java#L351-L399 |
110,564 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATXATransaction.java | StaticCATXATransaction.rcvXAOpen | public static void rcvXAOpen(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "rcvXAO... | java | public static void rcvXAOpen(CommsByteBuffer request, Conversation conversation,
int requestNumber, boolean allocatedFromBufferPool,
boolean partOfExchange)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "rcvXAO... | [
"public",
"static",
"void",
"rcvXAOpen",
"(",
"CommsByteBuffer",
"request",
",",
"Conversation",
"conversation",
",",
"int",
"requestNumber",
",",
"boolean",
"allocatedFromBufferPool",
",",
"boolean",
"partOfExchange",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"is... | Gets the XAResource from the SICoreConnection and stores it in the
object store.
Fields:
BIT16 ConnectionObjectId
@param request
@param conversation
@param requestNumber
@param allocatedFromBufferPool
@param partOfExchange | [
"Gets",
"the",
"XAResource",
"from",
"the",
"SICoreConnection",
"and",
"stores",
"it",
"in",
"the",
"object",
"store",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/StaticCATXATransaction.java#L82-L127 |
110,565 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/util/EventLockCumulativeTimeout.java | EventLockCumulativeTimeout.recordElapsedTime | private synchronized void recordElapsedTime() {
// do nothing if the timer is not started
if (startTime == 0)
return;
long current = System.nanoTime();
// It is reported that elapsed time can be negative on some platforms.
// Use the absolute difference to avoid infin... | java | private synchronized void recordElapsedTime() {
// do nothing if the timer is not started
if (startTime == 0)
return;
long current = System.nanoTime();
// It is reported that elapsed time can be negative on some platforms.
// Use the absolute difference to avoid infin... | [
"private",
"synchronized",
"void",
"recordElapsedTime",
"(",
")",
"{",
"// do nothing if the timer is not started",
"if",
"(",
"startTime",
"==",
"0",
")",
"return",
";",
"long",
"current",
"=",
"System",
".",
"nanoTime",
"(",
")",
";",
"// It is reported that elaps... | Record the elapsed time and continue timing from now. | [
"Record",
"the",
"elapsed",
"time",
"and",
"continue",
"timing",
"from",
"now",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/util/EventLockCumulativeTimeout.java#L72-L82 |
110,566 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/util/EventLockCumulativeTimeout.java | EventLockCumulativeTimeout.waitForEventOrTimeout | private void waitForEventOrTimeout() throws InterruptedException {
long remainingWait = timeout - timeWaited;
long millisToWait = remainingWait / 1000000;
int nanosToWait = (int) (remainingWait % 1000000);
wait(millisToWait, nanosToWait);
} | java | private void waitForEventOrTimeout() throws InterruptedException {
long remainingWait = timeout - timeWaited;
long millisToWait = remainingWait / 1000000;
int nanosToWait = (int) (remainingWait % 1000000);
wait(millisToWait, nanosToWait);
} | [
"private",
"void",
"waitForEventOrTimeout",
"(",
")",
"throws",
"InterruptedException",
"{",
"long",
"remainingWait",
"=",
"timeout",
"-",
"timeWaited",
";",
"long",
"millisToWait",
"=",
"remainingWait",
"/",
"1000000",
";",
"int",
"nanosToWait",
"=",
"(",
"int",
... | Wait for a notification or a timeout - may wake spuriously. | [
"Wait",
"for",
"a",
"notification",
"or",
"a",
"timeout",
"-",
"may",
"wake",
"spuriously",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/internal/util/EventLockCumulativeTimeout.java#L96-L101 |
110,567 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RLSUtils.java | RLSUtils.toHexString | public static String toHexString(byte [] byteSource,int bytes)
{
StringBuffer result = null;
boolean truncated = false;
if (byteSource != null)
{
if (bytes > byteSource.length)
{
// If the number of bytes to display is larger than the available number of
// bytes, then res... | java | public static String toHexString(byte [] byteSource,int bytes)
{
StringBuffer result = null;
boolean truncated = false;
if (byteSource != null)
{
if (bytes > byteSource.length)
{
// If the number of bytes to display is larger than the available number of
// bytes, then res... | [
"public",
"static",
"String",
"toHexString",
"(",
"byte",
"[",
"]",
"byteSource",
",",
"int",
"bytes",
")",
"{",
"StringBuffer",
"result",
"=",
"null",
";",
"boolean",
"truncated",
"=",
"false",
";",
"if",
"(",
"byteSource",
"!=",
"null",
")",
"{",
"if",... | Converts a byte array into a printable hex string.
@param byteSource The byte array source.
@param bytes The number of bytes to display.
@return String printable hex string or "null" | [
"Converts",
"a",
"byte",
"array",
"into",
"a",
"printable",
"hex",
"string",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RLSUtils.java#L105-L148 |
110,568 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsObjectMessageImpl.java | JmsObjectMessageImpl.getObjectInfoFromRealObject | private String getObjectInfoFromRealObject() throws IOException, ClassNotFoundException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getObjectInfoFromRealObject");
final Serializable obj = objMsg.getRealObject();
final String oscDesc = (obj == null) ?... | java | private String getObjectInfoFromRealObject() throws IOException, ClassNotFoundException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getObjectInfoFromRealObject");
final Serializable obj = objMsg.getRealObject();
final String oscDesc = (obj == null) ?... | [
"private",
"String",
"getObjectInfoFromRealObject",
"(",
")",
"throws",
"IOException",
",",
"ClassNotFoundException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
... | Gets a description of the class for the object payload from the real object.
@return String describing the object payload's class | [
"Gets",
"a",
"description",
"of",
"the",
"class",
"for",
"the",
"object",
"payload",
"from",
"the",
"real",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsObjectMessageImpl.java#L264-L271 |
110,569 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsObjectMessageImpl.java | JmsObjectMessageImpl.getObjectInfoFromSerializedObject | private String getObjectInfoFromSerializedObject() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getObjectInfoFromSerializedObject");
String oscDesc;
byte[] data = new byte[0];
try {
data = objMsg.getSerializedObject();
... | java | private String getObjectInfoFromSerializedObject() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getObjectInfoFromSerializedObject");
String oscDesc;
byte[] data = new byte[0];
try {
data = objMsg.getSerializedObject();
... | [
"private",
"String",
"getObjectInfoFromSerializedObject",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getObjectInfoFr... | Gets a description of the class for the object payload from the serialized data.
@return String decribing the object payload's class | [
"Gets",
"a",
"description",
"of",
"the",
"class",
"for",
"the",
"object",
"payload",
"from",
"the",
"serialized",
"data",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsObjectMessageImpl.java#L277-L290 |
110,570 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.createUniqueId | @Override
public byte[] createUniqueId() throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLostException,
SIResourceException, SIErrorException {
checkValid();
return _delegateConnection.createUniqueId();
} | java | @Override
public byte[] createUniqueId() throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLostException,
SIResourceException, SIErrorException {
checkValid();
return _delegateConnection.createUniqueId();
} | [
"@",
"Override",
"public",
"byte",
"[",
"]",
"createUniqueId",
"(",
")",
"throws",
"SIConnectionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectionLostException",
",",
"SIResourceException",
",",
"SIErrorException",
"{",
"checkValid",
"(",
")",
... | Creates a unique identifier. Checks that the connection is valid and then
delegates.
@return a unique identifier
@throws SIErrorException
if the delegation fails
@throws SIResourceException
if the delegation fails
@throws SIConnectionLostException
if the delegation fails
@throws SIConnectionUnavailableException
if the... | [
"Creates",
"a",
"unique",
"identifier",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
"and",
"then",
"delegates",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L187-L195 |
110,571 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.createTemporaryDestination | @Override
public SIDestinationAddress createTemporaryDestination(
final Distribution distribution, final String destinationPrefix)
throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLos... | java | @Override
public SIDestinationAddress createTemporaryDestination(
final Distribution distribution, final String destinationPrefix)
throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLos... | [
"@",
"Override",
"public",
"SIDestinationAddress",
"createTemporaryDestination",
"(",
"final",
"Distribution",
"distribution",
",",
"final",
"String",
"destinationPrefix",
")",
"throws",
"SIConnectionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnection... | Creates a temporary destination. Checks that the connection is valid and
then delegates.
@return a temporary destination
@throws SIErrorException
if the delegation fails
@throws SIResourceException
if the delegation fails
@throws SIInvalidDestinationPrefixException
if the delegation fails
@throws SINotAuthorizedExcept... | [
"Creates",
"a",
"temporary",
"destination",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
"and",
"then",
"delegates",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L219-L232 |
110,572 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.invokeCommand | @Override
public Serializable invokeCommand(String key, String commandName, Serializable commandData)
throws SIConnectionDroppedException, SIConnectionUnavailableException,
SINotAuthorizedException, SIResourceException, SIIncorrectCallException,
SICommandI... | java | @Override
public Serializable invokeCommand(String key, String commandName, Serializable commandData)
throws SIConnectionDroppedException, SIConnectionUnavailableException,
SINotAuthorizedException, SIResourceException, SIIncorrectCallException,
SICommandI... | [
"@",
"Override",
"public",
"Serializable",
"invokeCommand",
"(",
"String",
"key",
",",
"String",
"commandName",
",",
"Serializable",
"commandData",
")",
"throws",
"SIConnectionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SINotAuthorizedException",
",",
... | Calls invokeCommand on the delegate connection.
@throws SINotAuthorizedException
@throws SICommandInvocationFailedException
@throws SIIncorrectCallException
@throws SIResourceException
@throws SIConnectionUnavailableException
@throws SIConnectionDroppedException
@see com.ibm.wsspi.sib.core.SICoreConnection#invokeComma... | [
"Calls",
"invokeCommand",
"on",
"the",
"delegate",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L245-L253 |
110,573 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.close | @Override
public void close() throws SIConnectionLostException, SIResourceException,
SIErrorException, SIConnectionDroppedException,
SIConnectionUnavailableException
{
try
{
_delegateConnection.close();
} finally
{
i... | java | @Override
public void close() throws SIConnectionLostException, SIResourceException,
SIErrorException, SIConnectionDroppedException,
SIConnectionUnavailableException
{
try
{
_delegateConnection.close();
} finally
{
i... | [
"@",
"Override",
"public",
"void",
"close",
"(",
")",
"throws",
"SIConnectionLostException",
",",
"SIResourceException",
",",
"SIErrorException",
",",
"SIConnectionDroppedException",
",",
"SIConnectionUnavailableException",
"{",
"try",
"{",
"_delegateConnection",
".",
"cl... | Closes this connection. Delegates and then informs the current managed
connection.
@throws SIErrorException
if the delegation fails
@throws SIResourceException
if the delegation fails
@throws SIConnectionLostException
if the delegation fails | [
"Closes",
"this",
"connection",
".",
"Delegates",
"and",
"then",
"informs",
"the",
"current",
"managed",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L288-L303 |
110,574 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.send | @Override
public void send(final SIBusMessage msg, final SITransaction tran,
final SIDestinationAddress destAddr,
final DestinationType destType,
final OrderingContext orderingContext, final String alternateUser)
throws SIConnectionD... | java | @Override
public void send(final SIBusMessage msg, final SITransaction tran,
final SIDestinationAddress destAddr,
final DestinationType destType,
final OrderingContext orderingContext, final String alternateUser)
throws SIConnectionD... | [
"@",
"Override",
"public",
"void",
"send",
"(",
"final",
"SIBusMessage",
"msg",
",",
"final",
"SITransaction",
"tran",
",",
"final",
"SIDestinationAddress",
"destAddr",
",",
"final",
"DestinationType",
"destType",
",",
"final",
"OrderingContext",
"orderingContext",
... | Sends a message. Checks that the connection is valid. Maps the
transaction parameter before delegating.
@param msg
the message to send
@param tran
the transaction to send the message under
@param destAddr
the destination to send the message to
@param destType
the type of the destination
@param orderingContext
indicate... | [
"Sends",
"a",
"message",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
".",
"Maps",
"the",
"transaction",
"parameter",
"before",
"delegating",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L864-L881 |
110,575 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.addConnectionListener | @Override
public void addConnectionListener(SICoreConnectionListener listener)
throws SIConnectionDroppedException,
SIConnectionUnavailableException {
checkValid();
_delegateConnection.addConnectionListener(listener);
} | java | @Override
public void addConnectionListener(SICoreConnectionListener listener)
throws SIConnectionDroppedException,
SIConnectionUnavailableException {
checkValid();
_delegateConnection.addConnectionListener(listener);
} | [
"@",
"Override",
"public",
"void",
"addConnectionListener",
"(",
"SICoreConnectionListener",
"listener",
")",
"throws",
"SIConnectionDroppedException",
",",
"SIConnectionUnavailableException",
"{",
"checkValid",
"(",
")",
";",
"_delegateConnection",
".",
"addConnectionListene... | Adds a connection listener. Checks that the connection is valid and then
delegates.
@param listener
the listener to add
@throws SIConnectionUnavailableException
if the connection is not valid
@throws SIConnectionDroppedException
if the delegation fails | [
"Adds",
"a",
"connection",
"listener",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
"and",
"then",
"delegates",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L963-L972 |
110,576 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.sendToExceptionDestination | @Override
public void sendToExceptionDestination(SIDestinationAddress address,
SIBusMessage message, int reason, String[] inserts,
SITransaction tran, final String alternateUser)
throws SIConnectionDroppedExcep... | java | @Override
public void sendToExceptionDestination(SIDestinationAddress address,
SIBusMessage message, int reason, String[] inserts,
SITransaction tran, final String alternateUser)
throws SIConnectionDroppedExcep... | [
"@",
"Override",
"public",
"void",
"sendToExceptionDestination",
"(",
"SIDestinationAddress",
"address",
",",
"SIBusMessage",
"message",
",",
"int",
"reason",
",",
"String",
"[",
"]",
"inserts",
",",
"SITransaction",
"tran",
",",
"final",
"String",
"alternateUser",
... | Check the connection is valid then delegates.
@param address
the destination
@param message
the message
@param reason
the reason
@param inserts
the inserts
@param tran
the transaction
@param alternateUser
the name of the user under whose authority the send should be
performed (may be null)
@throws SINotPossibleInCurre... | [
"Check",
"the",
"connection",
"is",
"valid",
"then",
"delegates",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1078-L1092 |
110,577 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.getDestinationConfiguration | @Override
public DestinationConfiguration getDestinationConfiguration(
final SIDestinationAddress destinationAddress)
throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLostExcepti... | java | @Override
public DestinationConfiguration getDestinationConfiguration(
final SIDestinationAddress destinationAddress)
throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLostExcepti... | [
"@",
"Override",
"public",
"DestinationConfiguration",
"getDestinationConfiguration",
"(",
"final",
"SIDestinationAddress",
"destinationAddress",
")",
"throws",
"SIConnectionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectionLostException",
",",
"SINotAut... | Returns the configuration for the given destination. Checks that the
connection is valid and then delegates.
@param destinationAddress
the address of the destination
@return the configuration
@throws SINotPossibleInCurrentConfigurationException
if the delegation fails
@throws SIIncorrectCallException
if the delegation... | [
"Returns",
"the",
"configuration",
"for",
"the",
"given",
"destination",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
"and",
"then",
"delegates",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1120-L1134 |
110,578 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.receiveNoWait | @Override
public SIBusMessage receiveNoWait(final SITransaction tran,
final Reliability unrecoverableReliability,
final SIDestinationAddress destinationAddress,
final DestinationType destType, final Sel... | java | @Override
public SIBusMessage receiveNoWait(final SITransaction tran,
final Reliability unrecoverableReliability,
final SIDestinationAddress destinationAddress,
final DestinationType destType, final Sel... | [
"@",
"Override",
"public",
"SIBusMessage",
"receiveNoWait",
"(",
"final",
"SITransaction",
"tran",
",",
"final",
"Reliability",
"unrecoverableReliability",
",",
"final",
"SIDestinationAddress",
"destinationAddress",
",",
"final",
"DestinationType",
"destType",
",",
"final... | Receives a message. Checks that the connection is valid. Maps the
transaction parameter before delegating.
@param tran
the transaction to receive the message under
@param unrecoverableReliability
the unrecoverable reliability
@param destinationAddress
the destination to receive the message from
@param destType
the typ... | [
"Receives",
"a",
"message",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
".",
"Maps",
"the",
"transaction",
"parameter",
"before",
"delegating",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1404-L1424 |
110,579 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.getResolvedUserid | @Override
public String getResolvedUserid() throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLostException,
SIResourceException, SIErrorException {
checkValid();
return _delegateConnection.getResolvedUserid();
} | java | @Override
public String getResolvedUserid() throws SIConnectionDroppedException,
SIConnectionUnavailableException, SIConnectionLostException,
SIResourceException, SIErrorException {
checkValid();
return _delegateConnection.getResolvedUserid();
} | [
"@",
"Override",
"public",
"String",
"getResolvedUserid",
"(",
")",
"throws",
"SIConnectionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectionLostException",
",",
"SIResourceException",
",",
"SIErrorException",
"{",
"checkValid",
"(",
")",
";",
... | Returns the userid associated with this connection. Checks that the
connection is valid and then delegates.
@throws SIErrorException
if the delegation fails
@throws SIResourceException
if the delegation fails
@throws SIConnectionLostException
if the delegation fails
@throws SIConnectionUnavailableException
if the conn... | [
"Returns",
"the",
"userid",
"associated",
"with",
"this",
"connection",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
"and",
"then",
"delegates",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1618-L1627 |
110,580 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.checkMessagingRequired | @Override
public SIDestinationAddress checkMessagingRequired(SIDestinationAddress requestDestAddr,
SIDestinationAddress replyDestAddr,
DestinationType destinationType,
... | java | @Override
public SIDestinationAddress checkMessagingRequired(SIDestinationAddress requestDestAddr,
SIDestinationAddress replyDestAddr,
DestinationType destinationType,
... | [
"@",
"Override",
"public",
"SIDestinationAddress",
"checkMessagingRequired",
"(",
"SIDestinationAddress",
"requestDestAddr",
",",
"SIDestinationAddress",
"replyDestAddr",
",",
"DestinationType",
"destinationType",
",",
"String",
"alternateUser",
")",
"throws",
"SIConnectionDrop... | Performs the following checks to see if a messaging operation can be
avoided by the calling application
Check that the request destination is sendAllowed
Check that the reply destination is receiveAllowed
Check that neither destination (or any destination on an administered
routing path associated with either destinat... | [
"Performs",
"the",
"following",
"checks",
"to",
"see",
"if",
"a",
"messaging",
"operation",
"can",
"be",
"avoided",
"by",
"the",
"calling",
"application"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1675-L1703 |
110,581 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.createBifurcatedConsumerSession | @Override
public BifurcatedConsumerSession createBifurcatedConsumerSession(
final long id) throws SISessionDroppedException,
SIConnectionDroppedException, SISessionUnavailableException,
SIConnectionUnavailab... | java | @Override
public BifurcatedConsumerSession createBifurcatedConsumerSession(
final long id) throws SISessionDroppedException,
SIConnectionDroppedException, SISessionUnavailableException,
SIConnectionUnavailab... | [
"@",
"Override",
"public",
"BifurcatedConsumerSession",
"createBifurcatedConsumerSession",
"(",
"final",
"long",
"id",
")",
"throws",
"SISessionDroppedException",
",",
"SIConnectionDroppedException",
",",
"SISessionUnavailableException",
",",
"SIConnectionUnavailableException",
"... | This method is used to create a BifurcatedConsumerSession object, which
is an additional session representing an existing consumer. Checks that
the connection is valid and then delegates.
@param id
the identifier of the consumer
@throws SIIncorrectCallException
if the delegation fails
@throws SIErrorException
if the d... | [
"This",
"method",
"is",
"used",
"to",
"create",
"a",
"BifurcatedConsumerSession",
"object",
"which",
"is",
"an",
"additional",
"session",
"representing",
"an",
"existing",
"consumer",
".",
"Checks",
"that",
"the",
"connection",
"is",
"valid",
"and",
"then",
"del... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1733-L1748 |
110,582 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.getAssociatedManagedConnection | private SibRaManagedConnection getAssociatedManagedConnection()
throws SIResourceException {
try {
if (_managedConnection == null) {
final ConnectionManager connectionManager = _connectionFactory
.getConnectionManager();
... | java | private SibRaManagedConnection getAssociatedManagedConnection()
throws SIResourceException {
try {
if (_managedConnection == null) {
final ConnectionManager connectionManager = _connectionFactory
.getConnectionManager();
... | [
"private",
"SibRaManagedConnection",
"getAssociatedManagedConnection",
"(",
")",
"throws",
"SIResourceException",
"{",
"try",
"{",
"if",
"(",
"_managedConnection",
"==",
"null",
")",
"{",
"final",
"ConnectionManager",
"connectionManager",
"=",
"_connectionFactory",
".",
... | Returns the managed connection associated with this connection. If the
connection is not currently associated then calls the connection manager
to be re-associated.
@return the managed connection
@throws SIResourceException
if the re-association fails | [
"Returns",
"the",
"managed",
"connection",
"associated",
"with",
"this",
"connection",
".",
"If",
"the",
"connection",
"is",
"not",
"currently",
"associated",
"then",
"calls",
"the",
"connection",
"manager",
"to",
"be",
"re",
"-",
"associated",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1809-L1861 |
110,583 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.getContainerTransaction | private SITransaction getContainerTransaction() throws SIResourceException {
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, "getContainerTransaction");
}
final SITransaction containerTransaction;
try {
// Ensure ... | java | private SITransaction getContainerTransaction() throws SIResourceException {
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, "getContainerTransaction");
}
final SITransaction containerTransaction;
try {
// Ensure ... | [
"private",
"SITransaction",
"getContainerTransaction",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this"... | Returns the current container transaction, if any.
@return the current container transaction
@throws SIResourceException
if lazy association or lazy enlistment fails | [
"Returns",
"the",
"current",
"container",
"transaction",
"if",
"any",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L1935-L1973 |
110,584 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java | SibRaConnection.setConnectionFactory | void setConnectionFactory(final SibRaConnectionFactory connectionFactory) {
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, "setConnectionFactory", connectionFactory);
}
_connectionFactory = connectionFactory;
if (TraceCompone... | java | void setConnectionFactory(final SibRaConnectionFactory connectionFactory) {
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, "setConnectionFactory", connectionFactory);
}
_connectionFactory = connectionFactory;
if (TraceCompone... | [
"void",
"setConnectionFactory",
"(",
"final",
"SibRaConnectionFactory",
"connectionFactory",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this"... | Sets the parent connection factory. Called by the connection factory
prior to returning the connection to the caller. The connection factory
is needed in order to obtain the connection manager and managed
connection factory in order to perform lazy enlistment and
re-association.
@param connectionFactory
the connection... | [
"Sets",
"the",
"parent",
"connection",
"factory",
".",
"Called",
"by",
"the",
"connection",
"factory",
"prior",
"to",
"returning",
"the",
"connection",
"to",
"the",
"caller",
".",
"The",
"connection",
"factory",
"is",
"needed",
"in",
"order",
"to",
"obtain",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnection.java#L2120-L2132 |
110,585 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java | JsBusImpl.setCustomProperties | public void setCustomProperties() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setCustomProperties", this);
// Set the properties that belong to the bus
/*
* List props =
* ((ConfigObject)getEObject()).getObjectList(CT_SIBus.PROPERTIES_NAME);
* for (Iterator ite... | java | public void setCustomProperties() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setCustomProperties", this);
// Set the properties that belong to the bus
/*
* List props =
* ((ConfigObject)getEObject()).getObjectList(CT_SIBus.PROPERTIES_NAME);
* for (Iterator ite... | [
"public",
"void",
"setCustomProperties",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setCustomProperties\"",
",",
"this",
")",
... | Set a custom property for the bus | [
"Set",
"a",
"custom",
"property",
"for",
"the",
"bus"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java#L322-L339 |
110,586 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java | JsBusImpl.setCustomProperty | public void setCustomProperty(String name, String value) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setCustomProperty", name + " " + value);
// Set the properties that belong to the bus
// customProperties.put(name,value);
if (TraceComponent.isAnyTracingEnabled() &&... | java | public void setCustomProperty(String name, String value) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setCustomProperty", name + " " + value);
// Set the properties that belong to the bus
// customProperties.put(name,value);
if (TraceComponent.isAnyTracingEnabled() &&... | [
"public",
"void",
"setCustomProperty",
"(",
"String",
"name",
",",
"String",
"value",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\... | Set an individual custom property for the bus | [
"Set",
"an",
"individual",
"custom",
"property",
"for",
"the",
"bus"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java#L344-L353 |
110,587 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java | JsBusImpl.getCustomProperty | public String getCustomProperty(String name) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getCustomProperty", name);
// String value = customProperties.getProperty(name);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "getCustomProper... | java | public String getCustomProperty(String name) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getCustomProperty", name);
// String value = customProperties.getProperty(name);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "getCustomProper... | [
"public",
"String",
"getCustomProperty",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getCustomProperty\"",
","... | This method returns a custom property that was configured for the bus.
@see JsBus#getCustomProperty(java.lang.String)
@param name
The name of the custom property.
@return The value of the custom property. | [
"This",
"method",
"returns",
"a",
"custom",
"property",
"that",
"was",
"configured",
"for",
"the",
"bus",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java#L363-L373 |
110,588 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java | JsBusImpl.isEventNotificationPropertySet | public Boolean isEventNotificationPropertySet() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isEventNotificationPropertySet", this);
Boolean enabled = null; // enabled can be null/TRUE/FALSE, ie three-way
// Test whether custom properties contain a notification prop
i... | java | public Boolean isEventNotificationPropertySet() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isEventNotificationPropertySet", this);
Boolean enabled = null; // enabled can be null/TRUE/FALSE, ie three-way
// Test whether custom properties contain a notification prop
i... | [
"public",
"Boolean",
"isEventNotificationPropertySet",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isEventNotificationPropertySet\"",
... | Test whether Event Notification is enabled for the bus. | [
"Test",
"whether",
"Event",
"Notification",
"is",
"enabled",
"for",
"the",
"bus",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java#L378-L419 |
110,589 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java | JsBusImpl.loadAuditAllowed | private void loadAuditAllowed() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "loadAuditAllowed", this);
//
// ConfigObject sibAudit = null;
// try {
// // Get config service
// ConfigService service = (ConfigService)
// WsServiceRegistry.getService(this, ConfigServ... | java | private void loadAuditAllowed() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "loadAuditAllowed", this);
//
// ConfigObject sibAudit = null;
// try {
// // Get config service
// ConfigService service = (ConfigService)
// WsServiceRegistry.getService(this, ConfigServ... | [
"private",
"void",
"loadAuditAllowed",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"loadAuditAllowed\"",
",",
"this",
")",
";",... | Loads the audit document for this bus | [
"Loads",
"the",
"audit",
"document",
"for",
"this",
"bus"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsBusImpl.java#L586-L633 |
110,590 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/mbeans/GeneratePluginConfigMBean.java | GeneratePluginConfigMBean.generatePluginConfig | public synchronized void generatePluginConfig(String root, String serverName,boolean utilityRequest, File writeDirectory) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "generatePluginConfig", "server is stopping = " + serverIsStopping);
}
... | java | public synchronized void generatePluginConfig(String root, String serverName,boolean utilityRequest, File writeDirectory) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "generatePluginConfig", "server is stopping = " + serverIsStopping);
}
... | [
"public",
"synchronized",
"void",
"generatePluginConfig",
"(",
"String",
"root",
",",
"String",
"serverName",
",",
"boolean",
"utilityRequest",
",",
"File",
"writeDirectory",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
... | Subcommand for creating the plugin-cfg.xml file at runtime using the
user provided Plugin install root and Plugin server name.
@param root Plugin install root directory
@param name The server name
@param utilityRequest True if plugin config creation is being done automatically or via the pluginUtility, False if it is ... | [
"Subcommand",
"for",
"creating",
"the",
"plugin",
"-",
"cfg",
".",
"xml",
"file",
"at",
"runtime",
"using",
"the",
"user",
"provided",
"Plugin",
"install",
"root",
"and",
"Plugin",
"server",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/mbeans/GeneratePluginConfigMBean.java#L144-L173 |
110,591 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/com/ibm/ws/jsf/ext/LibertyWebConfigProvider.java | LibertyWebConfigProvider.isErrorPagePresent | @Override
public boolean isErrorPagePresent(ExternalContext externalContext) {
IServletContext context = (IServletContext) externalContext.getContext();
WebAppConfig webAppConfig = context.getWebAppConfig();
return webAppConfig.isErrorPagePresent();
} | java | @Override
public boolean isErrorPagePresent(ExternalContext externalContext) {
IServletContext context = (IServletContext) externalContext.getContext();
WebAppConfig webAppConfig = context.getWebAppConfig();
return webAppConfig.isErrorPagePresent();
} | [
"@",
"Override",
"public",
"boolean",
"isErrorPagePresent",
"(",
"ExternalContext",
"externalContext",
")",
"{",
"IServletContext",
"context",
"=",
"(",
"IServletContext",
")",
"externalContext",
".",
"getContext",
"(",
")",
";",
"WebAppConfig",
"webAppConfig",
"=",
... | check if the web config defined the error pages | [
"check",
"if",
"the",
"web",
"config",
"defined",
"the",
"error",
"pages"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/com/ibm/ws/jsf/ext/LibertyWebConfigProvider.java#L62-L68 |
110,592 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java | DeliveryDelayManager.removeDeliveryDelayable | public final boolean removeDeliveryDelayable(DeliveryDelayable deliveryDelayable) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "removeDeliveryDelayable",
"objId="
... | java | public final boolean removeDeliveryDelayable(DeliveryDelayable deliveryDelayable) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "removeDeliveryDelayable",
"objId="
... | [
"public",
"final",
"boolean",
"removeDeliveryDelayable",
"(",
"DeliveryDelayable",
"deliveryDelayable",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
"... | Remove an DeliveryDelayable reference for an item from the deliveryDelay index.
@param deliveryDelayable the DeliveryDelayable item for which a reference is to be removed from the deliveryDelay index.
@return true if the reference was removed from the index, false otherwise.
@throws SevereMessageStoreException | [
"Remove",
"an",
"DeliveryDelayable",
"reference",
"for",
"an",
"item",
"from",
"the",
"deliveryDelay",
"index",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java#L212-L253 |
110,593 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java | DeliveryDelayManager.start | public final void start(long deliveryDelayScanInterval, JsMessagingEngine jsme) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "start", "interval=" + deliveryDelayScanInterval + " indexSize=" + deliveryDelayIndex.size()... | java | public final void start(long deliveryDelayScanInterval, JsMessagingEngine jsme) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "start", "interval=" + deliveryDelayScanInterval + " indexSize=" + deliveryDelayIndex.size()... | [
"public",
"final",
"void",
"start",
"(",
"long",
"deliveryDelayScanInterval",
",",
"JsMessagingEngine",
"jsme",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"... | Start the DeliveryDelayManager daemon.
@param deliveryDelayScanInterval An interval in milliseconds which may be set via
a custom property and if zero or more will be used to override the
default deliverydelayscan interval which was set when the DeliveryDelayManager was created.
@throws SevereMessageStoreException | [
"Start",
"the",
"DeliveryDelayManager",
"daemon",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java#L275-L356 |
110,594 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java | DeliveryDelayManager.scanForInvalidDeliveryDelay | private void scanForInvalidDeliveryDelay() throws SevereMessageStoreException {
final String methodName = "scanForInvalidDeliveryDelay";
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, methodName);
String str = messageStore.getProperty(MessageSto... | java | private void scanForInvalidDeliveryDelay() throws SevereMessageStoreException {
final String methodName = "scanForInvalidDeliveryDelay";
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, methodName);
String str = messageStore.getProperty(MessageSto... | [
"private",
"void",
"scanForInvalidDeliveryDelay",
"(",
")",
"throws",
"SevereMessageStoreException",
"{",
"final",
"String",
"methodName",
"=",
"\"scanForInvalidDeliveryDelay\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
... | Scan the delivery delay intervals loaded at startup to determine
if any may have been migrated incorrectly.
Caller must hold a lock on lockObject.
@throws SevereMessageStoreException | [
"Scan",
"the",
"delivery",
"delay",
"intervals",
"loaded",
"at",
"startup",
"to",
"determine",
"if",
"any",
"may",
"have",
"been",
"migrated",
"incorrectly",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java#L366-L434 |
110,595 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java | DeliveryDelayManager.stop | public final void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "stop");
synchronized (lockObject)
{
addEnabled = false; // Prevent further DeliveryDelayables being added
if (runEnabled)
{
... | java | public final void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "stop");
synchronized (lockObject)
{
addEnabled = false; // Prevent further DeliveryDelayables being added
if (runEnabled)
{
... | [
"public",
"final",
"void",
"stop",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"stop\"",
")",
";",
"synchroniz... | Stop the DeliveryDelayManager daemon. | [
"Stop",
"the",
"DeliveryDelayManager",
"daemon",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java#L439-L461 |
110,596 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java | DeliveryDelayManager.remove | private final boolean remove(DeliveryDelayableReference deliveryDelayableReference, boolean unlocked)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "remove",
" deliveryDelayableReference=" + deliveryDelayableReference + " unlocke... | java | private final boolean remove(DeliveryDelayableReference deliveryDelayableReference, boolean unlocked)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "remove",
" deliveryDelayableReference=" + deliveryDelayableReference + " unlocke... | [
"private",
"final",
"boolean",
"remove",
"(",
"DeliveryDelayableReference",
"deliveryDelayableReference",
",",
"boolean",
"unlocked",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Si... | Remove the DeliveryDelayable reference from the DeliveryDelay index. This will remove the
current entry pointed-to by the iterator.
@param deliveryDelayableReference our reference to the DeliveryDelayable
@param unlocked true if the item is being removed after delivery delay time, false if being
removed because it is ... | [
"Remove",
"the",
"DeliveryDelayable",
"reference",
"from",
"the",
"DeliveryDelay",
"index",
".",
"This",
"will",
"remove",
"the",
"current",
"entry",
"pointed",
"-",
"to",
"by",
"the",
"iterator",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/deliverydelay/DeliveryDelayManager.java#L723-L752 |
110,597 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/AnnotationValueImpl.java | AnnotationValueImpl.addArrayValue | @SuppressWarnings("unchecked")
protected void addArrayValue(AnnotationValueImpl annotationValue) {
((List<AnnotationValueImpl>) getArrayValue()).add(annotationValue);
this.stringValue = null;
} | java | @SuppressWarnings("unchecked")
protected void addArrayValue(AnnotationValueImpl annotationValue) {
((List<AnnotationValueImpl>) getArrayValue()).add(annotationValue);
this.stringValue = null;
} | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"protected",
"void",
"addArrayValue",
"(",
"AnnotationValueImpl",
"annotationValue",
")",
"{",
"(",
"(",
"List",
"<",
"AnnotationValueImpl",
">",
")",
"getArrayValue",
"(",
")",
")",
".",
"add",
"(",
"annotatio... | case of visitor calls to process array element values. | [
"case",
"of",
"visitor",
"calls",
"to",
"process",
"array",
"element",
"values",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/AnnotationValueImpl.java#L81-L86 |
110,598 | OpenLiberty/open-liberty | dev/com.ibm.websphere.security/src/com/ibm/wsspi/security/registry/RegistryHelper.java | RegistryHelper.getUserRegistry | public static UserRegistry getUserRegistry(String realmName) throws WSSecurityException {
try {
WSSecurityService ss = wsSecurityServiceRef.getService();
if (ss == null) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, ... | java | public static UserRegistry getUserRegistry(String realmName) throws WSSecurityException {
try {
WSSecurityService ss = wsSecurityServiceRef.getService();
if (ss == null) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, ... | [
"public",
"static",
"UserRegistry",
"getUserRegistry",
"(",
"String",
"realmName",
")",
"throws",
"WSSecurityException",
"{",
"try",
"{",
"WSSecurityService",
"ss",
"=",
"wsSecurityServiceRef",
".",
"getService",
"(",
")",
";",
"if",
"(",
"ss",
"==",
"null",
")"... | Gets the UserRegistry object for the given realm. If the realm name is null
returns the active registry. If the realm is not valid, or security is not enabled,
or no registry is configured, returns null.
@param realmName
@return UserRegistry object
@throws WSSecurityException if there is an internal error | [
"Gets",
"the",
"UserRegistry",
"object",
"for",
"the",
"given",
"realm",
".",
"If",
"the",
"realm",
"name",
"is",
"null",
"returns",
"the",
"active",
"registry",
".",
"If",
"the",
"realm",
"is",
"not",
"valid",
"or",
"security",
"is",
"not",
"enabled",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security/src/com/ibm/wsspi/security/registry/RegistryHelper.java#L63-L81 |
110,599 | OpenLiberty/open-liberty | dev/com.ibm.websphere.security/src/com/ibm/wsspi/security/registry/RegistryHelper.java | RegistryHelper.isRealmInboundTrusted | public static boolean isRealmInboundTrusted(String inboundRealm, String localRealm) {
WSSecurityService ss = wsSecurityServiceRef.getService();
if (ss == null) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "No WSSecurityService, returning t... | java | public static boolean isRealmInboundTrusted(String inboundRealm, String localRealm) {
WSSecurityService ss = wsSecurityServiceRef.getService();
if (ss == null) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "No WSSecurityService, returning t... | [
"public",
"static",
"boolean",
"isRealmInboundTrusted",
"(",
"String",
"inboundRealm",
",",
"String",
"localRealm",
")",
"{",
"WSSecurityService",
"ss",
"=",
"wsSecurityServiceRef",
".",
"getService",
"(",
")",
";",
"if",
"(",
"ss",
"==",
"null",
")",
"{",
"if... | Determine if the inbound realm is one of the trusted realms of the
specified local realm. If the local realm is null the realm of the
current active user registry will be used.
@param inboundRealm
@param localRealm
@return true - inbound realm is trusted, false - inbound reamn is not trusted | [
"Determine",
"if",
"the",
"inbound",
"realm",
"is",
"one",
"of",
"the",
"trusted",
"realms",
"of",
"the",
"specified",
"local",
"realm",
".",
"If",
"the",
"local",
"realm",
"is",
"null",
"the",
"realm",
"of",
"the",
"current",
"active",
"user",
"registry",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security/src/com/ibm/wsspi/security/registry/RegistryHelper.java#L128-L138 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.