Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`PredefinedObjectNameFactory()`

Method Summary
`ObjectName` | `create(Object key, DynamicMBean mBean)` Return the `key` if it is an `ObjectName`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PredefinedObjectNameFactory

    public PredefinedObjectNameFactory()

Method Detail

### 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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 Codehaus. All Rights Reserved.