| java.lang.Object javax.management.relation.RelationSupport
RelationSupport | public class RelationSupport implements RelationSupportMBean,MBeanRegistration(Code) | | Implements the management interface for a relation
created internally within the relation service. The relation can
have only roles - no attributes or methods.
The relation support managed bean can be created externally, including
extending it, and then registered with the relation service.
author: Adrian Brock. author: Juha Lindfors version: $Revision: 57200 $ version: Revisions: version: 20020412 Juha Lindfors: version: version: - Changed MBeanProxy exception handling on create methods -- only need to
version: catch one MBeanProxyCreationException version: version: |
Constructor Summary | |
public | RelationSupport(String relationId, ObjectName relationService, String relationTypeName, RoleList roleList) Construct a new relation support object.
This constructor is intended for use when manually registrating
a relation support object or an class that extends it.
Constructing the object does not register it with the relation
service, only the following is validated at this stage.
The relation id is mandatory.
The relation service name is mandatory. . | public | RelationSupport(String relationId, ObjectName relationService, MBeanServer mbeanServer, String relationTypeName, RoleList roleList) Construct a new relation support object.
This constructor is intended for use when manually registrating
a relation that delegates to relation support.
Constructing the object does not register it with the relation
service, only the following is validated at this stage.
The relation id is mandatory.
The relation service name is mandatory. . |
registered | Boolean registered(Code) | | Wether this relation is registered in the relation service
|
relationTypeName | String relationTypeName(Code) | | The relation type name
|
RelationSupport | public RelationSupport(String relationId, ObjectName relationService, String relationTypeName, RoleList roleList) throws IllegalArgumentException, InvalidRoleValueException(Code) | | Construct a new relation support object.
This constructor is intended for use when manually registrating
a relation support object or an class that extends it.
Constructing the object does not register it with the relation
service, only the following is validated at this stage.
The relation id is mandatory.
The relation service name is mandatory. .
The relation type name is mandatory.
The same name is used for more than one role.
Parameters: relationId - the relation Id Parameters: relationService - the object name of the relation service Parameters: relationTypeName - the name of the relation type Parameters: roleList - the roles in this relation exception: IllegalArgumentException - for null values. exception: InvalidRoleValueException - when two roles have the same name. |
RelationSupport | public RelationSupport(String relationId, ObjectName relationService, MBeanServer mbeanServer, String relationTypeName, RoleList roleList) throws IllegalArgumentException, InvalidRoleValueException(Code) | | Construct a new relation support object.
This constructor is intended for use when manually registrating
a relation that delegates to relation support.
Constructing the object does not register it with the relation
service, only the following is validated at this stage.
The relation id is mandatory.
The relation service name is mandatory. .
The mbean service is mandatory. .
The relation type name is mandatory.
The same name is used for more than one role.
Parameters: relationId - the relation Id Parameters: relationService - the object name of the relation service Parameters: mbeanServer - the object name of the relation service Parameters: relationTypeName - the name of the relation type Parameters: roleList - the roles in this relation exception: IllegalArgumentException - for null values. exception: InvalidRoleValueException - when two roles have the same name. |
getReferencedMBeans | public Map getReferencedMBeans()(Code) | | |
getRelationTypeName | public String getRelationTypeName()(Code) | | |
postDeregister | public void postDeregister()(Code) | | |
|
|