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,300 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.createHandle | @Override
public final Handle createHandle(BeanId id)
throws RemoteException
{
EJSWrapper wrapper = null;
homeEnabled();
wrapper = getWrapper(id).getRemoteWrapper(); // f111627; //p116577
if (!statelessSessionHome && !statefulSessionHome)
{
... | java | @Override
public final Handle createHandle(BeanId id)
throws RemoteException
{
EJSWrapper wrapper = null;
homeEnabled();
wrapper = getWrapper(id).getRemoteWrapper(); // f111627; //p116577
if (!statelessSessionHome && !statefulSessionHome)
{
... | [
"@",
"Override",
"public",
"final",
"Handle",
"createHandle",
"(",
"BeanId",
"id",
")",
"throws",
"RemoteException",
"{",
"EJSWrapper",
"wrapper",
"=",
"null",
";",
"homeEnabled",
"(",
")",
";",
"wrapper",
"=",
"getWrapper",
"(",
"id",
")",
".",
"getRemoteWr... | Create a Handle for the given BeanId | [
"Create",
"a",
"Handle",
"for",
"the",
"given",
"BeanId"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L2019-L2056 |
110,301 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.activateBean | public EJSWrapperCommon activateBean(BeanId beanId,
ContainerTx currentTx)
throws CSIException,
RemoteException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntry... | java | public EJSWrapperCommon activateBean(BeanId beanId,
ContainerTx currentTx)
throws CSIException,
RemoteException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
if (isTraceOn && tc.isEntry... | [
"public",
"EJSWrapperCommon",
"activateBean",
"(",
"BeanId",
"beanId",
",",
"ContainerTx",
"currentTx",
")",
"throws",
"CSIException",
",",
"RemoteException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"//... | d146034.6 | [
"d146034",
".",
"6"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L2084-L2140 |
110,302 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.discard | @Override
public void discard(Object o)
{
BeanO beanO = (BeanO) o;
beanO.destroy();
} | java | @Override
public void discard(Object o)
{
BeanO beanO = (BeanO) o;
beanO.destroy();
} | [
"@",
"Override",
"public",
"void",
"discard",
"(",
"Object",
"o",
")",
"{",
"BeanO",
"beanO",
"=",
"(",
"BeanO",
")",
"o",
";",
"beanO",
".",
"destroy",
"(",
")",
";",
"}"
] | This method is called when beans are deallocated from the pool. | [
"This",
"method",
"is",
"called",
"when",
"beans",
"are",
"deallocated",
"from",
"the",
"pool",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L3499-L3504 |
110,303 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java | EJSHome.WASInternal_copyPrimaryKey | protected final Object WASInternal_copyPrimaryKey(Object obj) {
// Make a "deep copy" of the primarykey object if the noPriaryKeyMutation
// property is false.
if (!noPrimaryKeyMutation && !statefulSessionHome) {
//PK34120: start
Object copy = null;
//Get the... | java | protected final Object WASInternal_copyPrimaryKey(Object obj) {
// Make a "deep copy" of the primarykey object if the noPriaryKeyMutation
// property is false.
if (!noPrimaryKeyMutation && !statefulSessionHome) {
//PK34120: start
Object copy = null;
//Get the... | [
"protected",
"final",
"Object",
"WASInternal_copyPrimaryKey",
"(",
"Object",
"obj",
")",
"{",
"// Make a \"deep copy\" of the primarykey object if the noPriaryKeyMutation",
"// property is false.",
"if",
"(",
"!",
"noPrimaryKeyMutation",
"&&",
"!",
"statefulSessionHome",
")",
"... | This method is used to make a copy of the Primary Key object.
For the APAR PK26539, the user is doing a EJBLocalObject.getPrimaryKey().
They are then modifying the resultant primary key (PK) and using the PK for further
operations. When the user updates the PK, they are essentially editing the "live" PK
that we used a... | [
"This",
"method",
"is",
"used",
"to",
"make",
"a",
"copy",
"of",
"the",
"Primary",
"Key",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJSHome.java#L3575-L3603 |
110,304 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/UserInfoHelper.java | UserInfoHelper.getUserInfo | public boolean getUserInfo(ProviderAuthenticationResult oidcResult,
SSLSocketFactory sslSocketFactory, String accessToken, String subjectFromIdToken) {
if (!willRetrieveUserInfo() || accessToken == null) {
return false;
}
String userInfoStr = getUserInfoFromURL(clientCon... | java | public boolean getUserInfo(ProviderAuthenticationResult oidcResult,
SSLSocketFactory sslSocketFactory, String accessToken, String subjectFromIdToken) {
if (!willRetrieveUserInfo() || accessToken == null) {
return false;
}
String userInfoStr = getUserInfoFromURL(clientCon... | [
"public",
"boolean",
"getUserInfo",
"(",
"ProviderAuthenticationResult",
"oidcResult",
",",
"SSLSocketFactory",
"sslSocketFactory",
",",
"String",
"accessToken",
",",
"String",
"subjectFromIdToken",
")",
"{",
"if",
"(",
"!",
"willRetrieveUserInfo",
"(",
")",
"||",
"ac... | get userinfo from provider's UserInfo Endpoint if configured and active.
If successful, update properties in the ProviderAuthenticationResult
@return true if PAR was updated with userInfo | [
"get",
"userinfo",
"from",
"provider",
"s",
"UserInfo",
"Endpoint",
"if",
"configured",
"and",
"active",
".",
"If",
"successful",
"update",
"properties",
"in",
"the",
"ProviderAuthenticationResult"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/UserInfoHelper.java#L48-L66 |
110,305 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/UserInfoHelper.java | UserInfoHelper.isUserInfoValid | protected boolean isUserInfoValid(String userInfoStr, String subClaim) {
String userInfoSubClaim = getUserInfoSubClaim(userInfoStr);
if (userInfoSubClaim == null || subClaim == null || userInfoSubClaim.compareTo(subClaim) != 0) {
Tr.error(tc, "USERINFO_INVALID", new Object[] { userInfoStr, s... | java | protected boolean isUserInfoValid(String userInfoStr, String subClaim) {
String userInfoSubClaim = getUserInfoSubClaim(userInfoStr);
if (userInfoSubClaim == null || subClaim == null || userInfoSubClaim.compareTo(subClaim) != 0) {
Tr.error(tc, "USERINFO_INVALID", new Object[] { userInfoStr, s... | [
"protected",
"boolean",
"isUserInfoValid",
"(",
"String",
"userInfoStr",
",",
"String",
"subClaim",
")",
"{",
"String",
"userInfoSubClaim",
"=",
"getUserInfoSubClaim",
"(",
"userInfoStr",
")",
";",
"if",
"(",
"userInfoSubClaim",
"==",
"null",
"||",
"subClaim",
"==... | per oidc-connect-core-1.0 sec 5.3.2, sub claim of userinfo response must match sub claim in id token. | [
"per",
"oidc",
"-",
"connect",
"-",
"core",
"-",
"1",
".",
"0",
"sec",
"5",
".",
"3",
".",
"2",
"sub",
"claim",
"of",
"userinfo",
"response",
"must",
"match",
"sub",
"claim",
"in",
"id",
"token",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/UserInfoHelper.java#L73-L80 |
110,306 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/UserInfoHelper.java | UserInfoHelper.getUserInfoFromURL | protected String getUserInfoFromURL(ConvergedClientConfig config, SSLSocketFactory sslsf, String accessToken) {
String url = config.getUserInfoEndpointUrl();
boolean hostnameVerification = config.isHostNameVerificationEnabled();
// https required by spec, use of http is not spec compliant
... | java | protected String getUserInfoFromURL(ConvergedClientConfig config, SSLSocketFactory sslsf, String accessToken) {
String url = config.getUserInfoEndpointUrl();
boolean hostnameVerification = config.isHostNameVerificationEnabled();
// https required by spec, use of http is not spec compliant
... | [
"protected",
"String",
"getUserInfoFromURL",
"(",
"ConvergedClientConfig",
"config",
",",
"SSLSocketFactory",
"sslsf",
",",
"String",
"accessToken",
")",
"{",
"String",
"url",
"=",
"config",
".",
"getUserInfoEndpointUrl",
"(",
")",
";",
"boolean",
"hostnameVerificatio... | Obtain userInfo from an OIDC provider
@return the userInfo string, or null | [
"Obtain",
"userInfo",
"from",
"an",
"OIDC",
"provider"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/UserInfoHelper.java#L96-L129 |
110,307 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.service.location/src/com/ibm/ws/kernel/service/location/internal/WsLocationAdminImpl.java | WsLocationAdminImpl.createLocations | public static WsLocationAdminImpl createLocations(final BundleContext ctx) {
if (instance.get() == null) {
SymbolRegistry.getRegistry().clear();
Callable<WsLocationAdminImpl> initializer = new Callable<WsLocationAdminImpl>() {
@Override
public WsLocationAd... | java | public static WsLocationAdminImpl createLocations(final BundleContext ctx) {
if (instance.get() == null) {
SymbolRegistry.getRegistry().clear();
Callable<WsLocationAdminImpl> initializer = new Callable<WsLocationAdminImpl>() {
@Override
public WsLocationAd... | [
"public",
"static",
"WsLocationAdminImpl",
"createLocations",
"(",
"final",
"BundleContext",
"ctx",
")",
"{",
"if",
"(",
"instance",
".",
"get",
"(",
")",
"==",
"null",
")",
"{",
"SymbolRegistry",
".",
"getRegistry",
"(",
")",
".",
"clear",
"(",
")",
";",
... | Construct the WsLocationAdminService singleton based on a set of initial
properties provided by the bundle context when running in an osgi
framework.
@param initProps
@return WsLocationAdmin | [
"Construct",
"the",
"WsLocationAdminService",
"singleton",
"based",
"on",
"a",
"set",
"of",
"initial",
"properties",
"provided",
"by",
"the",
"bundle",
"context",
"when",
"running",
"in",
"an",
"osgi",
"framework",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.service.location/src/com/ibm/ws/kernel/service/location/internal/WsLocationAdminImpl.java#L104-L117 |
110,308 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/util/MessageDigestUtility.java | MessageDigestUtility.processMessageDigestForData | public static String processMessageDigestForData(MessageDigest messageDigest, byte[] data) {
String output = ""; //$NON-NLS-1$
if (messageDigest != null) {
// Get the digest for the given data
messageDigest.update(data);
byte[] digest = messageDigest.digest();
o... | java | public static String processMessageDigestForData(MessageDigest messageDigest, byte[] data) {
String output = ""; //$NON-NLS-1$
if (messageDigest != null) {
// Get the digest for the given data
messageDigest.update(data);
byte[] digest = messageDigest.digest();
o... | [
"public",
"static",
"String",
"processMessageDigestForData",
"(",
"MessageDigest",
"messageDigest",
",",
"byte",
"[",
"]",
"data",
")",
"{",
"String",
"output",
"=",
"\"\"",
";",
"//$NON-NLS-1$",
"if",
"(",
"messageDigest",
"!=",
"null",
")",
"{",
"// Get the di... | Calculate the digest specified by byte array of data
@param messageDigest
@param data
@return digest in string with base64 encoding. | [
"Calculate",
"the",
"digest",
"specified",
"by",
"byte",
"array",
"of",
"data"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/ws/cache/util/MessageDigestUtility.java#L42-L51 |
110,309 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/utils/TokenBuilder.java | TokenBuilder.createTokenString | public String createTokenString(String builderConfigId) {
try {
return createTokenString(builderConfigId, WSSubject.getRunAsSubject(), null, null);
// JwtBuilder builder = JwtBuilder.create(builderConfigId);
//
// // all the "normal" stuff like issuer, aud, etc. is handled
// // by the builder, we onl... | java | public String createTokenString(String builderConfigId) {
try {
return createTokenString(builderConfigId, WSSubject.getRunAsSubject(), null, null);
// JwtBuilder builder = JwtBuilder.create(builderConfigId);
//
// // all the "normal" stuff like issuer, aud, etc. is handled
// // by the builder, we onl... | [
"public",
"String",
"createTokenString",
"(",
"String",
"builderConfigId",
")",
"{",
"try",
"{",
"return",
"createTokenString",
"(",
"builderConfigId",
",",
"WSSubject",
".",
"getRunAsSubject",
"(",
")",
",",
"null",
",",
"null",
")",
";",
"// JwtBuilder builder =... | create an MP-JWT token using the builder API. Assumes the user is already
authenticated.
@param builderConfigId
- the id of the builder element in server.xml
@return the token string, or null if a mandatory param was null or empty. | [
"create",
"an",
"MP",
"-",
"JWT",
"token",
"using",
"the",
"builder",
"API",
".",
"Assumes",
"the",
"user",
"is",
"already",
"authenticated",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/utils/TokenBuilder.java#L62-L87 |
110,310 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/utils/TokenBuilder.java | TokenBuilder.getUserName | public String getUserName(Subject subject) {
// Subject subject = null;
try {
// subject = WSSubject.getRunAsSubject();
WSCredential wsCred = getWSCredential(subject);
if (wsCred == null) {
wsCred = getPrivateWSCredential(subject);
}
return wsCred != null ? wsCred.getSecurityName() : null;
} ca... | java | public String getUserName(Subject subject) {
// Subject subject = null;
try {
// subject = WSSubject.getRunAsSubject();
WSCredential wsCred = getWSCredential(subject);
if (wsCred == null) {
wsCred = getPrivateWSCredential(subject);
}
return wsCred != null ? wsCred.getSecurityName() : null;
} ca... | [
"public",
"String",
"getUserName",
"(",
"Subject",
"subject",
")",
"{",
"// Subject subject = null;",
"try",
"{",
"// subject = WSSubject.getRunAsSubject();",
"WSCredential",
"wsCred",
"=",
"getWSCredential",
"(",
"subject",
")",
";",
"if",
"(",
"wsCred",
"==",
"null"... | get the username from the WSSubject
@return the user name, UNAUTHENTICATED, or null if something went wrong. | [
"get",
"the",
"username",
"from",
"the",
"WSSubject"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/utils/TokenBuilder.java#L99-L112 |
110,311 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/MatchParserImpl.java | MatchParserImpl.getSelector | public Selector getSelector(String selector) {
Selector ans;
try {
ans = QueryExpr();
if (!ans.mayBeBoolean())
ans.setType(Selector.INVALID);
} catch (ParseException e) {
// No FFDC code needed
Object obj = null;
ans = new LiteralImpl(obj);
ans.setType(Selector.IN... | java | public Selector getSelector(String selector) {
Selector ans;
try {
ans = QueryExpr();
if (!ans.mayBeBoolean())
ans.setType(Selector.INVALID);
} catch (ParseException e) {
// No FFDC code needed
Object obj = null;
ans = new LiteralImpl(obj);
ans.setType(Selector.IN... | [
"public",
"Selector",
"getSelector",
"(",
"String",
"selector",
")",
"{",
"Selector",
"ans",
";",
"try",
"{",
"ans",
"=",
"QueryExpr",
"(",
")",
";",
"if",
"(",
"!",
"ans",
".",
"mayBeBoolean",
"(",
")",
")",
"ans",
".",
"setType",
"(",
"Selector",
"... | Return the Selector tree associated with a primed parser.
@return a selector tree. If the parse was successful, the top node of the tree will
be of BOOLEAN type; otherwise, it will be of INVALID type. | [
"Return",
"the",
"Selector",
"tree",
"associated",
"with",
"a",
"primed",
"parser",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/MatchParserImpl.java#L76-L89 |
110,312 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/MatchParserImpl.java | MatchParserImpl.Expression | final public Selector Expression() throws ParseException {
Selector left, right=null; int op = -1;
left = Term();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 7:
case 8:
op = PlusMinus();
right = Expression();
break;
default:
jj_la1[5] = jj_gen;
... | java | final public Selector Expression() throws ParseException {
Selector left, right=null; int op = -1;
left = Term();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 7:
case 8:
op = PlusMinus();
right = Expression();
break;
default:
jj_la1[5] = jj_gen;
... | [
"final",
"public",
"Selector",
"Expression",
"(",
")",
"throws",
"ParseException",
"{",
"Selector",
"left",
",",
"right",
"=",
"null",
";",
"int",
"op",
"=",
"-",
"1",
";",
"left",
"=",
"Term",
"(",
")",
";",
"switch",
"(",
"(",
"jj_ntk",
"==",
"-",
... | | Term PlusMinus Expression | [
"|",
"Term",
"PlusMinus",
"Expression"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/MatchParserImpl.java#L248-L264 |
110,313 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/MatchParserImpl.java | MatchParserImpl.Term | final public Selector Term() throws ParseException {
Selector left, right=null; int op = -1;
left = Primary(false);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 9:
case 10:
op = TimesDiv();
right = Term();
break;
default:
jj_la1[7] = jj_gen;
;
}
... | java | final public Selector Term() throws ParseException {
Selector left, right=null; int op = -1;
left = Primary(false);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 9:
case 10:
op = TimesDiv();
right = Term();
break;
default:
jj_la1[7] = jj_gen;
;
}
... | [
"final",
"public",
"Selector",
"Term",
"(",
")",
"throws",
"ParseException",
"{",
"Selector",
"left",
",",
"right",
"=",
"null",
";",
"int",
"op",
"=",
"-",
"1",
";",
"left",
"=",
"Primary",
"(",
"false",
")",
";",
"switch",
"(",
"(",
"jj_ntk",
"==",... | | Primary TimesDiv Term | [
"|",
"Primary",
"TimesDiv",
"Term"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/MatchParserImpl.java#L287-L303 |
110,314 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELProcessor.java | ELProcessor.defineFunction | public void defineFunction(String prefix, String function, Method method)
throws java.lang.NoSuchMethodException {
if (prefix == null || function == null || method == null) {
throw new NullPointerException(Util.message(
context, "elProcessor.defineFunctionNullParams"... | java | public void defineFunction(String prefix, String function, Method method)
throws java.lang.NoSuchMethodException {
if (prefix == null || function == null || method == null) {
throw new NullPointerException(Util.message(
context, "elProcessor.defineFunctionNullParams"... | [
"public",
"void",
"defineFunction",
"(",
"String",
"prefix",
",",
"String",
"function",
",",
"Method",
"method",
")",
"throws",
"java",
".",
"lang",
".",
"NoSuchMethodException",
"{",
"if",
"(",
"prefix",
"==",
"null",
"||",
"function",
"==",
"null",
"||",
... | Map a method to a function name.
@param prefix Function prefix
@param function Function name
@param method Method
@throws NullPointerException
If any of the arguments are null
@throws NoSuchMethodException
If the method is not static | [
"Map",
"a",
"method",
"to",
"a",
"function",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELProcessor.java#L178-L196 |
110,315 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/internal/BuilderImpl.java | BuilderImpl.create | @Override
public Builder create() throws InvalidBuilderException {
if (!active) {
// Tr.error(tc, "JWT_BUILDER_NOT_ACTIVE", new Object[] {
// "defaultJWT" });
// return null;
String err = Tr.formatMessage(tc, "JWT_BUILDER_NOT_ACTIVE", new Object[] { "defaultJW... | java | @Override
public Builder create() throws InvalidBuilderException {
if (!active) {
// Tr.error(tc, "JWT_BUILDER_NOT_ACTIVE", new Object[] {
// "defaultJWT" });
// return null;
String err = Tr.formatMessage(tc, "JWT_BUILDER_NOT_ACTIVE", new Object[] { "defaultJW... | [
"@",
"Override",
"public",
"Builder",
"create",
"(",
")",
"throws",
"InvalidBuilderException",
"{",
"if",
"(",
"!",
"active",
")",
"{",
"// Tr.error(tc, \"JWT_BUILDER_NOT_ACTIVE\", new Object[] {",
"// \"defaultJWT\" });",
"// return null;",
"String",
"err",
"=",
"Tr",
... | Create a builder with default configuration | [
"Create",
"a",
"builder",
"with",
"default",
"configuration"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/internal/BuilderImpl.java#L252-L262 |
110,316 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/internal/BuilderImpl.java | BuilderImpl.create | @Override
public synchronized Builder create(String builderConfigId) throws InvalidBuilderException {
if (builderConfigId == null || builderConfigId.isEmpty()) {
String err = Tr.formatMessage(tc, "JWT_BUILDER_INVALID", new Object[] { builderConfigId });
throw new InvalidBuilderExcept... | java | @Override
public synchronized Builder create(String builderConfigId) throws InvalidBuilderException {
if (builderConfigId == null || builderConfigId.isEmpty()) {
String err = Tr.formatMessage(tc, "JWT_BUILDER_INVALID", new Object[] { builderConfigId });
throw new InvalidBuilderExcept... | [
"@",
"Override",
"public",
"synchronized",
"Builder",
"create",
"(",
"String",
"builderConfigId",
")",
"throws",
"InvalidBuilderException",
"{",
"if",
"(",
"builderConfigId",
"==",
"null",
"||",
"builderConfigId",
".",
"isEmpty",
"(",
")",
")",
"{",
"String",
"e... | Create a builder with specified builder | [
"Create",
"a",
"builder",
"with",
"specified",
"builder"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/internal/BuilderImpl.java#L265-L280 |
110,317 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java | PostParameterHelper.restore | public void restore(HttpServletRequest req, HttpServletResponse res, boolean anyMethod) {
if (!(req instanceof IExtendedRequest)) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "It is not an IExtendedRequest object");
}
return;
}
if (!anyMethod && !req.getMethod().e... | java | public void restore(HttpServletRequest req, HttpServletResponse res, boolean anyMethod) {
if (!(req instanceof IExtendedRequest)) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "It is not an IExtendedRequest object");
}
return;
}
if (!anyMethod && !req.getMethod().e... | [
"public",
"void",
"restore",
"(",
"HttpServletRequest",
"req",
",",
"HttpServletResponse",
"res",
",",
"boolean",
"anyMethod",
")",
"{",
"if",
"(",
"!",
"(",
"req",
"instanceof",
"IExtendedRequest",
")",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracin... | Restore POST parameters from session or cookie.
@param req
@param res | [
"Restore",
"POST",
"parameters",
"from",
"session",
"or",
"cookie",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java#L196-L218 |
110,318 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java | PostParameterHelper.restoreFromSession | private void restoreFromSession(IExtendedRequest extRequest, HttpServletRequest req, String reqURL) {
HttpSession postparamsession = req.getSession(false);
if (postparamsession == null) {
return;
}
String previousReq = (String) postparamsession.getAttribute(INITIAL_URL);
if (previousReq != null && previous... | java | private void restoreFromSession(IExtendedRequest extRequest, HttpServletRequest req, String reqURL) {
HttpSession postparamsession = req.getSession(false);
if (postparamsession == null) {
return;
}
String previousReq = (String) postparamsession.getAttribute(INITIAL_URL);
if (previousReq != null && previous... | [
"private",
"void",
"restoreFromSession",
"(",
"IExtendedRequest",
"extRequest",
",",
"HttpServletRequest",
"req",
",",
"String",
"reqURL",
")",
"{",
"HttpSession",
"postparamsession",
"=",
"req",
".",
"getSession",
"(",
"false",
")",
";",
"if",
"(",
"postparamsess... | Restore the POST parameters from session
@param extRequest
@param req
@param reqURL | [
"Restore",
"the",
"POST",
"parameters",
"from",
"session"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java#L227-L259 |
110,319 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java | PostParameterHelper.restoreFromCookie | @SuppressWarnings("rawtypes")
private void restoreFromCookie(IExtendedRequest extRequest, HttpServletResponse res, String reqURL) {
byte[] cookieValueBytes = extRequest.getCookieValueAsBytes(POSTPARAM_COOKIE);
if (cookieValueBytes == null || cookieValueBytes.length <= 2) {
return;
}
if (TraceComponent.isAny... | java | @SuppressWarnings("rawtypes")
private void restoreFromCookie(IExtendedRequest extRequest, HttpServletResponse res, String reqURL) {
byte[] cookieValueBytes = extRequest.getCookieValueAsBytes(POSTPARAM_COOKIE);
if (cookieValueBytes == null || cookieValueBytes.length <= 2) {
return;
}
if (TraceComponent.isAny... | [
"@",
"SuppressWarnings",
"(",
"\"rawtypes\"",
")",
"private",
"void",
"restoreFromCookie",
"(",
"IExtendedRequest",
"extRequest",
",",
"HttpServletResponse",
"res",
",",
"String",
"reqURL",
")",
"{",
"byte",
"[",
"]",
"cookieValueBytes",
"=",
"extRequest",
".",
"g... | Restore POST parameter from cookie
@param extRequest
@param res
@param reqURL | [
"Restore",
"POST",
"parameter",
"from",
"cookie"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java#L268-L296 |
110,320 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java | PostParameterHelper.deserializePostParam | private HashMap deserializePostParam(IExtendedRequest req, byte[] cookieValueBytes, String reqURL) throws IOException, UnsupportedEncodingException, IllegalStateException {
HashMap output = null;
List<byte[]> data = splitBytes(cookieValueBytes, (byte) '.');
int total = data.size();
if (total > OFFSET_DATA) {
... | java | private HashMap deserializePostParam(IExtendedRequest req, byte[] cookieValueBytes, String reqURL) throws IOException, UnsupportedEncodingException, IllegalStateException {
HashMap output = null;
List<byte[]> data = splitBytes(cookieValueBytes, (byte) '.');
int total = data.size();
if (total > OFFSET_DATA) {
... | [
"private",
"HashMap",
"deserializePostParam",
"(",
"IExtendedRequest",
"req",
",",
"byte",
"[",
"]",
"cookieValueBytes",
",",
"String",
"reqURL",
")",
"throws",
"IOException",
",",
"UnsupportedEncodingException",
",",
"IllegalStateException",
"{",
"HashMap",
"output",
... | deserialize Post parameters.
The code doesn't expect that the req, cookieValueBytes, or reqURL is null. | [
"deserialize",
"Post",
"parameters",
".",
"The",
"code",
"doesn",
"t",
"expect",
"that",
"the",
"req",
"cookieValueBytes",
"or",
"reqURL",
"is",
"null",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java#L349-L370 |
110,321 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java | PostParameterHelper.splitBytes | private List<byte[]> splitBytes(byte[] array, byte delimiter) {
List<byte[]> byteArrays = new ArrayList<byte[]>();
int begin = 0;
for (int i = 0; i < array.length; i++) {
// first find delimiter.
while (i < array.length && array[i] != delimiter) {
i++;
}
byteArrays.add(Arrays.copyOfRange(array, b... | java | private List<byte[]> splitBytes(byte[] array, byte delimiter) {
List<byte[]> byteArrays = new ArrayList<byte[]>();
int begin = 0;
for (int i = 0; i < array.length; i++) {
// first find delimiter.
while (i < array.length && array[i] != delimiter) {
i++;
}
byteArrays.add(Arrays.copyOfRange(array, b... | [
"private",
"List",
"<",
"byte",
"[",
"]",
">",
"splitBytes",
"(",
"byte",
"[",
"]",
"array",
",",
"byte",
"delimiter",
")",
"{",
"List",
"<",
"byte",
"[",
"]",
">",
"byteArrays",
"=",
"new",
"ArrayList",
"<",
"byte",
"[",
"]",
">",
"(",
")",
";",... | split the byte array with the specified delimiter. the expectation here is tha the byte array is a byte representation
of cookie value which was base64 encoded data. | [
"split",
"the",
"byte",
"array",
"with",
"the",
"specified",
"delimiter",
".",
"the",
"expectation",
"here",
"is",
"tha",
"the",
"byte",
"array",
"is",
"a",
"byte",
"representation",
"of",
"cookie",
"value",
"which",
"was",
"base64",
"encoded",
"data",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/PostParameterHelper.java#L376-L389 |
110,322 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/OutboundVirtualConnectionFactoryImpl.java | OutboundVirtualConnectionFactoryImpl.incrementRefCount | public void incrementRefCount() {
synchronized (this.cf) {
this.refCount++;
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Increased refcount; " + this);
}
}
} | java | public void incrementRefCount() {
synchronized (this.cf) {
this.refCount++;
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Increased refcount; " + this);
}
}
} | [
"public",
"void",
"incrementRefCount",
"(",
")",
"{",
"synchronized",
"(",
"this",
".",
"cf",
")",
"{",
"this",
".",
"refCount",
"++",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")... | Increment the reference to the users of the outbound chain.
This is called by the framework when a request is made for an
existing VCF. | [
"Increment",
"the",
"reference",
"to",
"the",
"users",
"of",
"the",
"outbound",
"chain",
".",
"This",
"is",
"called",
"by",
"the",
"framework",
"when",
"a",
"request",
"is",
"made",
"for",
"an",
"existing",
"VCF",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/OutboundVirtualConnectionFactoryImpl.java#L142-L149 |
110,323 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/OutboundVirtualConnectionFactoryImpl.java | OutboundVirtualConnectionFactoryImpl.destroyInternal | public void destroyInternal() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "destroyInternal; " + this);
}
// Stop and destroy the chain. Ignore exceptions
try {
this.cf.stopChainInternal(getChain(), 0);
this.cf.dest... | java | public void destroyInternal() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "destroyInternal; " + this);
}
// Stop and destroy the chain. Ignore exceptions
try {
this.cf.stopChainInternal(getChain(), 0);
this.cf.dest... | [
"public",
"void",
"destroyInternal",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"destroyInternal; \"",
"+",
"this",
")",
"... | This method is only ever called from the framework's clear method which is
only
called when the framework is being destroyed or when automated tests are
clearing
out the frameworks config. | [
"This",
"method",
"is",
"only",
"ever",
"called",
"from",
"the",
"framework",
"s",
"clear",
"method",
"which",
"is",
"only",
"called",
"when",
"the",
"framework",
"is",
"being",
"destroyed",
"or",
"when",
"automated",
"tests",
"are",
"clearing",
"out",
"the"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/OutboundVirtualConnectionFactoryImpl.java#L202-L218 |
110,324 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/asset/ServerAsset.java | ServerAsset.generateTempServerName | private static String generateTempServerName() {
String serverName = TEMP_SERVER_NAME;
while (InstallUtils.serverExists(serverName)) {
int randomNumber = random.nextInt();
while (randomNumber == Integer.MIN_VALUE) {
randomNumber = random.nextInt();
... | java | private static String generateTempServerName() {
String serverName = TEMP_SERVER_NAME;
while (InstallUtils.serverExists(serverName)) {
int randomNumber = random.nextInt();
while (randomNumber == Integer.MIN_VALUE) {
randomNumber = random.nextInt();
... | [
"private",
"static",
"String",
"generateTempServerName",
"(",
")",
"{",
"String",
"serverName",
"=",
"TEMP_SERVER_NAME",
";",
"while",
"(",
"InstallUtils",
".",
"serverExists",
"(",
"serverName",
")",
")",
"{",
"int",
"randomNumber",
"=",
"random",
".",
"nextInt... | Generates a server name that does not already exist in the Liberty's servers
directory.
@return the name for the temporary server | [
"Generates",
"a",
"server",
"name",
"that",
"does",
"not",
"already",
"exist",
"in",
"the",
"Liberty",
"s",
"servers",
"directory",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/asset/ServerAsset.java#L97-L112 |
110,325 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java | InfoVisitor_Annotation.visit | @Override
public void visit(String name, Object value) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("visit [ {0} ] Name [ {1} ] Value [ 2 ]",
getHashText(), name, value));
}
if (value instanceof Type) {
... | java | @Override
public void visit(String name, Object value) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("visit [ {0} ] Name [ {1} ] Value [ 2 ]",
getHashText(), name, value));
}
if (value instanceof Type) {
... | [
"@",
"Override",
"public",
"void",
"visit",
"(",
"String",
"name",
",",
"Object",
"value",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"MessageFormat",
".",
"format",
"(",
"\"visit [ {0} ] N... | annotation value choosing how to type the retrieved value. | [
"annotation",
"value",
"choosing",
"how",
"to",
"type",
"the",
"retrieved",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java#L179-L206 |
110,326 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java | InfoVisitor_Annotation.visitEnum | @Override
public void visitEnum(String targetMethodName,
String enumerationTypeDescription,
String enumerationLiteral) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("visitEnum [ {0} ] Name [ {1} ] Description [ {2} ] Value [ {... | java | @Override
public void visitEnum(String targetMethodName,
String enumerationTypeDescription,
String enumerationLiteral) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("visitEnum [ {0} ] Name [ {1} ] Description [ {2} ] Value [ {... | [
"@",
"Override",
"public",
"void",
"visitEnum",
"(",
"String",
"targetMethodName",
",",
"String",
"enumerationTypeDescription",
",",
"String",
"enumerationLiteral",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
... | Visit an enumeration value of an annotation occurrence. | [
"Visit",
"an",
"enumeration",
"value",
"of",
"an",
"annotation",
"occurrence",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java#L210-L239 |
110,327 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java | InfoVisitor_Annotation.visitAnnotation | @Override
public AnnotationVisitor visitAnnotation(String targetMethodName, String annotationClassDescription) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("visitAnnotation [ {0} ] Annotation Class [ {1} ] Description [ 2 ]",
getHas... | java | @Override
public AnnotationVisitor visitAnnotation(String targetMethodName, String annotationClassDescription) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("visitAnnotation [ {0} ] Annotation Class [ {1} ] Description [ 2 ]",
getHas... | [
"@",
"Override",
"public",
"AnnotationVisitor",
"visitAnnotation",
"(",
"String",
"targetMethodName",
",",
"String",
"annotationClassDescription",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"Messag... | Visit an annotation child value. | [
"Visit",
"an",
"annotation",
"child",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java#L243-L260 |
110,328 | OpenLiberty/open-liberty | dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java | InfoVisitor_Annotation.visitArray | @Override
public AnnotationVisitor visitArray(String name) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("[ {0} ] Name [ {1} ]",
getHashText(), name));
}
final AnnotationValueImpl arrayValue = new AnnotationValueImpl... | java | @Override
public AnnotationVisitor visitArray(String name) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, MessageFormat.format("[ {0} ] Name [ {1} ]",
getHashText(), name));
}
final AnnotationValueImpl arrayValue = new AnnotationValueImpl... | [
"@",
"Override",
"public",
"AnnotationVisitor",
"visitArray",
"(",
"String",
"name",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"MessageFormat",
".",
"format",
"(",
"\"[ {0} ] Name [ {1} ]\"",
... | object which will receive the array element values. | [
"object",
"which",
"will",
"receive",
"the",
"array",
"element",
"values",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/InfoVisitor_Annotation.java#L275-L292 |
110,329 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/ref/ItemStorageManager.java | ItemStorageManager.register | public final IndirectionCache register(int storageStrategy)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "register", "StorageStrategy="+storageStrategy);
IndirectionCache cache = null;
if (AbstractItem.STORE_NEVER == storageStrategy)
{
... | java | public final IndirectionCache register(int storageStrategy)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "register", "StorageStrategy="+storageStrategy);
IndirectionCache cache = null;
if (AbstractItem.STORE_NEVER == storageStrategy)
{
... | [
"public",
"final",
"IndirectionCache",
"register",
"(",
"int",
"storageStrategy",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
... | This method is used to provide an Item with the correct storage
manager to use throughout its lifetime dependant on its storage
strategy.
@param storageStrategy
The storage strategy of the item that is registering.
@return a reference to the cache where this Indirection is managed.
This reference should be stored for... | [
"This",
"method",
"is",
"used",
"to",
"provide",
"an",
"Item",
"with",
"the",
"correct",
"storage",
"manager",
"to",
"use",
"throughout",
"its",
"lifetime",
"dependant",
"on",
"its",
"storage",
"strategy",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/ref/ItemStorageManager.java#L66-L89 |
110,330 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/buffer/impl/RichByteBufferPool.java | RichByteBufferPool.wrap | public WsByteBuffer wrap(com.ibm.wsspi.bytebuffer.WsByteBuffer realBuffer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "wrap", realBuffer);
RichByteBufferImpl returnBuffer = null;
// Ensure here that if a null realBuffer was passed in we do not wrap tha... | java | public WsByteBuffer wrap(com.ibm.wsspi.bytebuffer.WsByteBuffer realBuffer)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "wrap", realBuffer);
RichByteBufferImpl returnBuffer = null;
// Ensure here that if a null realBuffer was passed in we do not wrap tha... | [
"public",
"WsByteBuffer",
"wrap",
"(",
"com",
".",
"ibm",
".",
"wsspi",
".",
"bytebuffer",
".",
"WsByteBuffer",
"realBuffer",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Si... | Wraps an already existing WsByteBuffer in the wrapper.
@param realBuffer
@return | [
"Wraps",
"an",
"already",
"existing",
"WsByteBuffer",
"in",
"the",
"wrapper",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/buffer/impl/RichByteBufferPool.java#L143-L158 |
110,331 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/buffer/impl/RichByteBufferPool.java | RichByteBufferPool.getFromPool | RichByteBufferImpl getFromPool()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getFromPool");
RichByteBufferImpl buffer = (RichByteBufferImpl) byteBufferWrapperPool.remove();
if (buffer == null)
{
buffer = new RichByteBufferImpl();
}... | java | RichByteBufferImpl getFromPool()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getFromPool");
RichByteBufferImpl buffer = (RichByteBufferImpl) byteBufferWrapperPool.remove();
if (buffer == null)
{
buffer = new RichByteBufferImpl();
}... | [
"RichByteBufferImpl",
"getFromPool",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getFromPool\"",
")",
";",
"RichB... | Actual creates the proxy which will handle the calls to the real WsByteBuffer.
@param actualBuffer
@return | [
"Actual",
"creates",
"the",
"proxy",
"which",
"will",
"handle",
"the",
"calls",
"to",
"the",
"real",
"WsByteBuffer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/buffer/impl/RichByteBufferPool.java#L166-L178 |
110,332 | OpenLiberty/open-liberty | dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/InjectionSimpleProcessor.java | InjectionSimpleProcessor.createInjectionBinding | public InjectionBinding<A> createInjectionBinding(A annotation, Class<?> instanceClass, Member member)
throws InjectionException
{
return new InjectionSimpleBinding<A>(annotation, ivNameSpaceConfig); // F50309.3
} | java | public InjectionBinding<A> createInjectionBinding(A annotation, Class<?> instanceClass, Member member)
throws InjectionException
{
return new InjectionSimpleBinding<A>(annotation, ivNameSpaceConfig); // F50309.3
} | [
"public",
"InjectionBinding",
"<",
"A",
">",
"createInjectionBinding",
"(",
"A",
"annotation",
",",
"Class",
"<",
"?",
">",
"instanceClass",
",",
"Member",
"member",
")",
"throws",
"InjectionException",
"{",
"return",
"new",
"InjectionSimpleBinding",
"<",
"A",
"... | Returns an annotation-specific InjectionSimpleBinding associated with the
specified input annotation. The default implementation returns a new
InjectionSimpleBinding.
@param annotation the annotation to create a binding for
@param instanceClass the class containing the annotation
@param member the Field or Method asso... | [
"Returns",
"an",
"annotation",
"-",
"specific",
"InjectionSimpleBinding",
"associated",
"with",
"the",
"specified",
"input",
"annotation",
".",
"The",
"default",
"implementation",
"returns",
"a",
"new",
"InjectionSimpleBinding",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/wsspi/injectionengine/InjectionSimpleProcessor.java#L104-L108 |
110,333 | OpenLiberty/open-liberty | dev/com.ibm.ws.webservices.handler/src/com/ibm/webservices/handler/impl/GlobalHandlerServiceImpl.java | GlobalHandlerServiceImpl.unsetHandler | protected synchronized void unsetHandler(ServiceReference<Handler> handlerRef) {
jaxwsInFlowClientSideGlobalHandlers.removeReference(handlerRef);
jaxwsOutFlowClientSideGlobalHandlers.removeReference(handlerRef);
jaxwsInFlowServerSideGlobalHandlers.removeReference(handlerRef);
jaxwsOutFl... | java | protected synchronized void unsetHandler(ServiceReference<Handler> handlerRef) {
jaxwsInFlowClientSideGlobalHandlers.removeReference(handlerRef);
jaxwsOutFlowClientSideGlobalHandlers.removeReference(handlerRef);
jaxwsInFlowServerSideGlobalHandlers.removeReference(handlerRef);
jaxwsOutFl... | [
"protected",
"synchronized",
"void",
"unsetHandler",
"(",
"ServiceReference",
"<",
"Handler",
">",
"handlerRef",
")",
"{",
"jaxwsInFlowClientSideGlobalHandlers",
".",
"removeReference",
"(",
"handlerRef",
")",
";",
"jaxwsOutFlowClientSideGlobalHandlers",
".",
"removeReferen... | Create a monitor holder for the given FileMonitor. The type of holder we create will
depend
@param handlerRef
@return | [
"Create",
"a",
"monitor",
"holder",
"for",
"the",
"given",
"FileMonitor",
".",
"The",
"type",
"of",
"holder",
"we",
"create",
"will",
"depend"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webservices.handler/src/com/ibm/webservices/handler/impl/GlobalHandlerServiceImpl.java#L324-L388 |
110,334 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/DERUniversalString.java | DERUniversalString.getInstance | public static DERUniversalString getInstance(
Object obj)
{
if (obj == null || obj instanceof DERUniversalString)
{
return (DERUniversalString)obj;
}
if (obj instanceof ASN1OctetString)
{
return new DERUniversalString(((ASN1OctetString)obj).g... | java | public static DERUniversalString getInstance(
Object obj)
{
if (obj == null || obj instanceof DERUniversalString)
{
return (DERUniversalString)obj;
}
if (obj instanceof ASN1OctetString)
{
return new DERUniversalString(((ASN1OctetString)obj).g... | [
"public",
"static",
"DERUniversalString",
"getInstance",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"obj",
"==",
"null",
"||",
"obj",
"instanceof",
"DERUniversalString",
")",
"{",
"return",
"(",
"DERUniversalString",
")",
"obj",
";",
"}",
"if",
"(",
"obj",
... | return a Universal String from the passed in object.
@exception IllegalArgumentException if the object cannot be converted. | [
"return",
"a",
"Universal",
"String",
"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/DERUniversalString.java#L35-L49 |
110,335 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/ExecutionContextImpl.java | ExecutionContextImpl.onRetry | public void onRetry(Throwable t) {
try {
this.retries++;
debugRelativeTime("onRetry: " + this.retries);
metricRecorder.incrementRetriesCount();
if (timeout != null) {
timeout.restart();
attemptStartTime = System.nanoTime();
... | java | public void onRetry(Throwable t) {
try {
this.retries++;
debugRelativeTime("onRetry: " + this.retries);
metricRecorder.incrementRetriesCount();
if (timeout != null) {
timeout.restart();
attemptStartTime = System.nanoTime();
... | [
"public",
"void",
"onRetry",
"(",
"Throwable",
"t",
")",
"{",
"try",
"{",
"this",
".",
"retries",
"++",
";",
"debugRelativeTime",
"(",
"\"onRetry: \"",
"+",
"this",
".",
"retries",
")",
";",
"metricRecorder",
".",
"incrementRetriesCount",
"(",
")",
";",
"i... | Called when we have determined that this execution is going to be retried
@param t the Throwable that prompted the retry | [
"Called",
"when",
"we",
"have",
"determined",
"that",
"this",
"execution",
"is",
"going",
"to",
"be",
"retried"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/ExecutionContextImpl.java#L189-L204 |
110,336 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/ExecutionContextImpl.java | ExecutionContextImpl.onAttemptComplete | private void onAttemptComplete(Throwable t) {
try {
if (circuitBreaker != null) {
if (t instanceof CircuitBreakerOpenException) {
metricRecorder.incrementCircuitBreakerCallsCircuitOpenCount();
} else if (circuitBreaker.isFailure(null, t)) {
... | java | private void onAttemptComplete(Throwable t) {
try {
if (circuitBreaker != null) {
if (t instanceof CircuitBreakerOpenException) {
metricRecorder.incrementCircuitBreakerCallsCircuitOpenCount();
} else if (circuitBreaker.isFailure(null, t)) {
... | [
"private",
"void",
"onAttemptComplete",
"(",
"Throwable",
"t",
")",
"{",
"try",
"{",
"if",
"(",
"circuitBreaker",
"!=",
"null",
")",
"{",
"if",
"(",
"t",
"instanceof",
"CircuitBreakerOpenException",
")",
"{",
"metricRecorder",
".",
"incrementCircuitBreakerCallsCir... | Called at the end of each retry attempt | [
"Called",
"at",
"the",
"end",
"of",
"each",
"retry",
"attempt"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/ExecutionContextImpl.java#L264-L286 |
110,337 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/ExecutionContextImpl.java | ExecutionContextImpl.setNested | public void setNested() {
// If using fallback or retry, stop the timeout and restart in synchronous mode
if (timeout != null && (retry.getMaxRetries() != 0 || fallbackPolicy != null)) {
timeout.runSyncOnNewThread(Thread.currentThread());
}
int retriesRemaining = this.retry.... | java | public void setNested() {
// If using fallback or retry, stop the timeout and restart in synchronous mode
if (timeout != null && (retry.getMaxRetries() != 0 || fallbackPolicy != null)) {
timeout.runSyncOnNewThread(Thread.currentThread());
}
int retriesRemaining = this.retry.... | [
"public",
"void",
"setNested",
"(",
")",
"{",
"// If using fallback or retry, stop the timeout and restart in synchronous mode",
"if",
"(",
"timeout",
"!=",
"null",
"&&",
"(",
"retry",
".",
"getMaxRetries",
"(",
")",
"!=",
"0",
"||",
"fallbackPolicy",
"!=",
"null",
... | As an asynchronous execution moves from the outer part to the nested inner part, update the context's policies | [
"As",
"an",
"asynchronous",
"execution",
"moves",
"from",
"the",
"outer",
"part",
"to",
"the",
"nested",
"inner",
"part",
"update",
"the",
"context",
"s",
"policies"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.faulttolerance/src/com/ibm/ws/microprofile/faulttolerance/impl/ExecutionContextImpl.java#L310-L332 |
110,338 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/lang/ELSupport.java | ELSupport.coerceToEnum | @SuppressWarnings("unchecked")
public static final Enum<?> coerceToEnum(final ELContext ctx, final Object obj,
@SuppressWarnings("rawtypes") Class type) {
if (ctx != null) {
boolean originalIsPropertyResolved = ctx.isPropertyResolved();
try {
Object result = ctx.getE... | java | @SuppressWarnings("unchecked")
public static final Enum<?> coerceToEnum(final ELContext ctx, final Object obj,
@SuppressWarnings("rawtypes") Class type) {
if (ctx != null) {
boolean originalIsPropertyResolved = ctx.isPropertyResolved();
try {
Object result = ctx.getE... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"public",
"static",
"final",
"Enum",
"<",
"?",
">",
"coerceToEnum",
"(",
"final",
"ELContext",
"ctx",
",",
"final",
"Object",
"obj",
",",
"@",
"SuppressWarnings",
"(",
"\"rawtypes\"",
")",
"Class",
"type",
... | but I couldn't find it | [
"but",
"I",
"couldn",
"t",
"find",
"it"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/lang/ELSupport.java#L255-L291 |
110,339 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/lang/ELSupport.java | ELSupport.coerceToString | public static final String coerceToString(final ELContext ctx, final Object obj) {
if (ctx != null) {
boolean originalIsPropertyResolved = ctx.isPropertyResolved();
try {
Object result = ctx.getELResolver().convertToType(ctx, obj, String.class);
if (ctx.isPropertyResolved()... | java | public static final String coerceToString(final ELContext ctx, final Object obj) {
if (ctx != null) {
boolean originalIsPropertyResolved = ctx.isPropertyResolved();
try {
Object result = ctx.getELResolver().convertToType(ctx, obj, String.class);
if (ctx.isPropertyResolved()... | [
"public",
"static",
"final",
"String",
"coerceToString",
"(",
"final",
"ELContext",
"ctx",
",",
"final",
"Object",
"obj",
")",
"{",
"if",
"(",
"ctx",
"!=",
"null",
")",
"{",
"boolean",
"originalIsPropertyResolved",
"=",
"ctx",
".",
"isPropertyResolved",
"(",
... | Coerce an object to a string.
@param ctx the context in which this conversion is taking place
@param obj the object to convert
@return the String value of the object | [
"Coerce",
"an",
"object",
"to",
"a",
"string",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/lang/ELSupport.java#L577-L599 |
110,340 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2/src/com/ibm/ws/jaxrs20/injection/InjectionRuntimeContextHelper.java | InjectionRuntimeContextHelper.initSingletonEJBCDIProvider | public static <T> void initSingletonEJBCDIProvider(AbstractResourceInfo resource, Message message, T resourceObject) {
/*
* Only @Provider will use logic here.
* As EJB can only be default constructor, CDI can be default constructor or 1 param with @Inject constructor
* And a provide... | java | public static <T> void initSingletonEJBCDIProvider(AbstractResourceInfo resource, Message message, T resourceObject) {
/*
* Only @Provider will use logic here.
* As EJB can only be default constructor, CDI can be default constructor or 1 param with @Inject constructor
* And a provide... | [
"public",
"static",
"<",
"T",
">",
"void",
"initSingletonEJBCDIProvider",
"(",
"AbstractResourceInfo",
"resource",
",",
"Message",
"message",
",",
"T",
"resourceObject",
")",
"{",
"/*\n * Only @Provider will use logic here.\n * As EJB can only be default construct... | RuntimeContextTLS can init the EJB or CDI provider
@param <T>
@param <T>
@param resource
@param message | [
"RuntimeContextTLS",
"can",
"init",
"the",
"EJB",
"or",
"CDI",
"provider"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2/src/com/ibm/ws/jaxrs20/injection/InjectionRuntimeContextHelper.java#L120-L180 |
110,341 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanOFactory.java | BeanOFactory.create | public final BeanO create(EJSContainer c, EJSHome h, boolean reactivate) // d623673.1
throws RemoteException, InvocationTargetException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "create: " + h);
BeanO... | java | public final BeanO create(EJSContainer c, EJSHome h, boolean reactivate) // d623673.1
throws RemoteException, InvocationTargetException
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "create: " + h);
BeanO... | [
"public",
"final",
"BeanO",
"create",
"(",
"EJSContainer",
"c",
",",
"EJSHome",
"h",
",",
"boolean",
"reactivate",
")",
"// d623673.1",
"throws",
"RemoteException",
",",
"InvocationTargetException",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
... | Changed EnterpriseBean to Object. d366807.1 | [
"Changed",
"EnterpriseBean",
"to",
"Object",
".",
"d366807",
".",
"1"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanOFactory.java#L91-L117 |
110,342 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/MethodExpressionImpl.java | MethodExpressionImpl.getMethodInfo | @Override
public MethodInfo getMethodInfo(ELContext context)
throws PropertyNotFoundException, MethodNotFoundException,
ELException {
Node n = this.getNode();
EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
this.varMapper);
ctx.no... | java | @Override
public MethodInfo getMethodInfo(ELContext context)
throws PropertyNotFoundException, MethodNotFoundException,
ELException {
Node n = this.getNode();
EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
this.varMapper);
ctx.no... | [
"@",
"Override",
"public",
"MethodInfo",
"getMethodInfo",
"(",
"ELContext",
"context",
")",
"throws",
"PropertyNotFoundException",
",",
"MethodNotFoundException",
",",
"ELException",
"{",
"Node",
"n",
"=",
"this",
".",
"getNode",
"(",
")",
";",
"EvaluationContext",
... | Evaluates the expression relative to the provided context, and returns
information about the actual referenced method.
@param context
The context of this evaluation
@return an instance of <code>MethodInfo</code> containing information
about the method the expression evaluated to.
@throws NullPointerException
if contex... | [
"Evaluates",
"the",
"expression",
"relative",
"to",
"the",
"provided",
"context",
"and",
"returns",
"information",
"about",
"the",
"actual",
"referenced",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/MethodExpressionImpl.java#L188-L199 |
110,343 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/MethodExpressionImpl.java | MethodExpressionImpl.invoke | @Override
public Object invoke(ELContext context, Object[] params)
throws PropertyNotFoundException, MethodNotFoundException,
ELException {
EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
this.varMapper);
ctx.notifyBeforeEvaluation(getExp... | java | @Override
public Object invoke(ELContext context, Object[] params)
throws PropertyNotFoundException, MethodNotFoundException,
ELException {
EvaluationContext ctx = new EvaluationContext(context, this.fnMapper,
this.varMapper);
ctx.notifyBeforeEvaluation(getExp... | [
"@",
"Override",
"public",
"Object",
"invoke",
"(",
"ELContext",
"context",
",",
"Object",
"[",
"]",
"params",
")",
"throws",
"PropertyNotFoundException",
",",
"MethodNotFoundException",
",",
"ELException",
"{",
"EvaluationContext",
"ctx",
"=",
"new",
"EvaluationCon... | Evaluates the expression relative to the provided context, invokes the
method that was found using the supplied parameters, and returns the
result of the method invocation.
@param context
The context of this evaluation.
@param params
The parameters to pass to the method, or <code>null</code>
if no parameters.
@return ... | [
"Evaluates",
"the",
"expression",
"relative",
"to",
"the",
"provided",
"context",
"invokes",
"the",
"method",
"that",
"was",
"found",
"using",
"the",
"supplied",
"parameters",
"and",
"returns",
"the",
"result",
"of",
"the",
"method",
"invocation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.jasper.el/src/org/apache/el/MethodExpressionImpl.java#L260-L270 |
110,344 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/DirectoryJobXMLLoaderServiceImpl.java | DirectoryJobXMLLoaderServiceImpl.loadJSL | @Override
public IJobXMLSource loadJSL(String id) {
IJobXMLSource jobXML = loadJobFromDirectory(JOB_XML_PATH, id);
return jobXML;
} | java | @Override
public IJobXMLSource loadJSL(String id) {
IJobXMLSource jobXML = loadJobFromDirectory(JOB_XML_PATH, id);
return jobXML;
} | [
"@",
"Override",
"public",
"IJobXMLSource",
"loadJSL",
"(",
"String",
"id",
")",
"{",
"IJobXMLSource",
"jobXML",
"=",
"loadJobFromDirectory",
"(",
"JOB_XML_PATH",
",",
"id",
")",
";",
"return",
"jobXML",
";",
"}"
] | Assuming we get around to supporting this we want to improve the servicability with
better exception handling. | [
"Assuming",
"we",
"get",
"around",
"to",
"supporting",
"this",
"we",
"want",
"to",
"improve",
"the",
"servicability",
"with",
"better",
"exception",
"handling",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/DirectoryJobXMLLoaderServiceImpl.java#L46-L52 |
110,345 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/DatabaseIdentityStoreDefinitionWrapper.java | DatabaseIdentityStoreDefinitionWrapper.evaluateDataSourceLookup | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateDataSourceLookup(boolean immediateOnly) {
try {
return elHelper.processString("dataSourceLookup", idStoreDefinition.dataSourceLookup(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent... | java | @FFDCIgnore(IllegalArgumentException.class)
private String evaluateDataSourceLookup(boolean immediateOnly) {
try {
return elHelper.processString("dataSourceLookup", idStoreDefinition.dataSourceLookup(), immediateOnly);
} catch (IllegalArgumentException e) {
if (TraceComponent... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"String",
"evaluateDataSourceLookup",
"(",
"boolean",
"immediateOnly",
")",
"{",
"try",
"{",
"return",
"elHelper",
".",
"processString",
"(",
"\"dataSourceLookup\"",
",",
"idStoreDefinit... | Evaluate and return the dataSourceLookup.
@param immediateOnly If true, only return a non-null value if the setting is either an
immediate EL expression or not set by an EL expression. If false, return the
value regardless of where it is evaluated.
@return The dataSourceLookup or null if immediateOnly==true AND the va... | [
"Evaluate",
"and",
"return",
"the",
"dataSourceLookup",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/DatabaseIdentityStoreDefinitionWrapper.java#L128-L138 |
110,346 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/DatabaseIdentityStoreDefinitionWrapper.java | DatabaseIdentityStoreDefinitionWrapper.evaluateHashAlgorithmParameters | @FFDCIgnore(IllegalArgumentException.class)
private List<String> evaluateHashAlgorithmParameters() {
List<String> parameters = new ArrayList<String>();
String[] rawArray = idStoreDefinition.hashAlgorithmParameters();
if (rawArray == null || rawArray.length == 0) {
return paramet... | java | @FFDCIgnore(IllegalArgumentException.class)
private List<String> evaluateHashAlgorithmParameters() {
List<String> parameters = new ArrayList<String>();
String[] rawArray = idStoreDefinition.hashAlgorithmParameters();
if (rawArray == null || rawArray.length == 0) {
return paramet... | [
"@",
"FFDCIgnore",
"(",
"IllegalArgumentException",
".",
"class",
")",
"private",
"List",
"<",
"String",
">",
"evaluateHashAlgorithmParameters",
"(",
")",
"{",
"List",
"<",
"String",
">",
"parameters",
"=",
"new",
"ArrayList",
"<",
"String",
">",
"(",
")",
"... | Evaluate and return the hashAlgorithmParameters.
@return The hashAlgorithmParameters. | [
"Evaluate",
"and",
"return",
"the",
"hashAlgorithmParameters",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/DatabaseIdentityStoreDefinitionWrapper.java#L167-L243 |
110,347 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MPGroup.java | MPGroup.isMember | public boolean isMember(Principal member)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isMember", "is: " + member + ", a member of: " + this);
boolean result = false;
if(member instanceof MPPrincipal)
{
List theGroups = ((MPPrincipal)m... | java | public boolean isMember(Principal member)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "isMember", "is: " + member + ", a member of: " + this);
boolean result = false;
if(member instanceof MPPrincipal)
{
List theGroups = ((MPPrincipal)m... | [
"public",
"boolean",
"isMember",
"(",
"Principal",
"member",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"isMember\"",
",",
"\"is: \... | Returns true if the passed principal is a member of the group.
This method does a recursive search, so if a principal belongs to a
group which is a member of this group, true is returned.
@param member the principal whose membership is to be checked.
@return true if the principal is a member of this group,
false othe... | [
"Returns",
"true",
"if",
"the",
"passed",
"principal",
"is",
"a",
"member",
"of",
"the",
"group",
".",
"This",
"method",
"does",
"a",
"recursive",
"search",
"so",
"if",
"a",
"principal",
"belongs",
"to",
"a",
"group",
"which",
"is",
"a",
"member",
"of",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/MPGroup.java#L85-L103 |
110,348 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.createNotificationArea | public NotificationArea createNotificationArea(RESTRequest request, String basePath, NotificationSettings notificationSettings) {
//Cleanup old clients
cleanUp(request);
//Fetch a new ID
int clientID = getNewClientID();
//Make the new inbox and insert into map
ClientNot... | java | public NotificationArea createNotificationArea(RESTRequest request, String basePath, NotificationSettings notificationSettings) {
//Cleanup old clients
cleanUp(request);
//Fetch a new ID
int clientID = getNewClientID();
//Make the new inbox and insert into map
ClientNot... | [
"public",
"NotificationArea",
"createNotificationArea",
"(",
"RESTRequest",
"request",
",",
"String",
"basePath",
",",
"NotificationSettings",
"notificationSettings",
")",
"{",
"//Cleanup old clients",
"cleanUp",
"(",
"request",
")",
";",
"//Fetch a new ID",
"int",
"clien... | Creates a new clientID, inbox and NotificationArea | [
"Creates",
"a",
"new",
"clientID",
"inbox",
"and",
"NotificationArea"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L79-L104 |
110,349 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.addClientNotification | public String addClientNotification(RESTRequest request, int clientID, NotificationRegistration notificationRegistration, JSONConverter converter) {
//Grab the client inbox
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, converter);
//Create the client notification
cli... | java | public String addClientNotification(RESTRequest request, int clientID, NotificationRegistration notificationRegistration, JSONConverter converter) {
//Grab the client inbox
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, converter);
//Create the client notification
cli... | [
"public",
"String",
"addClientNotification",
"(",
"RESTRequest",
"request",
",",
"int",
"clientID",
",",
"NotificationRegistration",
"notificationRegistration",
",",
"JSONConverter",
"converter",
")",
"{",
"//Grab the client inbox",
"ClientNotificationArea",
"clientArea",
"="... | Add a new client notification for the given client | [
"Add",
"a",
"new",
"client",
"notification",
"for",
"the",
"given",
"client"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L121-L142 |
110,350 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.removeClientNotification | public void removeClientNotification(RESTRequest request, ObjectName objectName, int clientID) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, null);
//Remove the corresponding listener (will also remove from MBeanServer)
clientArea.removeClien... | java | public void removeClientNotification(RESTRequest request, ObjectName objectName, int clientID) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, null);
//Remove the corresponding listener (will also remove from MBeanServer)
clientArea.removeClien... | [
"public",
"void",
"removeClientNotification",
"(",
"RESTRequest",
"request",
",",
"ObjectName",
"objectName",
",",
"int",
"clientID",
")",
"{",
"//Get the client area ",
"ClientNotificationArea",
"clientArea",
"=",
"getInboxIfAvailable",
"(",
"clientID",
",",
"null",
")... | Removes a corresponding client notification for the given ObjectName | [
"Removes",
"a",
"corresponding",
"client",
"notification",
"for",
"the",
"given",
"ObjectName"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L158-L164 |
110,351 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.getClientInbox | public NotificationRecord[] getClientInbox(int clientID) {
//Fetch the inbox
ClientNotificationArea inbox = getInboxIfAvailable(clientID, null);
//Fetch the notifications (may wait if empty)
return inbox.fetchNotifications();
} | java | public NotificationRecord[] getClientInbox(int clientID) {
//Fetch the inbox
ClientNotificationArea inbox = getInboxIfAvailable(clientID, null);
//Fetch the notifications (may wait if empty)
return inbox.fetchNotifications();
} | [
"public",
"NotificationRecord",
"[",
"]",
"getClientInbox",
"(",
"int",
"clientID",
")",
"{",
"//Fetch the inbox",
"ClientNotificationArea",
"inbox",
"=",
"getInboxIfAvailable",
"(",
"clientID",
",",
"null",
")",
";",
"//Fetch the notifications (may wait if empty)",
"retu... | Retrieve the list of client notifications | [
"Retrieve",
"the",
"list",
"of",
"client",
"notifications"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L169-L175 |
110,352 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.handleServerNotificationRegistration | public void handleServerNotificationRegistration(RESTRequest request, int clientID, ServerNotificationRegistration serverNotificationRegistration,
JSONConverter converter) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable... | java | public void handleServerNotificationRegistration(RESTRequest request, int clientID, ServerNotificationRegistration serverNotificationRegistration,
JSONConverter converter) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable... | [
"public",
"void",
"handleServerNotificationRegistration",
"(",
"RESTRequest",
"request",
",",
"int",
"clientID",
",",
"ServerNotificationRegistration",
"serverNotificationRegistration",
",",
"JSONConverter",
"converter",
")",
"{",
"//Get the client area",
"ClientNotificationArea"... | Handle a server notification registration.
This method is only invoked by our java client. | [
"Handle",
"a",
"server",
"notification",
"registration",
".",
"This",
"method",
"is",
"only",
"invoked",
"by",
"our",
"java",
"client",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L181-L204 |
110,353 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.addServerNotificationHTTP | public String addServerNotificationHTTP(RESTRequest request, int clientID, ServerNotificationRegistration serverNotificationRegistration,
JSONConverter converter) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, convert... | java | public String addServerNotificationHTTP(RESTRequest request, int clientID, ServerNotificationRegistration serverNotificationRegistration,
JSONConverter converter) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, convert... | [
"public",
"String",
"addServerNotificationHTTP",
"(",
"RESTRequest",
"request",
",",
"int",
"clientID",
",",
"ServerNotificationRegistration",
"serverNotificationRegistration",
",",
"JSONConverter",
"converter",
")",
"{",
"//Get the client area",
"ClientNotificationArea",
"clie... | Add a new server notification registration.
This method is only invoked by clients other than our java client. | [
"Add",
"a",
"new",
"server",
"notification",
"registration",
".",
"This",
"method",
"is",
"only",
"invoked",
"by",
"clients",
"other",
"than",
"our",
"java",
"client",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L210-L234 |
110,354 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.deleteRegisteredListeners | public void deleteRegisteredListeners(RESTRequest request, int clientID, ObjectName source_objName, JSONConverter converter) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, null);
clientArea.removeAllListeners(request, source_objName, converter);
} | java | public void deleteRegisteredListeners(RESTRequest request, int clientID, ObjectName source_objName, JSONConverter converter) {
//Get the client area
ClientNotificationArea clientArea = getInboxIfAvailable(clientID, null);
clientArea.removeAllListeners(request, source_objName, converter);
} | [
"public",
"void",
"deleteRegisteredListeners",
"(",
"RESTRequest",
"request",
",",
"int",
"clientID",
",",
"ObjectName",
"source_objName",
",",
"JSONConverter",
"converter",
")",
"{",
"//Get the client area",
"ClientNotificationArea",
"clientArea",
"=",
"getInboxIfAvailable... | Delete all registered server-side notifications for the given object name.
This can only be called from HTTP-direct clients | [
"Delete",
"all",
"registered",
"server",
"-",
"side",
"notifications",
"for",
"the",
"given",
"object",
"name",
".",
"This",
"can",
"only",
"be",
"called",
"from",
"HTTP",
"-",
"direct",
"clients"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L303-L308 |
110,355 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.cleanUp | public void cleanUp(RESTRequest request, int clientID) {
ClientNotificationArea inbox = inboxes.get(clientID);
//If somehow the inbox timed out before we came here, then just exit, because the end result is the same.
if (inbox != null) {
inbox.cleanUp(request);
inboxes.re... | java | public void cleanUp(RESTRequest request, int clientID) {
ClientNotificationArea inbox = inboxes.get(clientID);
//If somehow the inbox timed out before we came here, then just exit, because the end result is the same.
if (inbox != null) {
inbox.cleanUp(request);
inboxes.re... | [
"public",
"void",
"cleanUp",
"(",
"RESTRequest",
"request",
",",
"int",
"clientID",
")",
"{",
"ClientNotificationArea",
"inbox",
"=",
"inboxes",
".",
"get",
"(",
"clientID",
")",
";",
"//If somehow the inbox timed out before we came here, then just exit, because the end res... | Cleanup specified clientID | [
"Cleanup",
"specified",
"clientID"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L368-L375 |
110,356 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.cleanUp | public void cleanUp(RESTRequest request) {
//We need to loop through the clients but we don't want to synchronize
//the entire map, which would block new clients from entering and block existing
//clients from continuing their work. So we iterate and possibly remove by just
//using the... | java | public void cleanUp(RESTRequest request) {
//We need to loop through the clients but we don't want to synchronize
//the entire map, which would block new clients from entering and block existing
//clients from continuing their work. So we iterate and possibly remove by just
//using the... | [
"public",
"void",
"cleanUp",
"(",
"RESTRequest",
"request",
")",
"{",
"//We need to loop through the clients but we don't want to synchronize",
"//the entire map, which would block new clients from entering and block existing ",
"//clients from continuing their work. So we iterate and possibly ... | Clean up timed out clients.
TODO: If all clients leave and nobody ever comes up, then we won't cleanup. Need to
think of a place outside of notifications package that could trigger a cleanup. | [
"Clean",
"up",
"timed",
"out",
"clients",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L393-L417 |
110,357 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.getInboxIfAvailable | private ClientNotificationArea getInboxIfAvailable(int clientID, JSONConverter converter) {
final ClientNotificationArea inbox = inboxes.get(clientID);
if (inbox == null) {
throw ErrorHelper.createRESTHandlerJsonException(new RuntimeException("The requested clientID is no longer available b... | java | private ClientNotificationArea getInboxIfAvailable(int clientID, JSONConverter converter) {
final ClientNotificationArea inbox = inboxes.get(clientID);
if (inbox == null) {
throw ErrorHelper.createRESTHandlerJsonException(new RuntimeException("The requested clientID is no longer available b... | [
"private",
"ClientNotificationArea",
"getInboxIfAvailable",
"(",
"int",
"clientID",
",",
"JSONConverter",
"converter",
")",
"{",
"final",
"ClientNotificationArea",
"inbox",
"=",
"inboxes",
".",
"get",
"(",
"clientID",
")",
";",
"if",
"(",
"inbox",
"==",
"null",
... | This method returns the client inbox or throws an error if the client ID has timed out | [
"This",
"method",
"returns",
"the",
"client",
"inbox",
"or",
"throws",
"an",
"error",
"if",
"the",
"client",
"ID",
"has",
"timed",
"out"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L424-L434 |
110,358 | OpenLiberty/open-liberty | dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java | NotificationManager.getNewClientID | private synchronized int getNewClientID() {
if ((clientIDGenerator + 1) >= Integer.MAX_VALUE) {
//if we can't find a reusable ID within the first 100 slots, then fail.
//Revisit: I don't want to loop through all 2+ billion entries to find that they are all taken, as this
//co... | java | private synchronized int getNewClientID() {
if ((clientIDGenerator + 1) >= Integer.MAX_VALUE) {
//if we can't find a reusable ID within the first 100 slots, then fail.
//Revisit: I don't want to loop through all 2+ billion entries to find that they are all taken, as this
//co... | [
"private",
"synchronized",
"int",
"getNewClientID",
"(",
")",
"{",
"if",
"(",
"(",
"clientIDGenerator",
"+",
"1",
")",
">=",
"Integer",
".",
"MAX_VALUE",
")",
"{",
"//if we can't find a reusable ID within the first 100 slots, then fail.",
"//Revisit: I don't want to loop th... | This synchronized method will assign an unique ID to a new notification client | [
"This",
"synchronized",
"method",
"will",
"assign",
"an",
"unique",
"ID",
"to",
"a",
"new",
"notification",
"client"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.server.rest/src/com/ibm/ws/jmx/connector/server/rest/notification/NotificationManager.java#L439-L461 |
110,359 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/TimerMethodData.java | TimerMethodData.addAutomaticTimer | void addAutomaticTimer(AutomaticTimer timer)
{
timer.ivMethod = this;
ivAutomaticTimers.add(timer);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "added automatic timer: " + timer);
} | java | void addAutomaticTimer(AutomaticTimer timer)
{
timer.ivMethod = this;
ivAutomaticTimers.add(timer);
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "added automatic timer: " + timer);
} | [
"void",
"addAutomaticTimer",
"(",
"AutomaticTimer",
"timer",
")",
"{",
"timer",
".",
"ivMethod",
"=",
"this",
";",
"ivAutomaticTimers",
".",
"add",
"(",
"timer",
")",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
... | Adds an automatic timer to this metadata.
@param timer the automatic timer | [
"Adds",
"an",
"automatic",
"timer",
"to",
"this",
"metadata",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/TimerMethodData.java#L93-L100 |
110,360 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallKernelMap.java | InstallKernelMap.generateJsonFromIndividualESAs | private File generateJsonFromIndividualESAs(Path jsonDirectory, Map<String, String> shortNameMap) throws IOException, RepositoryException, InstallException {
String dir = jsonDirectory.toString();
List<File> esas = (List<File>) data.get(INDIVIDUAL_ESAS);
File singleJson = new File(dir + "/Single... | java | private File generateJsonFromIndividualESAs(Path jsonDirectory, Map<String, String> shortNameMap) throws IOException, RepositoryException, InstallException {
String dir = jsonDirectory.toString();
List<File> esas = (List<File>) data.get(INDIVIDUAL_ESAS);
File singleJson = new File(dir + "/Single... | [
"private",
"File",
"generateJsonFromIndividualESAs",
"(",
"Path",
"jsonDirectory",
",",
"Map",
"<",
"String",
",",
"String",
">",
"shortNameMap",
")",
"throws",
"IOException",
",",
"RepositoryException",
",",
"InstallException",
"{",
"String",
"dir",
"=",
"jsonDirec... | generate a JSON from provided individual ESA files
@param generatedJson path
@param shortNameMap contains features parsed from individual esa files
@return singleJson file
@throws IOException
@throws RepositoryException
@throws InstallException | [
"generate",
"a",
"JSON",
"from",
"provided",
"individual",
"ESA",
"files"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/InstallKernelMap.java#L845-L881 |
110,361 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/factory/StatsInstanceImpl.java | StatsInstanceImpl.createInstance | public static StatsInstanceImpl createInstance(String name, String configXmlPath, ObjectName userProvidedMBeanObjectName, boolean bCreateDefaultMBean,
StatisticActions actionLsnr)
throws StatsFactoryException {
PmiModuleConfig cfg = PerfMod... | java | public static StatsInstanceImpl createInstance(String name, String configXmlPath, ObjectName userProvidedMBeanObjectName, boolean bCreateDefaultMBean,
StatisticActions actionLsnr)
throws StatsFactoryException {
PmiModuleConfig cfg = PerfMod... | [
"public",
"static",
"StatsInstanceImpl",
"createInstance",
"(",
"String",
"name",
",",
"String",
"configXmlPath",
",",
"ObjectName",
"userProvidedMBeanObjectName",
",",
"boolean",
"bCreateDefaultMBean",
",",
"StatisticActions",
"actionLsnr",
")",
"throws",
"StatsFactoryExce... | Create singleton instance | [
"Create",
"singleton",
"instance"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/factory/StatsInstanceImpl.java#L92-L109 |
110,362 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/factory/StatsInstanceImpl.java | StatsInstanceImpl.createGroupInstance | public static StatsInstanceImpl createGroupInstance(String name, StatsGroup igroup, String configXmlPath, ObjectName userProvidedMBeanObjectName, boolean bCreateDefaultMBean,
StatisticActions actionLsnr)
throws StatsFactoryException {
P... | java | public static StatsInstanceImpl createGroupInstance(String name, StatsGroup igroup, String configXmlPath, ObjectName userProvidedMBeanObjectName, boolean bCreateDefaultMBean,
StatisticActions actionLsnr)
throws StatsFactoryException {
P... | [
"public",
"static",
"StatsInstanceImpl",
"createGroupInstance",
"(",
"String",
"name",
",",
"StatsGroup",
"igroup",
",",
"String",
"configXmlPath",
",",
"ObjectName",
"userProvidedMBeanObjectName",
",",
"boolean",
"bCreateDefaultMBean",
",",
"StatisticActions",
"actionLsnr"... | Create instance under group | [
"Create",
"instance",
"under",
"group"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/factory/StatsInstanceImpl.java#L135-L165 |
110,363 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/factory/StatsInstanceImpl.java | StatsInstanceImpl.getStatistic | public SPIStatistic getStatistic(int id) {
for (int i = 0; i < _stats.length; i++) {
if (_stats[i] != null && _stats[i].getId() == id) {
return _stats[i];
/*
* ~~~~~~~~~~~~~~ commented ~~~~~~~~~~~~~~
* // do not check as it is done i... | java | public SPIStatistic getStatistic(int id) {
for (int i = 0; i < _stats.length; i++) {
if (_stats[i] != null && _stats[i].getId() == id) {
return _stats[i];
/*
* ~~~~~~~~~~~~~~ commented ~~~~~~~~~~~~~~
* // do not check as it is done i... | [
"public",
"SPIStatistic",
"getStatistic",
"(",
"int",
"id",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"_stats",
".",
"length",
";",
"i",
"++",
")",
"{",
"if",
"(",
"_stats",
"[",
"i",
"]",
"!=",
"null",
"&&",
"_stats",
"[",
"i"... | looping overhead in this method | [
"looping",
"overhead",
"in",
"this",
"method"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/factory/StatsInstanceImpl.java#L180-L198 |
110,364 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java | Permission.addUserToRole | protected void addUserToRole(String user, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addUserToRole", new Object[] { user, role });
}
Set<String> usersForTheRole = roleToUserMap.get(role);
if (usersForTheRole... | java | protected void addUserToRole(String user, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addUserToRole", new Object[] { user, role });
}
Set<String> usersForTheRole = roleToUserMap.get(role);
if (usersForTheRole... | [
"protected",
"void",
"addUserToRole",
"(",
"String",
"user",
",",
"String",
"role",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",... | Add a User to the particular role
@param user
@param role | [
"Add",
"a",
"User",
"to",
"the",
"particular",
"role"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java#L80-L95 |
110,365 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java | Permission.addGroupToRole | protected void addGroupToRole(String group, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addGroupToRole", new Object[] { group, role });
}
Set<String> groupsForTheRole = roleToGroupMap.get(role);
if (groupsFor... | java | protected void addGroupToRole(String group, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addGroupToRole", new Object[] { group, role });
}
Set<String> groupsForTheRole = roleToGroupMap.get(role);
if (groupsFor... | [
"protected",
"void",
"addGroupToRole",
"(",
"String",
"group",
",",
"String",
"role",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",... | Add a Group to the particular role
@param group
@param role | [
"Add",
"a",
"Group",
"to",
"the",
"particular",
"role"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java#L103-L118 |
110,366 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java | Permission.addAllUsersToRole | protected void addAllUsersToRole(Set<String> users, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addAllUsersToRole", new Object[] { users, role });
}
Set<String> usersForTheRole = roleToUserMap.get(role);
if (... | java | protected void addAllUsersToRole(Set<String> users, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addAllUsersToRole", new Object[] { users, role });
}
Set<String> usersForTheRole = roleToUserMap.get(role);
if (... | [
"protected",
"void",
"addAllUsersToRole",
"(",
"Set",
"<",
"String",
">",
"users",
",",
"String",
"role",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"e... | Add all the users to a particular role
@param users
@param role | [
"Add",
"all",
"the",
"users",
"to",
"a",
"particular",
"role"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java#L126-L140 |
110,367 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java | Permission.addAllGroupsToRole | protected void addAllGroupsToRole(Set<String> groups, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addAllGroupsToRole", new Object[] { groups, role });
}
Set<String> groupsForTheRole = roleToGroupMap.get(role);
... | java | protected void addAllGroupsToRole(Set<String> groups, String role) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
SibTr.entry(tc, CLASS_NAME + "addAllGroupsToRole", new Object[] { groups, role });
}
Set<String> groupsForTheRole = roleToGroupMap.get(role);
... | [
"protected",
"void",
"addAllGroupsToRole",
"(",
"Set",
"<",
"String",
">",
"groups",
",",
"String",
"role",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
... | Add all the groups to a particular role
@param groups
@param role | [
"Add",
"all",
"the",
"groups",
"to",
"a",
"particular",
"role"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security.common/src/com/ibm/ws/messaging/security/beans/Permission.java#L148-L162 |
110,368 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/internal/JAASLoginModuleConfigImpl.java | JAASLoginModuleConfigImpl.extractOptions | private Map<String, Object> extractOptions(Map<String, Object> props) {
List<Map<String, Object>> optionsList = Nester.nest("options", props);
if (!optionsList.isEmpty()) {
Map<String, Object> options = new HashMap<String, Object>(optionsList.get(0).size());
for (Map.Entry<String... | java | private Map<String, Object> extractOptions(Map<String, Object> props) {
List<Map<String, Object>> optionsList = Nester.nest("options", props);
if (!optionsList.isEmpty()) {
Map<String, Object> options = new HashMap<String, Object>(optionsList.get(0).size());
for (Map.Entry<String... | [
"private",
"Map",
"<",
"String",
",",
"Object",
">",
"extractOptions",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"props",
")",
"{",
"List",
"<",
"Map",
"<",
"String",
",",
"Object",
">",
">",
"optionsList",
"=",
"Nester",
".",
"nest",
"(",
"\"op... | Process the option child element, store config attributes
in the options map
@param pid retrieved from the map
@return | [
"Process",
"the",
"option",
"child",
"element",
"store",
"config",
"attributes",
"in",
"the",
"options",
"map"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/internal/JAASLoginModuleConfigImpl.java#L167-L186 |
110,369 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloader.context/src/com/ibm/ws/classloader/context/internal/ClassloaderContextImpl.java | ClassloaderContextImpl.setCL | private void setCL(final ClassLoader cl) {
PrivilegedAction<Object> action = new PrivilegedAction<Object>() {
@Override
@FFDCIgnore(SecurityException.class)
public Object run() {
final Thread t = Thread.currentThread();
try {
... | java | private void setCL(final ClassLoader cl) {
PrivilegedAction<Object> action = new PrivilegedAction<Object>() {
@Override
@FFDCIgnore(SecurityException.class)
public Object run() {
final Thread t = Thread.currentThread();
try {
... | [
"private",
"void",
"setCL",
"(",
"final",
"ClassLoader",
"cl",
")",
"{",
"PrivilegedAction",
"<",
"Object",
">",
"action",
"=",
"new",
"PrivilegedAction",
"<",
"Object",
">",
"(",
")",
"{",
"@",
"Override",
"@",
"FFDCIgnore",
"(",
"SecurityException",
".",
... | Sets the provided classloader on the current thread.
@param cl The clasloader to be set. | [
"Sets",
"the",
"provided",
"classloader",
"on",
"the",
"current",
"thread",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloader.context/src/com/ibm/ws/classloader/context/internal/ClassloaderContextImpl.java#L151-L172 |
110,370 | OpenLiberty/open-liberty | dev/com.ibm.ws.classloader.context/src/com/ibm/ws/classloader/context/internal/ClassloaderContextImpl.java | ClassloaderContextImpl.readObject | private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
GetField fields = in.readFields();
classLoaderIdentifier = (String) fields.get(CLASS_LOADER_IDENTIFIER, null);
// Note that further processing is required in JEEMetadataContextProviderImpl.deseria... | java | private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
GetField fields = in.readFields();
classLoaderIdentifier = (String) fields.get(CLASS_LOADER_IDENTIFIER, null);
// Note that further processing is required in JEEMetadataContextProviderImpl.deseria... | [
"private",
"void",
"readObject",
"(",
"java",
".",
"io",
".",
"ObjectInputStream",
"in",
")",
"throws",
"IOException",
",",
"ClassNotFoundException",
"{",
"GetField",
"fields",
"=",
"in",
".",
"readFields",
"(",
")",
";",
"classLoaderIdentifier",
"=",
"(",
"St... | Reads and deserializes the input object.
@param in The object to deserialize.
@throws IOException
@throws ClassNotFoundException | [
"Reads",
"and",
"deserializes",
"the",
"input",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloader.context/src/com/ibm/ws/classloader/context/internal/ClassloaderContextImpl.java#L182-L188 |
110,371 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java | ClientCommsDiagnosticModule.dumpJFapClientStatus | @Override
protected void dumpJFapClientStatus(IncidentStream is)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpJFapClientStatus");
ClientConnectionManager ccm = ClientConnectionManager.getRef();
List obc = ccm.getActiveOutboundConversationsF... | java | @Override
protected void dumpJFapClientStatus(IncidentStream is)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpJFapClientStatus");
ClientConnectionManager ccm = ClientConnectionManager.getRef();
List obc = ccm.getActiveOutboundConversationsF... | [
"@",
"Override",
"protected",
"void",
"dumpJFapClientStatus",
"(",
"IncidentStream",
"is",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",... | This method dumps the status of any client conversations that are currently active. It does
this by asking the JFap outbound connection tracker for its list of active conversations and
then has a look at the conversation states. All this information is captured in the FFDC
incident stream
@param is The incident stream... | [
"This",
"method",
"dumps",
"the",
"status",
"of",
"any",
"client",
"conversations",
"that",
"are",
"currently",
"active",
".",
"It",
"does",
"this",
"by",
"asking",
"the",
"JFap",
"outbound",
"connection",
"tracker",
"for",
"its",
"list",
"of",
"active",
"co... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java#L73-L119 |
110,372 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java | ClientCommsDiagnosticModule.dumpJFapServerStatus | @Override
protected void dumpJFapServerStatus(IncidentStream is)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpJFapServerStatus", is);
is.writeLine("No Server Conversation Dump", "");
if (TraceComponent.isAnyTracingEnabled() && tc.isE... | java | @Override
protected void dumpJFapServerStatus(IncidentStream is)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dumpJFapServerStatus", is);
is.writeLine("No Server Conversation Dump", "");
if (TraceComponent.isAnyTracingEnabled() && tc.isE... | [
"@",
"Override",
"protected",
"void",
"dumpJFapServerStatus",
"(",
"IncidentStream",
"is",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",... | This method does nothing for the client diagnostic module.
@see com.ibm.ws.sib.comms.common.CommsDiagnosticModule#dumpJFapServerStatus(com.ibm.ws.ffdc.IncidentStream) | [
"This",
"method",
"does",
"nothing",
"for",
"the",
"client",
"diagnostic",
"module",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java#L126-L134 |
110,373 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java | ClientCommsDiagnosticModule.dumpClientConversation | private void dumpClientConversation(IncidentStream is, Conversation conv) throws SIException
{
// Get the conversation state
ClientConversationState convState = (ClientConversationState) conv.getAttachment();
SICoreConnection siConn = convState.getSICoreConnection();
if (siConn == null... | java | private void dumpClientConversation(IncidentStream is, Conversation conv) throws SIException
{
// Get the conversation state
ClientConversationState convState = (ClientConversationState) conv.getAttachment();
SICoreConnection siConn = convState.getSICoreConnection();
if (siConn == null... | [
"private",
"void",
"dumpClientConversation",
"(",
"IncidentStream",
"is",
",",
"Conversation",
"conv",
")",
"throws",
"SIException",
"{",
"// Get the conversation state",
"ClientConversationState",
"convState",
"=",
"(",
"ClientConversationState",
")",
"conv",
".",
"getAt... | This method dumps the particulars of a particular client conversation.
@param is
@param conv
@throws SIException of the getResolvedUserId() call fails. | [
"This",
"method",
"dumps",
"the",
"particulars",
"of",
"a",
"particular",
"client",
"conversation",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java#L144-L187 |
110,374 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java | ClientCommsDiagnosticModule.convertToMap | protected Map<Object, LinkedList<Conversation>> convertToMap(final IncidentStream is, final List obc)
{
if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "convertToMap", new Object[]{is, obc});
final Map<Object, LinkedList<Conversation>> connectionToConversatio... | java | protected Map<Object, LinkedList<Conversation>> convertToMap(final IncidentStream is, final List obc)
{
if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "convertToMap", new Object[]{is, obc});
final Map<Object, LinkedList<Conversation>> connectionToConversatio... | [
"protected",
"Map",
"<",
"Object",
",",
"LinkedList",
"<",
"Conversation",
">",
">",
"convertToMap",
"(",
"final",
"IncidentStream",
"is",
",",
"final",
"List",
"obc",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
... | Generates a set of mappings between a Connection and the Conversations which are making use of it.
@param is the incident stream to log information to.
@param obc a List of Conversation objects
@return A Map where each entry consists of a Connection and its associated Conversations. | [
"Generates",
"a",
"set",
"of",
"mappings",
"between",
"a",
"Connection",
"and",
"the",
"Conversations",
"which",
"are",
"making",
"use",
"of",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/common/ClientCommsDiagnosticModule.java#L197-L232 |
110,375 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/internal/IIOPEndpointImpl.java | IIOPEndpointImpl.activate | @Activate
protected void activate(Map<String, Object> properties) throws Exception {
this.host = (String) properties.get("host");
Integer iiopPort = (Integer) properties.get("iiopPort");
this.iiopPort = iiopPort == null ? -1 : iiopPort;
iiopsOptions = Nester.nest("iiopsOptions", pro... | java | @Activate
protected void activate(Map<String, Object> properties) throws Exception {
this.host = (String) properties.get("host");
Integer iiopPort = (Integer) properties.get("iiopPort");
this.iiopPort = iiopPort == null ? -1 : iiopPort;
iiopsOptions = Nester.nest("iiopsOptions", pro... | [
"@",
"Activate",
"protected",
"void",
"activate",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"properties",
")",
"throws",
"Exception",
"{",
"this",
".",
"host",
"=",
"(",
"String",
")",
"properties",
".",
"get",
"(",
"\"host\"",
")",
";",
"Integer",
... | Start the ORB associated with this bean instance.
@exception Exception | [
"Start",
"the",
"ORB",
"associated",
"with",
"this",
"bean",
"instance",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.iiop/src/com/ibm/ws/transport/iiop/internal/IIOPEndpointImpl.java#L71-L78 |
110,376 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoImpl.java | EJBMethodInfoImpl.initializeInstanceData | public void initializeInstanceData(String methodSign,
String methodNameOnly,
BeanMetaData beanMetaData,
MethodInterface methodInterface, // d162441 199625
Transacti... | java | public void initializeInstanceData(String methodSign,
String methodNameOnly,
BeanMetaData beanMetaData,
MethodInterface methodInterface, // d162441 199625
Transacti... | [
"public",
"void",
"initializeInstanceData",
"(",
"String",
"methodSign",
",",
"String",
"methodNameOnly",
",",
"BeanMetaData",
"beanMetaData",
",",
"MethodInterface",
"methodInterface",
",",
"// d162441 199625",
"TransactionAttribute",
"tranAttr",
",",
"boolean",
"asyncMeth... | d140003.35 | [
"d140003",
".",
"35"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoImpl.java#L516-L564 |
110,377 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoImpl.java | EJBMethodInfoImpl.getRolesAllowed | @Override
public List<String> getRolesAllowed()
{
return ivRolesAllowed == null ? Collections.<String> emptyList() : Arrays.asList(ivRolesAllowed);
} | java | @Override
public List<String> getRolesAllowed()
{
return ivRolesAllowed == null ? Collections.<String> emptyList() : Arrays.asList(ivRolesAllowed);
} | [
"@",
"Override",
"public",
"List",
"<",
"String",
">",
"getRolesAllowed",
"(",
")",
"{",
"return",
"ivRolesAllowed",
"==",
"null",
"?",
"Collections",
".",
"<",
"String",
">",
"emptyList",
"(",
")",
":",
"Arrays",
".",
"asList",
"(",
"ivRolesAllowed",
")",... | Return a list containing all security roles that are
allowed to execute this method.
@return List of strings containing all security roles that are
allowed to execute this method. | [
"Return",
"a",
"list",
"containing",
"all",
"security",
"roles",
"that",
"are",
"allowed",
"to",
"execute",
"this",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/EJBMethodInfoImpl.java#L1125-L1129 |
110,378 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/JTAXAResourceImpl.java | JTAXAResourceImpl.forget | @Override
public final void forget() throws XAException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "forget", new Object[] { _resource, _xid });
if (tcSummary.isDebugEnabled())
Tr.debug(tcSummary, "xa_forget", this);
int rc = -1; // not an XA RC
try
{... | java | @Override
public final void forget() throws XAException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "forget", new Object[] { _resource, _xid });
if (tcSummary.isDebugEnabled())
Tr.debug(tcSummary, "xa_forget", this);
int rc = -1; // not an XA RC
try
{... | [
"@",
"Override",
"public",
"final",
"void",
"forget",
"(",
")",
"throws",
"XAException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"forget\"",
",",
"new",
"Object",
"[",
"]",
"{",
"_resource",
"... | The resource manager can forget all knowledge of the transaction.
@exception XAException | [
"The",
"resource",
"manager",
"can",
"forget",
"all",
"knowledge",
"of",
"the",
"transaction",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/JTAXAResourceImpl.java#L335-L367 |
110,379 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/JTAXAResourceImpl.java | JTAXAResourceImpl.log | @Override
public void log(RecoverableUnitSection rus) throws SystemException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "log", new Object[] { this, rus });
if (tc.isDebugEnabled())
{
Tr.debug(tc, "about to log stoken " + Util.toHexString(((XidImpl) _xid).getStoken()... | java | @Override
public void log(RecoverableUnitSection rus) throws SystemException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "log", new Object[] { this, rus });
if (tc.isDebugEnabled())
{
Tr.debug(tc, "about to log stoken " + Util.toHexString(((XidImpl) _xid).getStoken()... | [
"@",
"Override",
"public",
"void",
"log",
"(",
"RecoverableUnitSection",
"rus",
")",
"throws",
"SystemException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"log\"",
",",
"new",
"Object",
"[",
"]",
... | Write information about the resource to the transaction log
@exception SystemException | [
"Write",
"information",
"about",
"the",
"resource",
"to",
"the",
"transaction",
"log"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/JTAXAResourceImpl.java#L374-L420 |
110,380 | OpenLiberty/open-liberty | dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/JTAXAResourceImpl.java | JTAXAResourceImpl.destroy | @Override
public final void destroy()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "destroy", new Object[] { _resource, _xid });
if (!_completed)
{
// If we created an XAResource by reconnectRM we need to destroy it
if (_recoveredRM != null)
{
... | java | @Override
public final void destroy()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "destroy", new Object[] { _resource, _xid });
if (!_completed)
{
// If we created an XAResource by reconnectRM we need to destroy it
if (_recoveredRM != null)
{
... | [
"@",
"Override",
"public",
"final",
"void",
"destroy",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"destroy\"",
",",
"new",
"Object",
"[",
"]",
"{",
"_resource",
",",
"_xid",
"}",
")",... | Destroy the JTAXAResourceImpl object from XAResourceManager. | [
"Destroy",
"the",
"JTAXAResourceImpl",
"object",
"from",
"XAResourceManager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/JTAXAResourceImpl.java#L454-L478 |
110,381 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/el/unified/CustomFirstELResolverComparator.java | CustomFirstELResolverComparator._getFacesConfigElResolvers | private List<ELResolver> _getFacesConfigElResolvers()
{
if (_facesConfigResolvers == null)
{
ExternalContext externalContext
= FacesContext.getCurrentInstance().getExternalContext();
RuntimeConfig runtimeConfig
= RuntimeConfig.getCurren... | java | private List<ELResolver> _getFacesConfigElResolvers()
{
if (_facesConfigResolvers == null)
{
ExternalContext externalContext
= FacesContext.getCurrentInstance().getExternalContext();
RuntimeConfig runtimeConfig
= RuntimeConfig.getCurren... | [
"private",
"List",
"<",
"ELResolver",
">",
"_getFacesConfigElResolvers",
"(",
")",
"{",
"if",
"(",
"_facesConfigResolvers",
"==",
"null",
")",
"{",
"ExternalContext",
"externalContext",
"=",
"FacesContext",
".",
"getCurrentInstance",
"(",
")",
".",
"getExternalConte... | Returns a List of all ELResolvers from the faces-config.
@return | [
"Returns",
"a",
"List",
"of",
"all",
"ELResolvers",
"from",
"the",
"faces",
"-",
"config",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/el/unified/CustomFirstELResolverComparator.java#L89-L102 |
110,382 | OpenLiberty/open-liberty | dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/DistributedObjectCacheFactory.java | DistributedObjectCacheFactory.getMap | public static DistributedObjectCache getMap(String name, Properties properties) {
final String methodName = "getMap()";
if (tc.isEntryEnabled()) {
Tr.entry(tc, methodName + " name: (" + name + ") properties:" + properties);
}
if (name == null || name.trim().length() == 0) {
... | java | public static DistributedObjectCache getMap(String name, Properties properties) {
final String methodName = "getMap()";
if (tc.isEntryEnabled()) {
Tr.entry(tc, methodName + " name: (" + name + ") properties:" + properties);
}
if (name == null || name.trim().length() == 0) {
... | [
"public",
"static",
"DistributedObjectCache",
"getMap",
"(",
"String",
"name",
",",
"Properties",
"properties",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"getMap()\"",
";",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry... | Returns the DistributedMap or DistributedNioMap
instance specified by the given id, using the
the parameters specified in properties. If the given
instance has not yet been created, then a new
instance is created using the parameters
specified in the properties object. Use the
various KEY_xxx and VALUE_xxx
constants to... | [
"Returns",
"the",
"DistributedMap",
"or",
"DistributedNioMap",
"instance",
"specified",
"by",
"the",
"given",
"id",
"using",
"the",
"the",
"parameters",
"specified",
"in",
"properties",
".",
"If",
"the",
"given",
"instance",
"has",
"not",
"yet",
"been",
"created... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.dynacache/src/com/ibm/wsspi/cache/DistributedObjectCacheFactory.java#L346-L385 |
110,383 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.tools/src/com/ibm/ws/kernel/boot/cmdline/UtilityMain.java | UtilityMain.getBundleEmbeddedLibs | private static List<URL> getBundleEmbeddedLibs( final URL jarFileUrl) throws IOException, PrivilegedActionException {
return AccessController.doPrivileged(new PrivilegedExceptionAction<List<URL>>() {
public List<URL> run()
throws Exception
{
... | java | private static List<URL> getBundleEmbeddedLibs( final URL jarFileUrl) throws IOException, PrivilegedActionException {
return AccessController.doPrivileged(new PrivilegedExceptionAction<List<URL>>() {
public List<URL> run()
throws Exception
{
... | [
"private",
"static",
"List",
"<",
"URL",
">",
"getBundleEmbeddedLibs",
"(",
"final",
"URL",
"jarFileUrl",
")",
"throws",
"IOException",
",",
"PrivilegedActionException",
"{",
"return",
"AccessController",
".",
"doPrivileged",
"(",
"new",
"PrivilegedExceptionAction",
"... | Support for embedded libs in a bundle.
@param jarFileUrl
@return
@throws IOException
@throws PrivilegedActionException | [
"Support",
"for",
"embedded",
"libs",
"in",
"a",
"bundle",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.tools/src/com/ibm/ws/kernel/boot/cmdline/UtilityMain.java#L199-L267 |
110,384 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigVariableRegistry.java | ConfigVariableRegistry.lookupVariable | public String lookupVariable(String variableName) {
String varReference = XMLConfigConstants.VAR_OPEN + variableName + XMLConfigConstants.VAR_CLOSE;
String resolvedVar = registry.resolveRawString(varReference);
return varReference.equalsIgnoreCase(resolvedVar) ? null : resolvedVar;
} | java | public String lookupVariable(String variableName) {
String varReference = XMLConfigConstants.VAR_OPEN + variableName + XMLConfigConstants.VAR_CLOSE;
String resolvedVar = registry.resolveRawString(varReference);
return varReference.equalsIgnoreCase(resolvedVar) ? null : resolvedVar;
} | [
"public",
"String",
"lookupVariable",
"(",
"String",
"variableName",
")",
"{",
"String",
"varReference",
"=",
"XMLConfigConstants",
".",
"VAR_OPEN",
"+",
"variableName",
"+",
"XMLConfigConstants",
".",
"VAR_CLOSE",
";",
"String",
"resolvedVar",
"=",
"registry",
".",... | Resolve the given variable.
Formerly, this value was path-normalized (i.e, "//" is replaced
with "/" and any trailing "/" are removed from the value).
This has changed, at least temporarily, to not do path normalization for variables.
@param variableName
@return The resolved value or null if the variable doesn't exi... | [
"Resolve",
"the",
"given",
"variable",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigVariableRegistry.java#L230-L237 |
110,385 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigVariableRegistry.java | ConfigVariableRegistry.lookupVariableDefaultValue | public String lookupVariableDefaultValue(String variableName) {
ConfigVariable cv = configVariables.get(variableName);
return cv == null ? null : cv.getDefaultValue();
} | java | public String lookupVariableDefaultValue(String variableName) {
ConfigVariable cv = configVariables.get(variableName);
return cv == null ? null : cv.getDefaultValue();
} | [
"public",
"String",
"lookupVariableDefaultValue",
"(",
"String",
"variableName",
")",
"{",
"ConfigVariable",
"cv",
"=",
"configVariables",
".",
"get",
"(",
"variableName",
")",
";",
"return",
"cv",
"==",
"null",
"?",
"null",
":",
"cv",
".",
"getDefaultValue",
... | Returns the defaultValue from the variable definition, or null if it doesn't exist. | [
"Returns",
"the",
"defaultValue",
"from",
"the",
"variable",
"definition",
"or",
"null",
"if",
"it",
"doesn",
"t",
"exist",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigVariableRegistry.java#L370-L373 |
110,386 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/impl/utils/ClaimsUtils.java | ClaimsUtils.getJwtClaims | public JwtClaims getJwtClaims(String jwt) throws JoseException {
String methodName = "getJwtClaims";
if (tc.isDebugEnabled()) {
Tr.entry(tc, methodName, jwt);
}
JwtClaims jwtclaims = new JwtClaims();
String payload = getJwtPayload(jwt);
if (payload != null) {
... | java | public JwtClaims getJwtClaims(String jwt) throws JoseException {
String methodName = "getJwtClaims";
if (tc.isDebugEnabled()) {
Tr.entry(tc, methodName, jwt);
}
JwtClaims jwtclaims = new JwtClaims();
String payload = getJwtPayload(jwt);
if (payload != null) {
... | [
"public",
"JwtClaims",
"getJwtClaims",
"(",
"String",
"jwt",
")",
"throws",
"JoseException",
"{",
"String",
"methodName",
"=",
"\"getJwtClaims\"",
";",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"tc",
",",
"methodN... | Parses the provided JWT and returns the claims found within its payload. | [
"Parses",
"the",
"provided",
"JWT",
"and",
"returns",
"the",
"claims",
"found",
"within",
"its",
"payload",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/impl/utils/ClaimsUtils.java#L46-L60 |
110,387 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/impl/utils/ClaimsUtils.java | ClaimsUtils.convertJoseTypes | private void convertJoseTypes(JwtClaims claimsSet) {
// if (claimsSet.hasClaim(Claims.address.name())) {
// replaceMap(Claims.address.name());
// }
// if (claimsSet.hasClaim(Claims.jwk.name())) {
// replaceMap(Claims.jwk.name());
... | java | private void convertJoseTypes(JwtClaims claimsSet) {
// if (claimsSet.hasClaim(Claims.address.name())) {
// replaceMap(Claims.address.name());
// }
// if (claimsSet.hasClaim(Claims.jwk.name())) {
// replaceMap(Claims.jwk.name());
... | [
"private",
"void",
"convertJoseTypes",
"(",
"JwtClaims",
"claimsSet",
")",
"{",
"// if (claimsSet.hasClaim(Claims.address.name())) {",
"// replaceMap(Claims.address.name());",
"// }",
"// if (claimsSet.hasClaim(Claims.jwk.name())) {",
"// replaceMap... | Convert the types jose4j uses for address, sub_jwk, and jwk | [
"Convert",
"the",
"types",
"jose4j",
"uses",
"for",
"address",
"sub_jwk",
"and",
"jwk"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/impl/utils/ClaimsUtils.java#L128-L153 |
110,388 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/impl/utils/ClaimsUtils.java | ClaimsUtils.convertToList | @FFDCIgnore({ MalformedClaimException.class })
private void convertToList(String claimName, JwtClaims claimsSet) {
List<String> list = null;
try {
list = claimsSet.getStringListClaimValue(claimName);
} catch (MalformedClaimException e) {
try {
String v... | java | @FFDCIgnore({ MalformedClaimException.class })
private void convertToList(String claimName, JwtClaims claimsSet) {
List<String> list = null;
try {
list = claimsSet.getStringListClaimValue(claimName);
} catch (MalformedClaimException e) {
try {
String v... | [
"@",
"FFDCIgnore",
"(",
"{",
"MalformedClaimException",
".",
"class",
"}",
")",
"private",
"void",
"convertToList",
"(",
"String",
"claimName",
",",
"JwtClaims",
"claimsSet",
")",
"{",
"List",
"<",
"String",
">",
"list",
"=",
"null",
";",
"try",
"{",
"list... | Converts the value for the specified claim into a String list. | [
"Converts",
"the",
"value",
"for",
"the",
"specified",
"claim",
"into",
"a",
"String",
"list",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt/src/com/ibm/ws/security/mp/jwt/impl/utils/ClaimsUtils.java#L177-L196 |
110,389 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/Jsp21FacesInitializer.java | Jsp21FacesInitializer.configureResolverForJSP | private void configureResolverForJSP(JspApplicationContext appCtx, RuntimeConfig runtimeConfig)
{
FacesCompositeELResolver facesCompositeELResolver = new FacesCompositeELResolver(Scope.JSP);
appCtx.addELResolver(facesCompositeELResolver);
PhaseListener resolverForJSPInitializer = new Resolve... | java | private void configureResolverForJSP(JspApplicationContext appCtx, RuntimeConfig runtimeConfig)
{
FacesCompositeELResolver facesCompositeELResolver = new FacesCompositeELResolver(Scope.JSP);
appCtx.addELResolver(facesCompositeELResolver);
PhaseListener resolverForJSPInitializer = new Resolve... | [
"private",
"void",
"configureResolverForJSP",
"(",
"JspApplicationContext",
"appCtx",
",",
"RuntimeConfig",
"runtimeConfig",
")",
"{",
"FacesCompositeELResolver",
"facesCompositeELResolver",
"=",
"new",
"FacesCompositeELResolver",
"(",
"Scope",
".",
"JSP",
")",
";",
"appC... | Register a phase listener to every lifecycle. This listener will lazy fill the el resolver for jsp as soon as the
first lifecycle is executed. This is necessarry to allow a faces application further setup after MyFaces has been
initialized. When the first request is processed no further configuation of the el resolvers... | [
"Register",
"a",
"phase",
"listener",
"to",
"every",
"lifecycle",
".",
"This",
"listener",
"will",
"lazy",
"fill",
"the",
"el",
"resolver",
"for",
"jsp",
"as",
"soon",
"as",
"the",
"first",
"lifecycle",
"is",
"executed",
".",
"This",
"is",
"necessarry",
"t... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/Jsp21FacesInitializer.java#L126-L138 |
110,390 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jwtsso_fat/fat/src/com/ibm/ws/security/jwtsso/fat/utils/JwtFatActions.java | JwtFatActions.logInAndObtainCookie | private Cookie logInAndObtainCookie(String testName, WebClient webClient, String protectedUrl, String username, String password, String cookieName,
Expectations expectations) throws Exception {
Page response = invokeProtectedUrlAndValidateResponse(testName, webClient, pro... | java | private Cookie logInAndObtainCookie(String testName, WebClient webClient, String protectedUrl, String username, String password, String cookieName,
Expectations expectations) throws Exception {
Page response = invokeProtectedUrlAndValidateResponse(testName, webClient, pro... | [
"private",
"Cookie",
"logInAndObtainCookie",
"(",
"String",
"testName",
",",
"WebClient",
"webClient",
",",
"String",
"protectedUrl",
",",
"String",
"username",
",",
"String",
"password",
",",
"String",
"cookieName",
",",
"Expectations",
"expectations",
")",
"throws... | Accesses the protected resource and logs in successfully, ensuring that the expected cookie is included in the result. | [
"Accesses",
"the",
"protected",
"resource",
"and",
"logs",
"in",
"successfully",
"ensuring",
"that",
"the",
"expected",
"cookie",
"is",
"included",
"in",
"the",
"result",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jwtsso_fat/fat/src/com/ibm/ws/security/jwtsso/fat/utils/JwtFatActions.java#L70-L78 |
110,391 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/SIBUuid8.java | SIBUuid8.toLong | public long toLong () {
long result = 0;
byte[] uuidBytes = super.toByteArray();
for (int i = 0; i < 8; i++)
{
result = result << 8;
result += (int) uuidBytes[i];
}
return result;
} | java | public long toLong () {
long result = 0;
byte[] uuidBytes = super.toByteArray();
for (int i = 0; i < 8; i++)
{
result = result << 8;
result += (int) uuidBytes[i];
}
return result;
} | [
"public",
"long",
"toLong",
"(",
")",
"{",
"long",
"result",
"=",
"0",
";",
"byte",
"[",
"]",
"uuidBytes",
"=",
"super",
".",
"toByteArray",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"8",
";",
"i",
"++",
")",
"{",
"resul... | Return a long representing the SIBUuid8.
@return A long representing the SIBUuid8 | [
"Return",
"a",
"long",
"representing",
"the",
"SIBUuid8",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.utils/src/com/ibm/ws/sib/utils/SIBUuid8.java#L72-L84 |
110,392 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/xml/XMLToJSONTransformer.java | XMLToJSONTransformer.transform | public static void transform(InputStream XMLStream, OutputStream JSONStream, boolean verbose)
throws SAXException, IOException
{
if (logger.isLoggable(Level.FINER))
{
logger.entering(className, "transform(InputStream, OutputStream)");
}
if (XMLStream == null)
... | java | public static void transform(InputStream XMLStream, OutputStream JSONStream, boolean verbose)
throws SAXException, IOException
{
if (logger.isLoggable(Level.FINER))
{
logger.entering(className, "transform(InputStream, OutputStream)");
}
if (XMLStream == null)
... | [
"public",
"static",
"void",
"transform",
"(",
"InputStream",
"XMLStream",
",",
"OutputStream",
"JSONStream",
",",
"boolean",
"verbose",
")",
"throws",
"SAXException",
",",
"IOException",
"{",
"if",
"(",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINER",
... | Method to do the transform from an XML input stream to a JSON stream.
Neither input nor output streams are closed. Closure is left up to the caller.
@param XMLStream The XML stream to convert to JSON
@param JSONStream The stream to write out JSON to. The contents written to this stream are always in UTF-8 format.
@p... | [
"Method",
"to",
"do",
"the",
"transform",
"from",
"an",
"XML",
"input",
"stream",
"to",
"a",
"JSON",
"stream",
".",
"Neither",
"input",
"nor",
"output",
"streams",
"are",
"closed",
".",
"Closure",
"is",
"left",
"up",
"to",
"the",
"caller",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/XMLToJSONTransformer.java#L130-L190 |
110,393 | OpenLiberty/open-liberty | dev/com.ibm.json4j/src/com/ibm/json/xml/XMLToJSONTransformer.java | XMLToJSONTransformer.transform | public static String transform(File xmlFile, boolean verbose)
throws SAXException, IOException
{
if (logger.isLoggable(Level.FINER))
{
logger.exiting(className, "transform(InputStream, boolean)");
}
FileInputStream fis = new FileInputStream(xmlFile);
S... | java | public static String transform(File xmlFile, boolean verbose)
throws SAXException, IOException
{
if (logger.isLoggable(Level.FINER))
{
logger.exiting(className, "transform(InputStream, boolean)");
}
FileInputStream fis = new FileInputStream(xmlFile);
S... | [
"public",
"static",
"String",
"transform",
"(",
"File",
"xmlFile",
",",
"boolean",
"verbose",
")",
"throws",
"SAXException",
",",
"IOException",
"{",
"if",
"(",
"logger",
".",
"isLoggable",
"(",
"Level",
".",
"FINER",
")",
")",
"{",
"logger",
".",
"exiting... | Method to take an XML file and return a String of the JSON format.
@param xmlFile The XML file to transform to JSON.
@param verbose Boolean flag denoting whther or not to write the JSON in verbose (formatted), or compact form (no whitespace)
@return A string of the JSON representation of the XML file
@throws SAXExcep... | [
"Method",
"to",
"take",
"an",
"XML",
"file",
"and",
"return",
"a",
"String",
"of",
"the",
"JSON",
"format",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.json4j/src/com/ibm/json/xml/XMLToJSONTransformer.java#L262-L282 |
110,394 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/CustomUserRegistryFactory.java | CustomUserRegistryFactory.setCustomUserRegistry | @Reference(cardinality = ReferenceCardinality.MULTIPLE,
policyOption = ReferencePolicyOption.GREEDY)
protected synchronized void setCustomUserRegistry(com.ibm.websphere.security.UserRegistry externalUserRegistry, Map<String, Object> props) {
String id = getId(props);
customUserRegistr... | java | @Reference(cardinality = ReferenceCardinality.MULTIPLE,
policyOption = ReferencePolicyOption.GREEDY)
protected synchronized void setCustomUserRegistry(com.ibm.websphere.security.UserRegistry externalUserRegistry, Map<String, Object> props) {
String id = getId(props);
customUserRegistr... | [
"@",
"Reference",
"(",
"cardinality",
"=",
"ReferenceCardinality",
".",
"MULTIPLE",
",",
"policyOption",
"=",
"ReferencePolicyOption",
".",
"GREEDY",
")",
"protected",
"synchronized",
"void",
"setCustomUserRegistry",
"(",
"com",
".",
"ibm",
".",
"websphere",
".",
... | Method will be called for each com.ibm.websphere.security.UserRegistry that is
registered in the OSGi service registry. We maintain an internal set
of these for easy access.
@param ref Reference to a registered com.ibm.websphere.security.UserRegistry | [
"Method",
"will",
"be",
"called",
"for",
"each",
"com",
".",
"ibm",
".",
"websphere",
".",
"security",
".",
"UserRegistry",
"that",
"is",
"registered",
"in",
"the",
"OSGi",
"service",
"registry",
".",
"We",
"maintain",
"an",
"internal",
"set",
"of",
"these... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/CustomUserRegistryFactory.java#L56-L61 |
110,395 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/CustomUserRegistryFactory.java | CustomUserRegistryFactory.unsetCustomUserRegistry | protected synchronized void unsetCustomUserRegistry(Map<String, Object> props) {
String id = getId(props);
customUserRegistries.remove(id);
ServiceRegistration<UserRegistry> registration = registrynRegistrationsToUnregister.remove(id);
if (registration != null) {
registration... | java | protected synchronized void unsetCustomUserRegistry(Map<String, Object> props) {
String id = getId(props);
customUserRegistries.remove(id);
ServiceRegistration<UserRegistry> registration = registrynRegistrationsToUnregister.remove(id);
if (registration != null) {
registration... | [
"protected",
"synchronized",
"void",
"unsetCustomUserRegistry",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"props",
")",
"{",
"String",
"id",
"=",
"getId",
"(",
"props",
")",
";",
"customUserRegistries",
".",
"remove",
"(",
"id",
")",
";",
"ServiceRegist... | Method will be called for each com.ibm.websphere.security.UserRegistry that is
unregistered in the OSGi service registry. We must remove this instance
from our internal set of listeners.
@param ref Reference to an unregistered com.ibm.websphere.security.UserRegistry | [
"Method",
"will",
"be",
"called",
"for",
"each",
"com",
".",
"ibm",
".",
"websphere",
".",
"security",
".",
"UserRegistry",
"that",
"is",
"unregistered",
"in",
"the",
"OSGi",
"service",
"registry",
".",
"We",
"must",
"remove",
"this",
"instance",
"from",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.registry/src/com/ibm/ws/security/registry/internal/CustomUserRegistryFactory.java#L79-L86 |
110,396 | OpenLiberty/open-liberty | dev/com.ibm.ws.connectionpool.monitor/src/com/ibm/ws/connectionpool/monitor/ConnectionPoolMonitor.java | ConnectionPoolMonitor.waitTimeEntry | @ProbeAtEntry
@ProbeSite(clazz = "com.ibm.ejs.j2c.FreePool", method = "queueRequest")
public void waitTimeEntry() {
if (tc.isEntryEnabled()) {
Tr.entry(tc, "waitTimeEntry");
}
tlocalforwtTime.set(System.currentTimeMillis());
if (tc.isEntryEnabled()) {
Tr.e... | java | @ProbeAtEntry
@ProbeSite(clazz = "com.ibm.ejs.j2c.FreePool", method = "queueRequest")
public void waitTimeEntry() {
if (tc.isEntryEnabled()) {
Tr.entry(tc, "waitTimeEntry");
}
tlocalforwtTime.set(System.currentTimeMillis());
if (tc.isEntryEnabled()) {
Tr.e... | [
"@",
"ProbeAtEntry",
"@",
"ProbeSite",
"(",
"clazz",
"=",
"\"com.ibm.ejs.j2c.FreePool\"",
",",
"method",
"=",
"\"queueRequest\"",
")",
"public",
"void",
"waitTimeEntry",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
... | Code which sets the entry time for queueRequest for wait time.We set it in ThreadLocal variable | [
"Code",
"which",
"sets",
"the",
"entry",
"time",
"for",
"queueRequest",
"for",
"wait",
"time",
".",
"We",
"set",
"it",
"in",
"ThreadLocal",
"variable"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.connectionpool.monitor/src/com/ibm/ws/connectionpool/monitor/ConnectionPoolMonitor.java#L290-L300 |
110,397 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginAuthenticator.java | FormLoginAuthenticator.handleFormLogin | private AuthenticationResult handleFormLogin(HttpServletRequest req, HttpServletResponse res, WebRequest webRequest) {
AuthenticationResult authResult = null;
authResult = ssoAuthenticator.authenticate(webRequest);
if (authResult != null) {
authResult.setAuditCredType(AuditEvent.CRE... | java | private AuthenticationResult handleFormLogin(HttpServletRequest req, HttpServletResponse res, WebRequest webRequest) {
AuthenticationResult authResult = null;
authResult = ssoAuthenticator.authenticate(webRequest);
if (authResult != null) {
authResult.setAuditCredType(AuditEvent.CRE... | [
"private",
"AuthenticationResult",
"handleFormLogin",
"(",
"HttpServletRequest",
"req",
",",
"HttpServletResponse",
"res",
",",
"WebRequest",
"webRequest",
")",
"{",
"AuthenticationResult",
"authResult",
"=",
"null",
";",
"authResult",
"=",
"ssoAuthenticator",
".",
"aut... | This method handle formlogin; If the SSO cookie exist, then it will use the cookie to authenticate. If
the cookie does not exist, then it will re-redirect to the login page.
@param req
@param res
@param enableRedirect
@return | [
"This",
"method",
"handle",
"formlogin",
";",
"If",
"the",
"SSO",
"cookie",
"exist",
"then",
"it",
"will",
"use",
"the",
"cookie",
"to",
"authenticate",
".",
"If",
"the",
"cookie",
"does",
"not",
"exist",
"then",
"it",
"will",
"re",
"-",
"redirect",
"to"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginAuthenticator.java#L84-L115 |
110,398 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginAuthenticator.java | FormLoginAuthenticator.handleRedirect | private AuthenticationResult handleRedirect(HttpServletRequest req,
HttpServletResponse res,
WebRequest webRequest) {
AuthenticationResult authResult;
String loginURL = getFormLoginURL(req, webRequest, webAp... | java | private AuthenticationResult handleRedirect(HttpServletRequest req,
HttpServletResponse res,
WebRequest webRequest) {
AuthenticationResult authResult;
String loginURL = getFormLoginURL(req, webRequest, webAp... | [
"private",
"AuthenticationResult",
"handleRedirect",
"(",
"HttpServletRequest",
"req",
",",
"HttpServletResponse",
"res",
",",
"WebRequest",
"webRequest",
")",
"{",
"AuthenticationResult",
"authResult",
";",
"String",
"loginURL",
"=",
"getFormLoginURL",
"(",
"req",
",",... | This method save post parameters in the cookie or session and
redirect to a login page.
@param req
@param res
@param loginURL
@return authenticationResult | [
"This",
"method",
"save",
"post",
"parameters",
"in",
"the",
"cookie",
"or",
"session",
"and",
"redirect",
"to",
"a",
"login",
"page",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/FormLoginAuthenticator.java#L126-L147 |
110,399 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/archive/DirEntryConfig.java | DirEntryConfig.filterDirectory | private void filterDirectory(List<String> dirContent, DirPattern dirPattern, String parentPath) throws IOException {
// setup the working directory
File workingDirectory = new File(source, parentPath);
//If the directory doesn't exist, we should not archive it.
if (workingDirectory.exis... | java | private void filterDirectory(List<String> dirContent, DirPattern dirPattern, String parentPath) throws IOException {
// setup the working directory
File workingDirectory = new File(source, parentPath);
//If the directory doesn't exist, we should not archive it.
if (workingDirectory.exis... | [
"private",
"void",
"filterDirectory",
"(",
"List",
"<",
"String",
">",
"dirContent",
",",
"DirPattern",
"dirPattern",
",",
"String",
"parentPath",
")",
"throws",
"IOException",
"{",
"// setup the working directory",
"File",
"workingDirectory",
"=",
"new",
"File",
"(... | filter the directory according to the dir pattern
@param dirContent the relative paths of the files which we need add to the archive
@param dirPattern
@param parentPath
@throws IOException | [
"filter",
"the",
"directory",
"according",
"to",
"the",
"dir",
"pattern"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/archive/DirEntryConfig.java#L88-L121 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.