Interface RoutingContextMBean
public interface RoutingContextMBean
This MBean provides routing context for MBean operations used with the
IBM JMX REST Connector.
The ObjectName for this MBean is "WebSphere:feature=collectiveController,type=RoutingContext,name=RoutingContext".
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA string representing theObjectNamethat this MBean maps to. -
Method Summary
Modifier and TypeMethodDescriptionvoidassignHostContext(String hostName) This method assigns a host to the routing context.voidassignServerContext(String hostName, String wlpUserDir, String serverName) This method assigns a server within the given host, user directory and server name to the routing context.
-
Field Details
-
OBJECT_NAME
A string representing theObjectNamethat this MBean maps to.- See Also:
-
-
Method Details
-
assignServerContext
This method assigns a server within the given host, user directory and server name to the routing context. This is used when routing requests to a specific target server.Calling this method will override any previous context assignments.
- Parameters:
hostName- The host name. Must not benullor an empty string. This host name should match the host name set to the defaultHostName Must not benullor an empty string.wlpUserDir- The canonical path for the user directory of server. This should match the WLP_USER_DIR environment variable for the server. Must not benullor an empty string. Must not have a trailing slash. Must not be encoded.serverName- The server name. Must not benullor an empty string.
-
assignHostContext
This method assigns a host to the routing context. This is used when routing requests to a specific host without specifying any particular target servers.Calling this method will override any previous context assignments.
- Parameters:
hostName- The host name. Must not benullor an empty string.
-