org.springframework.jmx.support
Class ObjectNameManager
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectNameManager
public ObjectNameManager()
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.