|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.jmx.ManagementReprImpl
public class ManagementReprImpl
Provides a management representative to be used by JMX based management applications.
Constructor Summary | |
---|---|
protected |
ManagementReprImpl()
|
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()
|
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)
|
javax.management.AttributeList |
setAttributes(javax.management.ObjectName on,
javax.management.AttributeList attributes)
|
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 ManagementReprImpl()
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 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
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 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
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 |