クラス org.objectweb.cjdbc.common.jmx.JmxConstants

すべてのメンバ一覧

説明

This class contains static information on the jmx services.

作者:
Nicolas Modrzyk
バージョン:
1.0

JmxConstants.java35 行で定義されています。

Static Public メソッド

ObjectName getJmxObjectName (String name, String type)
ObjectName getControllerObjectName ()
ObjectName getVirtualDbObjectName (String name)
ObjectName getDataCollectorObjectName ()
ObjectName getDatabaseBackendObjectName (String vdbName, String name)
ObjectName getVirtualDbObjectNameFromBackend (ObjectName backend)

Static Public 変数

final boolean DEBUG = false
final boolean KEEP_CONNECTION_ALIVE = true
final String JMX_DEFAULT_DOMAIN_NAME = "jmx"
final String JMX_DEFAULT_MBEAN_TYPE = "mbean"
final String JndiName = "jrmp"
final String DEFAULT_JMX_AGENT_NAME = "default"
final String ADAPTOR_TYPE_RMI = "rmiAdaptor"
final String CONNECTOR_RMI_SSL = "jmx.rmi.ssl"
final String ADAPTOR_TYPE_HTTP = "httpAdaptor"
final String CONNECTOR_AUTH_USERNAME = "jmx.auth.username"
final String CONNECTOR_AUTH_PASSWORD = "jmx.auth.password"
final int DEFAULT_JMX_RMI_PORT = 1090
final int DEFAULT_JMX_HTTP_PORT = 8090
final String CJDBC_DOMAIN_NAME = "c-jdbc"
final String CJDBC_TYPE_CONTROLLER = "controller"
final String CJDBC_TYPE_VIRTUALDATABASE = "virtualdatabase"
final String CJDBC_TYPE_DATACOLLECTOR = "datacollector"
final String CJDBC_TYPE_BACKEND = "backend"


メソッド

ObjectName org.objectweb.cjdbc.common.jmx.JmxConstants.getControllerObjectName  )  [static]
 

Get the associated controller object name

戻り値:
c-jdbc:type:=<controller>:name:=<name>
JmxConstants.java118 行で定義されています。

参照先 org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_CONTROLLER, と org.objectweb.cjdbc.common.jmx.JmxConstants.getJmxObjectName().

00119 { 00120 return getJmxObjectName(CJDBC_TYPE_CONTROLLER, CJDBC_TYPE_CONTROLLER); 00121 }

ObjectName org.objectweb.cjdbc.common.jmx.JmxConstants.getDatabaseBackendObjectName String  vdbName,
String  name
[static]
 

Get the associated data collector object name

引数:
vdbName name of the virtual database
name name of the backend
戻り値:
c-jdbc:type:=<datacollector>:name:=<name>
JmxConstants.java151 行で定義されています。

参照先 org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_BACKEND, と org.objectweb.cjdbc.common.jmx.JmxConstants.getJmxObjectName().

00153 { 00154 return getJmxObjectName(vdbName + "--" + name, CJDBC_TYPE_BACKEND); 00155 }

ObjectName org.objectweb.cjdbc.common.jmx.JmxConstants.getDataCollectorObjectName  )  [static]
 

Get the associated data collector object name

戻り値:
c-jdbc:type:=<datacollector>:name:=<name>
JmxConstants.java139 行で定義されています。

参照先 org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_DATACOLLECTOR, と org.objectweb.cjdbc.common.jmx.JmxConstants.getJmxObjectName().

00140 { 00141 return getJmxObjectName(CJDBC_TYPE_DATACOLLECTOR, CJDBC_TYPE_DATACOLLECTOR); 00142 }

ObjectName org.objectweb.cjdbc.common.jmx.JmxConstants.getJmxObjectName String  name,
String  type
[static]
 

Get the associated jmx object name

引数:
name the name of the mbean
type the c-jdbc type of the mbean
戻り値:
the associated object name, no exception is thrown as the object name calculated is always valid ex; c-jdbc:type:=<type>:name:=<name>
JmxConstants.java98 行で定義されています。

参照先 org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_DOMAIN_NAME.

参照元 org.objectweb.cjdbc.common.jmx.JmxConstants.getControllerObjectName(), org.objectweb.cjdbc.common.jmx.JmxConstants.getDatabaseBackendObjectName(), org.objectweb.cjdbc.common.jmx.JmxConstants.getDataCollectorObjectName(), org.objectweb.cjdbc.common.jmx.JmxConstants.getVirtualDbObjectName(), と org.objectweb.cjdbc.common.jmx.JmxConstants.getVirtualDbObjectNameFromBackend().

00099 { 00100 try 00101 { 00102 return new ObjectName(CJDBC_DOMAIN_NAME + ":type=" + type + ",name=" 00103 + name); 00104 } 00105 catch (Exception e) 00106 { 00107 e.printStackTrace(); 00108 //impossible? 00109 return null; 00110 } 00111 }

ObjectName org.objectweb.cjdbc.common.jmx.JmxConstants.getVirtualDbObjectName String  name  )  [static]
 

Get the associated virtualdatabase object name

引数:
name the name of the virtualdatabase
戻り値:
c-jdbc:type:=<virtualdatabase>:name:=<name>
JmxConstants.java129 行で定義されています。

参照先 org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_VIRTUALDATABASE, と org.objectweb.cjdbc.common.jmx.JmxConstants.getJmxObjectName().

00130 { 00131 return getJmxObjectName(name, CJDBC_TYPE_VIRTUALDATABASE); 00132 }

ObjectName org.objectweb.cjdbc.common.jmx.JmxConstants.getVirtualDbObjectNameFromBackend ObjectName  backend  )  [static]
 

Retrieve the owning database objectname of this backend's objectname

引数:
backend the objectname of the backend
戻り値:
the objectname of the owning database.
JmxConstants.java163 行で定義されています。

参照先 org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_VIRTUALDATABASE, と org.objectweb.cjdbc.common.jmx.JmxConstants.getJmxObjectName().

00164 { 00165 String name = backend.toString(); 00166 int ind1 = name.indexOf("name=") + 5; 00167 int ind2 = name.indexOf("--", ind1); 00168 String vdbName = name.substring(ind1, ind2); 00169 return getJmxObjectName(vdbName, CJDBC_TYPE_VIRTUALDATABASE); 00170 }


変数

final String org.objectweb.cjdbc.common.jmx.JmxConstants.ADAPTOR_TYPE_HTTP = "httpAdaptor" [static]
 

Http adaptor JmxConstants.java61 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.ADAPTOR_TYPE_RMI = "rmiAdaptor" [static]
 

RMI Adaptor JmxConstants.java55 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_DOMAIN_NAME = "c-jdbc" [static]
 

This is in the xsl transformation file, so we should leave as is. Other domain are filtered. JmxConstants.java78 行で定義されています。

参照元 org.objectweb.cjdbc.common.jmx.JmxConstants.getJmxObjectName().

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_BACKEND = "backend" [static]
 

the backend mbean type JmxConstants.java87 行で定義されています。

参照元 org.objectweb.cjdbc.common.jmx.JmxConstants.getDatabaseBackendObjectName().

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_CONTROLLER = "controller" [static]
 

the controller mbean type JmxConstants.java81 行で定義されています。

参照元 org.objectweb.cjdbc.common.jmx.JmxConstants.getControllerObjectName().

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_DATACOLLECTOR = "datacollector" [static]
 

the data collector mbean type JmxConstants.java85 行で定義されています。

参照元 org.objectweb.cjdbc.common.jmx.JmxConstants.getDataCollectorObjectName().

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CJDBC_TYPE_VIRTUALDATABASE = "virtualdatabase" [static]
 

the virtual database mbean type JmxConstants.java83 行で定義されています。

参照元 org.objectweb.cjdbc.common.jmx.JmxConstants.getVirtualDbObjectName(), と org.objectweb.cjdbc.common.jmx.JmxConstants.getVirtualDbObjectNameFromBackend().

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CONNECTOR_AUTH_PASSWORD = "jmx.auth.password" [static]
 

jmx authenticator password JmxConstants.java66 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CONNECTOR_AUTH_USERNAME = "jmx.auth.username" [static]
 

jmx authenticator username JmxConstants.java64 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.CONNECTOR_RMI_SSL = "jmx.rmi.ssl" [static]
 

ssl config for rmi JmxConstants.java58 行で定義されています。

final boolean org.objectweb.cjdbc.common.jmx.JmxConstants.DEBUG = false [static]
 

Overall Debug tag for Jmx calls JmxConstants.java38 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.DEFAULT_JMX_AGENT_NAME = "default" [static]
 

The default jmx name for the agent to connect to JmxConstants.java52 行で定義されています。

final int org.objectweb.cjdbc.common.jmx.JmxConstants.DEFAULT_JMX_HTTP_PORT = 8090 [static]
 

Default JMX server HTTP adaptor port value. JmxConstants.java72 行で定義されています。

final int org.objectweb.cjdbc.common.jmx.JmxConstants.DEFAULT_JMX_RMI_PORT = 1090 [static]
 

Default RMI port number value. JmxConstants.java69 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.JMX_DEFAULT_DOMAIN_NAME = "jmx" [static]
 

Default domain name for JMX JmxConstants.java44 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.JMX_DEFAULT_MBEAN_TYPE = "mbean" [static]
 

Default Jmx type JmxConstants.java46 行で定義されています。

final String org.objectweb.cjdbc.common.jmx.JmxConstants.JndiName = "jrmp" [static]
 

Reference name for Jndi JmxConstants.java49 行で定義されています。

final boolean org.objectweb.cjdbc.common.jmx.JmxConstants.KEEP_CONNECTION_ALIVE = true [static]
 

Keep connection alive ? JmxConstants.java41 行で定義されています。


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:09 2004に生成されました。 doxygen 1.3.8