| java.lang.Object org.objectweb.jonas.jmx.ManagementReprImpl
ManagementReprImpl | public class ManagementReprImpl implements ManagementRepr(Code) | | Provides a management representative to be used by JMX based management applications.
author: Adriana Danes |
ManagementReprImpl | protected ManagementReprImpl()(Code) | | |
getAttribute | public Object getAttribute(ObjectName on, String attribute) throws ManagementException(Code) | | Parameters: on - The ObjectName of the MBean from which the attribute is to be retrieved. Parameters: attribute - A String specifying the name of the attribute to be retrieve. The value of the attribute. |
getAttributes | public AttributeList getAttributes(ObjectName on, String[] attributes) throws ManagementException(Code) | | Parameters: on - The ObjectName of the MBean of which attribute are to be retrieved. Parameters: attributes - A list of the attributes to be retrieved. Thelist of retrieved attributes. |
getCurrentRMIConnectorName | public String getCurrentRMIConnectorName()(Code) | | String the name of the current RMI connector.Return null if no RMI connector is available. |
getJonasNamingServiceURL | public String getJonasNamingServiceURL()(Code) | | String the value of the PROVIDER_URL property in the current context. |
isRegistered | public boolean isRegistered(ObjectName on)(Code) | | True if the MBean is already registered in the MBean server, false otherwise or if an exception is catched. |
resetCurrentRMIConnectorName | public void resetCurrentRMIConnectorName()(Code) | | Set the currentRMIConnectorName to null
|
setAttribute | public void setAttribute(ObjectName on, String attribute, Object value) throws ManagementException(Code) | | Parameters: on - The ObjectName of the MBean within which the attribute is to be set. Parameters: attribute - A String specifying the name of the attribute to be retrieve. Parameters: value - The value to set to the attribute. |
setAttributes | public AttributeList setAttributes(ObjectName on, AttributeList attributes) throws ManagementException(Code) | | Parameters: on - The ObjectName of the MBean of which the attribute is to be set. Parameters: attributes - A list of attributes: The identification of the attribute to be set and the value it is to be set to The list of attributes that were set, with their new values. |
setCurrentRMIConnectorName | public void setCurrentRMIConnectorName(String name) throws Exception(Code) | | Set the currentRMIConnectorName to the specified value
|
setNamingEnvCtx | public void setNamingEnvCtx(Properties env) throws javax.naming.NamingException(Code) | | Create a new naming context based on the given env. properties
Parameters: env - properties to create a new naming context |
|
|