|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.jmx.oname.JonasObjectName
public class JonasObjectName
A set of static classes used to build the names of proprietary MBeans used in JOnAS and in Joram.
Constructor Summary | |
---|---|
JonasObjectName()
|
Method Summary | |
---|---|
static ObjectName |
allGroups(String domainName,
String pResource)
Return an objectName for all groups in a resource. |
static ObjectName |
allRoles(String domainName,
String pResource)
Return an objectName for all roles in a resource. |
static ObjectName |
allSecurityDatasourceFactories(String domainName)
Return an objectName for all the Security datasource factories. |
static ObjectName |
allSecurityFactories(String domainName)
Return an objectName for the Security factory name. |
static ObjectName |
allSecurityLdapFactories(String domainName)
Return an objectName for all the Security ldap factories. |
static ObjectName |
allSecurityMemoryFactories(String domainName)
Return an objectName for all the Security memory factories. |
static ObjectName |
allUsers(String domainName,
String pResource)
Return an objectName for all users in a resource. |
static ObjectName |
allWars(String domainName)
ObjectName for all war MBeans in the domain |
static ObjectName |
ArchiveConfig(String domainName)
|
static ObjectName |
cluster(String domainName,
String name,
String type)
Build an ObjectName for a Cluster defined by its type and its name. |
static ObjectName |
clusterDaemon(String domainName)
|
static ObjectName |
clusterDaemonProxy(String domainName,
String name)
|
static ObjectName |
clusterDaemonProxys(String domainName)
|
static ObjectName |
clusterMember(String domainName,
String name,
String type,
String cluster)
Build an ObjectName for a ClusterMember. |
static ObjectName |
clusters(String domainName,
String type)
Build an ObjectName for a Cluster defined by its type only. |
static ObjectName |
databaseService(String domainName)
|
static ObjectName |
discoveryClient(String domainName)
|
static ObjectName |
discoveryEnroller(String domainName)
|
static ObjectName |
discoveryManager(String domainName)
|
static ObjectName |
discoveryService(String domainName)
Construct ObjectName for the discovery service MBean |
static ObjectName |
earService(String domainName)
Return the earService (Jmx). |
static ObjectName |
ejbService(String domainName)
|
static String |
fileNameForObjectName(String fileName)
|
static String |
getDomain()
|
static String |
getType(ObjectName obj)
|
static ObjectName |
group(String domainName,
String resource,
String groupname)
Return an objectName for a group |
static ObjectName |
jmsService(String domainName)
|
static ObjectName |
jmxConnectorServer(String protocol,
String connectorName)
Create ObjectName for the JMX Connector Server which is an MBean inside the target MBeanServer |
static ObjectName |
jmxService()
|
static ObjectName |
joramLocalServer()
|
static ObjectName |
joramQueue(String name)
Create ObjectName for a Joram managed queue |
static ObjectName |
joramRemoteServer(String id)
Create ObjectName for a remote Joram server |
static ObjectName |
joramTopic(String name)
Create ObjectName for a Joram managed topic |
static ObjectName |
logBuffer(String domainName,
String name)
Create ObjectName for the LogBuffer MBean |
static ObjectName |
logBuffers(String domainName)
Create ObjectName for the LogBuffer MBean |
static ObjectName |
logService()
|
static ObjectName |
logService(String domainName)
|
static ObjectName |
logService(String domainName,
String filename)
|
static ObjectName |
mailService(String domainName)
Return the mailService (Jmx). |
static ObjectName |
RarConfig(String domainName)
|
static ObjectName |
resourceService(String domainName)
|
static ObjectName |
role(String domainName,
String resource,
String rolename)
Return an objectName for a role |
static ObjectName |
securityDatasourceFactory(String domainName,
String name)
Return an objectName for a Security datasource factory. |
static ObjectName |
securityLdapFactory(String domainName,
String name)
Return an objectName for a Security ldap factory. |
static ObjectName |
securityMemoryFactory(String domainName,
String name)
Return an objectName for a Security memory factory. |
static ObjectName |
securityService(String domainName)
|
static ObjectName |
serverConfig(String domainName)
|
static ObjectName |
serverProxy(String domainName,
String serverName)
|
static ObjectName |
serverProxys(String domainName)
|
static void |
setDomain(String domainName)
Set the domain used by JOnAS server |
String |
toString()
A different implementation should allow returning a logical name. |
static ObjectName |
transactionService(String domainName)
|
static ObjectName |
user(String domainName,
String resource,
String username)
Return an objectName for a user |
static ObjectName |
war(String domainName,
String filename)
War MBean ObjectName |
static ObjectName |
webContainerService(String domainName)
Return the webContainerService MBean ObjectName |
static ObjectName |
workManager(String domainName)
Return an objectName for the WorkManager |
static ObjectName |
wsService(String domainName)
|
static ObjectName |
wwwService(String domainName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JonasObjectName()
Method Detail |
---|
public static void setDomain(String domainName)
domainName
- the domain to usepublic static String getDomain()
public static ObjectName jmxConnectorServer(String protocol, String connectorName)
protocol
- used protocolconnectorName
- name used to distinguish connector servers using the same protocol
public static ObjectName serverConfig(String domainName)
domainName
- domain name
public static ObjectName wwwService(String domainName)
domainName
- the domain name
public static ObjectName wsService(String domainName)
domainName
- the domain name
public static ObjectName ejbService(String domainName)
domainName
- the domain name
public static ObjectName earService(String domainName)
domainName
- the domain name
public static ObjectName mailService(String domainName)
domainName
- the domain name
public static ObjectName webContainerService(String domainName)
domainName
- the domain name
public static ObjectName databaseService(String domainName)
domainName
- the domain name
public static ObjectName resourceService(String domainName)
domainName
- the domain name
public static ObjectName transactionService(String domainName)
domainName
- the domain name
public static ObjectName logService(String domainName, String filename)
domainName
- domain namefilename
- log configuration file name
public static ObjectName logService(String domainName)
domainName
- domain name
public static ObjectName logService()
public static ObjectName logBuffer(String domainName, String name)
domainName
- domain namename
- LogBuffer name
public static ObjectName logBuffers(String domainName)
domainName
- domain namename
- LogBuffer name
public static ObjectName discoveryService(String domainName)
domainName
- the domain name
public static ObjectName jmsService(String domainName)
domainName
- the domain name
public static ObjectName securityService(String domainName)
domainName
- the domain name
public static ObjectName jmxService()
public static ObjectName war(String domainName, String filename) throws MalformedObjectNameException
domainName
- domain namefilename
- name of the file containing the war
MalformedObjectNameException
- Could not construct ObjectNamepublic static ObjectName workManager(String domainName)
domainName
- domain name
public static ObjectName securityMemoryFactory(String domainName, String name) throws MalformedObjectNameException
domainName
- the domain namename
- the name of the security memory factory
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName securityDatasourceFactory(String domainName, String name) throws MalformedObjectNameException
domainName
- the domain namename
- the name of the security datasource factory
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName securityLdapFactory(String domainName, String name) throws MalformedObjectNameException
domainName
- the domain namename
- the name of the security ldap factory
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName user(String domainName, String resource, String username) throws MalformedObjectNameException
resource
- the name of the resource on which the user dependsusername
- the name of the userdomainName
- the domain name
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName group(String domainName, String resource, String groupname) throws MalformedObjectNameException
resource
- the name of the resource on which the group dependsgroupname
- the name of the groupdomainName
- the domain name
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName role(String domainName, String resource, String rolename) throws MalformedObjectNameException
resource
- the name of the resource on which the role dependsrolename
- the name of the roledomainName
- the domain name
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName allWars(String domainName)
domainName
- domain name
public static String getType(ObjectName obj)
public static String fileNameForObjectName(String fileName)
public static ObjectName allSecurityFactories(String domainName) throws MalformedObjectNameException
domainName
- the domain name
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName allSecurityMemoryFactories(String domainName) throws MalformedObjectNameException
domainName
- the domain name
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName allSecurityDatasourceFactories(String domainName) throws MalformedObjectNameException
domainName
- the domain name
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName allSecurityLdapFactories(String domainName) throws MalformedObjectNameException
domainName
- the domain name
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName allUsers(String domainName, String pResource) throws MalformedObjectNameException
domainName
- the management domain namepResource
- the name of the resource on which the user depends
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName allRoles(String domainName, String pResource) throws MalformedObjectNameException
domainName
- the management domain namepResource
- the name of the resource on which the role depends
MalformedObjectNameException
- if the objectname can't be buildpublic static ObjectName allGroups(String domainName, String pResource) throws MalformedObjectNameException
domainName
- the management domain namepResource
- the name of the resource on which the group depends
MalformedObjectNameException
- if the objectname can't be buildpublic String toString()
toString
in class Object
public static ObjectName joramLocalServer() throws MalformedObjectNameException
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName joramRemoteServer(String id) throws MalformedObjectNameException
id
- remote server identifier
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName joramQueue(String name) throws MalformedObjectNameException
name
- queue name
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName joramTopic(String name) throws MalformedObjectNameException
name
- topic name
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName discoveryManager(String domainName) throws MalformedObjectNameException
domainName
- the management domain name
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName discoveryClient(String domainName) throws MalformedObjectNameException
domainName
- the management domain name
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName discoveryEnroller(String domainName) throws MalformedObjectNameException
domainName
- the management domain name
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName serverProxy(String domainName, String serverName) throws MalformedObjectNameException
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName serverProxys(String domainName) throws MalformedObjectNameException
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName cluster(String domainName, String name, String type) throws MalformedObjectNameException
name
- Name of the Clustertype
- Type: JkCluster, TomcatCluster, JoramCluster, EjbHaCluster, CmiCluster, ...
MalformedObjectNameException
public static ObjectName clusters(String domainName, String type) throws MalformedObjectNameException
type
- Type: JkCluster, TomcatCluster, JoramCluster, EjbHaCluster, CmiCluster, ...
MalformedObjectNameException
public static ObjectName clusterMember(String domainName, String name, String type, String cluster) throws MalformedObjectNameException
name
- Name of the ClusterMembertype
- type of the cluster (ex: JkCluster or TomcatCluster)cluster
- Name of the Cluster
MalformedObjectNameException
public static ObjectName clusterDaemon(String domainName) throws Exception
Exception
public static ObjectName clusterDaemonProxy(String domainName, String name) throws MalformedObjectNameException
name
- name of the ClusterDaemon
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName clusterDaemonProxys(String domainName) throws MalformedObjectNameException
name
- name of the ClusterDaemon
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName ArchiveConfig(String domainName)
domainName
- the management domain name
public static ObjectName RarConfig(String domainName)
domainName
- the management domain name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |