org.objectweb.easybeans.management
Class CommonsManagementIdentifier<T>

java.lang.Object
  extended by org.objectweb.easybeans.management.CommonsManagementIdentifier<T>
Type Parameters:
T - Managed Type
All Implemented Interfaces:
EZBManagementIdentifier<T>
Direct Known Subclasses:
RemoteDeployerIdentifier

public abstract class CommonsManagementIdentifier<T>
extends java.lang.Object
implements EZBManagementIdentifier<T>

Commons EZBManagementIdentifier.

Author:
Guillaume Sauthier

Constructor Summary
CommonsManagementIdentifier()
           
 
Method Summary
 java.lang.String getTypeName()
          
 java.lang.String getTypeProperty()
          May differ if JSR77 MBean or "normal" MBean.
A JSR77 MBean has j2eeType=XX, but a "normal" MBean has type=YY.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.easybeans.api.jmx.EZBManagementIdentifier
getAdditionnalProperties, getDomain, getNamePropertyValue, getTypeValue
 

Constructor Detail

CommonsManagementIdentifier

public CommonsManagementIdentifier()
Method Detail

getTypeName

public java.lang.String getTypeName()

Specified by:
getTypeName in interface EZBManagementIdentifier<T>
Returns:
Returns the 'type' property name : j2eeType for JSR 77 and type for others.

getTypeProperty

public java.lang.String getTypeProperty()
May differ if JSR77 MBean or "normal" MBean.
A JSR77 MBean has j2eeType=XX, but a "normal" MBean has type=YY. Will probably be implemented by an abstract class.

Specified by:
getTypeProperty in interface EZBManagementIdentifier<T>
Returns:
Returns the type=type_name couple.