mx4j.server
Interface MBeanMetaData


public interface MBeanMetaData

Objects of this class hold metadata information about MBeans.

Version:
$Revision: 1.8 $
See Also:
MBeanMetaData.Factory

Nested Class Summary
static class MBeanMetaData.Factory
          Factory class that creates instance of the MBeanMetaData interface.
 
Method Summary
 java.lang.ClassLoader getClassLoader()
          Returns the classloader for the MBean
 java.lang.Object getMBean()
          Returns the MBean instance
 javax.management.MBeanInfo getMBeanInfo()
          Returns the MBeanInfo of the MBean
 java.lang.Class getMBeanInterface()
          Returns the management interface of the standard MBean
 MBeanInvoker getMBeanInvoker()
          Returns the MBeanInvoker of the standard MBean
 javax.management.ObjectInstance getObjectInstance()
          Returns the ObjectInstance of the MBean
 javax.management.ObjectName getObjectName()
          Returns the ObjectName of the MBean
 boolean isMBeanDynamic()
          Returns whether the MBean is dynamic
 boolean isMBeanStandard()
          Returns whether the MBean is standard
 void setClassLoader(java.lang.ClassLoader loader)
          Sets the classloader for the MBean
 void setMBean(java.lang.Object mbean)
          Sets the MBean instance
 void setMBeanDynamic(boolean value)
          Sets whether the MBean is dynamic
 void setMBeanInfo(javax.management.MBeanInfo info)
          Sets the MBeanInfo of the MBean
 void setMBeanInterface(java.lang.Class management)
          Sets the management interface of the standard MBean
 void setMBeanInvoker(MBeanInvoker invoker)
          Sets the MBeanInvoker of the standard MBean
 void setMBeanStandard(boolean value)
          Sets whether the MBean is standard
 void setObjectName(javax.management.ObjectName name)
          Sets the ObjectName of the MBean
 

Method Detail

setMBean

public void setMBean(java.lang.Object mbean)
Sets the MBean instance

See Also:
getMBean()

getMBean

public java.lang.Object getMBean()
Returns the MBean instance

See Also:
setMBean(java.lang.Object)

setClassLoader

public void setClassLoader(java.lang.ClassLoader loader)
Sets the classloader for the MBean

See Also:
getClassLoader()

getClassLoader

public java.lang.ClassLoader getClassLoader()
Returns the classloader for the MBean

See Also:
setClassLoader(java.lang.ClassLoader)

setObjectName

public void setObjectName(javax.management.ObjectName name)
Sets the ObjectName of the MBean

See Also:
getObjectName()

getObjectName

public javax.management.ObjectName getObjectName()
Returns the ObjectName of the MBean

See Also:
setObjectName(javax.management.ObjectName)

setMBeanInfo

public void setMBeanInfo(javax.management.MBeanInfo info)
Sets the MBeanInfo of the MBean

See Also:
getMBeanInfo()

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Returns the MBeanInfo of the MBean

See Also:
setMBeanInfo(javax.management.MBeanInfo)

setMBeanInterface

public void setMBeanInterface(java.lang.Class management)
Sets the management interface of the standard MBean

See Also:
getMBeanInterface()

getMBeanInterface

public java.lang.Class getMBeanInterface()
Returns the management interface of the standard MBean

See Also:
setMBeanInterface(java.lang.Class)

setMBeanStandard

public void setMBeanStandard(boolean value)
Sets whether the MBean is standard

See Also:
isMBeanStandard()

isMBeanStandard

public boolean isMBeanStandard()
Returns whether the MBean is standard

See Also:
setMBeanStandard(boolean)

setMBeanDynamic

public void setMBeanDynamic(boolean value)
Sets whether the MBean is dynamic

See Also:
isMBeanDynamic()

isMBeanDynamic

public boolean isMBeanDynamic()
Returns whether the MBean is dynamic

See Also:
setMBeanDynamic(boolean)

setMBeanInvoker

public void setMBeanInvoker(MBeanInvoker invoker)
Sets the MBeanInvoker of the standard MBean

See Also:
getMBeanInvoker()

getMBeanInvoker

public MBeanInvoker getMBeanInvoker()
Returns the MBeanInvoker of the standard MBean

See Also:
getMBeanInvoker()

getObjectInstance

public javax.management.ObjectInstance getObjectInstance()
Returns the ObjectInstance of the MBean

See Also:
getMBeanInfo(), getObjectName()


Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.