| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.jmx.support.ObjectNameManager
public class ObjectNameManager
Helper class for the creation of ObjectName instances.
ObjectName.getInstance(String)| Constructor Summary | |
|---|---|
| ObjectNameManager() | |
| Method Summary | |
|---|---|
| static ObjectName | getInstance(Object objectName)Retrieve the ObjectNameinstance corresponding to the supplied name. | 
| static ObjectName | getInstance(String objectName)Retrieve the ObjectNameinstance corresponding to the supplied name. | 
| static ObjectName | getInstance(String domainName,
            Hashtable<String,String> properties)Retrieve an ObjectNameinstance with the specified domain name
 and the supplied key/name properties. | 
| static ObjectName | getInstance(String domainName,
            String key,
            String value)Retrieve an ObjectNameinstance for the specified domain and a
 single property with the supplied key and value. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ObjectNameManager()
| Method Detail | 
|---|
public static ObjectName getInstance(Object objectName)
                              throws MalformedObjectNameException
ObjectName instance corresponding to the supplied name.
objectName - the ObjectName in ObjectName or
 String format
ObjectName instance
MalformedObjectNameException - in case of an invalid object name specificationObjectName.ObjectName(String), 
ObjectName.getInstance(String)
public static ObjectName getInstance(String objectName)
                              throws MalformedObjectNameException
ObjectName instance corresponding to the supplied name.
objectName - the ObjectName in String format
ObjectName instance
MalformedObjectNameException - in case of an invalid object name specificationObjectName.ObjectName(String), 
ObjectName.getInstance(String)
public static ObjectName getInstance(String domainName,
                                     String key,
                                     String value)
                              throws MalformedObjectNameException
ObjectName instance for the specified domain and a
 single property with the supplied key and value.
domainName - the domain name for the ObjectNamekey - the key for the single property in the ObjectNamevalue - the value for the single property in the ObjectName
ObjectName instance
MalformedObjectNameException - in case of an invalid object name specificationObjectName.ObjectName(String, String, String), 
ObjectName.getInstance(String, String, String)
public static ObjectName getInstance(String domainName,
                                     Hashtable<String,String> properties)
                              throws MalformedObjectNameException
ObjectName instance with the specified domain name
 and the supplied key/name properties.
domainName - the domain name for the ObjectNameproperties - the properties for the ObjectName
ObjectName instance
MalformedObjectNameException - in case of an invalid object name specificationObjectName.ObjectName(String, java.util.Hashtable), 
ObjectName.getInstance(String, java.util.Hashtable)| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||