org.objectweb.easybeans.deployer.management
Class RemoteDeployerIdentifier

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

public class RemoteDeployerIdentifier
extends CommonsManagementIdentifier<IRemoteDeployer>

Generates an ObjectName for an EasyBeans Deployer MBean.

Author:
Guillaume Sauthier

Field Summary
private static java.lang.String TYPE
          JMX MBean Type.
 
Constructor Summary
RemoteDeployerIdentifier()
           
 
Method Summary
 java.lang.String getAdditionnalProperties(IRemoteDeployer instance)
          
 java.lang.String getDomain()
          
 java.lang.String getNamePropertyValue(IRemoteDeployer 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

RemoteDeployerIdentifier

public RemoteDeployerIdentifier()
Method Detail

getAdditionnalProperties

public java.lang.String getAdditionnalProperties(IRemoteDeployer 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(IRemoteDeployer 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)