|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.util.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 |
cmiClient(String domainName,
String serverName)
Build an ObjectName for the CMIClient MBean. |
static ObjectName |
cmiServer(String domainName,
String serverName)
Build an ObjectName for the CMIServer MBean. |
static ObjectName |
databaseService(String domainName)
|
static ObjectName |
deployableMonitorService(String domainName)
Return the deployableMonitorService (Jmx). |
static ObjectName |
deploymentPlan(String domainName)
Build an ObjectName for the DeploymentPlan MBean. |
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 |
getType(ObjectName obj)
|
static ObjectName |
group(String domainName,
String resource,
String groupname)
Return an objectName for a group |
static ObjectName |
jaxrpcService(String domainName)
Return the jaxrpcService MBean ObjectName |
static ObjectName |
jaxwsService(String domainName)
Return the jaxwsService MBean ObjectName |
static ObjectName |
jgroupsDiscoveryCommManager(String domainName,
String discoveryType,
String srvName)
|
static ObjectName |
jgroupsDiscoveryManager(String domainName,
String discoveryType,
String srvName)
|
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 |
jndiContextInterceptor(String domainName,
String interceptorName)
ObjectName for a given context interceptor. |
static ObjectName |
jndiInterceptors(String domainName)
Return the JNDI Interceptors Object Name (Jmx). |
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 |
mailService(String domainName)
Return the mailService (Jmx). |
static ObjectName |
RarConfig(String domainName)
|
static ObjectName |
repository(String domainName)
Build an ObjectName for the Repository MBean. |
static ObjectName |
resourceMonitor(String domainName)
Build an ObjectName for the ResourceMonitor MBean. |
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 ObjectName |
smartclient(String domainName)
Return an objectName for the smartclient service. |
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 |
versioning(String domainName)
Return an objectName for the versioning service. |
static ObjectName |
war(String domainName,
String filename)
War MBean ObjectName |
static ObjectName |
webContainerService(String domainName)
Return the webContainerService MBean ObjectName. |
static ObjectName |
workCleaner(String domainName)
Return an objectName for the WorkCleaner. |
static ObjectName |
workManager(String domainName)
Return an objectName for the WorkManager |
static ObjectName |
wsdlPublisherService(String domainName)
Return the wsdlPublisher MBean ObjectName |
static ObjectName |
wsService(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 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 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 deployableMonitorService(String domainName)
domainName
- the domain name
public static ObjectName mailService(String domainName)
domainName
- the domain name
public static ObjectName jndiInterceptors(String domainName)
domainName
- the domain name
public static ObjectName jndiContextInterceptor(String domainName, String interceptorName)
domainName
- the JMX domaininterceptorName
- the name of the interceptor
public static ObjectName webContainerService(String domainName)
domainName
- the domain name
public static ObjectName jaxrpcService(String domainName)
domainName
- the domain name
public static ObjectName jaxwsService(String domainName)
domainName
- the domain name
public static ObjectName wsdlPublisherService(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)
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 workCleaner(String domainName)
domainName
- domain name
public static ObjectName versioning(String domainName)
domainName
- domain name
public static ObjectName smartclient(String domainName)
domainName
- domain name
public 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 discoveryManager(String domainName) throws MalformedObjectNameException
domainName
- the management domain name
MalformedObjectNameException
- Could not create ObjectName with the given Stringpublic static ObjectName jgroupsDiscoveryManager(String domainName, String discoveryType, String srvName) 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
public static ObjectName jgroupsDiscoveryCommManager(String domainName, String discoveryType, String srvName) throws MalformedObjectNameException
domainName
-
MalformedObjectNameException
public static ObjectName cmiClient(String domainName, String serverName) throws MalformedObjectNameException
domainName
- the management domain nameserverName
- the managed server
MalformedObjectNameException
- if an ObjectName cannot be created with the given Stringpublic static ObjectName cmiServer(String domainName, String serverName) throws MalformedObjectNameException
domainName
- the management domain nameserverName
- the managed server
MalformedObjectNameException
- if an ObjectName cannot be created with the given Stringpublic static ObjectName repository(String domainName) throws MalformedObjectNameException
domainName
- the management domain name
MalformedObjectNameException
- if an ObjectName cannot be created with the given Stringpublic static ObjectName deploymentPlan(String domainName) throws MalformedObjectNameException
domainName
- the management domain name
MalformedObjectNameException
- if an ObjectName cannot be created with the given Stringpublic static ObjectName resourceMonitor(String domainName) throws MalformedObjectNameException
domainName
- the management domain name
MalformedObjectNameException
- if an ObjectName cannot be created with the given String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |