org.mc4j.ems.impl.jmx.connection.bean
Class DMBean
java.lang.Object
org.mc4j.ems.impl.jmx.connection.bean.DMBean
- Direct Known Subclasses:
- DAdvancedBean
public class DMBean
- extends java.lang.Object
- Version:
- $Revision: 1.5 $($Author: ghinkl $ / $Date: 2006/05/22 02:38:52 $)
- Author:
- Greg Hinkle (ghinkle@users.sourceforge.net), Apr 4, 2005
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
connectionProvider
protected AbstractConnectionProvider connectionProvider
objectName
protected javax.management.ObjectName objectName
beanName
protected EmsBeanName beanName
deleted
protected boolean deleted
failures
protected java.util.List<java.lang.Throwable> failures
hasUnsupportedType
protected boolean hasUnsupportedType
DMBean
public DMBean(AbstractConnectionProvider connectionProvider,
javax.management.ObjectName objectName)
getObjectName
public javax.management.ObjectName getObjectName()
getBeanName
public EmsBeanName getBeanName()
getConnectionProvider
public AbstractConnectionProvider getConnectionProvider()
getFailures
public java.util.List<java.lang.Throwable> getFailures()
registerFailure
protected void registerFailure(java.lang.Throwable t)
isHasUnsupportedType
public boolean isHasUnsupportedType()
isNotificationEmiter
public boolean isNotificationEmiter()
getProxy
public <T> T getProxy(java.lang.Class<T> beanInterface)
- Parameters:
beanInterface -
loadSynchronous
public void loadSynchronous()
- Loads local representations of attributes, operations and notifications.
Current attribute values are not retrived.
isRegistered
public boolean isRegistered()
getAttribute
public EmsAttribute getAttribute(java.lang.String name)
getAttributes
public java.util.SortedSet<EmsAttribute> getAttributes()
refreshAttributes
public java.util.List<EmsAttribute> refreshAttributes()
refreshAttributes
public java.util.List<EmsAttribute> refreshAttributes(java.util.List<java.lang.String> attributeNames)
getClassTypeName
public java.lang.String getClassTypeName()
findType
public static java.lang.Class findType(java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getClassType
public java.lang.Class getClassType()
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getOperation
public EmsOperation getOperation(java.lang.String name)
getOperations
public java.util.SortedSet<EmsOperation> getOperations()
getNotification
public EmsNotification getNotification(java.lang.String name)
getNotifications
public java.util.SortedSet<EmsNotification> getNotifications()
unregister
public void unregister()
getMBeanInfo
protected javax.management.MBeanInfo getMBeanInfo()
compareTo
public int compareTo(java.lang.Object o)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object