public interface ServerEndpointControlMBean
The ObjectName for this MBean is "WebSphere:feature=kernel,name=ServerEndpointControl".
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 |
---|---|
boolean |
isPaused()
Query the state of all registered server endpoints.
|
boolean |
isPaused(java.lang.String targets)
Query the state of the specified server endpoints.
|
java.util.List<java.lang.String> |
listEndpoints()
Returns the name of all endpoints that can be paused/resumed
|
void |
pause()
Pauses all registered server endpoints
|
void |
pause(java.lang.String targets)
Pauses the specified server endpoints
|
void |
resume()
Resumes all registered server endpoints
|
void |
resume(java.lang.String targets)
Resumes the specified server endpoints
|
static final java.lang.String OBJECT_NAME
ObjectName
that this MBean maps to.void pause() throws javax.management.MBeanException
javax.management.MBeanException
- if not all registered endpoints could be pausedvoid pause(java.lang.String targets) throws javax.management.MBeanException
targets
- Comma separated list of one or more names of endpoints.javax.management.MBeanException
- If each of the specified targets couldn't be paused, or if the list of target names is empty or are not all validvoid resume() throws javax.management.MBeanException
javax.management.MBeanException
- if not all registered endpoints could be resumedvoid resume(java.lang.String targets) throws javax.management.MBeanException
targets
- Comma separated list of one or more names of endpoints.javax.management.MBeanException
- If each of the specified targets couldn't be resumed, or if the list of target names is empty or are not all validboolean isPaused()
boolean isPaused(java.lang.String targets) throws javax.management.MBeanException
targets
- Comma separated list of one or more names of endpoints.javax.management.MBeanException
- If each of the specified targets couldn't be queried, or if the list of target names is empty or are not all validjava.util.List<java.lang.String> listEndpoints()