## Uses of Class
javax.management.ObjectName

- Packages that use ObjectName
  Package | Description
  --- | ---
  java.lang.management | Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
  javax.management | Provides the core classes for the Java Management Extensions.
  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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Field and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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` | MBeanServerInvocationHandler.`getObjectName()` The name of the MBean within the MBean server to which methods are forwarded.
    `ObjectName` | ObjectInstance.`getObjectName()` Returns the object name part.
    `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
    Modifier and Type | Method and Description
    --- | ---
    `Set<ObjectName>` | MBeanServer.`queryNames(ObjectName name, QueryExp query)` Gets the names of MBeans controlled by the MBean server.
    `Set<ObjectName>` | MBeanServerConnection.`queryNames(ObjectName name, QueryExp query)` Gets the names of MBeans controlled by the MBean server.

    Methods in javax.management with parameters of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `void` | MBeanServer.`addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)` Adds a listener to a registered MBean.
    `void` | MBeanServerConnection.`addNotificationListener(ObjectName name, NotificationListener 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.
    `void` | MBeanServerConnection.`addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)` Adds a listener to a registered MBean.
    `ValueExp` | StringValueExp.`apply(ObjectName name)` Applies the ValueExp on a MBean.
    `ValueExp` | AttributeValueExp.`apply(ObjectName name)` Applies the `AttributeValueExp` on an MBean.
    `ValueExp` | ValueExp.`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.
    `int` | ObjectName.`compareTo(ObjectName name)` Compares two ObjectName instances.
    `ObjectInstance` | MBeanServer.`createMBean(String className, ObjectName name)` Instantiates and registers an MBean in the MBean server.
    `ObjectInstance` | MBeanServerConnection.`createMBean(String className, ObjectName name)` 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, Object[] params, String[] signature)` 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)` 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.
    `ObjectInstance` | MBeanServerConnection.`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` | MBeanServer.`getAttribute(ObjectName name, String attribute)`
    `Object` | MBeanServerConnection.`getAttribute(ObjectName name, String attribute)` Gets the value of a specific attribute of a named MBean.
    `AttributeList` | MBeanServer.`getAttributes(ObjectName name, String[] attributes)`
    `AttributeList` | MBeanServerConnection.`getAttributes(ObjectName name, String[] attributes)` Retrieves the values of several attributes of a named MBean.
    `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` | MBeanServer.`getMBeanInfo(ObjectName name)`
    `MBeanInfo` | MBeanServerConnection.`getMBeanInfo(ObjectName name)` This method discovers the attributes and operations that an MBean exposes for management.
    `ObjectInstance` | MBeanServer.`getObjectInstance(ObjectName name)`
    `ObjectInstance` | MBeanServerConnection.`getObjectInstance(ObjectName name)` Gets the `ObjectInstance` for a given MBean registered with the MBean server.
    `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` | MBeanServer.`invoke(ObjectName name, String operationName, Object[] params, String[] signature)`
    `Object` | MBeanServerConnection.`invoke(ObjectName name, String operationName, Object[] params, String[] signature)` Invokes an operation on an MBean.
    `boolean` | MBeanServer.`isInstanceOf(ObjectName name, String className)`
    `boolean` | MBeanServerConnection.`isInstanceOf(ObjectName name, String className)` Returns true if the MBean specified is an instance of the specified class, false otherwise.
    `boolean` | MBeanServer.`isRegistered(ObjectName name)`
    `boolean` | MBeanServerConnection.`isRegistered(ObjectName name)` Checks whether an MBean, identified by its object name, is already registered with the MBean server.
    `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.`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>` | MBeanServer.`queryMBeans(ObjectName name, QueryExp query)` Gets MBeans controlled by the MBean server.
    `Set<ObjectInstance>` | MBeanServerConnection.`queryMBeans(ObjectName name, QueryExp query)` Gets MBeans controlled by the MBean server.
    `Set<ObjectName>` | MBeanServer.`queryNames(ObjectName name, QueryExp query)` Gets the names of MBeans controlled by the MBean server.
    `Set<ObjectName>` | MBeanServerConnection.`queryNames(ObjectName name, QueryExp query)` Gets the names of MBeans controlled by the MBean server.
    `ObjectInstance` | MBeanServer.`registerMBean(Object object, ObjectName name)` Registers a pre-existing object as an MBean with the MBean server.
    `void` | MBeanServer.`removeNotificationListener(ObjectName name, NotificationListener listener)`
    `void` | MBeanServerConnection.`removeNotificationListener(ObjectName name, NotificationListener listener)` Removes a listener from a registered MBean.
    `void` | MBeanServer.`removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)`
    `void` | MBeanServerConnection.`removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)` Removes a listener from a registered MBean.
    `void` | MBeanServer.`removeNotificationListener(ObjectName name, ObjectName listener)`
    `void` | MBeanServerConnection.`removeNotificationListener(ObjectName name, ObjectName listener)` Removes a listener from a registered MBean.
    `void` | MBeanServer.`removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)`
    `void` | MBeanServerConnection.`removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)` Removes a listener from a registered MBean.
    `void` | MBeanServer.`setAttribute(ObjectName name, Attribute attribute)`
    `void` | MBeanServerConnection.`setAttribute(ObjectName name, Attribute attribute)` Sets the value of a specific attribute of a named MBean.
    `AttributeList` | MBeanServer.`setAttributes(ObjectName name, AttributeList attributes)`
    `AttributeList` | MBeanServerConnection.`setAttributes(ObjectName name, AttributeList attributes)` Sets the values of several attributes of a named MBean.
    `void` | MBeanServer.`unregisterMBean(ObjectName name)` Unregisters an MBean from the MBean server.
    `void` | MBeanServerConnection.`unregisterMBean(ObjectName name)` Unregisters an MBean from the MBean server.

    Constructors in javax.management with parameters of type ObjectName
    Constructor and Description
    `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.
    `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.loading

    Methods in javax.management.loading that return ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `ObjectName` | Monitor.`getObservedObject()` Deprecated. As of JMX 1.2, replaced by `Monitor.getObservedObjects()`
    `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.`getObservedObjects()` Returns an array containing the objects being observed.
    `ObjectName[]` | MonitorMBean.`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
    Modifier and Type | Method and Description
    --- | ---
    `void` | Monitor.`addObservedObject(ObjectName object)` Adds the specified object in the set of observed MBeans, if this object is not already present.
    `void` | MonitorMBean.`addObservedObject(ObjectName object)` Adds the specified object in the set of observed MBeans.
    `boolean` | Monitor.`containsObservedObject(ObjectName object)` Tests whether the specified object is in the set of observed MBeans.
    `boolean` | MonitorMBean.`containsObservedObject(ObjectName object)` Tests whether the specified object is in the set of observed MBeans.
    `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` | 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.
    `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` | GaugeMonitorMBean.`getDerivedGauge(ObjectName object)` Gets the derived gauge for the specified MBean.
    `String` | StringMonitorMBean.`getDerivedGauge(ObjectName object)` Gets the derived gauge 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` | 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.
    `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` | GaugeMonitorMBean.`getDerivedGaugeTimeStamp(ObjectName object)` Gets the derived gauge timestamp for the specified MBean.
    `long` | StringMonitorMBean.`getDerivedGaugeTimeStamp(ObjectName object)` Gets the derived gauge timestamp for the specified MBean.
    `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` | Monitor.`removeObservedObject(ObjectName object)` Removes the specified object from the set of observed MBeans.
    `void` | MonitorMBean.`removeObservedObject(ObjectName object)` Removes the specified object from the set of observed MBeans.
    `void` | Monitor.`setObservedObject(ObjectName object)` Deprecated. As of JMX 1.2, replaced by `Monitor.addObservedObject(javax.management.ObjectName)`
    `void` | MonitorMBean.`setObservedObject(ObjectName object)` Deprecated. As of JMX 1.2, replaced by `MonitorMBean.addObservedObject(javax.management.ObjectName)`

  - ### Uses of ObjectName in javax.management.openmbean

    Fields in javax.management.openmbean with type parameters of type ObjectName
    Modifier and Type | Field and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `ObjectName` | RelationNotification.`getObjectName()` Returns the ObjectName of the created/removed/updated relation.
    `ObjectName` | Relation.`getRelationServiceName()` Returns ObjectName of the Relation Service handling the relation.
    `ObjectName` | RelationSupport.`getRelationServiceName()` Returns ObjectName of the Relation Service handling the relation.
    `ObjectName` | RelationService.`isRelationMBean(String relationId)` If the relation is represented by an MBean (created by the user and added as a relation in the Relation Service), returns the ObjectName of the MBean.
    `ObjectName` | RelationServiceMBean.`isRelationMBean(String relationId)` If the relation is represented by an MBean (created by the user and added as a relation in the Relation Service), returns the ObjectName of the MBean.
    `ObjectName` | RelationService.`preRegister(MBeanServer server, ObjectName name)`
    `ObjectName` | RelationSupport.`preRegister(MBeanServer server, ObjectName name)`

    Methods in javax.management.relation that return types with arguments of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `Map<ObjectName,List<String>>` | RelationService.`findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)` Retrieves the MBeans associated to given one in a relation.
    `Map<ObjectName,List<String>>` | RelationServiceMBean.`findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)` Retrieves the MBeans associated to given one in a relation.
    `Vector<ObjectName>` | MBeanServerNotificationFilter.`getDisabledObjectNames()` Gets all the ObjectNames disabled.
    `Vector<ObjectName>` | MBeanServerNotificationFilter.`getEnabledObjectNames()` Gets all the ObjectNames enabled.
    `List<ObjectName>` | RelationNotification.`getMBeansToUnregister()` Returns the list of ObjectNames of MBeans expected to be unregistered due to a relation removal (only for relation removal).
    `List<ObjectName>` | RelationNotification.`getNewRoleValue()` Returns new value of updated role (only for role update).
    `List<ObjectName>` | RelationNotification.`getOldRoleValue()` Returns old value of updated role (only for role update).
    `Map<ObjectName,List<String>>` | Relation.`getReferencedMBeans()` Retrieves MBeans referenced in the various roles of the relation.
    `Map<ObjectName,List<String>>` | RelationSupport.`getReferencedMBeans()` Retrieves MBeans referenced in the various roles of the relation.
    `Map<ObjectName,List<String>>` | RelationService.`getReferencedMBeans(String relationId)` Retrieves MBeans referenced in the various roles of the relation.
    `Map<ObjectName,List<String>>` | RelationServiceMBean.`getReferencedMBeans(String relationId)` Retrieves MBeans referenced in the various roles of the relation.
    `List<ObjectName>` | Relation.`getRole(String roleName)` Retrieves role value for given role name.
    `List<ObjectName>` | RelationSupport.`getRole(String roleName)` Retrieves role value for given role name.
    `List<ObjectName>` | RelationService.`getRole(String relationId, String roleName)` Retrieves role value for given role name in given relation.
    `List<ObjectName>` | RelationServiceMBean.`getRole(String relationId, String roleName)` Retrieves role value for given role name in given relation.
    `List<ObjectName>` | RoleUnresolved.`getRoleValue()` Retrieves role value.
    `List<ObjectName>` | Role.`getRoleValue()` Retrieves role value.

    Methods in javax.management.relation with parameters of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `void` | RelationService.`addRelation(ObjectName relationObjectName)` Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
    `void` | RelationServiceMBean.`addRelation(ObjectName relationObjectName)` Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
    `void` | MBeanServerNotificationFilter.`disableObjectName(ObjectName objectName)` Disables MBeanServerNotifications concerning given ObjectName.
    `void` | MBeanServerNotificationFilter.`enableObjectName(ObjectName objectName)` Enables MBeanServerNotifications concerning given ObjectName.
    `Map<ObjectName,List<String>>` | RelationService.`findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)` Retrieves the MBeans associated to given one in a relation.
    `Map<ObjectName,List<String>>` | RelationServiceMBean.`findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)` Retrieves the MBeans associated to given one in a relation.
    `Map<String,List<String>>` | RelationService.`findReferencingRelations(ObjectName mbeanName, String relationTypeName, String roleName)` Retrieves the relations where a given MBean is referenced.
    `Map<String,List<String>>` | RelationServiceMBean.`findReferencingRelations(ObjectName mbeanName, String relationTypeName, String roleName)` Retrieves the relations where a given MBean is referenced.
    `void` | Relation.`handleMBeanUnregistration(ObjectName objectName, String roleName)` Callback used by the Relation Service when a MBean referenced in a role is unregistered.
    `void` | RelationSupport.`handleMBeanUnregistration(ObjectName objectName, String roleName)` Callback used by the Relation Service when a MBean referenced in a role is unregistered.
    `String` | RelationService.`isRelation(ObjectName objectName)` Returns the relation id associated to the given ObjectName if the MBean has been added as a relation in the Relation Service.
    `String` | RelationServiceMBean.`isRelation(ObjectName objectName)` Returns the relation id associated to the given ObjectName if the MBean has been added as a relation in the Relation Service.
    `ObjectName` | RelationService.`preRegister(MBeanServer server, ObjectName name)`
    `ObjectName` | RelationSupport.`preRegister(MBeanServer server, ObjectName name)`

    Method parameters in javax.management.relation with type arguments of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `static String` | Role.`roleValueToString(List<ObjectName> roleValue)` Returns a string for the given role value.
    `void` | RelationService.`sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)` Sends a notification (RelationNotification) for a relation removal.
    `void` | RelationServiceMBean.`sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)` Sends a notification (RelationNotification) for a relation removal.
    `void` | RelationService.`sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldValue)` Sends a notification (RelationNotification) for a role update in the given relation.
    `void` | RelationServiceMBean.`sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldRoleValue)` Sends a notification (RelationNotification) for a role update in the given relation.
    `void` | RoleUnresolved.`setRoleValue(List<ObjectName> value)` Sets role value.
    `void` | Role.`setRoleValue(List<ObjectName> roleValue)` Sets role value.
    `void` | RelationService.`updateRoleMap(String relationId, Role newRole, List<ObjectName> oldValue)` Handles update of the Relation Service role map for the update of given role in given relation.
    `void` | RelationServiceMBean.`updateRoleMap(String relationId, Role newRole, List<ObjectName> oldRoleValue)` Handles update of the Relation Service role map for the update of given role in given relation.

    Constructors in javax.management.relation with parameters of type ObjectName
    Constructor and Description
    `RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, List<ObjectName> unregMBeanList)` Creates a notification for either a relation creation (RelationSupport object created internally in the Relation Service, or an MBean added as a relation) or for a relation removal from the Relation Service.
    `RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue)` Creates a notification for a role update in a relation.
    `RelationSupport(String relationId, ObjectName relationServiceName, MBeanServer relationServiceMBeanServer, String relationTypeName, RoleList list)` Creates a `RelationSupport` object.
    `RelationSupport(String relationId, ObjectName relationServiceName, String relationTypeName, RoleList list)` Creates a `RelationSupport` object.

    Constructor parameters in javax.management.relation with type arguments of type ObjectName
    Constructor and Description
    `RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, List<ObjectName> unregMBeanList)` Creates a notification for either a relation creation (RelationSupport object created internally in the Relation Service, or an MBean added as a relation) or for a relation removal from the Relation Service.
    `RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue)` Creates a notification for a role update in a relation.
    `RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue)` Creates a notification for a role update in a relation.
    `Role(String roleName, List<ObjectName> roleValue)` Make a new Role object.
    `RoleUnresolved(String name, List<ObjectName> value, int pbType)` Constructor.

  - ### Uses of ObjectName in javax.management.remote

    Methods in javax.management.remote that return ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `ObjectName` | JMXConnectorServer.`preRegister(MBeanServer mbs, ObjectName name)` Called by an MBean server when this connector server is registered in that MBean server.

    Methods in javax.management.remote with parameters of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `ObjectName` | JMXConnectorServer.`preRegister(MBeanServer mbs, ObjectName name)` Called by an MBean server when this connector server is registered in that MBean server.

  - ### Uses of ObjectName in javax.management.remote.rmi

    Methods in javax.management.remote.rmi that return types with arguments of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `Set<ObjectName>` | RMIConnectionImpl.`queryNames(ObjectName name, MarshalledObject query, Subject delegationSubject)`
    `Set<ObjectName>` | RMIConnection.`queryNames(ObjectName name, MarshalledObject query, Subject delegationSubject)` Handles the method `MBeanServerConnection.queryNames(ObjectName, QueryExp)`.

    Methods in javax.management.remote.rmi with parameters of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `void` | RMIConnectionImpl.`addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)`
    `void` | RMIConnection.`addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)` Handles the method `MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)`.
    `void` | RMIConnectionImpl_Stub.`addNotificationListener(ObjectName $param_ObjectName_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, MarshalledObject $param_MarshalledObject_4, Subject $param_Subject_5)`
    `Integer[]` | RMIConnectionImpl.`addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)`
    `Integer[]` | RMIConnection.`addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)` Handles the method `MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object)`.
    `Integer[]` | RMIConnectionImpl_Stub.`addNotificationListeners(ObjectName[] $param_arrayOf_ObjectName_1, MarshalledObject[] $param_arrayOf_MarshalledObject_2, Subject[] $param_arrayOf_Subject_3)`
    `ObjectInstance` | RMIConnectionImpl.`createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName, Object[], String[])`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`createMBean(String $param_String_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)`
    `ObjectInstance` | RMIConnectionImpl.`createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[])`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, MarshalledObject $param_MarshalledObject_4, String[] $param_arrayOf_String_5, Subject $param_Subject_6)`
    `ObjectInstance` | RMIConnectionImpl.`createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName, ObjectName)`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, Subject $param_Subject_4)`
    `ObjectInstance` | RMIConnectionImpl.`createMBean(String className, ObjectName name, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName)`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`createMBean(String $param_String_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3)`
    `Object` | RMIConnectionImpl.`getAttribute(ObjectName name, String attribute, Subject delegationSubject)`
    `Object` | RMIConnection.`getAttribute(ObjectName name, String attribute, Subject delegationSubject)` Handles the method `MBeanServerConnection.getAttribute(ObjectName, String)`.
    `Object` | RMIConnectionImpl_Stub.`getAttribute(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3)`
    `AttributeList` | RMIConnectionImpl.`getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)`
    `AttributeList` | RMIConnection.`getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)` Handles the method `MBeanServerConnection.getAttributes(ObjectName, String[])`.
    `AttributeList` | RMIConnectionImpl_Stub.`getAttributes(ObjectName $param_ObjectName_1, String[] $param_arrayOf_String_2, Subject $param_Subject_3)`
    `MBeanInfo` | RMIConnectionImpl.`getMBeanInfo(ObjectName name, Subject delegationSubject)`
    `MBeanInfo` | RMIConnection.`getMBeanInfo(ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.getMBeanInfo(ObjectName)`.
    `MBeanInfo` | RMIConnectionImpl_Stub.`getMBeanInfo(ObjectName $param_ObjectName_1, Subject $param_Subject_2)`
    `ObjectInstance` | RMIConnectionImpl.`getObjectInstance(ObjectName name, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`getObjectInstance(ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.getObjectInstance(ObjectName)`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`getObjectInstance(ObjectName $param_ObjectName_1, Subject $param_Subject_2)`
    `Object` | RMIConnectionImpl.`invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)`
    `Object` | RMIConnection.`invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)` Handles the method `MBeanServerConnection.invoke(ObjectName, String, Object[], String[])`.
    `Object` | RMIConnectionImpl_Stub.`invoke(ObjectName $param_ObjectName_1, String $param_String_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)`
    `boolean` | RMIConnectionImpl.`isInstanceOf(ObjectName name, String className, Subject delegationSubject)`
    `boolean` | RMIConnection.`isInstanceOf(ObjectName name, String className, Subject delegationSubject)` Handles the method `MBeanServerConnection.isInstanceOf(ObjectName, String)`.
    `boolean` | RMIConnectionImpl_Stub.`isInstanceOf(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3)`
    `boolean` | RMIConnectionImpl.`isRegistered(ObjectName name, Subject delegationSubject)`
    `boolean` | RMIConnection.`isRegistered(ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.isRegistered(ObjectName)`.
    `boolean` | RMIConnectionImpl_Stub.`isRegistered(ObjectName $param_ObjectName_1, Subject $param_Subject_2)`
    `Set<ObjectInstance>` | RMIConnectionImpl.`queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject)`
    `Set<ObjectInstance>` | RMIConnection.`queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject)` Handles the method `MBeanServerConnection.queryMBeans(ObjectName, QueryExp)`.
    `Set` | RMIConnectionImpl_Stub.`queryMBeans(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)`
    `Set<ObjectName>` | RMIConnectionImpl.`queryNames(ObjectName name, MarshalledObject query, Subject delegationSubject)`
    `Set<ObjectName>` | RMIConnection.`queryNames(ObjectName name, MarshalledObject query, Subject delegationSubject)` Handles the method `MBeanServerConnection.queryNames(ObjectName, QueryExp)`.
    `Set` | RMIConnectionImpl_Stub.`queryNames(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)`
    `void` | RMIConnectionImpl.`removeNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)`
    `void` | RMIConnection.`removeNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)` Handles the method `MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)`.
    `void` | RMIConnectionImpl_Stub.`removeNotificationListener(ObjectName $param_ObjectName_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, MarshalledObject $param_MarshalledObject_4, Subject $param_Subject_5)`
    `void` | RMIConnectionImpl.`removeNotificationListener(ObjectName name, ObjectName listener, Subject delegationSubject)`
    `void` | RMIConnection.`removeNotificationListener(ObjectName name, ObjectName listener, Subject delegationSubject)` Handles the method `MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName)`.
    `void` | RMIConnectionImpl_Stub.`removeNotificationListener(ObjectName $param_ObjectName_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3)`
    `void` | RMIConnectionImpl.`removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)`
    `void` | RMIConnection.`removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)` Handles the `removeNotificationListener(ObjectName, NotificationListener)` and `removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object)` methods.
    `void` | RMIConnectionImpl_Stub.`removeNotificationListeners(ObjectName $param_ObjectName_1, Integer[] $param_arrayOf_Integer_2, Subject $param_Subject_3)`
    `void` | RMIConnectionImpl.`setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)`
    `void` | RMIConnection.`setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)` Handles the method `MBeanServerConnection.setAttribute(ObjectName, Attribute)`.
    `void` | RMIConnectionImpl_Stub.`setAttribute(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)`
    `AttributeList` | RMIConnectionImpl.`setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)`
    `AttributeList` | RMIConnection.`setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)` Handles the method `MBeanServerConnection.setAttributes(ObjectName, AttributeList)`.
    `AttributeList` | RMIConnectionImpl_Stub.`setAttributes(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)`
    `void` | RMIConnectionImpl.`unregisterMBean(ObjectName name, Subject delegationSubject)`
    `void` | RMIConnection.`unregisterMBean(ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.unregisterMBean(ObjectName)`.
    `void` | RMIConnectionImpl_Stub.`unregisterMBean(ObjectName $param_ObjectName_1, Subject $param_Subject_2)`

  - ### Uses of ObjectName in javax.management.timer

    Methods in javax.management.timer that return ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `ObjectName` | Timer.`preRegister(MBeanServer server, ObjectName name)` Allows the timer MBean to perform any operations it needs before being registered in the MBean server.

    Methods in javax.management.timer with parameters of type ObjectName
    Modifier and Type | Method and Description
    --- | ---
    `ObjectName` | Timer.`preRegister(MBeanServer server, ObjectName name)` Allows the timer MBean to perform any operations it needs before being registered in the MBean server.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.