open static fun getInstance(objectName: Any): ObjectName
Retrieve the ObjectName instance corresponding to the supplied name.
objectName - the ObjectName in ObjectName or String format
MalformedObjectNameException - in case of an invalid object name specification
Return
the ObjectName instance
See Also
ObjectName#ObjectName(String)ObjectName#getInstance(String)
open static fun getInstance(objectName: String): ObjectName
Retrieve the ObjectName instance corresponding to the supplied name.
objectName - the ObjectName in String format
MalformedObjectNameException - in case of an invalid object name specification
Return
the ObjectName instance
See Also
ObjectName#ObjectName(String)ObjectName#getInstance(String)
open static fun getInstance(domainName: String, key: String, value: String): ObjectName
Retrieve an ObjectName instance for the specified domain and a single property with the supplied key and value.
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
MalformedObjectNameException - in case of an invalid object name specification
Return
the ObjectName instance
See Also
ObjectName#ObjectName(String, String, String)ObjectName#getInstance(String, String, String)
open static fun getInstance(domainName: String, properties: Hashtable<String, String>): ObjectName
Retrieve an ObjectName instance with the specified domain name and the supplied key/name properties.
domainName - the domain name for the ObjectName
properties - the properties for the ObjectName
MalformedObjectNameException - in case of an invalid object name specification
Return
the ObjectName instance
See Also
ObjectName#ObjectName(String, java.util.Hashtable)ObjectName#getInstance(String, java.util.Hashtable)