|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectNamingStrategy
Strategy interface that encapsulates the creation of ObjectName
instances.
Used by the MBeanExporter
to obtain ObjectName
s
when registering beans.
MBeanExporter
,
ObjectName
Method Summary | |
---|---|
javax.management.ObjectName |
getObjectName(java.lang.Object managedBean,
java.lang.String beanKey)
Obtain an ObjectName for the supplied bean. |
Method Detail |
---|
javax.management.ObjectName getObjectName(java.lang.Object managedBean, java.lang.String beanKey) throws javax.management.MalformedObjectNameException
ObjectName
for the supplied bean.
managedBean
- the bean that will be exposed under the
returned ObjectName
beanKey
- the key associated with this bean in the beans map
passed to the MBeanExporter
ObjectName
instance
javax.management.MalformedObjectNameException
- if the resulting ObjectName
is invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |