Package org.springframework.jmx.support
Class ObjectNameManager
java.lang.Object
org.springframework.jmx.support.ObjectNameManager
Helper class for the creation of 
ObjectName instances.- Since:
- 1.2
- Author:
- Rob Harrop, Juergen Hoeller
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic ObjectNamegetInstance(Object objectName) Retrieve theObjectNameinstance corresponding to the supplied name.static ObjectNamegetInstance(String objectName) Retrieve theObjectNameinstance corresponding to the supplied name.static ObjectNamegetInstance(String domainName, String key, String value) Retrieve anObjectNameinstance for the specified domain and a single property with the supplied key and value.static ObjectNamegetInstance(String domainName, Hashtable<String, String> properties) Retrieve anObjectNameinstance with the specified domain name and the supplied key/name properties.
- 
Method Details- 
getInstanceRetrieve theObjectNameinstance corresponding to the supplied name.- Parameters:
- objectName- the- ObjectNamein- ObjectNameor- Stringformat
- Returns:
- the ObjectNameinstance
- Throws:
- MalformedObjectNameException- in case of an invalid object name specification
- See Also:
 
- 
getInstanceRetrieve theObjectNameinstance corresponding to the supplied name.- Parameters:
- objectName- the- ObjectNamein- Stringformat
- Returns:
- the ObjectNameinstance
- Throws:
- MalformedObjectNameException- in case of an invalid object name specification
- See Also:
 
- 
getInstancepublic static ObjectName getInstance(String domainName, String key, String value) throws MalformedObjectNameException Retrieve anObjectNameinstance for the specified domain and a single property with the supplied key and value.- Parameters:
- domainName- the domain name for the- ObjectName
- key- the key for the single property in the- ObjectName
- value- the value for the single property in the- ObjectName
- Returns:
- the ObjectNameinstance
- Throws:
- MalformedObjectNameException- in case of an invalid object name specification
- See Also:
 
- 
getInstancepublic static ObjectName getInstance(String domainName, Hashtable<String, String> properties) throws MalformedObjectNameExceptionRetrieve anObjectNameinstance with the specified domain name and the supplied key/name properties.- Parameters:
- domainName- the domain name for the- ObjectName
- properties- the properties for the- ObjectName
- Returns:
- the ObjectNameinstance
- Throws:
- MalformedObjectNameException- in case of an invalid object name specification
- See Also:
 
 
-