com.caucho.jmx
Class MBeanConfig

java.lang.Object
  extended by com.caucho.jmx.MBeanConfig

public class MBeanConfig
extends java.lang.Object

Configuration for the mbean pattern.


Nested Class Summary
 class MBeanConfig.Init
           
 class MBeanConfig.Listener
           
 
Constructor Summary
MBeanConfig()
           
 
Method Summary
 void addArg(ConfigProgram builder)
          Adds an argument.
 MBeanConfig.Init createInit()
           
 MBeanConfig.Listener createListener()
           
 java.lang.String getJndiName()
          Gets the JNDI name
 java.lang.Class getMBeanClass()
          Gets the type;
 java.lang.String getName()
          Gets the mbean name
 void init()
          Initialize the resource.
 void setInterface(java.lang.Class cl)
          Sets the class
 void setJndiName(java.lang.String name)
          Sets the JNDI name
 void setName(java.lang.String name)
          Sets the mbean name
 void setType(java.lang.Class mbeanClass)
          Sets the class
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanConfig

public MBeanConfig()
Method Detail

setJndiName

public void setJndiName(java.lang.String name)
Sets the JNDI name


getJndiName

public java.lang.String getJndiName()
Gets the JNDI name


setName

public void setName(java.lang.String name)
Sets the mbean name


getName

public java.lang.String getName()
Gets the mbean name


setType

public void setType(java.lang.Class mbeanClass)
Sets the class


getMBeanClass

public java.lang.Class getMBeanClass()
Gets the type;


setInterface

public void setInterface(java.lang.Class cl)
Sets the class


addArg

public void addArg(ConfigProgram builder)
Adds an argument.


init

public void init()
          throws java.lang.Throwable
Initialize the resource.

Throws:
java.lang.Throwable

createInit

public MBeanConfig.Init createInit()

createListener

public MBeanConfig.Listener createListener()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object