public interface RoutingContextMBean
The ObjectName for this MBean is "WebSphere:feature=collectiveController,type=RoutingContext,name=RoutingContext".
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OBJECT_NAME
A string representing the
ObjectName that this MBean maps to. |
Modifier and Type | Method and Description |
---|---|
void |
assignHostContext(java.lang.String hostName)
This method assigns a host to the routing context.
|
void |
assignServerContext(java.lang.String hostName,
java.lang.String wlpUserDir,
java.lang.String serverName)
This method assigns a server within the given host, user directory and
server name to the routing context.
|
static final java.lang.String OBJECT_NAME
ObjectName
that this MBean maps to.void assignServerContext(java.lang.String hostName, java.lang.String wlpUserDir, java.lang.String serverName)
Calling this method will override any previous context assignments.
hostName
- The host name. Must not be null
or an empty string.
This host name should match the host name set to the defaultHostName
Must not be null
or 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 be null
or an empty string. Must not have a trailing slash.
Must not be encoded.serverName
- The server name. Must not be null
or an empty string.void assignHostContext(java.lang.String hostName)
Calling this method will override any previous context assignments.
hostName
- The host name. Must not be null
or an empty string.