org.objectweb.jonas.jmx.JonasObjectName Class Reference

List of all members.

Public Member Functions

String toString ()

Static Public Member Functions

ObjectName jmxConnectorServer (String protocol, String connectorName)
ObjectName serverConfig ()
ObjectName earService ()
ObjectName mailService ()
ObjectName webContainerService ()
ObjectName discoveryService ()
ObjectName sessionMailFactory (String name) throws MalformedObjectNameException
ObjectName mimeMailFactory (String name) throws MalformedObjectNameException
ObjectName securityMemoryFactory (String name) throws MalformedObjectNameException
ObjectName securityDatasourceFactory (String name) throws MalformedObjectNameException
ObjectName securityLdapFactory (String name) throws MalformedObjectNameException
ObjectName user (String resource, String username) throws MalformedObjectNameException
ObjectName allUsers ()
ObjectName group (String resource, String groupname) throws MalformedObjectNameException
ObjectName allGroups ()
ObjectName role (String resource, String rolename) throws MalformedObjectNameException
ObjectName allRoles ()
ObjectName allSessionMailFactories ()
ObjectName allMimeMailFactories ()
ObjectName securityFactories (String pName) throws MalformedObjectNameException
ObjectName allSecurityFactories () throws MalformedObjectNameException
ObjectName allSecurityMemoryFactories () throws MalformedObjectNameException
ObjectName allSecurityDatasourceFactories () throws MalformedObjectNameException
ObjectName allSecurityLdapFactories () throws MalformedObjectNameException
ObjectName allUsers (String pResource) throws MalformedObjectNameException
ObjectName allRoles (String pResource) throws MalformedObjectNameException
ObjectName allGroups (String pResource) throws MalformedObjectNameException
ObjectName joramLocalServer () throws MalformedObjectNameException
ObjectName joramRemoteServer (String id) throws MalformedObjectNameException
ObjectName joramQueue (String name) throws MalformedObjectNameException
ObjectName joramTopic (String name) throws MalformedObjectNameException
ObjectName discoveryManager () throws MalformedObjectNameException
ObjectName discoveryClient () throws MalformedObjectNameException
ObjectName discoveryEnroller () throws MalformedObjectNameException
ObjectName catalinaConnectorFactory (String pDomain) throws MalformedObjectNameException
ObjectName webModuleProxy (String pDomain) throws MalformedObjectNameException

Detailed Description

A set of static classes used to build the names of proprietary MBeans used in JOnAS and in Joram.
Author:
Bruno Michel

Guillaume Riviere

Florent Benoit

Ludovic Bert

Miroslav Halas

Adriana Danes

Definition at line 42 of file JonasObjectName.java.


Member Function Documentation

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allGroups String  pResource  )  throws MalformedObjectNameException [static]
 

Return an objectName for all groups in a resource.

Parameters:
pResource the name of the resource on which the group depends
Returns:
an objectName for the user MBean
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 608 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allGroups  )  [static]
 

Return an objectName for all the groups

Returns:
an objectName for all the groups
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 371 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allMimeMailFactories  )  [static]
 

Return an objectName specifying all the mime mail factories.

Returns:
an objectName referencing all mime mail factories.

Definition at line 493 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allRoles String  pResource  )  throws MalformedObjectNameException [static]
 

Return an objectName for all roles in a resource.

Parameters:
pResource the name of the resource on which the role depends
Returns:
an objectName for the user MBean
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 595 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allRoles  )  [static]
 

Return an objectName for all the roles

Returns:
an objectName for all the roles
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 399 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allSecurityDatasourceFactories  )  throws MalformedObjectNameException [static]
 

Return an objectName for all the Security datasource factories.

Returns:
an objectName for all the security datasource factories
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 559 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allSecurityFactories  )  throws MalformedObjectNameException [static]
 

Return an objectName for the Security factory name.

Returns:
an objectName for the security factory name.
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 537 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allSecurityLdapFactories  )  throws MalformedObjectNameException [static]
 

Return an objectName for all the Security ldap factories.

Returns:
an objectName for all the security ldap factories
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 570 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allSecurityMemoryFactories  )  throws MalformedObjectNameException [static]
 

Return an objectName for all the Security memory factories.

Returns:
an objectName for all the security memory factories
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 548 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allSessionMailFactories  )  [static]
 

Return an objectName specifying all the session mail factories.

Returns:
an objectName referencing all session mail factories.

Definition at line 480 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allUsers String  pResource  )  throws MalformedObjectNameException [static]
 

Return an objectName for all users in a resource.

Parameters:
pResource the name of the resource on which the user depends
Returns:
an objectName for the user MBean
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 582 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.allUsers  )  [static]
 

Return an objectName for all the users

Returns:
an objectName for all the users
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 343 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.catalinaConnectorFactory String  pDomain  )  throws MalformedObjectNameException [static]
 

Returns:
ObjectName for Catalina Connectors Factory
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String
Parameters:
pDomain domain name

Definition at line 692 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.discoveryClient  )  throws MalformedObjectNameException [static]
 

Returns:
ObjectName for discovery client MBean
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String

Definition at line 676 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.discoveryEnroller  )  throws MalformedObjectNameException [static]
 

Returns:
ObjectName for discovery enroller MBean
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String

Definition at line 683 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.discoveryManager  )  throws MalformedObjectNameException [static]
 

Returns:
ObjectName for discovery manager MBean
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String

Definition at line 668 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.discoveryService  )  [static]
 

Construct ObjectName for the discovery service MBean

Returns:
ObjectName for the discovery service MBean

Definition at line 187 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.earService  )  [static]
 

Return the earService (Jmx).

Returns:
the Ear service.

Definition at line 112 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.group String  resource,
String  groupname
throws MalformedObjectNameException [static]
 

Return an objectName for a group

Parameters:
resource the name of the resource on which the group depends
groupname the name of the group
Returns:
an objectName for the group MBean
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 360 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.jmxConnectorServer String  protocol,
String  connectorName
[static]
 

Create ObjectName for the JMX Connector Server which is an MBean inside the target MBeanServer

Parameters:
protocol used protocol
connectorName name used to distinguish connector servers using the same protocol
Returns:
ObjectName for the JMX Connector Server MBean

Definition at line 69 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.joramLocalServer  )  throws MalformedObjectNameException [static]
 

Returns:
ObjectName for the local Joram server
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String

Definition at line 630 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.joramQueue String  name  )  throws MalformedObjectNameException [static]
 

Create ObjectName for a Joram managed queue

Parameters:
name queue name
Returns:
ObjectName for a Joram managed queue
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String

Definition at line 650 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.joramRemoteServer String  id  )  throws MalformedObjectNameException [static]
 

Create ObjectName for a remote Joram server

Parameters:
id remote server identifier
Returns:
ObjectName for a remote Joram server
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String

Definition at line 640 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.joramTopic String  name  )  throws MalformedObjectNameException [static]
 

Create ObjectName for a Joram managed topic

Parameters:
name topic name
Returns:
ObjectName for a Joram managed topic
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String

Definition at line 660 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.mailService  )  [static]
 

Return the mailService (Jmx).

Returns:
the Mail service.

Definition at line 125 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.mimeMailFactory String  name  )  throws MalformedObjectNameException [static]
 

Return an objectName for a MimePartDataSource type mail factory.

Parameters:
name the name of the mail factory
Returns:
an objectName for the mail factory.
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 287 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.role String  resource,
String  rolename
throws MalformedObjectNameException [static]
 

Return an objectName for a role

Parameters:
resource the name of the resource on which the role depends
rolename the name of the role
Returns:
an objectName for the user MBean
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 388 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.securityDatasourceFactory String  name  )  throws MalformedObjectNameException [static]
 

Return an objectName for a Security datasource factory.

Parameters:
name the name of the security datasource factory
Returns:
an objectName for the security datasource factory.
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 309 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.securityFactories String  pName  )  throws MalformedObjectNameException [static]
 

Return an objectName for the Security factory name.

Parameters:
pName The name of the wanted security factory
Returns:
an objectName for the security factory name.
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 526 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.securityLdapFactory String  name  )  throws MalformedObjectNameException [static]
 

Return an objectName for a Security ldap factory.

Parameters:
name the name of the security ldap factory
Returns:
an objectName for the security ldap factory.
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 320 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.securityMemoryFactory String  name  )  throws MalformedObjectNameException [static]
 

Return an objectName for a Security memory factory.

Parameters:
name the name of the security memory factory
Returns:
an objectName for the security memory factory.
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 298 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.serverConfig  )  [static]
 

Returns:
ObjectName for reconfiguration manager MBean

Definition at line 81 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.sessionMailFactory String  name  )  throws MalformedObjectNameException [static]
 

Return an objectName for a Session type mail factory.

Parameters:
name the name of the mail factory
Returns:
an objectName for the mail factory.
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 276 of file JonasObjectName.java.

String org.objectweb.jonas.jmx.JonasObjectName.toString  ) 
 

A different implementation should allow returning a logical name. This String is used within the Exception messages when throwing a ManagementException. This is done currently in the invoke method of ManagementReprImpl/Mx4jManagementReprImpl classes.

Returns:
String representation of the ObjectName

Definition at line 620 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.user String  resource,
String  username
throws MalformedObjectNameException [static]
 

Return an objectName for a user

Parameters:
resource the name of the resource on which the user depends
username the name of the user
Returns:
an objectName for the user MBean
Exceptions:
MalformedObjectNameException if the objectname can't be build

Definition at line 332 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.webContainerService  )  [static]
 

Return the webContainerService (Jmx).

Returns:
the web container service.

Definition at line 138 of file JonasObjectName.java.

ObjectName org.objectweb.jonas.jmx.JonasObjectName.webModuleProxy String  pDomain  )  throws MalformedObjectNameException [static]
 

Returns:
ObjectName for WebModule Proxy
Exceptions:
MalformedObjectNameException Could not create ObjectName with the given String
Parameters:
pDomain domain name

Definition at line 701 of file JonasObjectName.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