|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.jmx.JonasManagementRepr
Wraper class. Apply the management operations on the ManagementRep instance.
Constructor Summary | |
JonasManagementRepr()
|
Method Summary | |
static java.lang.Object |
getAttribute(javax.management.ObjectName on,
java.lang.String attribute)
|
static javax.management.AttributeList |
getAttributes(javax.management.ObjectName on,
java.lang.String[] attributes)
|
static javax.naming.Context |
getContext()
|
static java.lang.String |
getCurrentRMIConnectorName()
|
static java.lang.String |
getJonasNamingServiceURL()
|
static javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName name)
|
static ManagementRepr |
getRepr()
|
static java.util.Set |
getRMIConnectorsNames()
|
static java.lang.Object |
invoke(javax.management.ObjectName on,
java.lang.String operation,
java.lang.Object[] param,
java.lang.String[] signature)
|
static boolean |
isRegistered(javax.management.ObjectName on)
|
static java.util.Set |
queryNames(javax.management.ObjectName on)
|
static boolean |
reprNull()
Test if repr null. |
static void |
resetCurrentRMIConnectorName()
Set the currentRMIConnectorName to null |
static void |
setAttribute(javax.management.ObjectName on,
java.lang.String attribute,
java.lang.Object value)
|
static void |
setCurrentRMIConnectorName(java.lang.String name)
Set the currentRMIConnectorName to the specified value |
static void |
setJonasNamingServiceURL(java.lang.String url)
Sets the PROVIDER_URL property to the specified value. |
static void |
setNamingEnvCtx(java.util.Properties env)
Create a new naming context based on the given env. |
static void |
setRepr(ManagementRepr repr)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JonasManagementRepr()
Method Detail |
public static boolean reprNull()
public static boolean isRegistered(javax.management.ObjectName on)
on
- ObjectName of the MBean we are looking for
public static java.lang.Object getAttribute(javax.management.ObjectName on, java.lang.String attribute) throws ManagementException
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 static javax.management.AttributeList getAttributes(javax.management.ObjectName on, java.lang.String[] attributes) throws ManagementException
on
- The ObjectName of the MBean from which the attributes are to be retrieved.attributes
- A String array specifying the names of the attributes to be retrieved.
ManagementException
public static void setAttribute(javax.management.ObjectName on, java.lang.String attribute, java.lang.Object value) throws ManagementException
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 static java.lang.Object invoke(javax.management.ObjectName on, java.lang.String operation, java.lang.Object[] param, java.lang.String[] signature) throws ManagementException
on
-
ManagementException
public static java.util.Set queryNames(javax.management.ObjectName on) throws ManagementException
ManagementException
public static javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName name) throws ManagementException
ManagementException
public static javax.naming.Context getContext() throws javax.naming.NamingException
javax.naming.NamingException
public static java.lang.String getCurrentRMIConnectorName()
public static void setCurrentRMIConnectorName(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static void resetCurrentRMIConnectorName()
public static java.util.Set getRMIConnectorsNames() throws javax.naming.NamingException
javax.naming.NamingException
public static java.lang.String getJonasNamingServiceURL()
public static void setJonasNamingServiceURL(java.lang.String url) throws javax.naming.NamingException
javax.naming.NamingException
public static void setNamingEnvCtx(java.util.Properties env) throws javax.naming.NamingException
env
- properties to create a new naming context
javax.naming.NamingException
public static ManagementRepr getRepr()
public static void setRepr(ManagementRepr repr)
repr
- The repr to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |