Package com.ibm.websphere.kernel.server
Interface ServerEndpointControlMBean
- 
 public interface ServerEndpointControlMBeanThe ServerEndpointControlMBean provides control over the state of endpoints of the server. Endpoints represent inbound communication to the server, like http and messaging.The ObjectName for this MBean is "WebSphere:feature=kernel,name=ServerEndpointControl". 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringOBJECT_NAMEA String representing theObjectNamethat this MBean maps to.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisPaused()Query the state of all registered server endpoints.booleanisPaused(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.voidpause()Pauses all registered server endpointsvoidpause(java.lang.String targets)Pauses the specified server endpointsvoidresume()Resumes all registered server endpointsvoidresume(java.lang.String targets)Resumes the specified server endpoints
 
- 
- 
- 
Field Detail- 
OBJECT_NAMEstatic final java.lang.String OBJECT_NAME A String representing theObjectNamethat this MBean maps to.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
pausevoid pause() throws javax.management.MBeanExceptionPauses all registered server endpoints- Throws:
- javax.management.MBeanException- if not all registered endpoints could be paused
 
 - 
pausevoid pause(java.lang.String targets) throws javax.management.MBeanExceptionPauses the specified server endpoints- Parameters:
- targets- Comma separated list of one or more names of endpoints.
- Throws:
- 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 valid
 
 - 
resumevoid resume() throws javax.management.MBeanExceptionResumes all registered server endpoints- Throws:
- javax.management.MBeanException- if not all registered endpoints could be resumed
 
 - 
resumevoid resume(java.lang.String targets) throws javax.management.MBeanExceptionResumes the specified server endpoints- Parameters:
- targets- Comma separated list of one or more names of endpoints.
- Throws:
- 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 valid
 
 - 
isPausedboolean isPaused() Query the state of all registered server endpoints.- Returns:
- True if the cumulative state of all registered endpoints is paused, otherwise false.
 
 - 
isPausedboolean isPaused(java.lang.String targets) throws javax.management.MBeanExceptionQuery the state of the specified server endpoints.- Parameters:
- targets- Comma separated list of one or more names of endpoints.
- Returns:
- If a single target is specified, returns the state of the specified target, if multiple targets are specified, returns true only all specified targets are paused
- Throws:
- 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 valid
 
 - 
listEndpointsjava.util.List<java.lang.String> listEndpoints() Returns the name of all endpoints that can be paused/resumed.- Returns:
- List of names of all endpoints that can be paused/resumed.
 
 
- 
 
-