public interface

ObjectNamingStrategy

org.springframework.jmx.export.naming.ObjectNamingStrategy
Known Indirect Subclasses

Class Overview

Strategy interface that encapsulates the creation of ObjectName instances.

Used by the MBeanExporter to obtain ObjectNames when registering beans.

Summary

Public Methods
abstract ObjectName getObjectName(Object managedBean, String beanKey)
Obtain an ObjectName for the supplied bean.

Public Methods

public abstract ObjectName getObjectName (Object managedBean, String beanKey)

Obtain an ObjectName for the supplied bean.

Parameters
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
Returns
  • the ObjectName instance
Throws
MalformedObjectNameException if the resulting ObjectName is invalid