|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MethodServerDataMBean
Provide basic top-level data on a single method server and proxying thereof
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
void |
disconnectProxy()
Stop proxying method server's MBeans into server manager MBeanServer Supported API: true |
AttributeList |
getAttributesFromMethodServer(ObjectName mbean,
String[] attributeNames)
Get attribute values from an MBean in the method server. |
String |
getDisplayName()
Display name of method server Supported API: true |
int |
getJvmId()
JVM id of method server Supported API: true |
String |
getName()
Name of method server service Supported API: true |
String |
getRemoteJmxUrl()
URL of method server's JMX server Supported API: true |
Date |
getStartDate()
Time method server started Supported API: true |
Object |
invokeInfoOperationInMethodServer(ObjectName mbean,
String operation,
Object[] params,
String[] signature)
Invoke an operation with an INFO (read-only) impact on an MBean in the method server. |
Object |
invokeOperationInMethodServer(ObjectName mbean,
String operation,
Object[] params,
String[] signature)
Invoke an operation on an MBean in the method server. |
boolean |
isJmxConnectionFailed()
Whether a JMX connection was established from the server manager to method server and this connection subsequently failed Supported API: true |
boolean |
isMBeansProxied()
Whether method server's MBeans are proxied into server manager MBeanServer Supported API: true |
void |
proxyMBeans()
Proxy method server's MBeans into server manager MBeanServer Supported API: true |
void |
restartMethodServer()
Stop the method server and immediately start a new one Supported API: true |
AttributeList |
setAttributesInMethodServer(ObjectName mbean,
AttributeList attributes)
Set attributes on an MBean in the method server. |
void |
setLevel(String loggerName,
String level)
Set log level for a given logger. |
void |
setProperty(String propertyName,
String newValue)
Sets the value of a specified property. |
void |
stopMethodServer()
Stop the method server Supported API: true |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Method Detail |
|---|
String getName()
Date getStartDate()
int getJvmId()
String getRemoteJmxUrl()
String getDisplayName()
boolean isJmxConnectionFailed()
boolean isMBeansProxied()
void proxyMBeans()
throws IOException
IOExceptionvoid disconnectProxy()
void stopMethodServer()
throws RemoteException
RemoteException
void restartMethodServer()
throws Exception
Exception
void setLevel(String loggerName,
String level)
throws Exception
loggerName - Name of loggerlevel - Level to assign logger; valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified)
Exception
void setProperty(String propertyName,
String newValue)
throws Exception
propertyName - name of property to retrievenewValue - new value to aassign to property
Exception
AttributeList getAttributesFromMethodServer(ObjectName mbean,
String[] attributeNames)
throws Exception
mbean - ObjectName of target MBeanattributeNames - Names of attributes to fetch values for
Exception
AttributeList setAttributesInMethodServer(ObjectName mbean,
AttributeList attributes)
throws Exception
mbean - ObjectName of target MBeanattributes - Attribute settings to apply
Exception
Object invokeOperationInMethodServer(ObjectName mbean,
String operation,
Object[] params,
String[] signature)
throws Exception
mbean - ObjectName of target MBeanoperation - Name of target operationparams - Arguments of target operationsignature - Signature of target operation
Exception
Object invokeInfoOperationInMethodServer(ObjectName mbean,
String operation,
Object[] params,
String[] signature)
throws Exception
mbean - ObjectName of target MBeanoperation - Name of target operationparams - Arguments of target operationsignature - Signature of target operation
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||