Skip navigation links

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


weblogic.management
Class WebLogicObjectName

java.lang.Object
  extended by javax.management.ObjectName
      extended by weblogic.management.WebLogicObjectName

All Implemented Interfaces:
Serializable, Comparable<ObjectName>, QueryExp

Deprecated. 9.0.0.0

public final class WebLogicObjectName
extends ObjectName

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.

See Also:
WebLogicMBean, Serialized Form

Field 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

WEBLOGIC

public static final String WEBLOGIC
Deprecated. 
The WebLogic domain
See Also:
Constant Field Values

NAME

public static final String NAME
Deprecated. 
The key for the simple name component of a WebLogic ObjectName
See Also:
Constant Field Values

TYPE

public static final String TYPE
Deprecated. 
The key for the type component of a WebLogic ObjectName
See Also:
Constant Field Values

LOCATION

public static final String LOCATION
Deprecated. 
The key for the location component of a WebLogic ObjectName. This is the simple name of the server (i.e. myserver) on which MBean lives.
See Also:
Constant Field Values

Method Detail

isAdmin

public static boolean isAdmin(ObjectName objectName)
Deprecated. 
Gets the admin attribute of the WebLogicObjectName class
Parameters:
objectName -
Returns:
The admin value

isConfig

public static boolean isConfig(ObjectName objectName)
Deprecated. 
Gets the config attribute of the WebLogicObjectName class
Parameters:
objectName -
Returns:
The config value

isRuntime

public static boolean isRuntime(ObjectName objectName)
Deprecated. 
Gets the runtime attribute of the WebLogicObjectName class
Parameters:
objectName -
Returns:
The runtime value

extractDomain

public static String extractDomain(String fullWebLogicObjectName)
                            throws MalformedObjectNameException
Deprecated. 
Strip out the name component of a stringified WeblogicObjectName
Parameters:
fullWebLogicObjectName -
Throws:
MalformedObjectNameException

getName

public String getName()
Deprecated. 
Gets the name attribute of the WebLogicObjectName object
Returns:
The name value

getType

public String getType()
Deprecated. 
Gets the type attribute of the WebLogicObjectName object
Returns:
The type value

getLocation

public String getLocation()
Deprecated. 
Gets the location attribute of the WebLogicObjectName object
Returns:
The location value

isAdmin

public boolean isAdmin()
Deprecated. 
Gets the admin attribute of the WebLogicObjectName object
Returns:
The admin value

isConfig

public boolean isConfig()
Deprecated. 
Gets the config attribute of the WebLogicObjectName object
Returns:
The config value

isRuntime

public boolean isRuntime()
Deprecated. 
Gets the runtime attribute of the WebLogicObjectName object
Returns:
The runtime value

hashCode

public int hashCode()
Deprecated. 
Calculate the hash code for the Name.
Overrides:
hashCode in class ObjectName

addTypeAndParents

public static void addTypeAndParents(String type,
                                     String[] parent)
Deprecated. 

Skip navigation links

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