Package | Description |
---|---|
javax.management.relation |
Provides the definition of the Relation Service.
|
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.
|
Integer |
RelationService.checkRoleReading(String roleName,
String relationTypeName)
Checks if given Role can be read in a relation of the given type.
|
Integer |
RelationServiceMBean.checkRoleReading(String roleName,
String relationTypeName)
Checks if given Role can be read in a relation of the given type.
|
Integer |
RelationService.checkRoleWriting(Role role,
String relationTypeName,
Boolean initFlag)
Checks if given Role can be set in a relation of given type.
|
Integer |
RelationServiceMBean.checkRoleWriting(Role role,
String relationTypeName,
Boolean initFlag)
Checks if given Role can be set in a relation of given type.
|
void |
RelationService.createRelation(String relationId,
String relationTypeName,
RoleList roleList)
Creates a simple relation (represented by a RelationSupport object) of
given relation type, and adds it in the Relation Service.
|
void |
RelationServiceMBean.createRelation(String relationId,
String relationTypeName,
RoleList roleList)
Creates a simple relation (represented by a RelationSupport object) of
given relation type, and adds it in the Relation Service.
|
List<String> |
RelationService.findRelationsOfType(String relationTypeName)
Returns the relation ids for relations of the given type.
|
List<String> |
RelationServiceMBean.findRelationsOfType(String relationTypeName)
Returns the relation ids for relations of the given type.
|
RoleInfo |
RelationService.getRoleInfo(String relationTypeName,
String roleInfoName)
Retrieves role info for given role name of a given relation type.
|
RoleInfo |
RelationServiceMBean.getRoleInfo(String relationTypeName,
String roleInfoName)
Retrieves role info for given role of a given relation type.
|
List<RoleInfo> |
RelationService.getRoleInfos(String relationTypeName)
Retrieves list of role infos (RoleInfo objects) of a given relation
type.
|
List<RoleInfo> |
RelationServiceMBean.getRoleInfos(String relationTypeName)
Retrieves list of role infos (RoleInfo objects) of a given relation
type.
|
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.
|
void |
RelationService.removeRelationType(String relationTypeName)
Removes given relation type from Relation Service.
|
void |
RelationServiceMBean.removeRelationType(String relationTypeName)
Removes given relation type from Relation Service.
|
void |
Relation.setRole(Role role)
Sets the given role.
|
void |
RelationSupport.setRole(Role role)
Sets the given role.
|
void |
RelationServiceMBean.setRole(String relationId,
Role role)
Sets the given role in given relation.
|
RoleResult |
Relation.setRoles(RoleList roleList)
Sets the given roles.
|
RoleResult |
RelationSupport.setRoles(RoleList list)
Sets the given roles.
|
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, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.