org.objectweb.easybeans.deployer.management
Class DeployerIdentifier

java.lang.Object
  extended by org.objectweb.easybeans.management.CommonsManagementIdentifier<IDeployer>
      extended by org.objectweb.easybeans.deployer.management.DeployerIdentifier
All Implemented Interfaces:
EZBManagementIdentifier<IDeployer>

public class DeployerIdentifier
extends CommonsManagementIdentifier<IDeployer>

Generates an ObjectName for an EJB3Deployer MBean.

Author:
Guillaume Sauthier

Field Summary
private static java.lang.String TYPE
          JMX MBean Type.
 
Constructor Summary
DeployerIdentifier()
           
 
Method Summary
 java.lang.String getAdditionnalProperties(IDeployer instance)
          
 java.lang.String getDomain()
          
 java.lang.String getNamePropertyValue(IDeployer instance)
          
 java.lang.String getTypeValue()
          This method has to be implemented by each EZBManagementIdentifier.
 
Methods inherited from class org.objectweb.easybeans.management.CommonsManagementIdentifier
getTypeName, getTypeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

private static final java.lang.String TYPE
JMX MBean Type.

See Also:
Constant Field Values
Constructor Detail

DeployerIdentifier

public DeployerIdentifier()
Method Detail

getAdditionnalProperties

public java.lang.String getAdditionnalProperties(IDeployer instance)

Parameters:
instance - Managed instance from which the additionnal properties will be extracted.
Returns:
Returns a comma separated(,) list of properties (name=value)

getDomain

public java.lang.String getDomain()

Returns:
Returns the JMX Domain name of the MBean.

getNamePropertyValue

public java.lang.String getNamePropertyValue(IDeployer instance)

Parameters:
instance - Managed instance from which the name will be extracted.
Returns:
Returns the ObjectName 'name' property value.

getTypeValue

public java.lang.String getTypeValue()
This method has to be implemented by each EZBManagementIdentifier.

Returns:
Returns the type value. (example : J2EEServer)