|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.jmx.ManagementReprImplJSR160
Provides a management representative to be used by JMX based management applications.
Constructor Summary | |
protected |
ManagementReprImplJSR160()
ManagementRepr object constructor |
Method Summary | |
java.lang.Object |
getAttribute(javax.management.ObjectName on,
java.lang.String attribute)
|
javax.management.AttributeList |
getAttributes(javax.management.ObjectName on,
java.lang.String[] attributes)
|
javax.naming.Context |
getContext()
This method is no more necessary with JSR160 support |
java.lang.String |
getCurrentRMIConnectorName()
This method is no more necessary with JSR160 support |
java.lang.String |
getJonasNamingServiceURL()
This method is no more necessary with JSR160 support |
javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName name)
|
javax.management.MBeanServerConnection |
getMBeanServerConnection()
|
java.util.Set |
getRMIConnectorsNames()
This method is no more necessary with JSR160 support |
java.lang.String |
getServerName()
|
java.lang.Object |
invoke(javax.management.ObjectName on,
java.lang.String operation,
java.lang.Object[] param,
java.lang.String[] signature)
|
boolean |
isRegistered(javax.management.ObjectName on)
|
java.util.Set |
queryNames(javax.management.ObjectName on)
|
void |
resetCurrentRMIConnectorName()
This method is no more necessary with JSR160 support |
void |
setAttribute(javax.management.ObjectName on,
java.lang.String attribute,
java.lang.Object value)
|
javax.management.AttributeList |
setAttributes(javax.management.ObjectName on,
javax.management.AttributeList attributes)
|
void |
setCurrentRMIConnectorName(java.lang.String name)
This method is no more necessary with JSR160 support |
void |
setJonasNamingServiceURL(java.lang.String url)
This method is no more necessary with JSR160 support |
void |
setMBeanServerConnection(javax.management.MBeanServerConnection mbeanServerConnection)
|
void |
setNamingEnvCtx(java.util.Properties env)
This method is no more necessary with JSR160 support |
void |
setServerName(java.lang.String serverName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ManagementReprImplJSR160()
Method Detail |
public boolean isRegistered(javax.management.ObjectName on)
isRegistered
in interface ManagementRepr
on
- The object name of the MBean to be checked
public java.lang.Object getAttribute(javax.management.ObjectName on, java.lang.String attribute) throws ManagementException
getAttribute
in interface ManagementRepr
on
- The ObjectName of the MBean from which the attribute is to be retrieved.attribute
- A String specifying the name of the attribute to be retrieve.
ManagementException
- management operation failedpublic javax.management.AttributeList getAttributes(javax.management.ObjectName on, java.lang.String[] attributes) throws ManagementException
getAttributes
in interface ManagementRepr
on
- The ObjectName of the MBean of which attribute are to be retrieved.attributes
- A list of the attributes to be retrieved.
ManagementException
- management operation failedpublic void setAttribute(javax.management.ObjectName on, java.lang.String attribute, java.lang.Object value) throws ManagementException
setAttribute
in interface ManagementRepr
on
- The ObjectName of the MBean of which the attribute is to be set.attribute
- A String specifying the name of the attribute to be retrieve.value
- The value to set to the attribute.
ManagementException
- management operation failedpublic javax.management.AttributeList setAttributes(javax.management.ObjectName on, javax.management.AttributeList attributes) throws ManagementException
setAttributes
in interface ManagementRepr
on
- The ObjectName of the MBean of which the attribute is to be set.attributes
- A list of attributes: The identification of the attribute to be set and the value it is to be set to
ManagementException
- management operation failedpublic java.lang.Object invoke(javax.management.ObjectName on, java.lang.String operation, java.lang.Object[] param, java.lang.String[] signature) throws ManagementException
invoke
in interface ManagementRepr
on
- The ObjectName of the MBean of which an operation is to be executedoperation
- name of the operation to executeparam
- arguments of the operation to executesignature
- types of arguments
ManagementException
- management operation failedpublic java.util.Set queryNames(javax.management.ObjectName on) throws ManagementException
queryNames
in interface ManagementRepr
on
- The ObjectName of the target MBean
ManagementException
- management operation failedpublic javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName name) throws ManagementException
getMBeanInfo
in interface ManagementRepr
ManagementException
- management operation failedpublic javax.naming.Context getContext() throws javax.naming.NamingException
getContext
in interface ManagementRepr
javax.naming.NamingException
- not possible anymorepublic java.lang.String getCurrentRMIConnectorName()
getCurrentRMIConnectorName
in interface ManagementRepr
public void setCurrentRMIConnectorName(java.lang.String name) throws java.lang.Exception
setCurrentRMIConnectorName
in interface ManagementRepr
java.lang.Exception
public void resetCurrentRMIConnectorName()
resetCurrentRMIConnectorName
in interface ManagementRepr
public java.util.Set getRMIConnectorsNames() throws javax.naming.NamingException
getRMIConnectorsNames
in interface ManagementRepr
javax.naming.NamingException
- not possible anymorepublic java.lang.String getJonasNamingServiceURL()
getJonasNamingServiceURL
in interface ManagementRepr
public void setJonasNamingServiceURL(java.lang.String url) throws javax.naming.NamingException
setJonasNamingServiceURL
in interface ManagementRepr
javax.naming.NamingException
- not possible anymorepublic void setNamingEnvCtx(java.util.Properties env) throws javax.naming.NamingException
setNamingEnvCtx
in interface ManagementRepr
javax.naming.NamingException
- not possible anymorepublic javax.management.MBeanServerConnection getMBeanServerConnection()
public void setMBeanServerConnection(javax.management.MBeanServerConnection mbeanServerConnection)
mbeanServerConnection
- The mbeanServerConnection to set.public java.lang.String getServerName()
public void setServerName(java.lang.String serverName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |