|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.jmx.Mx4jManagementReprImpl
Provides a management representative to be used by JMX based management applications, where the JMX implementation is MX4J.
Constructor Summary | |
protected |
Mx4jManagementReprImpl()
|
Method Summary | |
java.lang.Object |
getAttribute(javax.management.ObjectName on,
java.lang.String attribute)
|
javax.naming.Context |
getContext()
|
java.lang.String |
getCurrentRMIConnectorName()
|
java.lang.String |
getJonasNamingServiceURL()
|
javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName name)
|
java.util.Set |
getRMIConnectorsNames()
|
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()
Set the currentRMIConnectorName to null |
void |
setAttribute(javax.management.ObjectName on,
java.lang.String attribute,
java.lang.Object value)
|
void |
setCurrentRMIConnectorName(java.lang.String name)
Set the currentRMIConnectorName to the specified value |
void |
setJonasNamingServiceURL(java.lang.String url)
Sets the PROVIDER_URL property to the specified value. |
void |
setNamingEnvCtx(java.util.Properties env)
Create a new naming context based on the given env. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Mx4jManagementReprImpl()
Method Detail |
public boolean isRegistered(javax.management.ObjectName on)
isRegistered
in interface ManagementRepr
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
public 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 within 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
public 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
-
ManagementException
public java.util.Set queryNames(javax.management.ObjectName on) throws ManagementException
queryNames
in interface ManagementRepr
ManagementException
public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName name) throws ManagementException
getMBeanInfo
in interface ManagementRepr
ManagementException
public javax.naming.Context getContext() throws javax.naming.NamingException
getContext
in interface ManagementRepr
javax.naming.NamingException
public 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
public 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
public void setNamingEnvCtx(java.util.Properties env) throws javax.naming.NamingException
setNamingEnvCtx
in interface ManagementRepr
env
- properties to create a new naming context
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |