org.picocontainer.gems.jmx
Interface ObjectNameFactory

All Known Implementing Classes:
AbstractObjectNameFactory, PredefinedObjectNameFactory, TypedObjectNameFactory

public interface ObjectNameFactory

Core interface for generating ObjectName instances for a DynamicMBean.

Author:
Jörg Schaible

Method Summary
 ObjectName create(Object key, DynamicMBean mBean)
          Create an ObjectName.
 

Method Detail

create

ObjectName create(Object key,
                  DynamicMBean mBean)
                  throws MalformedObjectNameException
Create an ObjectName.

Parameters:
key - The key of the component within PicoContainer.
mBean - The instance of the DynamicMBean.
Returns:
Returns the Object Name for the DynamicMBean.
Throws:
MalformedObjectNameException - Thrown for an invalid part in the ObjectName.


Copyright © 2003-2010 Codehaus. All Rights Reserved.