Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b34

Uses of Class
javax.management.ObjectName

Packages that use ObjectName
java.lang.management Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. 
javax.management Provides the core classes for the Java Management Extensions. 
javax.management.event Defines the Event Service, which provides extended support for JMX notifications. 
javax.management.loading Provides the classes which implement advanced dynamic loading. 
javax.management.modelmbean Provides the definition of the ModelMBean classes. 
javax.management.monitor Provides the definition of the monitor classes. 
javax.management.openmbean Provides the open data types and Open MBean descriptor classes. 
javax.management.relation Provides the definition of the Relation Service. 
javax.management.remote Interfaces for remote access to JMX MBean servers. 
javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. 
javax.management.timer Provides the definition of the Timer MBean. 
 

Uses of ObjectName in java.lang.management
 

Methods in java.lang.management that return ObjectName
 ObjectName PlatformManagedObject.getObjectName()
          Returns an ObjectName instance representing the object name of this platform managed object.
 

Uses of ObjectName in javax.management
 

Fields in javax.management declared as ObjectName
static ObjectName MBeanServerDelegate.DELEGATE_NAME
          Defines the default ObjectName of the MBeanServerDelegate.
static ObjectName ObjectName.WILDCARD
          Defines the wildcard "*:*" ObjectName.
 

Methods in javax.management that return ObjectName
static ObjectName ObjectName.getInstance(ObjectName name)
          Return an instance of ObjectName that can be used anywhere the given object can be used.
static ObjectName ObjectName.getInstance(String name)
          Return an instance of ObjectName that can be used anywhere an object obtained with new ObjectName(name) can be used.
static ObjectName ObjectName.getInstance(String domain, Hashtable<String,String> table)
          Return an instance of ObjectName that can be used anywhere an object obtained with new ObjectName(domain, table) can be used.
static ObjectName ObjectName.getInstance(String domain, String key, String value)
          Return an instance of ObjectName that can be used anywhere an object obtained with new ObjectName(domain, key, value) can be used.
 ObjectName MBeanServerNotification.getMBeanName()
          Returns the object name of the MBean that caused the notification.
 ObjectName ObjectInstance.getObjectName()
          Returns the object name part.
 ObjectName MBeanServerInvocationHandler.getObjectName()
          The name of the MBean within the MBean server to which methods are forwarded.
 ObjectName StandardMBean.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean server.
 ObjectName MBeanRegistration.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean Server.
 

Methods in javax.management that return types with arguments of type ObjectName
 Set<ObjectName> MBeanServerConnection.queryNames(ObjectName name, QueryExp query)
          Gets the names of MBeans controlled by the MBean server.
 Set<ObjectName> MBeanServer.queryNames(ObjectName name, QueryExp query)
           
 

Methods in javax.management with parameters of type ObjectName
 void MBeanServerConnection.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void MBeanServer.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void MBeanServerConnection.addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void MBeanServer.addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 ValueExp ValueExp.apply(ObjectName name)
          Applies the ValueExp on a MBean.
 ValueExp StringValueExp.apply(ObjectName name)
          Applies the ValueExp on a MBean.
 boolean QueryExp.apply(ObjectName name)
          Applies the QueryExp on an MBean.
 boolean ObjectName.apply(ObjectName name)
          Test whether this ObjectName, which may be a pattern, matches another ObjectName.
 ValueExp AttributeValueExp.apply(ObjectName name)
          Applies the AttributeValueExp on an MBean.
 int ObjectName.compareTo(ObjectName name)
          Compares two ObjectName instances.
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, Object[] params, String[] signature)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, Object[] params, String[] signature)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
          Instantiates and registers an MBean in the MBean server.
 ObjectInputStream MBeanServer.deserialize(ObjectName name, byte[] data)
          Deprecated. Use getClassLoaderFor to obtain the appropriate class loader for deserialization.
 ObjectInputStream MBeanServer.deserialize(String className, ObjectName loaderName, byte[] data)
          Deprecated. Use getClassLoader to obtain the class loader for deserialization.
protected  Object AttributeValueExp.getAttribute(ObjectName name)
          Return the value of the given attribute in the named MBean.
 Object MBeanServerConnection.getAttribute(ObjectName name, String attribute)
          Gets the value of a specific attribute of a named MBean.
 Object MBeanServer.getAttribute(ObjectName name, String attribute)
           
 AttributeList MBeanServerConnection.getAttributes(ObjectName name, String[] attributes)
          Enables the values of several attributes of a named MBean.
 AttributeList MBeanServer.getAttributes(ObjectName name, String[] attributes)
           
 ClassLoader MBeanServer.getClassLoader(ObjectName loaderName)
          Return the named ClassLoader.
 ClassLoader MBeanServer.getClassLoaderFor(ObjectName mbeanName)
          Return the ClassLoader that was used for loading the class of the named MBean.
static ObjectName ObjectName.getInstance(ObjectName name)
          Return an instance of ObjectName that can be used anywhere the given object can be used.
 MBeanInfo MBeanServerConnection.getMBeanInfo(ObjectName name)
          This method discovers the attributes and operations that an MBean exposes for management.
 MBeanInfo MBeanServer.getMBeanInfo(ObjectName name)
           
 ObjectInstance MBeanServerConnection.getObjectInstance(ObjectName name)
          Gets the ObjectInstance for a given MBean registered with the MBean server.
 ObjectInstance MBeanServer.getObjectInstance(ObjectName name)
           
 Object MBeanServer.instantiate(String className, ObjectName loaderName)
          Instantiates an object using the class Loader specified by its ObjectName.
 Object MBeanServer.instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
          Instantiates an object.
 Object MBeanServerConnection.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
          Invokes an operation on an MBean.
 Object MBeanServer.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
           
 boolean MBeanServerConnection.isInstanceOf(ObjectName name, String className)
          Returns true if the MBean specified is an instance of the specified class, false otherwise.
 boolean MBeanServer.isInstanceOf(ObjectName name, String className)
           
 boolean MBeanServerConnection.isRegistered(ObjectName name)
          Checks whether an MBean, identified by its object name, is already registered with the MBean server.
 boolean MBeanServer.isRegistered(ObjectName name)
           
static
<T> T
JMX.newMBeanProxy(MBeanServerConnection connection, ObjectName objectName, Class<T> interfaceClass)
          Make a proxy for a Standard MBean in a local or remote MBean Server.
static
<T> T
JMX.newMBeanProxy(MBeanServerConnection connection, ObjectName objectName, Class<T> interfaceClass, boolean notificationEmitter)
          Make a proxy for a Standard MBean in a local or remote MBean Server that may also support the methods of NotificationEmitter.
static
<T> T
JMX.newMBeanProxy(MBeanServerConnection connection, ObjectName objectName, Class<T> interfaceClass, JMX.MBeanOptions opts)
          Make a proxy for a Standard MBean or MXBean in a local or remote MBean Server that may also support the methods of NotificationEmitter and (for an MXBean) that may define custom MXBean type mappings.
static
<T> T
JMX.newMXBeanProxy(MBeanServerConnection connection, ObjectName objectName, Class<T> interfaceClass)
          Make a proxy for an MXBean in a local or remote MBean Server.
static
<T> T
JMX.newMXBeanProxy(MBeanServerConnection connection, ObjectName objectName, Class<T> interfaceClass, boolean notificationEmitter)
          Make a proxy for an MXBean in a local or remote MBean Server that may also support the methods of NotificationEmitter.
static
<T> T
MBeanServerInvocationHandler.newProxyInstance(MBeanServerConnection connection, ObjectName objectName, Class<T> interfaceClass, boolean notificationBroadcaster)
          Return a proxy that implements the given interface by forwarding its methods through the given MBean server to the named MBean.
 ObjectName StandardMBean.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean server.
 ObjectName MBeanRegistration.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean Server.
 Set<ObjectInstance> MBeanServerConnection.queryMBeans(ObjectName name, QueryExp query)
          Gets MBeans controlled by the MBean server.
 Set<ObjectInstance> MBeanServer.queryMBeans(ObjectName name, QueryExp query)
           
 Set<ObjectName> MBeanServerConnection.queryNames(ObjectName name, QueryExp query)
          Gets the names of MBeans controlled by the MBean server.
 Set<ObjectName> MBeanServer.queryNames(ObjectName name, QueryExp query)
           
 ObjectInstance MBeanServer.registerMBean(Object object, ObjectName name)
          Registers a pre-existing object as an MBean with the MBean server.
 void MBeanServerConnection.removeNotificationListener(ObjectName name, NotificationListener listener)
           
 void MBeanServer.removeNotificationListener(ObjectName name, NotificationListener listener)
           
 void MBeanServerConnection.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void MBeanServer.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void MBeanServerConnection.removeNotificationListener(ObjectName name, ObjectName listener)
          Removes a listener from a registered MBean.
 void MBeanServer.removeNotificationListener(ObjectName name, ObjectName listener)
           
 void MBeanServerConnection.removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Removes a listener from a registered MBean.
 void MBeanServer.removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
           
 void MBeanServerConnection.setAttribute(ObjectName name, Attribute attribute)
          Sets the value of a specific attribute of a named MBean.
 void MBeanServer.setAttribute(ObjectName name, Attribute attribute)
           
 AttributeList MBeanServerConnection.setAttributes(ObjectName name, AttributeList attributes)
          Sets the values of several attributes of a named MBean.
 AttributeList MBeanServer.setAttributes(ObjectName name, AttributeList attributes)
           
 void MBeanServerConnection.unregisterMBean(ObjectName name)
          Unregisters an MBean from the MBean server.
 void MBeanServer.unregisterMBean(ObjectName name)
          Unregisters an MBean from the MBean server.
 

Constructors in javax.management with parameters of type ObjectName
MBeanPermission(String className, String member, ObjectName objectName, String actions)
          Create a new MBeanPermission object with the specified target name (class name, member, object name) and actions.
MBeanServerInvocationHandler(MBeanServerConnection connection, ObjectName objectName)
          Invocation handler that forwards methods through an MBean server to a Standard MBean.
MBeanServerInvocationHandler(MBeanServerConnection connection, ObjectName objectName, boolean isMXBean)
          Invocation handler that can forward methods through an MBean server to a Standard MBean or MXBean.
MBeanServerInvocationHandler(MBeanServerConnection connection, ObjectName objectName, JMX.MBeanOptions options)
           
MBeanServerNotification(String type, Object source, long sequenceNumber, ObjectName objectName)
          Creates an MBeanServerNotification object specifying object names of the MBeans that caused the notification and the specified notification type.
ObjectInstance(ObjectName objectName, String className)
          Allows an object instance to be created given an object name and the full class name, including the package name.
 

Uses of ObjectName in javax.management.event
 

Fields in javax.management.event declared as ObjectName
static ObjectName EventClientDelegateMBean.OBJECT_NAME
          The standard ObjectName used to register the default EventClientDelegateMBean.
 

Methods in javax.management.event that return ObjectName
 ObjectName ListenerInfo.getObjectName()
          Returns an MBean or an MBean pattern that the listener listens to.
 

Methods in javax.management.event with parameters of type ObjectName
 String EventClientDelegateMBean.addClient(String className, ObjectName classLoader, Object[] params, String[] sig)
          Adds a new client to the EventClientDelegateMBean with a user-specified EventForwarder to forward notifications to the client.
 String EventClientDelegate.addClient(String className, ObjectName classLoader, Object[] params, String[] sig)
           
 Integer EventClientDelegateMBean.addListener(String clientId, ObjectName name, NotificationFilter filter)
          Adds a listener to receive notifications from an MBean and returns a non-negative integer as the identifier of the listener.
 Integer EventClientDelegate.addListener(String clientId, ObjectName name, NotificationFilter filter)
          Adds a listener to receive notifications from an MBean and returns a non-negative integer as the identifier of the listener.
 void NotificationManager.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void EventClient.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 Integer EventClientDelegateMBean.addSubscriber(String clientId, ObjectName name, NotificationFilter filter)
          Subscribes a listener to receive notifications from an MBean or a set of MBeans represented by an ObjectName pattern.
 Integer EventClientDelegate.addSubscriber(String clientId, ObjectName name, NotificationFilter filter)
          Subscribes a listener to receive notifications from an MBean or a set of MBeans represented by an ObjectName pattern.
 void NotificationManager.removeNotificationListener(ObjectName name, NotificationListener listener)
          Removes a listener from a registered MBean.
 void EventClient.removeNotificationListener(ObjectName name, NotificationListener listener)
           
 void NotificationManager.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Removes a listener from a registered MBean.
 void EventClient.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void EventSubscriber.subscribe(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void EventConsumer.subscribe(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Subscribes a listener to receive events from an MBean or a set of MBeans represented by an ObjectName pattern.
 void EventClient.subscribe(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void EventSubscriber.unsubscribe(ObjectName name, NotificationListener listener)
           
 void EventConsumer.unsubscribe(ObjectName name, NotificationListener listener)
          Unsubscribes a listener which is listening to an MBean or a set of MBeans represented by an ObjectName pattern.
 void EventClient.unsubscribe(ObjectName name, NotificationListener listener)
           
 

Constructors in javax.management.event with parameters of type ObjectName
ListenerInfo(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback, boolean isSubscription)
          Constructs a ListenerInfo object.
 

Uses of ObjectName in javax.management.loading
 

Methods in javax.management.loading that return ObjectName
 ObjectName MLet.preRegister(MBeanServer server, ObjectName name)
          Allows the m-let to perform any operations it needs before being registered in the MBean server.
 

Methods in javax.management.loading with parameters of type ObjectName
 ObjectName MLet.preRegister(MBeanServer server, ObjectName name)
          Allows the m-let to perform any operations it needs before being registered in the MBean server.
 

Uses of ObjectName in javax.management.modelmbean
 

Methods in javax.management.modelmbean that return ObjectName
 ObjectName RequiredModelMBean.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean server.
 

Methods in javax.management.modelmbean with parameters of type ObjectName
 ObjectName RequiredModelMBean.preRegister(MBeanServer server, ObjectName name)
          Allows the MBean to perform any operations it needs before being registered in the MBean server.
 

Uses of ObjectName in javax.management.monitor
 

Methods in javax.management.monitor that return ObjectName
 ObjectName MonitorNotification.getObservedObject()
          Gets the observed object of this monitor notification.
 ObjectName MonitorMBean.getObservedObject()
          Deprecated. As of JMX 1.2, replaced by MonitorMBean.getObservedObjects()
 ObjectName Monitor.getObservedObject()
          Deprecated. As of JMX 1.2, replaced by Monitor.getObservedObjects()
 ObjectName[] MonitorMBean.getObservedObjects()
          Returns an array containing the objects being observed.
 ObjectName[] Monitor.getObservedObjects()
          Returns an array containing the objects being observed.
 ObjectName Monitor.preRegister(MBeanServer server, ObjectName name)
          Allows the monitor MBean to perform any operations it needs before being registered in the MBean server.
 

Methods in javax.management.monitor with parameters of type ObjectName
 void MonitorMBean.addObservedObject(ObjectName object)
          Adds the specified object in the set of observed MBeans.
 void Monitor.addObservedObject(ObjectName object)
          Adds the specified object in the set of observed MBeans, if this object is not already present.
 boolean MonitorMBean.containsObservedObject(ObjectName object)
          Tests whether the specified object is in the set of observed MBeans.
 boolean Monitor.containsObservedObject(ObjectName object)
          Tests whether the specified object is in the set of observed MBeans.
 String StringMonitorMBean.getDerivedGauge(ObjectName object)
          Gets the derived gauge for the specified MBean.
 String StringMonitor.getDerivedGauge(ObjectName object)
          Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, or null otherwise.
 Number GaugeMonitorMBean.getDerivedGauge(ObjectName object)
          Gets the derived gauge for the specified MBean.
 Number GaugeMonitor.getDerivedGauge(ObjectName object)
          Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, or null otherwise.
 Number CounterMonitorMBean.getDerivedGauge(ObjectName object)
          Gets the derived gauge for the specified MBean.
 Number CounterMonitor.getDerivedGauge(ObjectName object)
          Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, or null otherwise.
 long StringMonitorMBean.getDerivedGaugeTimeStamp(ObjectName object)
          Gets the derived gauge timestamp for the specified MBean.
 long StringMonitor.getDerivedGaugeTimeStamp(ObjectName object)
          Gets the derived gauge timestamp of the specified object, if this object is contained in the set of observed MBeans, or 0 otherwise.
 long GaugeMonitorMBean.getDerivedGaugeTimeStamp(ObjectName object)
          Gets the derived gauge timestamp for the specified MBean.
 long GaugeMonitor.getDerivedGaugeTimeStamp(ObjectName object)
          Gets the derived gauge timestamp of the specified object, if this object is contained in the set of observed MBeans, or 0 otherwise.
 long CounterMonitorMBean.getDerivedGaugeTimeStamp(ObjectName object)
          Gets the derived gauge timestamp for the specified MBean.
 long CounterMonitor.getDerivedGaugeTimeStamp(ObjectName object)
          Gets the derived gauge timestamp of the specified object, if this object is contained in the set of observed MBeans, or 0 otherwise.
 Number CounterMonitorMBean.getThreshold(ObjectName object)
          Gets the threshold value for the specified MBean.
 Number CounterMonitor.getThreshold(ObjectName object)
          Gets the current threshold value of the specified object, if this object is contained in the set of observed MBeans, or null otherwise.
 ObjectName Monitor.preRegister(MBeanServer server, ObjectName name)
          Allows the monitor MBean to perform any operations it needs before being registered in the MBean server.
 void MonitorMBean.removeObservedObject(ObjectName object)
          Removes the specified object from the set of observed MBeans.
 void Monitor.removeObservedObject(ObjectName object)
          Removes the specified object from the set of observed MBeans.
 void MonitorMBean.setObservedObject(ObjectName object)
          Deprecated. As of JMX 1.2, replaced by MonitorMBean.addObservedObject(javax.management.ObjectName)
 void Monitor.setObservedObject(ObjectName object)
          Deprecated. As of JMX 1.2, replaced by Monitor.addObservedObject(javax.management.ObjectName)
 

Uses of ObjectName in javax.management.openmbean
 

Fields in javax.management.openmbean with type parameters of type ObjectName
static SimpleType<ObjectName> SimpleType.OBJECTNAME
          The SimpleType instance describing values whose Java class name is javax.management.ObjectName.
 

Uses of ObjectName in javax.management.relation
 

Methods in javax.management.relation that return ObjectName