org.objectweb.jonas.jmx.ManagementReprImplJSR160 Class Reference

Inherits org.objectweb.jonas.jmx.ManagementRepr.

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

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.jmx.ManagementReprImplJSR160:

Collaboration 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 javax.naming.NamingException
String getCurrentRMIConnectorName ()
void setCurrentRMIConnectorName (String name) throws Exception
void resetCurrentRMIConnectorName ()
Set getRMIConnectorsNames () throws javax.naming.NamingException
String getJonasNamingServiceURL ()
void setJonasNamingServiceURL (String url) throws javax.naming.NamingException
void setNamingEnvCtx (Properties env) throws javax.naming.NamingException
MBeanServerConnection getMBeanServerConnection ()
void setMBeanServerConnection (MBeanServerConnection mbeanServerConnection)

Protected Member Functions

 ManagementReprImplJSR160 ()

Detailed Description

Provides a management representative to be used by JMX based management applications.
Author:
Adriana Danes

Definition at line 51 of file ManagementReprImplJSR160.java.


Constructor & Destructor Documentation

org.objectweb.jonas.jmx.ManagementReprImplJSR160.ManagementReprImplJSR160  )  [protected]
 

ManagementRepr object constructor

Definition at line 66 of file ManagementReprImplJSR160.java.


Member Function Documentation

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

Parameters:
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.
Returns:
The value of the attribute.
Exceptions:
ManagementException management operation failed

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 89 of file ManagementReprImplJSR160.java.

AttributeList org.objectweb.jonas.jmx.ManagementReprImplJSR160.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.
Exceptions:
ManagementException management operation failed

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 106 of file ManagementReprImplJSR160.java.

Context org.objectweb.jonas.jmx.ManagementReprImplJSR160.getContext  )  throws javax.naming.NamingException
 

This method is no more necessary with JSR160 support

Returns:
null
Exceptions:
javax.naming.NamingException not possible anymore

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 246 of file ManagementReprImplJSR160.java.

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

This method is no more necessary with JSR160 support

Returns:
a non null String

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 254 of file ManagementReprImplJSR160.java.

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

This method is no more necessary with JSR160 support

Returns:
null

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 287 of file ManagementReprImplJSR160.java.

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

Returns:
An instance of MBeanInfo allowing the retrieval of all attributes and operations of this MBean.
Exceptions:
ManagementException management operation failed

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 231 of file ManagementReprImplJSR160.java.

MBeanServerConnection org.objectweb.jonas.jmx.ManagementReprImplJSR160.getMBeanServerConnection  ) 
 

Returns:
Returns the mbeanServerConnection.

Definition at line 309 of file ManagementReprImplJSR160.java.

Set org.objectweb.jonas.jmx.ManagementReprImplJSR160.getRMIConnectorsNames  )  throws javax.naming.NamingException
 

This method is no more necessary with JSR160 support

Returns:
null
Exceptions:
javax.naming.NamingException not possible anymore

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 277 of file ManagementReprImplJSR160.java.

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

Parameters:
on 
Exceptions:
ManagementException management operation failed

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 160 of file ManagementReprImplJSR160.java.

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

Parameters:
on The object name of the MBean to be checked
Returns:
True if the MBean is already registered in the MBean server, false otherwise or if an exception is catched.

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 75 of file ManagementReprImplJSR160.java.

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

Returns:
A set containing the ObjectNames for the MBeans selected.
Exceptions:
ManagementException management operation failed

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 216 of file ManagementReprImplJSR160.java.

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

This method is no more necessary with JSR160 support

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 268 of file ManagementReprImplJSR160.java.

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

Parameters:
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.
Exceptions:
ManagementException management operation failed

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 123 of file ManagementReprImplJSR160.java.

AttributeList org.objectweb.jonas.jmx.ManagementReprImplJSR160.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.
Exceptions:
ManagementException management operation failed

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 145 of file ManagementReprImplJSR160.java.

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

This method is no more necessary with JSR160 support

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 261 of file ManagementReprImplJSR160.java.

void org.objectweb.jonas.jmx.ManagementReprImplJSR160.setJonasNamingServiceURL String  url  )  throws javax.naming.NamingException
 

This method is no more necessary with JSR160 support

Exceptions:
javax.naming.NamingException not possible anymore

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 295 of file ManagementReprImplJSR160.java.

void org.objectweb.jonas.jmx.ManagementReprImplJSR160.setMBeanServerConnection MBeanServerConnection  mbeanServerConnection  ) 
 

Parameters:
mbeanServerConnection The mbeanServerConnection to set.

Definition at line 315 of file ManagementReprImplJSR160.java.

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

This method is no more necessary with JSR160 support

Exceptions:
javax.naming.NamingException not possible anymore

Implements org.objectweb.jonas.jmx.ManagementRepr.

Definition at line 303 of file ManagementReprImplJSR160.java.


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