org.objectweb.jonas.jmx.ManagementRepr Interface Reference

Inherited by org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Inheritance diagram for org.objectweb.jonas.jmx.ManagementRepr:

Inheritance graph
[legend]
List of all members.

Public Member Functions

boolean isRegistered (ObjectName on)
Object getAttribute (ObjectName on, String attribute) throws ManagementException
AttributeList getAttributes (ObjectName on, String[] attributes) throws ManagementException
void setAttribute (ObjectName on, String attribute, Object value) throws ManagementException
AttributeList setAttributes (ObjectName on, AttributeList attributes) throws ManagementException
Object invoke (ObjectName on, String operation, Object[] param, String[] signature) throws ManagementException
java.util.Set queryNames (ObjectName on) throws ManagementException
MBeanInfo getMBeanInfo (ObjectName name) throws ManagementException
Context getContext () throws NamingException
String getCurrentRMIConnectorName ()
void setCurrentRMIConnectorName (String name) throws Exception
void resetCurrentRMIConnectorName ()
Set getRMIConnectorsNames () throws NamingException
String getJonasNamingServiceURL ()
void setJonasNamingServiceURL (String url) throws NamingException
void setNamingEnvCtx (Properties env) throws javax.naming.NamingException

Detailed Description

Defines all the management operations invoked by management applications through the JonasManagementRepr class.
Author:
Adriana Danes

Definition at line 42 of file ManagementRepr.java.


Member Function Documentation

Object org.objectweb.jonas.jmx.ManagementRepr.getAttribute ObjectName  on,
String  attribute
throws ManagementException
 

Parameters:
on The ObjectName of the MBean of which the attribute is to be retrieved.
attribute A String specifying the name of the attribute to be retrieved.
Returns:
The value of the attribute.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.getAttribute().

AttributeList org.objectweb.jonas.jmx.ManagementRepr.getAttributes ObjectName  on,
String[]  attributes
throws ManagementException
 

Parameters:
on The ObjectName of the MBean of which attribute are to be retrieved.
attributes A list of the attributes to be retrieved.
Returns:
Thelist of retrieved attributes.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Context org.objectweb.jonas.jmx.ManagementRepr.getContext  )  throws NamingException
 

Returns:
Context the current application context.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.getContext().

String org.objectweb.jonas.jmx.ManagementRepr.getCurrentRMIConnectorName  ) 
 

Returns:
String the name of the current RMI connector.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.getCurrentRMIConnectorName().

String org.objectweb.jonas.jmx.ManagementRepr.getJonasNamingServiceURL  ) 
 

Returns:
String the value of the PROVIDER_URL property in the current context.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.getJonasNamingServiceURL().

MBeanInfo org.objectweb.jonas.jmx.ManagementRepr.getMBeanInfo ObjectName  name  )  throws ManagementException
 

Returns:
An instance of MBeanInfo allowing the retrieval of all attributes and operations of this MBean.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.getMBeanInfo().

Set org.objectweb.jonas.jmx.ManagementRepr.getRMIConnectorsNames  )  throws NamingException
 

Returns:
Set a set containning all RMI connector names available in the current context.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.getRMIConnectorsNames().

Object org.objectweb.jonas.jmx.ManagementRepr.invoke ObjectName  on,
String  operation,
Object[]  param,
String[]  signature
throws ManagementException
 

Parameters:
on 

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.invoke().

boolean org.objectweb.jonas.jmx.ManagementRepr.isRegistered ObjectName  on  ) 
 

Returns:
True if the MBean is already registered in the MBean server, false otherwise or if an exception is catched.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.isRegistered().

java.util.Set org.objectweb.jonas.jmx.ManagementRepr.queryNames ObjectName  on  )  throws ManagementException
 

Returns:
A set containing the ObjectNames for the MBeans selected.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.queryNames().

void org.objectweb.jonas.jmx.ManagementRepr.resetCurrentRMIConnectorName  ) 
 

Set the currentRMIConnectorName to null

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.resetCurrentRMIConnectorName().

void org.objectweb.jonas.jmx.ManagementRepr.setAttribute ObjectName  on,
String  attribute,
Object  value
throws ManagementException
 

Parameters:
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.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.setAttribute().

AttributeList org.objectweb.jonas.jmx.ManagementRepr.setAttributes ObjectName  on,
AttributeList  attributes
throws ManagementException
 

Parameters:
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
Returns:
The list of attributes that were set, with their new values.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

void org.objectweb.jonas.jmx.ManagementRepr.setCurrentRMIConnectorName String  name  )  throws Exception
 

Set the currentRMIConnectorName to the specified value

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.setCurrentRMIConnectorName().

void org.objectweb.jonas.jmx.ManagementRepr.setJonasNamingServiceURL String  url  )  throws NamingException
 

Sets the PROVIDER_URL property to the specified value.

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.setJonasNamingServiceURL().

void org.objectweb.jonas.jmx.ManagementRepr.setNamingEnvCtx Properties  env  )  throws javax.naming.NamingException
 

Create a new naming context based on the given env. properties

Implemented in org.objectweb.jonas.jmx.ManagementReprImpl, and org.objectweb.jonas.jmx.ManagementReprImplJSR160.

Referenced by org.objectweb.jonas.jmx.JonasManagementRepr.setNamingEnvCtx().


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:07:01 2005 for JOnAS by  doxygen 1.3.9.1