public class TypedObjectNameFactory extends AbstractObjectNameFactory
DynamicMBean implementation to register. The value of the
type is the name of the implementation class without the package name.| Constructor and Description |
|---|
TypedObjectNameFactory()
Construct a TypedObjectNameFactory using the default domain.
|
TypedObjectNameFactory(String domain)
Construct a TypedObjectNameFactory with a predefined domain.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectName |
create(Object key,
DynamicMBean mBean)
Create an
ObjectName with the class name of the MBean implementation as key type. |
getDomainpublic TypedObjectNameFactory()
TypedObjectNameFactory(null) is
equivalent.public TypedObjectNameFactory(String domain)
domain - The domain.public ObjectName create(Object key, DynamicMBean mBean) throws MalformedObjectNameException
ObjectName with the class name of the MBean implementation as key type.key - The key of the component within PicoContainer.mBean - The instance of the DynamicMBean.MalformedObjectNameException - Thrown for an invalid part in the ObjectName.ObjectNameFactory.create(java.lang.Object, javax.management.DynamicMBean)Copyright © 2003-2014 Codehaus. All Rights Reserved.