org.picocontainer.gems.jmx
Class PredefinedObjectNameFactory
java.lang.Object
org.picocontainer.gems.jmx.PredefinedObjectNameFactory
- All Implemented Interfaces:
- ObjectNameFactory
public class PredefinedObjectNameFactory
- extends Object
- implements ObjectNameFactory
An ObjectNameFactory, that uses the key of the Pico component as ObjectName
, if the key is of this type.
- Author:
- Jörg Schaible
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PredefinedObjectNameFactory
public PredefinedObjectNameFactory()
create
public ObjectName create(Object key,
DynamicMBean mBean)
- Return the
key
if it is an ObjectName
.
- Specified by:
create
in interface ObjectNameFactory
- Parameters:
key
- The key of the component within PicoContainer.mBean
- The instance of the DynamicMBean.
- Returns:
- Returns the Object Name for the DynamicMBean.
- See Also:
ObjectNameFactory.create(java.lang.Object, javax.management.DynamicMBean)
Copyright © 2003-2010 Codehaus. All Rights Reserved.