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

ClassLoader
getClassLoader()
Returns the classloader for the MBean
Object
getMBean()
Returns the MBean instance
javax.management.MBeanInfo
getMBeanInfo()
Returns the MBeanInfo of the MBean
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(ClassLoader loader)
Sets the classloader for the MBean
void
setMBean(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(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 Details

getClassLoader

public ClassLoader getClassLoader()
Returns the classloader for the MBean

getMBean

public Object getMBean()
Returns the MBean instance

getMBeanInfo

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

getMBeanInterface

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

getMBeanInvoker

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

getObjectInstance

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

getObjectName

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

isMBeanDynamic

public boolean isMBeanDynamic()
Returns whether the MBean is dynamic

isMBeanStandard

public boolean isMBeanStandard()
Returns whether the MBean is standard

setClassLoader

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

setMBean

public void setMBean(Object mbean)
Sets the MBean instance

setMBeanDynamic

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

setMBeanInfo

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

setMBeanInterface

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

setMBeanInvoker

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

setMBeanStandard

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

setObjectName

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

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