org.objectweb.jonas.jmx.JonasManagementRepr Class Reference

Collaboration diagram for org.objectweb.jonas.jmx.JonasManagementRepr:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

boolean reprNull ()
boolean isRegistered (ObjectName on)
Object getAttribute (ObjectName on, String attribute) throws ManagementException
void setAttribute (ObjectName on, String attribute, Object value) 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
ManagementRepr getRepr ()
void setRepr (ManagementRepr repr)

Detailed Description

Wraper class. Apply the management operations on the ManagementRep instance.
Author:
Adriana Danes

Definition at line 38 of file JonasManagementRepr.java.


Member Function Documentation

Object org.objectweb.jonas.jmx.JonasManagementRepr.getAttribute ObjectName  on,
String  attribute
throws ManagementException [static]
 

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.

Definition at line 73 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.getAttribute().

Here is the call graph for this function:

Context org.objectweb.jonas.jmx.JonasManagementRepr.getContext  )  throws javax.naming.NamingException [static]
 

Returns:
Context the current application context.

Definition at line 118 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.getContext().

Here is the call graph for this function:

String org.objectweb.jonas.jmx.JonasManagementRepr.getCurrentRMIConnectorName  )  [static]
 

Returns:
String the name of the current RMI connector. Return null if no RMI connector is available.

Definition at line 125 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.getCurrentRMIConnectorName().

Here is the call graph for this function:

String org.objectweb.jonas.jmx.JonasManagementRepr.getJonasNamingServiceURL  )  [static]
 

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

Definition at line 149 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.getJonasNamingServiceURL().

Here is the call graph for this function:

MBeanInfo org.objectweb.jonas.jmx.JonasManagementRepr.getMBeanInfo ObjectName  name  )  throws ManagementException [static]
 

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

Definition at line 111 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.getMBeanInfo().

Here is the call graph for this function:

ManagementRepr org.objectweb.jonas.jmx.JonasManagementRepr.getRepr  )  [static]
 

Returns:
Returns the repr.

Definition at line 170 of file JonasManagementRepr.java.

Set org.objectweb.jonas.jmx.JonasManagementRepr.getRMIConnectorsNames  )  throws javax.naming.NamingException [static]
 

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

Definition at line 143 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.getRMIConnectorsNames().

Here is the call graph for this function:

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

Parameters:
on 

Definition at line 93 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.invoke().

Here is the call graph for this function:

boolean org.objectweb.jonas.jmx.JonasManagementRepr.isRegistered ObjectName  on  )  [static]
 

Returns:
True if the MBean is already registered in the MBean server, false otherwise or if an exception is catched.
Parameters:
on ObjectName of the MBean we are looking for

Definition at line 64 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.isRegistered().

Here is the call graph for this function:

java.util.Set org.objectweb.jonas.jmx.JonasManagementRepr.queryNames ObjectName  on  )  throws ManagementException [static]
 

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

Definition at line 102 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.queryNames().

Here is the call graph for this function:

boolean org.objectweb.jonas.jmx.JonasManagementRepr.reprNull  )  [static]
 

Test if repr null. This means that the ManagementRepFactory did not managed to instantiate the ManagementRep class.

Returns:
true if ManagementRep not null

Definition at line 53 of file JonasManagementRepr.java.

void org.objectweb.jonas.jmx.JonasManagementRepr.resetCurrentRMIConnectorName  )  [static]
 

Set the currentRMIConnectorName to null

Definition at line 137 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.resetCurrentRMIConnectorName().

Here is the call graph for this function:

void org.objectweb.jonas.jmx.JonasManagementRepr.setAttribute ObjectName  on,
String  attribute,
Object  value
throws ManagementException [static]
 

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.

Definition at line 84 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.setAttribute().

Here is the call graph for this function:

void org.objectweb.jonas.jmx.JonasManagementRepr.setCurrentRMIConnectorName String  name  )  throws Exception [static]
 

Set the currentRMIConnectorName to the specified value

Definition at line 131 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.setCurrentRMIConnectorName().

Here is the call graph for this function:

void org.objectweb.jonas.jmx.JonasManagementRepr.setJonasNamingServiceURL String  url  )  throws javax.naming.NamingException [static]
 

Sets the PROVIDER_URL property to the specified value.

Definition at line 155 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.setJonasNamingServiceURL().

Here is the call graph for this function:

void org.objectweb.jonas.jmx.JonasManagementRepr.setNamingEnvCtx Properties  env  )  throws javax.naming.NamingException [static]
 

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

Parameters:
env properties to create a new naming context

Definition at line 163 of file JonasManagementRepr.java.

References org.objectweb.jonas.jmx.ManagementRepr.setNamingEnvCtx().

Here is the call graph for this function:

void org.objectweb.jonas.jmx.JonasManagementRepr.setRepr ManagementRepr  repr  )  [static]
 

Parameters:
repr The repr to set.

Definition at line 177 of file JonasManagementRepr.java.


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