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

See Also:
setClassLoader(ClassLoader)


getMBean

public Object getMBean()
Returns the MBean instance

See Also:
setMBean(Object)


getMBeanInfo

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

See Also:
setMBeanInfo(MBeanInfo)


getMBeanInterface

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

See Also:
setMBeanInterface(Class)


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()


getObjectName

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

See Also:
setObjectName(ObjectName)


isMBeanDynamic

public boolean isMBeanDynamic()
Returns whether the MBean is dynamic

See Also:
setMBeanDynamic(boolean)


isMBeanStandard

public boolean isMBeanStandard()
Returns whether the MBean is standard

See Also:
setMBeanStandard(boolean)


setClassLoader

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

See Also:
getClassLoader()


setMBean

public void setMBean(Object mbean)
Sets the MBean instance

See Also:
getMBean()


setMBeanDynamic

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

See Also:
isMBeanDynamic()


setMBeanInfo

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

See Also:
getMBeanInfo()


setMBeanInterface

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

See Also:
getMBeanInterface()


setMBeanInvoker

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

See Also:
getMBeanInvoker()


setMBeanStandard

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

See Also:
isMBeanStandard()


setObjectName

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

See Also:
getObjectName()


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