org.springframework.jmx.support
Class ObjectNameManager

java.lang.Object
  extended by org.springframework.jmx.support.ObjectNameManager

public class ObjectNameManager
extends Object

Wraps the creation of ObjectName instances and caches instances for reuse. Provides ObjectName caching to older JMX clients.

Since:
1.2
Author:
Rob Harrop

Constructor Summary
ObjectNameManager()
           
 
Method Summary
static ObjectName getInstance(String objectName)
          Retreive the ObjectName instance corresponding to the supplied name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectNameManager

public ObjectNameManager()
Method Detail

getInstance

public static ObjectName getInstance(String objectName)
                              throws MalformedObjectNameException
Retreive the ObjectName instance corresponding to the supplied name.

Parameters:
objectName - the ObjectName in String format.
Returns:
the ObjectName instance.
Throws:
MalformedObjectNameException - if the supplied name is invalid.


Copyright (c) 2002-2005 The Spring Framework Project.