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
65,400
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readString
public String readString(InputStream in) throws ConversionException, IOException { JSONArray json = parseArray(in); if (json.size() != 1) { throwConversionException("readString() expects one item in the array: [ String ].", json); } return readStringInternal(json.get(0)); ...
java
public String readString(InputStream in) throws ConversionException, IOException { JSONArray json = parseArray(in); if (json.size() != 1) { throwConversionException("readString() expects one item in the array: [ String ].", json); } return readStringInternal(json.get(0)); ...
[ "public", "String", "readString", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", "{", "JSONArray", "json", "=", "parseArray", "(", "in", ")", ";", "if", "(", "json", ".", "size", "(", ")", "!=", "1", ")", "{", "throwC...
Decode a JSON document to retrieve a String value. @param in The stream to read JSON from @return The decoded String value @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @see #writeString(OutputStream, String)
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "String", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L761-L767
65,401
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readPOJO
public Object readPOJO(InputStream in) throws ConversionException, IOException, ClassNotFoundException { return readPOJOInternal(parse(in)); }
java
public Object readPOJO(InputStream in) throws ConversionException, IOException, ClassNotFoundException { return readPOJOInternal(parse(in)); }
[ "public", "Object", "readPOJO", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "return", "readPOJOInternal", "(", "parse", "(", "in", ")", ")", ";", "}" ]
Decode a JSON document to retrieve an Object. @param in The stream to read JSON from @return The decoded Object @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException If needed class can't be found. @see #...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "an", "Object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L941-L943
65,402
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readJMX
public JMXServerInfo readJMX(InputStream in) throws ConversionException, IOException { JSONObject json = parseObject(in); JMXServerInfo ret = new JMXServerInfo(); ret.version = readIntInternal(json.get(N_VERSION)); ret.mbeansURL = readStringInternal(json.get(N_MBEANS)); ret.creat...
java
public JMXServerInfo readJMX(InputStream in) throws ConversionException, IOException { JSONObject json = parseObject(in); JMXServerInfo ret = new JMXServerInfo(); ret.version = readIntInternal(json.get(N_VERSION)); ret.mbeansURL = readStringInternal(json.get(N_MBEANS)); ret.creat...
[ "public", "JMXServerInfo", "readJMX", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "JMXServerInfo", "ret", "=", "new", "JMXServerInfo", "(", ")", ";", "r...
Decode a JSON document to retrieve a JMX instance. @param in The stream to read JSON from @return The decoded JMX instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @see #writeJMX(OutputStream, JMXServerInfo)
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "JMX", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L988-L1003
65,403
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readObjectInstances
public ObjectInstanceWrapper[] readObjectInstances(InputStream in) throws ConversionException, IOException { JSONArray json = parseArray(in); ObjectInstanceWrapper[] ret = new ObjectInstanceWrapper[json.size()]; int pos = 0; for (Object item : json) { ret[pos++] = readObjectI...
java
public ObjectInstanceWrapper[] readObjectInstances(InputStream in) throws ConversionException, IOException { JSONArray json = parseArray(in); ObjectInstanceWrapper[] ret = new ObjectInstanceWrapper[json.size()]; int pos = 0; for (Object item : json) { ret[pos++] = readObjectI...
[ "public", "ObjectInstanceWrapper", "[", "]", "readObjectInstances", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", "{", "JSONArray", "json", "=", "parseArray", "(", "in", ")", ";", "ObjectInstanceWrapper", "[", "]", "ret", "=",...
Decode a JSON document to retrieve an ObjectInstanceWrapper array. @param in The stream to read JSON from @return The decoded ObjectInstanceWrapper array @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @see #writeObjectInstanceAr...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "an", "ObjectInstanceWrapper", "array", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1071-L1079
65,404
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readMBeanQuery
public MBeanQuery readMBeanQuery(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); MBeanQuery ret = new MBeanQuery(); ret.objectName = readObjectName(json.get(N_OBJECTNAME)); Object queryExp = readSerialized(json.get(N_QU...
java
public MBeanQuery readMBeanQuery(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); MBeanQuery ret = new MBeanQuery(); ret.objectName = readObjectName(json.get(N_OBJECTNAME)); Object queryExp = readSerialized(json.get(N_QU...
[ "public", "MBeanQuery", "readMBeanQuery", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "MBeanQuery", "ret", "=", "new", "MBean...
Decode a JSON document to retrieve an MBeanQuery instance. @param in The stream to read JSON from @return The decoded MBeanQuery instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException If needed cl...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "an", "MBeanQuery", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1113-L1124
65,405
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readCreateMBean
public CreateMBean readCreateMBean(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); CreateMBean ret = new CreateMBean(); ret.objectName = readObjectName(json.get(N_OBJECTNAME)); ret.className = readStringInternal(json.ge...
java
public CreateMBean readCreateMBean(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); CreateMBean ret = new CreateMBean(); ret.objectName = readObjectName(json.get(N_OBJECTNAME)); ret.className = readStringInternal(json.ge...
[ "public", "CreateMBean", "readCreateMBean", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "CreateMBean", "ret", "=", "new", "Cr...
Decode a JSON document to retrieve a CreateMBean instance. @param in The stream to read JSON from @return The decoded CreateMBean instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException If needed c...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "CreateMBean", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1165-L1176
65,406
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readMBeanInfo
@SuppressWarnings("unchecked") public MBeanInfoWrapper readMBeanInfo(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); MBeanInfoWrapper ret = new MBeanInfoWrapper(); if (USE_BASE64_FOR_MBEANINFO) { Object o = read...
java
@SuppressWarnings("unchecked") public MBeanInfoWrapper readMBeanInfo(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); MBeanInfoWrapper ret = new MBeanInfoWrapper(); if (USE_BASE64_FOR_MBEANINFO) { Object o = read...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "MBeanInfoWrapper", "readMBeanInfo", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "JSONObject", "json", "=", "parseObject", "(", "i...
Decode a JSON document to retrieve an MBeanInfoWrapper instance. Note that all descriptors are of class ImmutableDescriptor. @param in The stream to read JSON from @return The decoded MBeanInfoWrapper instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occ...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "an", "MBeanInfoWrapper", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1290-L1335
65,407
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readAttributeList
public AttributeList readAttributeList(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONArray json = parseArray(in); AttributeList ret = new AttributeList(); for (Object item : json) { if (!(item instanceof JSONObject)) { throwConv...
java
public AttributeList readAttributeList(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONArray json = parseArray(in); AttributeList ret = new AttributeList(); for (Object item : json) { if (!(item instanceof JSONObject)) { throwConv...
[ "public", "AttributeList", "readAttributeList", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "JSONArray", "json", "=", "parseArray", "(", "in", ")", ";", "AttributeList", "ret", "=", "new", ...
Decode a JSON document to retrieve an AttributeList instance. @param in The stream to read JSON from @return The decoded AttributeList instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException If nee...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "an", "AttributeList", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1375-L1388
65,408
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readInvocation
public Invocation readInvocation(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); Invocation ret = new Invocation(); ret.params = readPOJOArray(json.get(N_PARAMS)); ret.signature = readStringArrayInternal(json.get(N_SIGN...
java
public Invocation readInvocation(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); Invocation ret = new Invocation(); ret.params = readPOJOArray(json.get(N_PARAMS)); ret.signature = readStringArrayInternal(json.get(N_SIGN...
[ "public", "Invocation", "readInvocation", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "Invocation", "ret", "=", "new", "Invoc...
Decode a JSON document to retrieve an Invocation instance. @param in The stream to read JSON from @return The decoded Invocation instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException If needed cl...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "an", "Invocation", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1419-L1425
65,409
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readNotificationArea
public NotificationArea readNotificationArea(InputStream in) throws ConversionException, IOException { JSONObject json = parseObject(in); NotificationArea ret = new NotificationArea(); ret.registrationsURL = readStringInternal(json.get(N_REGISTRATIONS)); ret.serverRegistrationsURL = read...
java
public NotificationArea readNotificationArea(InputStream in) throws ConversionException, IOException { JSONObject json = parseObject(in); NotificationArea ret = new NotificationArea(); ret.registrationsURL = readStringInternal(json.get(N_REGISTRATIONS)); ret.serverRegistrationsURL = read...
[ "public", "NotificationArea", "readNotificationArea", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "NotificationArea", "ret", "=", "new", "NotificationArea", "...
Decode a JSON document to retrieve a NotificationArea instance. @param in The stream to read JSON from @return The decoded NotificationArea instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @see #writeNotificationArea(Outp...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "NotificationArea", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1458-L1466
65,410
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readNotificationRegistration
public NotificationRegistration readNotificationRegistration(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); NotificationRegistration ret = new NotificationRegistration(); ret.objectName = readObjectName(json.get(N_OBJECTNAME))...
java
public NotificationRegistration readNotificationRegistration(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); NotificationRegistration ret = new NotificationRegistration(); ret.objectName = readObjectName(json.get(N_OBJECTNAME))...
[ "public", "NotificationRegistration", "readNotificationRegistration", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "NotificationRegist...
Decode a JSON document to retrieve a NotificationRegistration instance. @param in The stream to read JSON from @return The decoded NotificationRegistration instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNot...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "NotificationRegistration", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1500-L1506
65,411
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readServerNotificationRegistration
public ServerNotificationRegistration readServerNotificationRegistration(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); ServerNotificationRegistration ret = new ServerNotificationRegistration(); String name = readStringInterna...
java
public ServerNotificationRegistration readServerNotificationRegistration(InputStream in) throws ConversionException, IOException, ClassNotFoundException { JSONObject json = parseObject(in); ServerNotificationRegistration ret = new ServerNotificationRegistration(); String name = readStringInterna...
[ "public", "ServerNotificationRegistration", "readServerNotificationRegistration", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "Server...
Decode a JSON document to retrieve a ServerNotificationRegistration instance. @param in The stream to read JSON from @return The decoded ServerNotificationRegistration instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @thr...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "ServerNotificationRegistration", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1553-L1565
65,412
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.isSupportedNotificationFilter
public boolean isSupportedNotificationFilter(NotificationFilter filter) { Class<?> clazz = filter.getClass(); return clazz == AttributeChangeNotificationFilter.class || clazz == MBeanServerNotificationFilter.class || clazz == NotificationFilterSupport.class; }
java
public boolean isSupportedNotificationFilter(NotificationFilter filter) { Class<?> clazz = filter.getClass(); return clazz == AttributeChangeNotificationFilter.class || clazz == MBeanServerNotificationFilter.class || clazz == NotificationFilterSupport.class; }
[ "public", "boolean", "isSupportedNotificationFilter", "(", "NotificationFilter", "filter", ")", "{", "Class", "<", "?", ">", "clazz", "=", "filter", ".", "getClass", "(", ")", ";", "return", "clazz", "==", "AttributeChangeNotificationFilter", ".", "class", "||", ...
Check if a NotificationFilter is a standard filter that can be send to a JMX server. @param filter The filter to check. Can't be null. @return Whether the filter is a standard one
[ "Check", "if", "a", "NotificationFilter", "is", "a", "standard", "filter", "that", "can", "be", "send", "to", "a", "JMX", "server", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1574-L1579
65,413
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readNotificationFilters
public NotificationFilter[] readNotificationFilters(InputStream in) throws ConversionException, IOException, ClassNotFoundException { return readNotificationFiltersInternal(parseArray(in)); }
java
public NotificationFilter[] readNotificationFilters(InputStream in) throws ConversionException, IOException, ClassNotFoundException { return readNotificationFiltersInternal(parseArray(in)); }
[ "public", "NotificationFilter", "[", "]", "readNotificationFilters", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "return", "readNotificationFiltersInternal", "(", "parseArray", "(", "in", ")", "...
Decode a JSON document to retrieve a NotificationFilter array. @param in The stream to read JSON from @return The decoded NotificationFilter array @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException If ...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "NotificationFilter", "array", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1614-L1616
65,414
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readNotifications
public Notification[] readNotifications(InputStream in) throws ConversionException, IOException, ClassNotFoundException { final NotificationRecord[] records = readNotificationRecords(in); final Notification[] ret = new Notification[records.length]; for (int i = 0; i < records.length; ++i) { ...
java
public Notification[] readNotifications(InputStream in) throws ConversionException, IOException, ClassNotFoundException { final NotificationRecord[] records = readNotificationRecords(in); final Notification[] ret = new Notification[records.length]; for (int i = 0; i < records.length; ++i) { ...
[ "public", "Notification", "[", "]", "readNotifications", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "final", "NotificationRecord", "[", "]", "records", "=", "readNotificationRecords", "(", "i...
Decode a JSON document to retrieve an array of Notification instances. @param in The stream to read JSON from @return The decoded Notification array @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException I...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "an", "array", "of", "Notification", "instances", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1791-L1798
65,415
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readNotificationSettings
public NotificationSettings readNotificationSettings(InputStream in) throws ConversionException, IOException { JSONObject json = parseObject(in); NotificationSettings ret = new NotificationSettings(); ret.deliveryInterval = readIntInternal(json.get(N_DELIVERYINTERVAL)); ret.inboxExpiry =...
java
public NotificationSettings readNotificationSettings(InputStream in) throws ConversionException, IOException { JSONObject json = parseObject(in); NotificationSettings ret = new NotificationSettings(); ret.deliveryInterval = readIntInternal(json.get(N_DELIVERYINTERVAL)); ret.inboxExpiry =...
[ "public", "NotificationSettings", "readNotificationSettings", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", "{", "JSONObject", "json", "=", "parseObject", "(", "in", ")", ";", "NotificationSettings", "ret", "=", "new", "Notificati...
Decode a JSON document to retrieve a NotificationSettings instance. @param in The stream to read JSON from @return The decoded NotificationSettings instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @see #writeNotificationS...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "NotificationSettings", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1928-L1934
65,416
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.readThrowable
public Throwable readThrowable(InputStream in) throws ConversionException, IOException, ClassNotFoundException { byte[] byteInputStream = convertInputStreamToBytes(in); ByteArrayInputStream bais = new ByteArrayInputStream(byteInputStream); JSONObject json = null; try { json =...
java
public Throwable readThrowable(InputStream in) throws ConversionException, IOException, ClassNotFoundException { byte[] byteInputStream = convertInputStreamToBytes(in); ByteArrayInputStream bais = new ByteArrayInputStream(byteInputStream); JSONObject json = null; try { json =...
[ "public", "Throwable", "readThrowable", "(", "InputStream", "in", ")", "throws", "ConversionException", ",", "IOException", ",", "ClassNotFoundException", "{", "byte", "[", "]", "byteInputStream", "=", "convertInputStreamToBytes", "(", "in", ")", ";", "ByteArrayInputS...
Decode a JSON document to retrieve a Throwable instance. @param in The stream to read JSON from @return The decoded Throwable instance @throws ConversionException If JSON uses unexpected structure/format @throws IOException If an I/O error occurs or if JSON is ill-formed. @throws ClassNotFoundException If needed class...
[ "Decode", "a", "JSON", "document", "to", "retrieve", "a", "Throwable", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1967-L1982
65,417
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.convertInputStreamToBytes
private byte[] convertInputStreamToBytes(InputStream in) throws IOException { ByteArrayOutputStream buffer = new ByteArrayOutputStream(); int len; byte[] data = new byte[16384]; while ((len = in.read(data, 0, data.length)) != -1) { buffer.write(data, 0, len); } ...
java
private byte[] convertInputStreamToBytes(InputStream in) throws IOException { ByteArrayOutputStream buffer = new ByteArrayOutputStream(); int len; byte[] data = new byte[16384]; while ((len = in.read(data, 0, data.length)) != -1) { buffer.write(data, 0, len); } ...
[ "private", "byte", "[", "]", "convertInputStreamToBytes", "(", "InputStream", "in", ")", "throws", "IOException", "{", "ByteArrayOutputStream", "buffer", "=", "new", "ByteArrayOutputStream", "(", ")", ";", "int", "len", ";", "byte", "[", "]", "data", "=", "new...
Converts inputstream to bytearray @param in @return @throws IOException
[ "Converts", "inputstream", "to", "bytearray" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L1991-L2003
65,418
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.encodeStringAsBase64
public String encodeStringAsBase64(String value) throws ConversionException { try { return encodeStringAsBase64Internal(value); } catch (IOException e) { // Will never happen return null; } }
java
public String encodeStringAsBase64(String value) throws ConversionException { try { return encodeStringAsBase64Internal(value); } catch (IOException e) { // Will never happen return null; } }
[ "public", "String", "encodeStringAsBase64", "(", "String", "value", ")", "throws", "ConversionException", "{", "try", "{", "return", "encodeStringAsBase64Internal", "(", "value", ")", ";", "}", "catch", "(", "IOException", "e", ")", "{", "// Will never happen", "r...
Encode a String in base64. The content of the string is first encoded as UTF-8 bytes, the bytes are then base64 encoded. The resulting base64 value is returned as a String. @param value The String to encode @return The encoded base64 String @throws ConversionException If the String content can not be UTF-8 encoded.
[ "Encode", "a", "String", "in", "base64", ".", "The", "content", "of", "the", "string", "is", "first", "encoded", "as", "UTF", "-", "8", "bytes", "the", "bytes", "are", "then", "base64", "encoded", ".", "The", "resulting", "base64", "value", "is", "return...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L2035-L2042
65,419
OpenLiberty/open-liberty
dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java
JSONConverter.writeSimpleString
private void writeSimpleString(OutputStream out, CharSequence value) throws IOException { out.write('"'); for (int i = 0; i < value.length(); i++) { out.write(value.charAt(i)); } out.write('"'); }
java
private void writeSimpleString(OutputStream out, CharSequence value) throws IOException { out.write('"'); for (int i = 0; i < value.length(); i++) { out.write(value.charAt(i)); } out.write('"'); }
[ "private", "void", "writeSimpleString", "(", "OutputStream", "out", ",", "CharSequence", "value", ")", "throws", "IOException", "{", "out", ".", "write", "(", "'", "'", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "value", ".", "length", ...
The value can't be null.
[ "The", "value", "can", "t", "be", "null", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jmx.connector.client.rest/src/com/ibm/ws/jmx/connector/converter/JSONConverter.java#L2391-L2397
65,420
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java
JmsManagedConnectionFactoryImpl.getTemporaryQueueNamePrefix
@Override public String getTemporaryQueueNamePrefix() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTemporaryQueueNamePrefix"); String prefix = jcaConnectionFactory.getTemporaryQueueNamePrefix(); if (TraceComponent.isAnyTracingEnable...
java
@Override public String getTemporaryQueueNamePrefix() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTemporaryQueueNamePrefix"); String prefix = jcaConnectionFactory.getTemporaryQueueNamePrefix(); if (TraceComponent.isAnyTracingEnable...
[ "@", "Override", "public", "String", "getTemporaryQueueNamePrefix", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"g...
Get the temp queue name prefix @return prefix The String prefix set @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#getTemporaryQueueNamePrefix
[ "Get", "the", "temp", "queue", "name", "prefix" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java#L311-L319
65,421
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java
JmsManagedConnectionFactoryImpl.getPassword
public String getPassword() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getPassword"); String password = jcaConnectionFactory.getPassword(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc,...
java
public String getPassword() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getPassword"); String password = jcaConnectionFactory.getPassword(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc,...
[ "public", "String", "getPassword", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getPassword\"", ")", ";", "Strin...
This method is not added in the interface JmsManagedConnectionFactory since it's for internal use only. @return
[ "This", "method", "is", "not", "added", "in", "the", "interface", "JmsManagedConnectionFactory", "since", "it", "s", "for", "internal", "use", "only", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java#L405-L412
65,422
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java
JmsManagedConnectionFactoryImpl.getConnectionProximity
@Override public String getConnectionProximity() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getConnectionProximity"); String connectionProximity = jcaConnectionFactory.getConnectionProximity(); if (TraceComponent.isAnyTracingEnabled(...
java
@Override public String getConnectionProximity() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getConnectionProximity"); String connectionProximity = jcaConnectionFactory.getConnectionProximity(); if (TraceComponent.isAnyTracingEnabled(...
[ "@", "Override", "public", "String", "getConnectionProximity", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getCon...
Gets the connection proximity @return The connection proximity @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#getConnectionProximity
[ "Gets", "the", "connection", "proximity" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java#L422-L430
65,423
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java
JmsManagedConnectionFactoryImpl.getProviderEndpoints
@Override public String getProviderEndpoints() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getProviderEndpoints"); String providerEndpoints = jcaConnectionFactory.getProviderEndpoints(); if (TraceComponent.isAnyTracingEnabled() && tc....
java
@Override public String getProviderEndpoints() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getProviderEndpoints"); String providerEndpoints = jcaConnectionFactory.getProviderEndpoints(); if (TraceComponent.isAnyTracingEnabled() && tc....
[ "@", "Override", "public", "String", "getProviderEndpoints", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getProvi...
Gets the provider endpoints 181802.2 @return The provider endpoints @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#getProviderEndpoints
[ "Gets", "the", "provider", "endpoints", "181802", ".", "2" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java#L441-L449
65,424
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java
JmsManagedConnectionFactoryImpl.getTargetTransportChain
@Override public String getTargetTransportChain() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTargetTransportChain"); String targetTransportChain = jcaConnectionFactory.getTargetTransportChain(); if (TraceComponent.isAnyTracingEnab...
java
@Override public String getTargetTransportChain() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTargetTransportChain"); String targetTransportChain = jcaConnectionFactory.getTargetTransportChain(); if (TraceComponent.isAnyTracingEnab...
[ "@", "Override", "public", "String", "getTargetTransportChain", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getTa...
Gets the remote protocol @return The remote protocol @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#getRemoteProtocol
[ "Gets", "the", "remote", "protocol" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java#L459-L467
65,425
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java
JmsManagedConnectionFactoryImpl.getTarget
@Override public String getTarget() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTarget"); String remoteTargetGroup = jcaConnectionFactory.getTarget(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Sib...
java
@Override public String getTarget() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTarget"); String remoteTargetGroup = jcaConnectionFactory.getTarget(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Sib...
[ "@", "Override", "public", "String", "getTarget", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getTarget\"", ")"...
Gets the target @return The target @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#getTarget
[ "Gets", "the", "target" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java#L477-L485
65,426
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java
JmsManagedConnectionFactoryImpl.getTargetType
@Override public String getTargetType() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTargetType"); String remoteTargetType = jcaConnectionFactory.getTargetType(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
@Override public String getTargetType() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getTargetType"); String remoteTargetType = jcaConnectionFactory.getTargetType(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "@", "Override", "public", "String", "getTargetType", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getTargetType\"...
Gets the target type @return The target type @see com.ibm.websphere.sib.api.jms.JmsConnectionFactory#getTargetType
[ "Gets", "the", "target", "type" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsManagedConnectionFactoryImpl.java#L495-L503
65,427
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/container/ErrorPage.java
ErrorPage.getException
@SuppressWarnings("rawtypes") public Class getException() { try { return Class.forName(errorParam, true, Thread.currentThread().getContextClassLoader()).newInstance().getClass(); } catch (Exception e) { return null; } }
java
@SuppressWarnings("rawtypes") public Class getException() { try { return Class.forName(errorParam, true, Thread.currentThread().getContextClassLoader()).newInstance().getClass(); } catch (Exception e) { return null; } }
[ "@", "SuppressWarnings", "(", "\"rawtypes\"", ")", "public", "Class", "getException", "(", ")", "{", "try", "{", "return", "Class", ".", "forName", "(", "errorParam", ",", "true", ",", "Thread", ".", "currentThread", "(", ")", ".", "getContextClassLoader", "...
Use of the WAR class loader is correct.
[ "Use", "of", "the", "WAR", "class", "loader", "is", "correct", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/container/ErrorPage.java#L81-L88
65,428
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/container/ErrorPage.java
ErrorPage.getException
@SuppressWarnings("rawtypes") public Class getException(ClassLoader warClassLoader) { try { return Class.forName(errorParam, true, warClassLoader); } catch (Exception e) { return null; } }
java
@SuppressWarnings("rawtypes") public Class getException(ClassLoader warClassLoader) { try { return Class.forName(errorParam, true, warClassLoader); } catch (Exception e) { return null; } }
[ "@", "SuppressWarnings", "(", "\"rawtypes\"", ")", "public", "Class", "getException", "(", "ClassLoader", "warClassLoader", ")", "{", "try", "{", "return", "Class", ".", "forName", "(", "errorParam", ",", "true", ",", "warClassLoader", ")", ";", "}", "catch", ...
PK52168 - STARTS
[ "PK52168", "-", "STARTS" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/container/ErrorPage.java#L91-L98
65,429
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/BERInputStream.java
BERInputStream.readIndefiniteLengthFully
private byte[] readIndefiniteLengthFully() throws IOException { ByteArrayOutputStream bOut = new ByteArrayOutputStream(); int b, b1; b1 = read(); while ((b = read()) >= 0) { if (b1 == 0 && b == 0) { break...
java
private byte[] readIndefiniteLengthFully() throws IOException { ByteArrayOutputStream bOut = new ByteArrayOutputStream(); int b, b1; b1 = read(); while ((b = read()) >= 0) { if (b1 == 0 && b == 0) { break...
[ "private", "byte", "[", "]", "readIndefiniteLengthFully", "(", ")", "throws", "IOException", "{", "ByteArrayOutputStream", "bOut", "=", "new", "ByteArrayOutputStream", "(", ")", ";", "int", "b", ",", "b1", ";", "b1", "=", "read", "(", ")", ";", "while", "(...
read a string of bytes representing an indefinite length object.
[ "read", "a", "string", "of", "bytes", "representing", "an", "indefinite", "length", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/BERInputStream.java#L55-L75
65,430
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/SectionUniqueIdCounter.java
SectionUniqueIdCounter.generateUniqueIdCache
public static String[] generateUniqueIdCache(String prefix, int count) { String[] cache = new String[count]; SectionUniqueIdCounter counter = new SectionUniqueIdCounter(prefix); for (int i = 0; i < count ; i++) { cache[i] = counter.generateUniqueId(); } re...
java
public static String[] generateUniqueIdCache(String prefix, int count) { String[] cache = new String[count]; SectionUniqueIdCounter counter = new SectionUniqueIdCounter(prefix); for (int i = 0; i < count ; i++) { cache[i] = counter.generateUniqueId(); } re...
[ "public", "static", "String", "[", "]", "generateUniqueIdCache", "(", "String", "prefix", ",", "int", "count", ")", "{", "String", "[", "]", "cache", "=", "new", "String", "[", "count", "]", ";", "SectionUniqueIdCounter", "counter", "=", "new", "SectionUniqu...
Creates an array of the generated unique ids for an specified prefix, than can be used later to prevent calculate the same String over and over. @param prefix @param count @return
[ "Creates", "an", "array", "of", "the", "generated", "unique", "ids", "for", "an", "specified", "prefix", "than", "can", "be", "used", "later", "to", "prevent", "calculate", "the", "same", "String", "over", "and", "over", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/impl/SectionUniqueIdCounter.java#L102-L111
65,431
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.servlet.4.0/src/com/ibm/ws/webcontainer40/srt/http/HttpPushBuilder.java
HttpPushBuilder.getHeaders
@Override public Set<HeaderField> getHeaders() { HashSet<HeaderField> headerFields = new HashSet<HeaderField>(); if (_headers.size() > 0) { Iterator<String> headerNames = _headers.keySet().iterator(); while (headerNames.hasNext()) { Iterator<HttpHeaderField> ...
java
@Override public Set<HeaderField> getHeaders() { HashSet<HeaderField> headerFields = new HashSet<HeaderField>(); if (_headers.size() > 0) { Iterator<String> headerNames = _headers.keySet().iterator(); while (headerNames.hasNext()) { Iterator<HttpHeaderField> ...
[ "@", "Override", "public", "Set", "<", "HeaderField", ">", "getHeaders", "(", ")", "{", "HashSet", "<", "HeaderField", ">", "headerFields", "=", "new", "HashSet", "<", "HeaderField", ">", "(", ")", ";", "if", "(", "_headers", ".", "size", "(", ")", ">"...
Methods required by com.ibm.wsspi.http.ee8.HttpPushBuilder
[ "Methods", "required", "by", "com", ".", "ibm", ".", "wsspi", ".", "http", ".", "ee8", ".", "HttpPushBuilder" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.servlet.4.0/src/com/ibm/ws/webcontainer40/srt/http/HttpPushBuilder.java#L349-L368
65,432
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.servlet.4.0/src/com/ibm/ws/webcontainer40/srt/http/HttpPushBuilder.java
HttpPushBuilder.reset
private void reset() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "reset()", "Clearing the path and removing conditional headers"); } //clear the path _path = null; _pathURI = null; _queryString = null; _pathQueryS...
java
private void reset() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "reset()", "Clearing the path and removing conditional headers"); } //clear the path _path = null; _pathURI = null; _queryString = null; _pathQueryS...
[ "private", "void", "reset", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "\"reset()\"", ",", "\"Clearing the path and removing con...
Reset the "state" of this PushBuilder before next push
[ "Reset", "the", "state", "of", "this", "PushBuilder", "before", "next", "push" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.servlet.4.0/src/com/ibm/ws/webcontainer40/srt/http/HttpPushBuilder.java#L381-L398
65,433
OpenLiberty/open-liberty
dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/JAASConfigurationFactory.java
JAASConfigurationFactory.installJAASConfigurationFromJAASConfigFile
protected synchronized void installJAASConfigurationFromJAASConfigFile() { JAASLoginConfig jaasLoginConfig = jaasLoginConfigRef.getService(); if (jaasLoginConfig != null) { jaasConfigurationEntriesFromJaasConfig = jaasLoginConfig.getEntries(); if (jaasConfigurationEntriesFromJaas...
java
protected synchronized void installJAASConfigurationFromJAASConfigFile() { JAASLoginConfig jaasLoginConfig = jaasLoginConfigRef.getService(); if (jaasLoginConfig != null) { jaasConfigurationEntriesFromJaasConfig = jaasLoginConfig.getEntries(); if (jaasConfigurationEntriesFromJaas...
[ "protected", "synchronized", "void", "installJAASConfigurationFromJAASConfigFile", "(", ")", "{", "JAASLoginConfig", "jaasLoginConfig", "=", "jaasLoginConfigRef", ".", "getService", "(", ")", ";", "if", "(", "jaasLoginConfig", "!=", "null", ")", "{", "jaasConfigurationE...
This method optional install the JAAS configuration that specified in the jaas.conf file
[ "This", "method", "optional", "install", "the", "JAAS", "configuration", "that", "specified", "in", "the", "jaas", ".", "conf", "file" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/JAASConfigurationFactory.java#L116-L128
65,434
OpenLiberty/open-liberty
dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/ProductRequirementInformation.java
ProductRequirementInformation.createFromAppliesTo
@SuppressWarnings("unchecked") // SelfExtractor has no generics public static List<ProductRequirementInformation> createFromAppliesTo(String appliesTo) { if (appliesTo == null || appliesTo.isEmpty()) { throw new InvalidParameterException("Applies to must be set to a valid value but is " + applie...
java
@SuppressWarnings("unchecked") // SelfExtractor has no generics public static List<ProductRequirementInformation> createFromAppliesTo(String appliesTo) { if (appliesTo == null || appliesTo.isEmpty()) { throw new InvalidParameterException("Applies to must be set to a valid value but is " + applie...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "// SelfExtractor has no generics", "public", "static", "List", "<", "ProductRequirementInformation", ">", "createFromAppliesTo", "(", "String", "appliesTo", ")", "{", "if", "(", "appliesTo", "==", "null", "||", "app...
Parse an appliesTo string to produce a list of product requirements @param appliesTo the appliesTo string @return the product requirements information
[ "Parse", "an", "appliesTo", "string", "to", "produce", "a", "list", "of", "product", "requirements" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.resolver/src/com/ibm/ws/repository/resolver/ProductRequirementInformation.java#L118-L149
65,435
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.getMembers
Neighbour[] getMembers() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getMembers"); SibTr.exit(tc, "getMembers"); } return iNeighbours; }
java
Neighbour[] getMembers() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getMembers"); SibTr.exit(tc, "getMembers"); } return iNeighbours; }
[ "Neighbour", "[", "]", "getMembers", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getMembers\"", ")", ";", "SibTr", "....
Method that returns all the Neighbours for this Bus @return Neighbour[] An array of all the active Neighbours
[ "Method", "that", "returns", "all", "the", "Neighbours", "for", "this", "Bus" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L113-L122
65,436
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.getLocalSubscriptions
Hashtable getLocalSubscriptions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getLocalSubscriptions"); SibTr.exit(tc, "getLocalSubscriptions", iLocalSubscriptions); } return (Hashtable) iLocalSubscriptions.clone(); }
java
Hashtable getLocalSubscriptions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getLocalSubscriptions"); SibTr.exit(tc, "getLocalSubscriptions", iLocalSubscriptions); } return (Hashtable) iLocalSubscriptions.clone(); }
[ "Hashtable", "getLocalSubscriptions", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getLocalSubscriptions\"", ")", ";", "SibT...
Gets all the local subscriptions that have been sent to this Bus. Returns a cloned list of subscriptions to the requester. @return Hashtable The cloned subscription hashtable.
[ "Gets", "all", "the", "local", "subscriptions", "that", "have", "been", "sent", "to", "this", "Bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L131-L140
65,437
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.getRemoteSubscriptions
Hashtable getRemoteSubscriptions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getRemoteSubscriptions"); SibTr.exit(tc, "getRemoteSubscriptions", iRemoteSubscriptions); } return (Hashtable) iRemoteSubscriptions.clone(); }
java
Hashtable getRemoteSubscriptions() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getRemoteSubscriptions"); SibTr.exit(tc, "getRemoteSubscriptions", iRemoteSubscriptions); } return (Hashtable) iRemoteSubscriptions.clone(); }
[ "Hashtable", "getRemoteSubscriptions", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getRemoteSubscriptions\"", ")", ";", "Si...
Gets all the remote subscriptions that have been sent to this Bus. Returns a cloned list of subscriptions to the requester. @return Hashtable The cloned subscription hashtable.
[ "Gets", "all", "the", "remote", "subscriptions", "that", "have", "been", "sent", "to", "this", "Bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L149-L158
65,438
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.addRemoteSubscription
SubscriptionMessageHandler addRemoteSubscription(SIBUuid12 topicSpace, String topic, SubscriptionMessageHandler messageHandler, boolean sendProxy) { if (TraceCom...
java
SubscriptionMessageHandler addRemoteSubscription(SIBUuid12 topicSpace, String topic, SubscriptionMessageHandler messageHandler, boolean sendProxy) { if (TraceCom...
[ "SubscriptionMessageHandler", "addRemoteSubscription", "(", "SIBUuid12", "topicSpace", ",", "String", "topic", ",", "SubscriptionMessageHandler", "messageHandler", ",", "boolean", "sendProxy", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ...
Adds a remote subscription to this ME. This subscription would have originated from another Bus/bus @param topicSpace The subscriptions topicSpace. @param topic The subscriptions topic. @param messageHandler The subscriptionMessage that will be used for sending to Neighbouring ME's @param sendProxy ...
[ "Adds", "a", "remote", "subscription", "to", "this", "ME", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L222-L246
65,439
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.removeRemoteSubscription
SubscriptionMessageHandler removeRemoteSubscription( SIBUuid12 topicSpace, String topic, SubscriptionMessageHandler messageHandler, boolean sendProxy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeRemoteSubscription", new Object[] { ...
java
SubscriptionMessageHandler removeRemoteSubscription( SIBUuid12 topicSpace, String topic, SubscriptionMessageHandler messageHandler, boolean sendProxy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeRemoteSubscription", new Object[] { ...
[ "SubscriptionMessageHandler", "removeRemoteSubscription", "(", "SIBUuid12", "topicSpace", ",", "String", "topic", ",", "SubscriptionMessageHandler", "messageHandler", ",", "boolean", "sendProxy", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")",...
Called when an unsubscribe needs to be propagated to the group. Decrements the reference count on the subscription for any subscriptions registered remotely. @param topicSpace The topicSpace for the subscription @param topic The topic of the subscription @param messageHandler The message that is used t...
[ "Called", "when", "an", "unsubscribe", "needs", "to", "be", "propagated", "to", "the", "group", ".", "Decrements", "the", "reference", "count", "on", "the", "subscription", "for", "any", "subscriptions", "registered", "remotely", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L426-L450
65,440
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.removeSubscription
private SubscriptionMessageHandler removeSubscription( SIBUuid12 topicSpace, String topic, SubscriptionMessageHandler messageHandler, Hashtable subscriptionsTable, boolean sendProxy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "remo...
java
private SubscriptionMessageHandler removeSubscription( SIBUuid12 topicSpace, String topic, SubscriptionMessageHandler messageHandler, Hashtable subscriptionsTable, boolean sendProxy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "remo...
[ "private", "SubscriptionMessageHandler", "removeSubscription", "(", "SIBUuid12", "topicSpace", ",", "String", "topic", ",", "SubscriptionMessageHandler", "messageHandler", ",", "Hashtable", "subscriptionsTable", ",", "boolean", "sendProxy", ")", "{", "if", "(", "TraceComp...
Called when an unsubscribe needs to be propagated to the group. Decrements the reference count on the subscription. @param topicSpace The topicSpace for the subscription @param topic The topic of the subscription @param sendProxy Indicates whether to send proxy . @param messageHandler The messa...
[ "Called", "when", "an", "unsubscribe", "needs", "to", "be", "propagated", "to", "the", "group", ".", "Decrements", "the", "reference", "count", "on", "the", "subscription", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L464-L515
65,441
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.sendToNeighbours
protected void sendToNeighbours(SubscriptionMessage msg, Transaction transaction, boolean startup) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendToNeighbours", new Object[] { msg, transaction, new Boolean(startup)}); for (int i = ...
java
protected void sendToNeighbours(SubscriptionMessage msg, Transaction transaction, boolean startup) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendToNeighbours", new Object[] { msg, transaction, new Boolean(startup)}); for (int i = ...
[ "protected", "void", "sendToNeighbours", "(", "SubscriptionMessage", "msg", ",", "Transaction", "transaction", ",", "boolean", "startup", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", ...
Sends the messages to all the Neighbours in this Bus. @param transaction The transaction to send the message under @param msg The message to be sent.
[ "Sends", "the", "messages", "to", "all", "the", "Neighbours", "in", "this", "Bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L522-L542
65,442
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.addNeighbour
void addNeighbour(Neighbour neighbour) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addNeighbour", neighbour); final Neighbour[] tmp = new Neighbour[iNeighbours.length + 1]; System.arraycopy(iNeighbours, 0, tmp, 0, iNeighbours.length); tmp[iNeighbours.leng...
java
void addNeighbour(Neighbour neighbour) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addNeighbour", neighbour); final Neighbour[] tmp = new Neighbour[iNeighbours.length + 1]; System.arraycopy(iNeighbours, 0, tmp, 0, iNeighbours.length); tmp[iNeighbours.leng...
[ "void", "addNeighbour", "(", "Neighbour", "neighbour", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"addNeighbour\"", ",", "neighbour",...
Adds a reference of Neighbour to this Bus group @param neighbour The neighbour to be added to the group
[ "Adds", "a", "reference", "of", "Neighbour", "to", "this", "Bus", "group" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L550-L563
65,443
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.removeNeighbour
void removeNeighbour(Neighbour neighbour) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeNeighbour", neighbour); Neighbour[] tmp = iNeighbours; // Loop through the Neighbours in this Bus for (int i = 0; i < iNeighbours.length; ++i) if (iNeighbou...
java
void removeNeighbour(Neighbour neighbour) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "removeNeighbour", neighbour); Neighbour[] tmp = iNeighbours; // Loop through the Neighbours in this Bus for (int i = 0; i < iNeighbours.length; ++i) if (iNeighbou...
[ "void", "removeNeighbour", "(", "Neighbour", "neighbour", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"removeNeighbour\"", ",", "neigh...
Removes a Neighbour reference from this Bus group @param neighbour The Neighbour to be removed
[ "Removes", "a", "Neighbour", "reference", "from", "this", "Bus", "group" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L571-L600
65,444
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.doProxySubscribeOp
private SubscriptionMessageHandler doProxySubscribeOp( int op, MESubscription subscription, SubscriptionMessageHandler messageHandler, Hashtable subscriptionsTable, boolean sendProxy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "doP...
java
private SubscriptionMessageHandler doProxySubscribeOp( int op, MESubscription subscription, SubscriptionMessageHandler messageHandler, Hashtable subscriptionsTable, boolean sendProxy) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "doP...
[ "private", "SubscriptionMessageHandler", "doProxySubscribeOp", "(", "int", "op", ",", "MESubscription", "subscription", ",", "SubscriptionMessageHandler", "messageHandler", ",", "Hashtable", "subscriptionsTable", ",", "boolean", "sendProxy", ")", "{", "if", "(", "TraceCom...
Performs a proxy subscription operation for the given subscription. @param op The operation to be performed. @param subscription The subscription. @param sendProxy Indicates whether to send the proxy message. @param messageHandler The handler used for creating the message @return SubscriptionMe...
[ "Performs", "a", "proxy", "subscription", "operation", "for", "the", "given", "subscription", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L614-L717
65,445
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.generateResetSubscriptionMessage
protected SubscriptionMessage generateResetSubscriptionMessage() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "generateResetSubscriptionMessage"); // Get the Message Handler for doing this operation. final SubscriptionMessageHandler messageHandler = i...
java
protected SubscriptionMessage generateResetSubscriptionMessage() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "generateResetSubscriptionMessage"); // Get the Message Handler for doing this operation. final SubscriptionMessageHandler messageHandler = i...
[ "protected", "SubscriptionMessage", "generateResetSubscriptionMessage", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"generateResetSubsc...
Generates the reset subscription message that should be sent to a member, or members of this Bus. @return a new ResetSubscriptionMessage
[ "Generates", "the", "reset", "subscription", "message", "that", "should", "be", "sent", "to", "a", "member", "or", "members", "of", "this", "Bus", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L770-L797
65,446
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.generateReplySubscriptionMessage
protected SubscriptionMessage generateReplySubscriptionMessage() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "generateReplySubscriptionMessage"); // Get the Message Handler for doing this operation. final SubscriptionMessageHandler messageHandler = ...
java
protected SubscriptionMessage generateReplySubscriptionMessage() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "generateReplySubscriptionMessage"); // Get the Message Handler for doing this operation. final SubscriptionMessageHandler messageHandler = ...
[ "protected", "SubscriptionMessage", "generateReplySubscriptionMessage", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"generateReplySubsc...
Generates the reply subscription message that should be sent to a the neighbor on the Bus who sent the request. @return a new ReplySubscriptionMessage
[ "Generates", "the", "reply", "subscription", "message", "that", "should", "be", "sent", "to", "a", "the", "neighbor", "on", "the", "Bus", "who", "sent", "the", "request", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L805-L834
65,447
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.addToMessage
private final void addToMessage(SubscriptionMessageHandler messageHandler, Hashtable subscriptions) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addToMessage", new Object[]{messageHandler, subscriptions}); // Get the e...
java
private final void addToMessage(SubscriptionMessageHandler messageHandler, Hashtable subscriptions) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addToMessage", new Object[]{messageHandler, subscriptions}); // Get the e...
[ "private", "final", "void", "addToMessage", "(", "SubscriptionMessageHandler", "messageHandler", ",", "Hashtable", "subscriptions", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibT...
Adds the subscriptions to the subscription message @param messageHandler The message to add to @param subscriptions The subscriptions to be added.
[ "Adds", "the", "subscriptions", "to", "the", "subscription", "message" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L842-L861
65,448
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java
BusGroup.resetListFailed
void resetListFailed() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "resetListFailed"); for (int i = 0; i < iNeighbours.length; i++) { iNeighbours[i].resetListFailed(); } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()...
java
void resetListFailed() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "resetListFailed"); for (int i = 0; i < iNeighbours.length; i++) { iNeighbours[i].resetListFailed(); } if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()...
[ "void", "resetListFailed", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"resetListFailed\"", ")", ";", "for", "(", "int", "i",...
If at startup the reset list failed, then we need to try and send it again. Each Neighbour needs to be told that the send failed so that it can retry.
[ "If", "at", "startup", "the", "reset", "list", "failed", "then", "we", "need", "to", "try", "and", "send", "it", "again", ".", "Each", "Neighbour", "needs", "to", "be", "told", "that", "the", "send", "failed", "so", "that", "it", "can", "retry", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/BusGroup.java#L867-L880
65,449
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/WorkQueueManager.java
WorkQueueManager.getMultiThreadedWorker
protected MultiThreadedWorker getMultiThreadedWorker(SelectionKey key, long threadIdfWQM) { MultiThreadedWorker worker = null; synchronized (multiThreadedObjectPool) { worker = (MultiThreadedWorker) multiThreadedObjectPool.get(); } if (worker == null) { worker =...
java
protected MultiThreadedWorker getMultiThreadedWorker(SelectionKey key, long threadIdfWQM) { MultiThreadedWorker worker = null; synchronized (multiThreadedObjectPool) { worker = (MultiThreadedWorker) multiThreadedObjectPool.get(); } if (worker == null) { worker =...
[ "protected", "MultiThreadedWorker", "getMultiThreadedWorker", "(", "SelectionKey", "key", ",", "long", "threadIdfWQM", ")", "{", "MultiThreadedWorker", "worker", "=", "null", ";", "synchronized", "(", "multiThreadedObjectPool", ")", "{", "worker", "=", "(", "MultiThre...
Retrieve a MultiThreadedWorker object from the object pool. @param key @param threadIdfWQM @return MultiThreadedWorker
[ "Retrieve", "a", "MultiThreadedWorker", "object", "from", "the", "object", "pool", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/WorkQueueManager.java#L1062-L1075
65,450
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.service.location/src/com/ibm/ws/kernel/service/location/internal/SymbolRegistry.java
SymbolRegistry.resolveSymbolicString
String resolveSymbolicString(String symbolicPath) { if (symbolicPath == null) throw new NullPointerException("Path must be non-null"); return resolveStringSymbols(symbolicPath, symbolicPath, true, 0, true); }
java
String resolveSymbolicString(String symbolicPath) { if (symbolicPath == null) throw new NullPointerException("Path must be non-null"); return resolveStringSymbols(symbolicPath, symbolicPath, true, 0, true); }
[ "String", "resolveSymbolicString", "(", "String", "symbolicPath", ")", "{", "if", "(", "symbolicPath", "==", "null", ")", "throw", "new", "NullPointerException", "(", "\"Path must be non-null\"", ")", ";", "return", "resolveStringSymbols", "(", "symbolicPath", ",", ...
Resolves the given string, evaluating all symbols, and path-normalizes the value. @param symbolicPath @return The resolved value, path-normalized.
[ "Resolves", "the", "given", "string", "evaluating", "all", "symbols", "and", "path", "-", "normalizes", "the", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.service.location/src/com/ibm/ws/kernel/service/location/internal/SymbolRegistry.java#L200-L205
65,451
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.service.location/src/com/ibm/ws/kernel/service/location/internal/SymbolRegistry.java
SymbolRegistry.resolveRawSymbolicString
String resolveRawSymbolicString(String string) { if (string == null) throw new NullPointerException("String must be non-null"); return resolveStringSymbols(string, string, true, 0, false); }
java
String resolveRawSymbolicString(String string) { if (string == null) throw new NullPointerException("String must be non-null"); return resolveStringSymbols(string, string, true, 0, false); }
[ "String", "resolveRawSymbolicString", "(", "String", "string", ")", "{", "if", "(", "string", "==", "null", ")", "throw", "new", "NullPointerException", "(", "\"String must be non-null\"", ")", ";", "return", "resolveStringSymbols", "(", "string", ",", "string", "...
Resolves the given string, evaluating all symbols, but does NOT path-normalize the value. @param string @return The resolved value, not path-normalized.
[ "Resolves", "the", "given", "string", "evaluating", "all", "symbols", "but", "does", "NOT", "path", "-", "normalize", "the", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.service.location/src/com/ibm/ws/kernel/service/location/internal/SymbolRegistry.java#L215-L220
65,452
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java
SSOCookieHelperImpl.addJwtCookies
protected boolean addJwtCookies(String cookieByteString, HttpServletRequest req, HttpServletResponse resp) { String baseName = getJwtCookieName(); if (baseName == null) { return false; } if ((!req.isSecure()) && getJwtCookieSecure()) { Tr.warning(tc, "JWT_COOKIE_...
java
protected boolean addJwtCookies(String cookieByteString, HttpServletRequest req, HttpServletResponse resp) { String baseName = getJwtCookieName(); if (baseName == null) { return false; } if ((!req.isSecure()) && getJwtCookieSecure()) { Tr.warning(tc, "JWT_COOKIE_...
[ "protected", "boolean", "addJwtCookies", "(", "String", "cookieByteString", ",", "HttpServletRequest", "req", ",", "HttpServletResponse", "resp", ")", "{", "String", "baseName", "=", "getJwtCookieName", "(", ")", ";", "if", "(", "baseName", "==", "null", ")", "{...
Add the cookie or cookies as needed, depending on size of token. Return true if any cookies were added
[ "Add", "the", "cookie", "or", "cookies", "as", "needed", "depending", "on", "size", "of", "token", ".", "Return", "true", "if", "any", "cookies", "were", "added" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java#L129-L151
65,453
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java
SSOCookieHelperImpl.removeSSOCookieFromResponse
@Override public void removeSSOCookieFromResponse(HttpServletResponse resp) { if (resp instanceof com.ibm.wsspi.webcontainer.servlet.IExtendedResponse) { ((com.ibm.wsspi.webcontainer.servlet.IExtendedResponse) resp).removeCookie(getSSOCookiename()); removeJwtSSOCookies((com.ibm.wsspi...
java
@Override public void removeSSOCookieFromResponse(HttpServletResponse resp) { if (resp instanceof com.ibm.wsspi.webcontainer.servlet.IExtendedResponse) { ((com.ibm.wsspi.webcontainer.servlet.IExtendedResponse) resp).removeCookie(getSSOCookiename()); removeJwtSSOCookies((com.ibm.wsspi...
[ "@", "Override", "public", "void", "removeSSOCookieFromResponse", "(", "HttpServletResponse", "resp", ")", "{", "if", "(", "resp", "instanceof", "com", ".", "ibm", ".", "wsspi", ".", "webcontainer", ".", "servlet", ".", "IExtendedResponse", ")", "{", "(", "(",...
Remove a cookie from the response @param subject @param resp
[ "Remove", "a", "cookie", "from", "the", "response" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java#L224-L230
65,454
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java
SSOCookieHelperImpl.updateCookieCache
protected synchronized void updateCookieCache(ByteArray cookieBytes, String cookieByteString) { if (cookieByteStringCache.size() > MAX_COOKIE_STRING_ENTRIES) cookieByteStringCache.clear(); if (cookieByteString != null) cookieByteStringCache.put(cookieBytes, cookieByteString); ...
java
protected synchronized void updateCookieCache(ByteArray cookieBytes, String cookieByteString) { if (cookieByteStringCache.size() > MAX_COOKIE_STRING_ENTRIES) cookieByteStringCache.clear(); if (cookieByteString != null) cookieByteStringCache.put(cookieBytes, cookieByteString); ...
[ "protected", "synchronized", "void", "updateCookieCache", "(", "ByteArray", "cookieBytes", ",", "String", "cookieByteString", ")", "{", "if", "(", "cookieByteStringCache", ".", "size", "(", ")", ">", "MAX_COOKIE_STRING_ENTRIES", ")", "cookieByteStringCache", ".", "cle...
Perform some cookie cache maintenance. If the cookie cache has grown too large, clear it. Otherwise, store the cookieByteString into the cache based on the cookieBytes. @param cookieBytes @param cookieByteString
[ "Perform", "some", "cookie", "cache", "maintenance", ".", "If", "the", "cookie", "cache", "has", "grown", "too", "large", "clear", "it", ".", "Otherwise", "store", "the", "cookieByteString", "into", "the", "cache", "based", "on", "the", "cookieBytes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java#L252-L257
65,455
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java
SSOCookieHelperImpl.isJwtCookie
protected boolean isJwtCookie(String baseName, String cookieName) { if (baseName.equalsIgnoreCase(cookieName)) return true; if (!(cookieName.startsWith(baseName))) { return false; } if (cookieName.length() != baseName.length() + 2) { return false; ...
java
protected boolean isJwtCookie(String baseName, String cookieName) { if (baseName.equalsIgnoreCase(cookieName)) return true; if (!(cookieName.startsWith(baseName))) { return false; } if (cookieName.length() != baseName.length() + 2) { return false; ...
[ "protected", "boolean", "isJwtCookie", "(", "String", "baseName", ",", "String", "cookieName", ")", "{", "if", "(", "baseName", ".", "equalsIgnoreCase", "(", "cookieName", ")", ")", "return", "true", ";", "if", "(", "!", "(", "cookieName", ".", "startsWith",...
see if cookiename is a jwtsso cookie based on the name.
[ "see", "if", "cookiename", "is", "a", "jwtsso", "cookie", "based", "on", "the", "name", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java#L322-L333
65,456
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java
SSOCookieHelperImpl.resolveCookieName
protected String resolveCookieName(Cookie[] cookies) { boolean foundCookie = false; String ssoCookieName = this.getSSOCookiename(); if (cookies != null) { for (int i = 0; i < cookies.length; i++) { if (cookies[i].getName().equalsIgnoreCase(ssoCookieName)) { ...
java
protected String resolveCookieName(Cookie[] cookies) { boolean foundCookie = false; String ssoCookieName = this.getSSOCookiename(); if (cookies != null) { for (int i = 0; i < cookies.length; i++) { if (cookies[i].getName().equalsIgnoreCase(ssoCookieName)) { ...
[ "protected", "String", "resolveCookieName", "(", "Cookie", "[", "]", "cookies", ")", "{", "boolean", "foundCookie", "=", "false", ";", "String", "ssoCookieName", "=", "this", ".", "getSSOCookiename", "(", ")", ";", "if", "(", "cookies", "!=", "null", ")", ...
1) If we found the cookie associate with the cookie name, we will use the cookie name 2) If we can not find the cookie associate with the cookie name, we will use the default cookie name LTPAToken2 if isUseOnlyCustomCookieName is false
[ "1", ")", "If", "we", "found", "the", "cookie", "associate", "with", "the", "cookie", "name", "we", "will", "use", "the", "cookie", "name", "2", ")", "If", "we", "can", "not", "find", "the", "cookie", "associate", "with", "the", "cookie", "name", "we",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java#L339-L354
65,457
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java
SSOCookieHelperImpl.getJwtSsoTokenFromCookies
@Override public String getJwtSsoTokenFromCookies(HttpServletRequest req, String baseName) { StringBuffer tokenStr = new StringBuffer(); String cookieName = baseName; for (int i = 1; i <= 99; i++) { if (i > 1) { cookieName = baseName + (i < 10 ? "0" : "") + i; //...
java
@Override public String getJwtSsoTokenFromCookies(HttpServletRequest req, String baseName) { StringBuffer tokenStr = new StringBuffer(); String cookieName = baseName; for (int i = 1; i <= 99; i++) { if (i > 1) { cookieName = baseName + (i < 10 ? "0" : "") + i; //...
[ "@", "Override", "public", "String", "getJwtSsoTokenFromCookies", "(", "HttpServletRequest", "req", ",", "String", "baseName", ")", "{", "StringBuffer", "tokenStr", "=", "new", "StringBuffer", "(", ")", ";", "String", "cookieName", "=", "baseName", ";", "for", "...
The token can be split across multiple cookies if it is over 3900 chars. Look for subsequent cookies and concatenate them in that case. The counterpart for this method is SSOCookieHelperImpl.addJwtSsoCookiesToResponse. @param req @return the token String or null if nothing found.
[ "The", "token", "can", "be", "split", "across", "multiple", "cookies", "if", "it", "is", "over", "3900", "chars", ".", "Look", "for", "subsequent", "cookies", "and", "concatenate", "them", "in", "that", "case", ".", "The", "counterpart", "for", "this", "me...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/SSOCookieHelperImpl.java#L519-L537
65,458
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/DERGeneralizedTime.java
DERGeneralizedTime.getInstance
public static DERGeneralizedTime getInstance( Object obj) { if (obj == null || obj instanceof DERGeneralizedTime) { return (DERGeneralizedTime)obj; } if (obj instanceof ASN1OctetString) { return new DERGeneralizedTime(((ASN1OctetString)obj).g...
java
public static DERGeneralizedTime getInstance( Object obj) { if (obj == null || obj instanceof DERGeneralizedTime) { return (DERGeneralizedTime)obj; } if (obj instanceof ASN1OctetString) { return new DERGeneralizedTime(((ASN1OctetString)obj).g...
[ "public", "static", "DERGeneralizedTime", "getInstance", "(", "Object", "obj", ")", "{", "if", "(", "obj", "==", "null", "||", "obj", "instanceof", "DERGeneralizedTime", ")", "{", "return", "(", "DERGeneralizedTime", ")", "obj", ";", "}", "if", "(", "obj", ...
return a generalized time from the passed in object @exception IllegalArgumentException if the object cannot be converted.
[ "return", "a", "generalized", "time", "from", "the", "passed", "in", "object" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/DERGeneralizedTime.java#L36-L50
65,459
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/ws/Transaction/JTA/JTAResourceBase.java
JTAResourceBase.start
public final void start() throws XAException { if (tc.isEntryEnabled()) Tr.entry(tc, "start", new Object[]{_resource, printState(_state)}); if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "xa_start", this); int rc = -1; // not an XA RC try { int flags; ...
java
public final void start() throws XAException { if (tc.isEntryEnabled()) Tr.entry(tc, "start", new Object[]{_resource, printState(_state)}); if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "xa_start", this); int rc = -1; // not an XA RC try { int flags; ...
[ "public", "final", "void", "start", "(", ")", "throws", "XAException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"start\"", ",", "new", "Object", "[", "]", "{", "_resource", ",", "printState", "...
Associate the underlying XAResource with a transaction. @exception XAException thrown if raised by the xa_start request or the resource is in the wrong state to receive a start flow.
[ "Associate", "the", "underlying", "XAResource", "with", "a", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/ws/Transaction/JTA/JTAResourceBase.java#L77-L147
65,460
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/ws/Transaction/JTA/JTAResourceBase.java
JTAResourceBase.end
public final void end(int flag) throws XAException { if (tc.isEntryEnabled()) Tr.entry(tc, "end", new Object[]{_resource, Util.printFlag(flag), printState(_state)}); if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "xa_end", new Object[]{this, "flags = " + Util.printFlag(flag)}); int new...
java
public final void end(int flag) throws XAException { if (tc.isEntryEnabled()) Tr.entry(tc, "end", new Object[]{_resource, Util.printFlag(flag), printState(_state)}); if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "xa_end", new Object[]{this, "flags = " + Util.printFlag(flag)}); int new...
[ "public", "final", "void", "end", "(", "int", "flag", ")", "throws", "XAException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"end\"", ",", "new", "Object", "[", "]", "{", "_resource", ",", "U...
Terminate the association of the XAResource with this transaction. @param flag The flag to pass to the end flow TMSUSPEND, TMFAIL, or TMSUCCESS @exception XAException thrown if raised by the xa_end request or the resource is in the wrong state to receive an end flow.
[ "Terminate", "the", "association", "of", "the", "XAResource", "with", "this", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/ws/Transaction/JTA/JTAResourceBase.java#L160-L248
65,461
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.activate
@Activate protected void activate(ComponentContext context, Map<String, Object> properties) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "activate", new Object[] { context, ...
java
@Activate protected void activate(ComponentContext context, Map<String, Object> properties) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "activate", new Object[] { context, ...
[ "@", "Activate", "protected", "void", "activate", "(", "ComponentContext", "context", ",", "Map", "<", "String", ",", "Object", ">", "properties", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", ...
This method is call by the declarative service when the feature is activated
[ "This", "method", "is", "call", "by", "the", "declarative", "service", "when", "the", "feature", "is", "activated" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L93-L118
65,462
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.modified
@Modified protected void modified(ComponentContext context, Map<String, Object> properties) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "modified", new Object[] { context, ...
java
@Modified protected void modified(ComponentContext context, Map<String, Object> properties) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, CLASS_NAME + "modified", new Object[] { context, ...
[ "@", "Modified", "protected", "void", "modified", "(", "ComponentContext", "context", ",", "Map", "<", "String", ",", "Object", ">", "properties", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", ...
This method is call by the declarative service when there is configuration change
[ "This", "method", "is", "call", "by", "the", "declarative", "service", "when", "there", "is", "configuration", "change" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L124-L159
65,463
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.setMessageStore
@Reference(name = KEY_MESSAGE_STORE, service = MessageStore.class) protected void setMessageStore(ServiceReference<MessageStore> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "setMessageStore", ref); messageStoreRef.setReference(ref); if...
java
@Reference(name = KEY_MESSAGE_STORE, service = MessageStore.class) protected void setMessageStore(ServiceReference<MessageStore> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "setMessageStore", ref); messageStoreRef.setReference(ref); if...
[ "@", "Reference", "(", "name", "=", "KEY_MESSAGE_STORE", ",", "service", "=", "MessageStore", ".", "class", ")", "protected", "void", "setMessageStore", "(", "ServiceReference", "<", "MessageStore", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAn...
Declarative Services method for setting the MessageStore service reference. @param ref reference to the service
[ "Declarative", "Services", "method", "for", "setting", "the", "MessageStore", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L233-L241
65,464
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.unsetMessageStore
protected void unsetMessageStore(ServiceReference<MessageStore> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetMessageStore", ref); messageStoreRef.unsetReference(ref); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) ...
java
protected void unsetMessageStore(ServiceReference<MessageStore> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetMessageStore", ref); messageStoreRef.unsetReference(ref); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) ...
[ "protected", "void", "unsetMessageStore", "(", "ServiceReference", "<", "MessageStore", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc...
Declarative Services method for unsetting the MessageStore service reference. @param ref reference to the service
[ "Declarative", "Services", "method", "for", "unsetting", "the", "MessageStore", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L250-L257
65,465
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.setDestinationAddressFactory
@Reference(name = KEY_DESTINATION_ADDRESS_FACTORY, service = SIDestinationAddressFactory.class) protected void setDestinationAddressFactory(ServiceReference<SIDestinationAddressFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "setDestinationAddress...
java
@Reference(name = KEY_DESTINATION_ADDRESS_FACTORY, service = SIDestinationAddressFactory.class) protected void setDestinationAddressFactory(ServiceReference<SIDestinationAddressFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "setDestinationAddress...
[ "@", "Reference", "(", "name", "=", "KEY_DESTINATION_ADDRESS_FACTORY", ",", "service", "=", "SIDestinationAddressFactory", ".", "class", ")", "protected", "void", "setDestinationAddressFactory", "(", "ServiceReference", "<", "SIDestinationAddressFactory", ">", "ref", ")",...
Declarative Services method for setting the DestinationAddressFactory service reference. @param ref reference to the service
[ "Declarative", "Services", "method", "for", "setting", "the", "DestinationAddressFactory", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L266-L274
65,466
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.unsetDestinationAddressFactory
protected void unsetDestinationAddressFactory(ServiceReference<SIDestinationAddressFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetDestinationAddressFactory", ref); destinationAddressFactoryRef.setReference(ref); if (TraceCompone...
java
protected void unsetDestinationAddressFactory(ServiceReference<SIDestinationAddressFactory> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetDestinationAddressFactory", ref); destinationAddressFactoryRef.setReference(ref); if (TraceCompone...
[ "protected", "void", "unsetDestinationAddressFactory", "(", "ServiceReference", "<", "SIDestinationAddressFactory", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "SibTr", ...
Declarative Services method for unsetting the DestinationAddressFactory service reference. @param ref reference to the service
[ "Declarative", "Services", "method", "for", "unsetting", "the", "DestinationAddressFactory", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L283-L290
65,467
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.setJsAdminService
@Reference(name = KEY_JS_ADMIN_SERVICE, service = JsAdminService.class) protected void setJsAdminService(ServiceReference<JsAdminService> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "setJsAdminService", ref); jsAdminServiceref.setReference(ref)...
java
@Reference(name = KEY_JS_ADMIN_SERVICE, service = JsAdminService.class) protected void setJsAdminService(ServiceReference<JsAdminService> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "setJsAdminService", ref); jsAdminServiceref.setReference(ref)...
[ "@", "Reference", "(", "name", "=", "KEY_JS_ADMIN_SERVICE", ",", "service", "=", "JsAdminService", ".", "class", ")", "protected", "void", "setJsAdminService", "(", "ServiceReference", "<", "JsAdminService", ">", "ref", ")", "{", "if", "(", "TraceComponent", "."...
Declarative Services method for setting the JsAdminService service reference. @param ref reference to the service
[ "Declarative", "Services", "method", "for", "setting", "the", "JsAdminService", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L299-L307
65,468
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java
JsMainAdminComponentImpl.unsetJsAdminService
protected void unsetJsAdminService(ServiceReference<JsAdminService> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetJsAdminService", ref); jsAdminServiceref.setReference(ref); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled(...
java
protected void unsetJsAdminService(ServiceReference<JsAdminService> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.entry(tc, "unsetJsAdminService", ref); jsAdminServiceref.setReference(ref); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled(...
[ "protected", "void", "unsetJsAdminService", "(", "ServiceReference", "<", "JsAdminService", ">", "ref", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
Declarative Services method for unsetting the JsAdminService service reference. @param ref reference to the service
[ "Declarative", "Services", "method", "for", "unsetting", "the", "JsAdminService", "service", "reference", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsMainAdminComponentImpl.java#L316-L323
65,469
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/ServerConnectionManager.java
ServerConnectionManager.initialiseAcceptListenerFactory
public static void initialiseAcceptListenerFactory(AcceptListenerFactory _acceptListenerFactory) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialiseAcceptListenerFactory", _acceptListenerFactory); Class clientImpl = instance.getClass(); ...
java
public static void initialiseAcceptListenerFactory(AcceptListenerFactory _acceptListenerFactory) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialiseAcceptListenerFactory", _acceptListenerFactory); Class clientImpl = instance.getClass(); ...
[ "public", "static", "void", "initialiseAcceptListenerFactory", "(", "AcceptListenerFactory", "_acceptListenerFactory", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry...
Sets an AcceptListenerFactory on the full implementation of the ServerConnectionManager implementation. @param _acceptListenerFactory
[ "Sets", "an", "AcceptListenerFactory", "on", "the", "full", "implementation", "of", "the", "ServerConnectionManager", "implementation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/jfapchannel/server/ServerConnectionManager.java#L120-L148
65,470
OpenLiberty/open-liberty
dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java
WSCredentialProvider.setCredential
private void setCredential(Subject subject, WSPrincipal principal) throws CredentialException { String securityName = principal.getName(); Hashtable<String, ?> customProperties = getUniqueIdHashtableFromSubject(subject); if (customProperties == null || customProperties.isEmpty()) { U...
java
private void setCredential(Subject subject, WSPrincipal principal) throws CredentialException { String securityName = principal.getName(); Hashtable<String, ?> customProperties = getUniqueIdHashtableFromSubject(subject); if (customProperties == null || customProperties.isEmpty()) { U...
[ "private", "void", "setCredential", "(", "Subject", "subject", ",", "WSPrincipal", "principal", ")", "throws", "CredentialException", "{", "String", "securityName", "=", "principal", ".", "getName", "(", ")", ";", "Hashtable", "<", "String", ",", "?", ">", "cu...
Create a WSCredential for the specified accessId. If this accessId came from the current UserRegistry, create a WsCredential. If not, then do nothing. @throws CredentialException
[ "Create", "a", "WSCredential", "for", "the", "specified", "accessId", ".", "If", "this", "accessId", "came", "from", "the", "current", "UserRegistry", "create", "a", "WsCredential", ".", "If", "not", "then", "do", "nothing", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java#L125-L179
65,471
OpenLiberty/open-liberty
dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java
WSCredentialProvider.getUniqueGroupAccessIds
private List<String> getUniqueGroupAccessIds(UserRegistry userRegistry, String realm, String uniqueName) throws EntryNotFoundException, RegistryException { List<String> uniqueGroupAccessIds = new ArrayList<String>(); List<String> uniqueGroupIds = userRegi...
java
private List<String> getUniqueGroupAccessIds(UserRegistry userRegistry, String realm, String uniqueName) throws EntryNotFoundException, RegistryException { List<String> uniqueGroupAccessIds = new ArrayList<String>(); List<String> uniqueGroupIds = userRegi...
[ "private", "List", "<", "String", ">", "getUniqueGroupAccessIds", "(", "UserRegistry", "userRegistry", ",", "String", "realm", ",", "String", "uniqueName", ")", "throws", "EntryNotFoundException", ",", "RegistryException", "{", "List", "<", "String", ">", "uniqueGro...
Get a list of all of the groups the user belongs to, formated as group access IDs. @param userRegistry @param realm @param uniqueName @return A list of all of the uniqueGroupAccessIds the user belongs to @throws EntryNotFoundException @throws RegistryException
[ "Get", "a", "list", "of", "all", "of", "the", "groups", "the", "user", "belongs", "to", "formated", "as", "group", "access", "IDs", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java#L253-L263
65,472
OpenLiberty/open-liberty
dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java
WSCredentialProvider.getPrimaryGroupId
private String getPrimaryGroupId(List<String> uniqueGroupIds) { return uniqueGroupIds.isEmpty() ? null : uniqueGroupIds.get(0); }
java
private String getPrimaryGroupId(List<String> uniqueGroupIds) { return uniqueGroupIds.isEmpty() ? null : uniqueGroupIds.get(0); }
[ "private", "String", "getPrimaryGroupId", "(", "List", "<", "String", ">", "uniqueGroupIds", ")", "{", "return", "uniqueGroupIds", ".", "isEmpty", "(", ")", "?", "null", ":", "uniqueGroupIds", ".", "get", "(", "0", ")", ";", "}" ]
Get the primary group ID. This is assumed to be the first group in the group list. @param uniqueGroupIds @return The first entry of the list
[ "Get", "the", "primary", "group", "ID", ".", "This", "is", "assumed", "to", "be", "the", "first", "group", "in", "the", "group", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java#L272-L274
65,473
OpenLiberty/open-liberty
dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java
WSCredentialProvider.isSubjectValid
@Override @FFDCIgnore({ CredentialDestroyedException.class, CredentialExpiredException.class }) public boolean isSubjectValid(Subject subject) { boolean valid = false; try { WSCredential wsCredential = getWSCredential(subject); if (wsCredential != null) { ...
java
@Override @FFDCIgnore({ CredentialDestroyedException.class, CredentialExpiredException.class }) public boolean isSubjectValid(Subject subject) { boolean valid = false; try { WSCredential wsCredential = getWSCredential(subject); if (wsCredential != null) { ...
[ "@", "Override", "@", "FFDCIgnore", "(", "{", "CredentialDestroyedException", ".", "class", ",", "CredentialExpiredException", ".", "class", "}", ")", "public", "boolean", "isSubjectValid", "(", "Subject", "subject", ")", "{", "boolean", "valid", "=", "false", "...
Checks if the subject is valid. Currently, a subject is REQUIRED to have a WSCredential, and it is only valid if the WSCredential is not expired. @param subject The subject to validate, {@code null} is not supported. @return <code>true</code> if the subject is valid.
[ "Checks", "if", "the", "subject", "is", "valid", ".", "Currently", "a", "subject", "is", "REQUIRED", "to", "have", "a", "WSCredential", "and", "it", "is", "only", "valid", "if", "the", "WSCredential", "is", "not", "expired", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.credentials.wscred/src/com/ibm/ws/security/credentials/wscred/internal/WSCredentialProvider.java#L329-L357
65,474
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnectionFactory.java
SibRaConnectionFactory.createConnection
private SibRaConnection createConnection( ConnectionRequestInfo requestInfo) throws SIResourceException, SINotPossibleInCurrentConfigurationException, SIIncorrectCallException, SIAuthenticationException { if (TRACE.isEntryEnabled()) { SibTr.entry(this...
java
private SibRaConnection createConnection( ConnectionRequestInfo requestInfo) throws SIResourceException, SINotPossibleInCurrentConfigurationException, SIIncorrectCallException, SIAuthenticationException { if (TRACE.isEntryEnabled()) { SibTr.entry(this...
[ "private", "SibRaConnection", "createConnection", "(", "ConnectionRequestInfo", "requestInfo", ")", "throws", "SIResourceException", ",", "SINotPossibleInCurrentConfigurationException", ",", "SIIncorrectCallException", ",", "SIAuthenticationException", "{", "if", "(", "TRACE", ...
Creates a connection via the connection manager. @param requestInfo the request information @return the new connection @throws SIResourceException if an exception relating to the JCA processing occurs @throws SINotPossibleInCurrentConfigurationException if an exception occurs when delegating to the underlying core SPI...
[ "Creates", "a", "connection", "via", "the", "connection", "manager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaConnectionFactory.java#L221-L344
65,475
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/writer/CompatibilityRepositoryExporter.java
CompatibilityRepositoryExporter.storeRecord
public void storeRecord(RepositoryLogRecord record) { if (isClosed) { throw new IllegalStateException("This instance of the exporter is already closed"); } if (!isInitialized) { throw new IllegalStateException("This instance of the exporter does not have header information yet"); } String formatRecord =...
java
public void storeRecord(RepositoryLogRecord record) { if (isClosed) { throw new IllegalStateException("This instance of the exporter is already closed"); } if (!isInitialized) { throw new IllegalStateException("This instance of the exporter does not have header information yet"); } String formatRecord =...
[ "public", "void", "storeRecord", "(", "RepositoryLogRecord", "record", ")", "{", "if", "(", "isClosed", ")", "{", "throw", "new", "IllegalStateException", "(", "\"This instance of the exporter is already closed\"", ")", ";", "}", "if", "(", "!", "isInitialized", ")"...
Stores a RepositoryLogRecord into the proper text format @param record RepositoryLogRecord which formatter will convert to Basic or Advanced output format
[ "Stores", "a", "RepositoryLogRecord", "into", "the", "proper", "text", "format" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/writer/CompatibilityRepositoryExporter.java#L115-L125
65,476
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.acceptAnnotationsFrom
protected boolean acceptAnnotationsFrom(String className, boolean acceptPartial, boolean acceptExcluded) { String methodName = "acceptAnnotationsFrom"; // Don't unnecessarily obtain the annotation targets table: // No seed annotations will be obtained when the module is metadata-complete. ...
java
protected boolean acceptAnnotationsFrom(String className, boolean acceptPartial, boolean acceptExcluded) { String methodName = "acceptAnnotationsFrom"; // Don't unnecessarily obtain the annotation targets table: // No seed annotations will be obtained when the module is metadata-complete. ...
[ "protected", "boolean", "acceptAnnotationsFrom", "(", "String", "className", ",", "boolean", "acceptPartial", ",", "boolean", "acceptExcluded", ")", "{", "String", "methodName", "=", "\"acceptAnnotationsFrom\"", ";", "// Don't unnecessarily obtain the annotation targets table:"...
Tell if annotations on a target class are to be processed. This is controlled by the metadata-complete and absolute ordering settings of the web module. Metadata complete may be set for the web-module as a whole, or may be set individually on fragments. Annotations are ignored when the target class is in a metadata ...
[ "Tell", "if", "annotations", "on", "a", "target", "class", "are", "to", "be", "processed", ".", "This", "is", "controlled", "by", "the", "metadata", "-", "complete", "and", "absolute", "ordering", "settings", "of", "the", "web", "module", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L754-L778
65,477
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.createSessionContext
protected void createSessionContext(DeployedModule moduleConfig) throws Throwable { try { // added sessionIdListeners for Servlet 3.1 ArrayList sessionRelatedListeners[] = new ArrayList[] { sessionListeners, sessionAttrListeners, sessionIdListeners }; // cmd // PQ81253 ...
java
protected void createSessionContext(DeployedModule moduleConfig) throws Throwable { try { // added sessionIdListeners for Servlet 3.1 ArrayList sessionRelatedListeners[] = new ArrayList[] { sessionListeners, sessionAttrListeners, sessionIdListeners }; // cmd // PQ81253 ...
[ "protected", "void", "createSessionContext", "(", "DeployedModule", "moduleConfig", ")", "throws", "Throwable", "{", "try", "{", "// added sessionIdListeners for Servlet 3.1", "ArrayList", "sessionRelatedListeners", "[", "]", "=", "new", "ArrayList", "[", "]", "{", "ses...
Method createSessionContext. @param moduleConfig
[ "Method", "createSessionContext", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L1256-L1269
65,478
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.initializeTargetMappings
protected void initializeTargetMappings() throws Exception { // NOTE: namespace preinvoke/postinvoke not necessary as the only // external // code being run is the servlet's init() and that is handled in the // ServletWrapper // check if an extensionFactory is present for *.jsp:...
java
protected void initializeTargetMappings() throws Exception { // NOTE: namespace preinvoke/postinvoke not necessary as the only // external // code being run is the servlet's init() and that is handled in the // ServletWrapper // check if an extensionFactory is present for *.jsp:...
[ "protected", "void", "initializeTargetMappings", "(", ")", "throws", "Exception", "{", "// NOTE: namespace preinvoke/postinvoke not necessary as the only", "// external", "// code being run is the servlet's init() and that is handled in the", "// ServletWrapper", "// check if an extensionFac...
Method initializeTargetMappings.
[ "Method", "initializeTargetMappings", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L1286-L1317
65,479
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.initializeNonDDRepresentableAnnotation
private void initializeNonDDRepresentableAnnotation(IServletConfig servletConfig) { if (com.ibm.ws.webcontainer.osgi.WebContainer.isServerStopping()) return; String methodName = "initializeNonDDRepresentableAnnotation"; String configClassName = servletConfig.getClas...
java
private void initializeNonDDRepresentableAnnotation(IServletConfig servletConfig) { if (com.ibm.ws.webcontainer.osgi.WebContainer.isServerStopping()) return; String methodName = "initializeNonDDRepresentableAnnotation"; String configClassName = servletConfig.getClas...
[ "private", "void", "initializeNonDDRepresentableAnnotation", "(", "IServletConfig", "servletConfig", ")", "{", "if", "(", "com", ".", "ibm", ".", "ws", ".", "webcontainer", ".", "osgi", ".", "WebContainer", ".", "isServerStopping", "(", ")", ")", "return", ";", ...
Process any annotation which could not be managed by an update to the the descriptor based configuration. @param servletConfig The servlet configuration embedding a class which is to be processed for annotations.
[ "Process", "any", "annotation", "which", "could", "not", "be", "managed", "by", "an", "update", "to", "the", "the", "descriptor", "based", "configuration", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L1510-L1549
65,480
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.addStaticFilePatternMappings
@FFDCIgnore(Exception.class) protected void addStaticFilePatternMappings(RequestProcessor proxyReqProcessor) { String nextPattern; ExtensionProcessor fileExtensionProcessor = getDefaultExtensionProcessor(this, getConfiguration().getFileServingAttributes()); List patternList = fileExtensionP...
java
@FFDCIgnore(Exception.class) protected void addStaticFilePatternMappings(RequestProcessor proxyReqProcessor) { String nextPattern; ExtensionProcessor fileExtensionProcessor = getDefaultExtensionProcessor(this, getConfiguration().getFileServingAttributes()); List patternList = fileExtensionP...
[ "@", "FFDCIgnore", "(", "Exception", ".", "class", ")", "protected", "void", "addStaticFilePatternMappings", "(", "RequestProcessor", "proxyReqProcessor", ")", "{", "String", "nextPattern", ";", "ExtensionProcessor", "fileExtensionProcessor", "=", "getDefaultExtensionProces...
defect 39851 needs to stop the exception from always being thrown
[ "defect", "39851", "needs", "to", "stop", "the", "exception", "from", "always", "being", "thrown" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L1592-L1622
65,481
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.getServletWrapper
public IServletWrapper getServletWrapper(String servletName, boolean addMapping) throws Exception // PK61140 { IServletWrapper targetWrapper = null; IServletConfig sconfig = config.getServletInfo(servletName); if (sconfig != null) { IServletWrapper existingServletWrapper = sconf...
java
public IServletWrapper getServletWrapper(String servletName, boolean addMapping) throws Exception // PK61140 { IServletWrapper targetWrapper = null; IServletConfig sconfig = config.getServletInfo(servletName); if (sconfig != null) { IServletWrapper existingServletWrapper = sconf...
[ "public", "IServletWrapper", "getServletWrapper", "(", "String", "servletName", ",", "boolean", "addMapping", ")", "throws", "Exception", "// PK61140", "{", "IServletWrapper", "targetWrapper", "=", "null", ";", "IServletConfig", "sconfig", "=", "config", ".", "getServ...
Method getServletWrapper. @param string @return Object
[ "Method", "getServletWrapper", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L1722-L1804
65,482
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.loadInternalConfig
private ServletConfig loadInternalConfig(String servletName, int internalIndex) throws ServletException { ServletConfig sconfig = createConfig("InternalServlet_" + servletName, internalIndex); sconfig.setServletName(servletName); sconfig.setDisplayName(servletName); sconfig.setServletCon...
java
private ServletConfig loadInternalConfig(String servletName, int internalIndex) throws ServletException { ServletConfig sconfig = createConfig("InternalServlet_" + servletName, internalIndex); sconfig.setServletName(servletName); sconfig.setDisplayName(servletName); sconfig.setServletCon...
[ "private", "ServletConfig", "loadInternalConfig", "(", "String", "servletName", ",", "int", "internalIndex", ")", "throws", "ServletException", "{", "ServletConfig", "sconfig", "=", "createConfig", "(", "\"InternalServlet_\"", "+", "servletName", ",", "internalIndex", "...
Method loadInternalConfig. @param servletName
[ "Method", "loadInternalConfig", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L1974-L1984
65,483
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.loadListener
protected Object loadListener(String lClassName) throws InjectionException, Throwable //596191 :: PK97815 { Object listener = null; try { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) logger.logp(Level.FINE, CLASS_NAME, "loadL...
java
protected Object loadListener(String lClassName) throws InjectionException, Throwable //596191 :: PK97815 { Object listener = null; try { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) logger.logp(Level.FINE, CLASS_NAME, "loadL...
[ "protected", "Object", "loadListener", "(", "String", "lClassName", ")", "throws", "InjectionException", ",", "Throwable", "//596191 :: PK97815", "{", "Object", "listener", "=", "null", ";", "try", "{", "if", "(", "com", ".", "ibm", ".", "ejs", ".", "ras", "...
LIDB1234.2 - added method below to load a listener class
[ "LIDB1234", ".", "2", "-", "added", "method", "below", "to", "load", "a", "listener", "class" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L2319-L2337
65,484
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.addToStartWeightList
public void addToStartWeightList(IServletConfig sc) { // we haven't started sorting the startup weights yet so just ignore. It // will be added later. if (this.sortedServletConfigs == null) return; int size = this.sortedServletConfigs.size(); int pos = 0; bool...
java
public void addToStartWeightList(IServletConfig sc) { // we haven't started sorting the startup weights yet so just ignore. It // will be added later. if (this.sortedServletConfigs == null) return; int size = this.sortedServletConfigs.size(); int pos = 0; bool...
[ "public", "void", "addToStartWeightList", "(", "IServletConfig", "sc", ")", "{", "// we haven't started sorting the startup weights yet so just ignore. It", "// will be added later.", "if", "(", "this", ".", "sortedServletConfigs", "==", "null", ")", "return", ";", "int", "...
Method addToStartWeightList.
[ "Method", "addToStartWeightList", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L3815-L3848
65,485
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.notifyStart
public void notifyStart() { try { eventSource.onApplicationAvailableForService(new ApplicationEvent(this, this, new com.ibm.ws.webcontainer.util.IteratorEnumerator(config.getServletNames()))); // LIBERTY: next line added by V8 sync //this.setInitialized(true); } catch...
java
public void notifyStart() { try { eventSource.onApplicationAvailableForService(new ApplicationEvent(this, this, new com.ibm.ws.webcontainer.util.IteratorEnumerator(config.getServletNames()))); // LIBERTY: next line added by V8 sync //this.setInitialized(true); } catch...
[ "public", "void", "notifyStart", "(", ")", "{", "try", "{", "eventSource", ".", "onApplicationAvailableForService", "(", "new", "ApplicationEvent", "(", "this", ",", "this", ",", "new", "com", ".", "ibm", ".", "ws", ".", "webcontainer", ".", "util", ".", "...
use the started method above for any started specific requirements
[ "use", "the", "started", "method", "above", "for", "any", "started", "specific", "requirements" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L5455-L5465
65,486
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.addMappingFilter
public void addMappingFilter(IServletConfig sConfig, IFilterConfig config) { IFilterMapping fmapping = new FilterMapping(null, config, sConfig); _addMapingFilter(config, fmapping); }
java
public void addMappingFilter(IServletConfig sConfig, IFilterConfig config) { IFilterMapping fmapping = new FilterMapping(null, config, sConfig); _addMapingFilter(config, fmapping); }
[ "public", "void", "addMappingFilter", "(", "IServletConfig", "sConfig", ",", "IFilterConfig", "config", ")", "{", "IFilterMapping", "fmapping", "=", "new", "FilterMapping", "(", "null", ",", "config", ",", "sConfig", ")", ";", "_addMapingFilter", "(", "config", ...
Adds a filter against a specified servlet config into this context @param sConfig @param config
[ "Adds", "a", "filter", "against", "a", "specified", "servlet", "config", "into", "this", "context" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L5554-L5557
65,487
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.initialize
public void initialize() throws ServletException, Throwable { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) logger.entering(CLASS_NAME, "Initialize : app = " + config.getApplicationName() + ", initialized = " + initialized + ", destroyed = " + destroyed);...
java
public void initialize() throws ServletException, Throwable { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) logger.entering(CLASS_NAME, "Initialize : app = " + config.getApplicationName() + ", initialized = " + initialized + ", destroyed = " + destroyed);...
[ "public", "void", "initialize", "(", ")", "throws", "ServletException", ",", "Throwable", "{", "if", "(", "com", ".", "ibm", ".", "ejs", ".", "ras", ".", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "logger", ".", "isLoggable", "(", "Level...
LIBERTY Added for delayed start.
[ "LIBERTY", "Added", "for", "delayed", "start", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L6594-L6612
65,488
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.setModuleContainer
public void setModuleContainer(com.ibm.wsspi.adaptable.module.Container c){ container = c; metaInfResourceFinder = new MetaInfResourceFinder(container); }
java
public void setModuleContainer(com.ibm.wsspi.adaptable.module.Container c){ container = c; metaInfResourceFinder = new MetaInfResourceFinder(container); }
[ "public", "void", "setModuleContainer", "(", "com", ".", "ibm", ".", "wsspi", ".", "adaptable", ".", "module", ".", "Container", "c", ")", "{", "container", "=", "c", ";", "metaInfResourceFinder", "=", "new", "MetaInfResourceFinder", "(", "container", ")", "...
LIBERTY add to set the Adaptable API Container
[ "LIBERTY", "add", "to", "set", "the", "Adaptable", "API", "Container" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L6629-L6632
65,489
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java
WebApp.addAllEntries
private void addAllEntries(Set s, com.ibm.wsspi.adaptable.module.Container dir) throws UnableToAdaptException { for(Entry entry : dir){ String path = entry.getPath(); com.ibm.wsspi.adaptable.module.Container possibleContainer = entry.adapt(com.ibm.wsspi.adaptable.module.Container.class);...
java
private void addAllEntries(Set s, com.ibm.wsspi.adaptable.module.Container dir) throws UnableToAdaptException { for(Entry entry : dir){ String path = entry.getPath(); com.ibm.wsspi.adaptable.module.Container possibleContainer = entry.adapt(com.ibm.wsspi.adaptable.module.Container.class);...
[ "private", "void", "addAllEntries", "(", "Set", "s", ",", "com", ".", "ibm", ".", "wsspi", ".", "adaptable", ".", "module", ".", "Container", "dir", ")", "throws", "UnableToAdaptException", "{", "for", "(", "Entry", "entry", ":", "dir", ")", "{", "String...
Add all entry paths from the Container into the Set
[ "Add", "all", "entry", "paths", "from", "the", "Container", "into", "the", "Set" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebApp.java#L6703-L6714
65,490
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsDestinationCache.java
JsDestinationCache.populateCache
private void populateCache() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "populateCache", this); } try { HashMap<String, BaseDestination> destList = _bus.getLWMMEConfig().getMessagingEngine().getDestinationList(); Itera...
java
private void populateCache() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "populateCache", this); } try { HashMap<String, BaseDestination> destList = _bus.getLWMMEConfig().getMessagingEngine().getDestinationList(); Itera...
[ "private", "void", "populateCache", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"populateCache\"", ",", "this", ")", ";"...
Build the cache of DestinationDefinition objects in the configuration
[ "Build", "the", "cache", "of", "DestinationDefinition", "objects", "in", "the", "configuration" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsDestinationCache.java#L143-L198
65,491
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.activate
@Activate protected void activate(BundleContext ctx, Map<String, Object> properties) { SibTr.entry(tc, CLASS_NAME + "activate", properties); this.properties = properties; this.bundleLocation = ctx.getBundle().getLocation(); populateDestinationPermissions(); runtimeSecurityS...
java
@Activate protected void activate(BundleContext ctx, Map<String, Object> properties) { SibTr.entry(tc, CLASS_NAME + "activate", properties); this.properties = properties; this.bundleLocation = ctx.getBundle().getLocation(); populateDestinationPermissions(); runtimeSecurityS...
[ "@", "Activate", "protected", "void", "activate", "(", "BundleContext", "ctx", ",", "Map", "<", "String", ",", "Object", ">", "properties", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"activate\"", ",", "properties", ")", ";", "...
Method to activate Messaging Security component @param properties : Map containing service & config properties populated/provided by config admin @throws MessagingSecurityException
[ "Method", "to", "activate", "Messaging", "Security", "component" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L117-L129
65,492
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.modify
@Modified protected void modify(ComponentContext cc, Map<String, Object> properties) { SibTr.entry(tc, CLASS_NAME + "modify", properties); this.properties = properties; populateDestinationPermissions(); runtimeSecurityService.modifyMessagingServices(this); if (TraceComponent...
java
@Modified protected void modify(ComponentContext cc, Map<String, Object> properties) { SibTr.entry(tc, CLASS_NAME + "modify", properties); this.properties = properties; populateDestinationPermissions(); runtimeSecurityService.modifyMessagingServices(this); if (TraceComponent...
[ "@", "Modified", "protected", "void", "modify", "(", "ComponentContext", "cc", ",", "Map", "<", "String", ",", "Object", ">", "properties", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"modify\"", ",", "properties", ")", ";", "th...
Called by OSGI framework when there is a modification in server.xml for tag associated with this component @param cc Component Context object @param properties Properties for this component from server.xml
[ "Called", "by", "OSGI", "framework", "when", "there", "is", "a", "modification", "in", "server", ".", "xml", "for", "tag", "associated", "with", "this", "component" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L140-L150
65,493
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.deactivate
@Deactivate protected void deactivate(ComponentContext context) { SibTr.entry(tc, CLASS_NAME + "deactivate", context); runtimeSecurityService.modifyMessagingServices(null); queuePermissions = null; topicPermissions = null; temporaryDestinationPermissions = null; sibA...
java
@Deactivate protected void deactivate(ComponentContext context) { SibTr.entry(tc, CLASS_NAME + "deactivate", context); runtimeSecurityService.modifyMessagingServices(null); queuePermissions = null; topicPermissions = null; temporaryDestinationPermissions = null; sibA...
[ "@", "Deactivate", "protected", "void", "deactivate", "(", "ComponentContext", "context", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"deactivate\"", ",", "context", ")", ";", "runtimeSecurityService", ".", "modifyMessagingServices", "(",...
Called by OSGI framework when the feature is removed from server.xml @param reason int representation of reason the component is stopping
[ "Called", "by", "OSGI", "framework", "when", "the", "feature", "is", "removed", "from", "server", ".", "xml" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L158-L171
65,494
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.setSecurityService
@Reference protected void setSecurityService(SecurityService securityService) { SibTr.entry(tc, CLASS_NAME + "setSecurityService", securityService); this.securityService = securityService; SibTr.exit(tc, CLASS_NAME + "setSecurityService"); }
java
@Reference protected void setSecurityService(SecurityService securityService) { SibTr.entry(tc, CLASS_NAME + "setSecurityService", securityService); this.securityService = securityService; SibTr.exit(tc, CLASS_NAME + "setSecurityService"); }
[ "@", "Reference", "protected", "void", "setSecurityService", "(", "SecurityService", "securityService", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"setSecurityService\"", ",", "securityService", ")", ";", "this", ".", "securityService", ...
Binding Security Service @param reference
[ "Binding", "Security", "Service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L178-L185
65,495
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.unsetSecurityService
protected void unsetSecurityService(SecurityService securityService) { SibTr.entry(tc, CLASS_NAME + "unsetSecurityService", securityService); SibTr.exit(tc, CLASS_NAME + "unsetSecurityService"); }
java
protected void unsetSecurityService(SecurityService securityService) { SibTr.entry(tc, CLASS_NAME + "unsetSecurityService", securityService); SibTr.exit(tc, CLASS_NAME + "unsetSecurityService"); }
[ "protected", "void", "unsetSecurityService", "(", "SecurityService", "securityService", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"unsetSecurityService\"", ",", "securityService", ")", ";", "SibTr", ".", "exit", "(", "tc", ",", "CLASS...
Unbinding Security Service @param reference
[ "Unbinding", "Security", "Service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L192-L196
65,496
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.setConfigAdmin
@Reference protected void setConfigAdmin(ConfigurationAdmin configAdmin) { SibTr.entry(tc, CLASS_NAME + "setConfigAdmin", configAdmin); this.configAdmin = configAdmin; SibTr.exit(tc, CLASS_NAME + "setConfigAdmin"); }
java
@Reference protected void setConfigAdmin(ConfigurationAdmin configAdmin) { SibTr.entry(tc, CLASS_NAME + "setConfigAdmin", configAdmin); this.configAdmin = configAdmin; SibTr.exit(tc, CLASS_NAME + "setConfigAdmin"); }
[ "@", "Reference", "protected", "void", "setConfigAdmin", "(", "ConfigurationAdmin", "configAdmin", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"setConfigAdmin\"", ",", "configAdmin", ")", ";", "this", ".", "configAdmin", "=", "configAdm...
Binding the Configuration Admin service @param reference
[ "Binding", "the", "Configuration", "Admin", "service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L203-L210
65,497
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.unsetConfigAdmin
protected void unsetConfigAdmin(ConfigurationAdmin configAdmin) { SibTr.entry(tc, CLASS_NAME + "unsetConfigAdmin", configAdmin); SibTr.exit(tc, CLASS_NAME + "unsetConfigAdmin"); }
java
protected void unsetConfigAdmin(ConfigurationAdmin configAdmin) { SibTr.entry(tc, CLASS_NAME + "unsetConfigAdmin", configAdmin); SibTr.exit(tc, CLASS_NAME + "unsetConfigAdmin"); }
[ "protected", "void", "unsetConfigAdmin", "(", "ConfigurationAdmin", "configAdmin", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"unsetConfigAdmin\"", ",", "configAdmin", ")", ";", "SibTr", ".", "exit", "(", "tc", ",", "CLASS_NAME", "+"...
Unbinding the Configuration Admin service @param reference
[ "Unbinding", "the", "Configuration", "Admin", "service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L217-L221
65,498
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.getMessagingAuthenticationService
@Override public MessagingAuthenticationService getMessagingAuthenticationService() { SibTr.entry(tc, CLASS_NAME + "getMessagingAuthenticationService"); if (sibAuthenticationService == null) { sibAuthenticationService = new MessagingAuthenticationServiceImpl(this); } Si...
java
@Override public MessagingAuthenticationService getMessagingAuthenticationService() { SibTr.entry(tc, CLASS_NAME + "getMessagingAuthenticationService"); if (sibAuthenticationService == null) { sibAuthenticationService = new MessagingAuthenticationServiceImpl(this); } Si...
[ "@", "Override", "public", "MessagingAuthenticationService", "getMessagingAuthenticationService", "(", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"getMessagingAuthenticationService\"", ")", ";", "if", "(", "sibAuthenticationService", "==", "nu...
Get Messaging Authentication Service
[ "Get", "Messaging", "Authentication", "Service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L235-L245
65,499
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java
MessagingSecurityServiceImpl.getMessagingAuthorizationService
@Override public MessagingAuthorizationService getMessagingAuthorizationService() { SibTr.entry(tc, CLASS_NAME + "getMessagingAuthorizationService"); if (sibAuthorizationService == null) { sibAuthorizationService = new MessagingAuthorizationServiceImpl(this); } SibTr.ex...
java
@Override public MessagingAuthorizationService getMessagingAuthorizationService() { SibTr.entry(tc, CLASS_NAME + "getMessagingAuthorizationService"); if (sibAuthorizationService == null) { sibAuthorizationService = new MessagingAuthorizationServiceImpl(this); } SibTr.ex...
[ "@", "Override", "public", "MessagingAuthorizationService", "getMessagingAuthorizationService", "(", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "CLASS_NAME", "+", "\"getMessagingAuthorizationService\"", ")", ";", "if", "(", "sibAuthorizationService", "==", "null",...
Get Messaging Authorization Service
[ "Get", "Messaging", "Authorization", "Service" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.security/src/com/ibm/ws/messaging/security/internal/MessagingSecurityServiceImpl.java#L250-L260