org.objectweb.easybeans.container.session.management
Class SessionFactoryIdentifier<T extends SessionFactory>

java.lang.Object
  extended by org.objectweb.easybeans.jsr77.JSR77ManagementIdentifier<T>
      extended by org.objectweb.easybeans.container.session.management.SessionFactoryIdentifier<T>
Type Parameters:
T - SessionFactory subclass
All Implemented Interfaces:
EZBManagementIdentifier<T>
Direct Known Subclasses:
StatefulSessionFactoryIdentifier, StatelessSessionFactoryIdentifier

public abstract class SessionFactoryIdentifier<T extends SessionFactory>
extends JSR77ManagementIdentifier<T>

Generates an ObjectName for an session factory MBean.

Author:
Guillaume Sauthier

Constructor Summary
SessionFactoryIdentifier()
           
 
Method Summary
 java.lang.String getAdditionnalProperties(T instance)
          
 java.lang.String getNamePropertyValue(T instance)
          
 
Methods inherited from class org.objectweb.easybeans.jsr77.JSR77ManagementIdentifier
getDomain, getInheritedPropertiesAsString, getLogger, getParentNameProperty, getTypeName, getTypeProperty
 
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
getTypeValue
 

Constructor Detail

SessionFactoryIdentifier

public SessionFactoryIdentifier()
Method Detail

getAdditionnalProperties

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

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