|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.management.ObjectName
weblogic.management.WebLogicObjectName
Deprecated. 9.0.0.0
public final class WebLogicObjectName
WebLogicObjectName is being eliminated in future versions. The JMX 1.2 implementation requires that instance javax.management.ObjectName are cloned as they are passed through the JMX APIs to eliminate the subclassing of ObjectName. As a result the usefulness of this class is greatly diminished. As such it is eliminated in the enhanced JMX implementation and customers are encouraged to discontinue its use.
The WebLogic Server Management API distinguishes between three types of MBeans:
Administration, Configuration and Runtime MBeans. For details on different MBean types @link WebLogicMBean
All MBeans have a name, a type and a domain. These attributes are reflected in the MBean's Object Name. The Object Name is the unique identifier for a given MBean across all domains, and has the following structure:
mydomain:Name=name,Type=type[,attr=value]...
Name is a name that is unique for a given domain and a given type. Examples of type include Server, WebComponent or JDBCConnectionPoolRuntime. Type is also used to distinguish between an administration and config MBean of a given type for example, the value of Type for a Server MBean is:
'Server' for an Administration MBean 'ServerConfig' for a Configuration MBean 'ServerRuntime' for a Runtime MBean
NOTE
1. "MBean" suffix is removed from the MBean interface name to get the base type of an MBean. Config or Runtime suffices are added to the base name (Server) to distinguish configuration and runtime MBeans from administration MBeans.
2. Specific MBean types have additional components. All runtime and configuration MBeans have a Location component that contains the name of the server on which that MBean is instantiated as its value.
For example: mydomain:Name=myServlet,Type=ServletRuntime,Location=myserver
Any MBean which has a child relationship with another MBean, has an extra attribute in its object name in the following format: TypeOfParentMBean=NameOfParentMBean. The following example objectname shows an administration LogMBean whose parent is a ServerMBean. Server is the type of Parent MBean, and myserver is the name of the Parent MBean:
mydomain:Name=mylog,Type=Log,Server=myserver
In otherwords anything that is not Name=,Type=,Location= indicates the parent relatinship.
WebLogicMBean
, Serialized FormField Summary | |
---|---|
static String |
LOCATION Deprecated. The key for the location component of a WebLogic ObjectName. |
static String |
NAME Deprecated. The key for the simple name component of a WebLogic ObjectName |
static String |
TYPE Deprecated. The key for the type component of a WebLogic ObjectName |
static String |
WEBLOGIC Deprecated. The WebLogic domain |
Fields inherited from class javax.management.ObjectName |
---|
WILDCARD |
Method Summary | |
---|---|
static void |
addTypeAndParents(String type, String[] parent) Deprecated. |
static String |
extractDomain(String fullWebLogicObjectName) Deprecated. Strip out the name component of a stringified WeblogicObjectName |
String |
getLocation() Deprecated. Gets the location attribute of the WebLogicObjectName object |
String |
getName() Deprecated. Gets the name attribute of the WebLogicObjectName object |
String |
getType() Deprecated. Gets the type attribute of the WebLogicObjectName object |
int |
hashCode() Deprecated. Calculate the hash code for the Name. |
boolean |
isAdmin() Deprecated. Gets the admin attribute of the WebLogicObjectName object |
static boolean |
isAdmin(ObjectName objectName) Deprecated. Gets the admin attribute of the WebLogicObjectName class |
boolean |
isConfig() Deprecated. Gets the config attribute of the WebLogicObjectName object |
static boolean |
isConfig(ObjectName objectName) Deprecated. Gets the config attribute of the WebLogicObjectName class |
boolean |
isRuntime() Deprecated. Gets the runtime attribute of the WebLogicObjectName object |
static boolean |
isRuntime(ObjectName objectName) Deprecated. Gets the runtime attribute of the WebLogicObjectName class |
Methods inherited from class javax.management.ObjectName |
---|
apply, compareTo, equals, getCanonicalKeyPropertyListString, getCanonicalName, getDomain, getInstance, getInstance, getInstance, getInstance, getKeyProperty, getKeyPropertyList, getKeyPropertyListString, isDomainPattern, isPattern, isPropertyListPattern, isPropertyPattern, isPropertyValuePattern, isPropertyValuePattern, quote, setMBeanServer, toString, unquote |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String WEBLOGIC
public static final String NAME
public static final String TYPE
public static final String LOCATION
Method Detail |
---|
public static boolean isAdmin(ObjectName objectName)
objectName
-public static boolean isConfig(ObjectName objectName)
objectName
-public static boolean isRuntime(ObjectName objectName)
objectName
-public static String extractDomain(String fullWebLogicObjectName) throws MalformedObjectNameException
fullWebLogicObjectName
-MalformedObjectNameException
public String getName()
public String getType()
public String getLocation()
public boolean isAdmin()
public boolean isConfig()
public boolean isRuntime()
public int hashCode()
hashCode
in class ObjectName
public static void addTypeAndParents(String type, String[] parent)
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |