org.objectweb.cjdbc.controller.jmx
Class CjdbcJmxAgent

java.lang.Object
  extended byorg.objectweb.cjdbc.controller.jmx.JmxAgent
      extended byorg.objectweb.cjdbc.controller.jmx.CjdbcJmxAgent

public class CjdbcJmxAgent
extends JmxAgent

Used to separate concerns between CJDBC jmx side and the jmx itself This is the C-JDBC Controller console that allows remote administration and monitoring of any C-JDBC Controller.

Version:
1.0
Author:
Emmanuel Cecchet, Nicolas Modrzyk

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.controller.jmx.JmxAgent
adaptors, domainName, logger, server
 
Constructor Summary
CjdbcJmxAgent()
          Calls super contructor and set the domain name to cjdbc
CjdbcJmxAgent(java.lang.String hostname)
          Calls super contructor with a hostname to bind to and sets the domain name to cjdbc
 
Method Summary
 void registerMBean(java.lang.Object object)
          Register Controller or VirtualDatabase to that MBean agent
 
Methods inherited from class org.objectweb.cjdbc.controller.jmx.JmxAgent
addInterceptor, enableAdaptor, register, setDomainName, setSsl, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CjdbcJmxAgent

public CjdbcJmxAgent()
              throws java.lang.Exception
Calls super contructor and set the domain name to cjdbc

Throws:
java.lang.Exception - if fails

CjdbcJmxAgent

public CjdbcJmxAgent(java.lang.String hostname)
              throws java.lang.Exception
Calls super contructor with a hostname to bind to and sets the domain name to cjdbc

Parameters:
hostname - of the host to bind to
Throws:
java.lang.Exception - if fails
Method Detail

registerMBean

public void registerMBean(java.lang.Object object)
                   throws JmxException
Register Controller or VirtualDatabase to that MBean agent

Overrides:
registerMBean in class JmxAgent
Parameters:
object - the object to register in the mbean server
Throws:
JmxException - if fails


Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.