org.ow2.jonas.ear.internal.mbean
Class EARModuleIdentifier

java.lang.Object
  extended by org.ow2.jonas.lib.management.javaee.JSR77ManagementIdentifier<EARModule>
      extended by org.ow2.jonas.ear.internal.mbean.EARModuleIdentifier
All Implemented Interfaces:
JManagementIdentifier<EARModule>

public class EARModuleIdentifier
extends JSR77ManagementIdentifier<EARModule>

Object for managing the ObjectName of the J2EE Application MBean.

Author:
Florent BENOIT

Constructor Summary
EARModuleIdentifier()
           
 
Method Summary
 String getAdditionnalProperties(EARModule instance)
           
 String getNamePropertyValue(EARModule instance)
           
 String getTypeValue()
          This method has to be implemented by each JSR77ManagementIdentifier.
 
Methods inherited from class org.ow2.jonas.lib.management.javaee.JSR77ManagementIdentifier
getDomain, getInheritedPropertiesAsString, getJ2EEServerString, getLogger, getParentNameProperty, getServerName, getTypeName, getTypeProperty, setDomain, setServerName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EARModuleIdentifier

public EARModuleIdentifier()
Method Detail

getAdditionnalProperties

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

getNamePropertyValue

public String getNamePropertyValue(EARModule instance)
Parameters:
instance - Managed instance from which the name will be extracted.
Returns:
Returns the ObjectName 'name' property value.

getTypeValue

public String getTypeValue()
This method has to be implemented by each JSR77ManagementIdentifier.

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.