Methods Summary |
---|
static java.lang.String | getAppDottedName(java.lang.String app)
app = DottedName.escapePart(app);
return getApplicationsDottedName() + DELIMITER + app;
|
static java.lang.String | getAppModuleDottedName(java.lang.String app, java.lang.String module)
module = DottedName.escapePart(module);
return getAppDottedName(app) + DELIMITER + module;
|
static java.lang.String | getApplicationsDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.APPLICATIONS;
|
static java.lang.String | getConnectionFactoriesDottedName()
return getJmsServiceDottedName() + DELIMITER + MonitoredObjectType.CONNECTION_FACTORIES;
|
static java.lang.String | getConnectionFactoryDottedName(java.lang.String factoryName)
return getConnectionFactoriesDottedName() + DELIMITER + DottedName.escapePart(factoryName);
|
static java.lang.String | getConnectionManagersDottedName()
return getOrbDottedName() + DELIMITER + MonitoredObjectType.CONNECTION_MANAGERS;
|
static java.lang.String | getConnectionPoolDottedName(java.lang.String poolName, java.lang.String type)
poolName = DottedName.escapePart(poolName);
return getResourcesDottedName() + DELIMITER + poolName;
|
static java.lang.String | getConnectionPoolDottedName(java.lang.String poolName, java.lang.String j2eeAppName, java.lang.String moduleName)
return getConnectionPoolsDottedName(j2eeAppName, moduleName) + DELIMITER + DottedName.escapePart(poolName);
|
static java.lang.String | getConnectionPoolsDottedName(java.lang.String j2eeAppName, java.lang.String moduleName)
return getConnectorModuleDottedName(j2eeAppName, moduleName) + DELIMITER + MonitoredObjectType.CONNECTION_POOLS;
|
static java.lang.String | getConnectionQueueDottedName()
return getHttpServiceDottedName() + DELIMITER + MonitoredObjectType.CONNECTION_QUEUE;
|
static java.lang.String | getConnectorModuleDottedName(java.lang.String j2eeAppName, java.lang.String moduleName)
if(j2eeAppName != null) {
moduleName = DottedName.escapePart(j2eeAppName) + "#" + DottedName.escapePart(moduleName);
}
else
moduleName = DottedName.escapePart(moduleName);
return getConnectorServiceDottedName() + DELIMITER + moduleName;
|
static java.lang.String | getConnectorServiceDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.CONNECTOR_SERVICE;
|
static java.lang.String | getConnectorWorkMgmtDottedName(java.lang.String j2eeAppName, java.lang.String moduleName, boolean isJms)
String dottedName = null;
if(isJms) {
dottedName = getJmsServiceDottedName() + DELIMITER + MonitoredObjectType.CONNECTOR_WORKMGMT;
}
else {
dottedName = getConnectorModuleDottedName(j2eeAppName, moduleName) + DELIMITER + MonitoredObjectType.CONNECTOR_WORKMGMT;
}
return dottedName;
|
static java.lang.String | getDnsDottedName()
return getHttpServiceDottedName() + DELIMITER + MonitoredObjectType.DNS;
|
static java.lang.String | getEJBCacheDottedName(java.lang.String app, java.lang.String module, java.lang.String ejb)
return getEJBDottedName(app, module, ejb) + DELIMITER + MonitoredObjectType.BEAN_CACHE;
|
static java.lang.String | getEJBDottedName(java.lang.String app, java.lang.String module, java.lang.String ejb)
ejb = DottedName.escapePart(ejb);
if(app == null){
return getStandAloneEJBModuleDottedName(module) + DELIMITER + ejb;
}
return getAppModuleDottedName(app, module) + DELIMITER + ejb;
|
static java.lang.String | getEJBDottedNameWithType(java.lang.String app, java.lang.String module, java.lang.String ejb, java.lang.String ejbType)
ejb = DottedName.escapePart(ejb);
if(app == null){
return getStandAloneEJBModuleDottedName(module) + DELIMITER + ejbType + DELIMITER + ejb;
}
return getAppModuleDottedName(app, module) + DELIMITER + ejbType + DELIMITER + ejb;
|
static java.lang.String | getEJBMethodDottedName(java.lang.String app, java.lang.String module, java.lang.String ejb, java.lang.String method)
return getEJBMethodsDottedName(app,module,ejb) + DELIMITER + DottedName.escapePart(method);
|
static java.lang.String | getEJBMethodsDottedName(java.lang.String app, java.lang.String module, java.lang.String ejb)
return getEJBDottedName(app, module, ejb) + DELIMITER + MonitoredObjectType.BEAN_METHODS;
|
static java.lang.String | getEJBPoolDottedName(java.lang.String app, java.lang.String module, java.lang.String ejb)
return getEJBDottedName(app, module, ejb) + DELIMITER + MonitoredObjectType.BEAN_POOL;
|
static java.lang.String | getFileCacheDottedName()
return getHttpServiceDottedName() + DELIMITER + MonitoredObjectType.FILE_CACHE;
|
static java.lang.String | getHttpListenerDottedName(java.lang.String listenerName, java.lang.String vs)
listenerName = DottedName.escapePart(listenerName);
return getHttpSvcVirtualServerDottedName(vs) + DELIMITER + listenerName;
|
static java.lang.String | getHttpServiceDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.HTTP_SERVICE;
|
static java.lang.String | getHttpSvcVirtualServerDottedName(java.lang.String vs)
vs = DottedName.escapePart(vs);
return getHttpServiceDottedName() + DELIMITER + vs;
|
private static java.lang.String | getInstanceName()
if(instanceName == null){
try{
instanceName = (ApplicationServer.getServerContext()).getInstanceName();
if(instanceName==null) {
final String msg = sm.getString("instance_name_not_found");
throw new NullPointerException(msg);
}
}
catch(Exception e){
logger.fine("DottedNameFactory:"+e.getClass().getName());
throw new RuntimeException(e);
}
}
return instanceName;
|
static java.lang.String | getJVMClassLoadingDottedName()
return getJVMDottedName() + DELIMITER + MonitoredObjectType.JVM_CLASSLOADING;
|
static java.lang.String | getJVMCompilationDottedName()
return getJVMDottedName() + DELIMITER + MonitoredObjectType.JVM_COMPILATION;
|
static java.lang.String | getJVMDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.JVM;
|
static java.lang.String | getJVMGCDottedName(java.lang.String gcName)
return getJVMGCSDottedName() + DELIMITER + DottedName.escapePart(gcName);
|
static java.lang.String | getJVMGCSDottedName()
return getJVMDottedName() + DELIMITER + MonitoredObjectType.JVM_GCS;
|
static java.lang.String | getJVMMemoryDottedName()
return getJVMDottedName() + DELIMITER + MonitoredObjectType.JVM_MEMORY;
|
static java.lang.String | getJVMOSDottedName()
return getJVMDottedName() + DELIMITER + MonitoredObjectType.JVM_OS;
|
static java.lang.String | getJVMRuntimeDottedName()
return getJVMDottedName() + DELIMITER + MonitoredObjectType.JVM_RUNTIME;
|
static java.lang.String | getJVMThreadDottedName()
return getJVMDottedName() + DELIMITER + MonitoredObjectType.JVM_THREAD;
|
static java.lang.String | getJVMThreadInfoDottedName(java.lang.String threadName)
return getJVMThreadDottedName() + DELIMITER + DottedName.escapePart(threadName);
|
static java.lang.String | getJmsServiceDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.JMS_SERVICE;
|
static java.lang.String | getKeepAliveDottedName()
return getHttpServiceDottedName() + DELIMITER + MonitoredObjectType.KEEP_ALIVE;
|
static java.lang.String | getOrbConnectionManagerDottedName(java.lang.String name)
name = DottedName.escapePart(name);
return getConnectionManagersDottedName() + DELIMITER + name;
|
static java.lang.String | getOrbDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.ORB;
|
static java.lang.String | getPWCThreadPoolDottedName()
return getHttpServiceDottedName() + DELIMITER + MonitoredObjectType.PWC_THREAD_POOL;
|
static java.lang.String | getRequestDottedName(java.lang.String vsId)
return getHttpSvcVirtualServerDottedName(vsId) + DELIMITER + MonitoredObjectType.REQUEST;
|
static java.lang.String | getResourcesDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.RESOURCES;
|
static java.lang.String | getRootDottedName()
return getInstanceName();
|
static java.lang.String | getServletDottedName(java.lang.String app, java.lang.String module, java.lang.String vs, java.lang.String servlet)
servlet = DottedName.escapePart(servlet);
return getWebAppsVirtualServerDottedName(app, module, vs) + DELIMITER + servlet;
|
static java.lang.String | getStandAloneEJBModuleDottedName(java.lang.String module)
module = DottedName.escapePart(module);
return getApplicationsDottedName() + DELIMITER + module;
|
static java.lang.String | getStandAloneWebModuleDottedName(java.lang.String module)
module = DottedName.escapePart(module);
return getApplicationsDottedName() + DELIMITER + module;
|
static java.lang.String | getStatefulSessionStoreDottedName(java.lang.String ejbName, java.lang.String moduleName, java.lang.String j2eeAppName)
return getEJBDottedName(j2eeAppName, moduleName, ejbName) + DELIMITER + MonitoredObjectType.SESSION_STORE;
|
static java.lang.String | getThreadPoolDottedName(java.lang.String name)
name = DottedName.escapePart(name);
return getThreadPoolsDottedName() + DELIMITER + name;
|
static java.lang.String | getThreadPoolsDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.THREAD_POOLS;
|
static java.lang.String | getTimerDottedName(java.lang.String ejbName, java.lang.String moduleName, java.lang.String j2eeAppName)
return getEJBDottedName(j2eeAppName, moduleName, ejbName) + DELIMITER + MonitoredObjectType.TIMERS;
|
static java.lang.String | getTransactionServiceDottedName()
return getInstanceName() + DELIMITER + MonitoredObjectType.TRANSACTION_SERVICE;
|
static java.lang.String | getWebAppsVirtualServerDottedName(java.lang.String app, java.lang.String module, java.lang.String vs)
vs = DottedName.escapePart(vs);
if(app == null){
return getStandAloneWebModuleDottedName(module) + DELIMITER + vs;
}
return getAppModuleDottedName(app, module) + DELIMITER + vs;
|
static java.lang.String | getWebServiceAggregateStatsInEjbDottedName(java.lang.String endpointName, java.lang.String moduleName, java.lang.String j2eeAppName)
return getWebServiceInEjbDottedName(j2eeAppName,moduleName,
endpointName) + DELIMITER + MonitoredObjectType.WEBSERVICE_ENDPOINT;
|
static java.lang.String | getWebServiceAggregateStatsInWebDottedName(java.lang.String endpointName, java.lang.String moduleName, java.lang.String j2eeAppName)
return getWebServiceInWebDottedName(j2eeAppName,moduleName,
endpointName) + DELIMITER + MonitoredObjectType.WEBSERVICE_ENDPOINT;
|
static java.lang.String | getWebServiceInEjbDottedName(java.lang.String app, java.lang.String module, java.lang.String endpoint)
endpoint = DottedName.escapePart(endpoint);
if(app == null){
return getStandAloneEJBModuleDottedName(module) + DELIMITER +
endpoint;
}
return getAppModuleDottedName(app, module) + DELIMITER + endpoint;
|
static java.lang.String | getWebServiceInWebDottedName(java.lang.String app, java.lang.String module, java.lang.String endpoint)
endpoint = DottedName.escapePart(endpoint);
if(app == null){
return getStandAloneWebModuleDottedName(module) + DELIMITER +
endpoint;
}
return getAppModuleDottedName(app, module) + DELIMITER + endpoint;
|