Top Description Fields Constructors Methods
javax.management.relation

public Class RelationSupport

extends Object
implements RelationSupportMBean, MBeanRegistration
Class Inheritance
All Implemented Interfaces
javax.management.MBeanRegistration, javax.management.relation.RelationSupportMBean, javax.management.relation.Relation
Imports
java.lang.System.Logger.Level, java.util.ArrayList, .HashMap, .Map, .List, java.util.concurrent.atomic.AtomicBoolean, javax.management.InstanceNotFoundException, .MBeanException, .MBeanRegistration, .MBeanServer, .ObjectName, .ReflectionException

A RelationSupport object is used internally by the Relation Service to represent simple relations (only roles, no properties or methods), with an unlimited number of roles, of any relation type. As internal representation, it is not exposed to the user.

RelationSupport class conforms to the design patterns of standard MBean. So the user can decide to instantiate a RelationSupport object himself as a MBean (as it follows the MBean design patterns), to register it in the MBean Server, and then to add it in the Relation Service.

The user can also, when creating his own MBean relation class, have it extending RelationSupport, to retrieve the implementations of required interfaces (see below).

It is also possible to have in a user relation MBean class a member being a RelationSupport object, and to implement the required interfaces by delegating all to this member.

RelationSupport implements the Relation interface (to be handled by the Relation Service).

It implements also the MBeanRegistration interface to be able to retrieve the MBean Server where it is registered (if registered as a MBean) to access to its Relation Service.

Since
1.5

Field Summary

Modifier and TypeField and Description
private final AtomicBoolean
private String
private MBeanServer
private ObjectName
private String
private final Map<String, Role>

Constructor Summary

AccessConstructor and Description
public
RelationSupport(String
relation identifier, to identify the relation in the Relation Service.

Expected to be unique in the given Relation Service.

relationId
,
ObjectName
ObjectName of the Relation Service where the relation will be registered.

This parameter is required as it is the Relation Service that is aware of the definition of the relation type of the given relation, so that will be able to check update operations (set).

relationServiceName
,
String
Name of relation type.

Expected to have been created in the given Relation Service.

relationTypeName
,
RoleList
list of roles (Role objects) to initialize the relation. Can be null.

Expected to conform to relation info in associated relation type.

list
)

Creates a RelationSupport object.

public
RelationSupport(String
relation identifier, to identify the relation in the Relation Service.

Expected to be unique in the given Relation Service.

relationId
,
ObjectName
ObjectName of the Relation Service where the relation will be registered.

This parameter is required as it is the Relation Service that is aware of the definition of the relation type of the given relation, so that will be able to check update operations (set).

relationServiceName
,
MBeanServer
MBean Server where the wrapping MBean is or will be registered.

Expected to be the MBean Server where the Relation Service is or will be registered.

relationServiceMBeanServer
,
String
Name of relation type.

Expected to have been created in the given Relation Service.

relationTypeName
,
RoleList
list of roles (Role objects) to initialize the relation. Can be null.

Expected to conform to relation info in associated relation type.

list
)

Creates a RelationSupport object.

Method Summary

Modifier and TypeMethod and Description
public RoleResult

Returns:

a RoleResult object, including a RoleList (for roles successfully retrieved) and a RoleUnresolvedList (for roles not readable).
getAllRoles
()

Implements javax.management.relation.Relation.getAllRoles.

Returns all roles present in the relation.

pack-priv RoleResult
getAllRolesInt(boolean relationServCallFlg, RelationService relationServ)

public Map<ObjectName, List<String>>

Returns:

a HashMap mapping:

ObjectName -> ArrayList of String (role names)

getReferencedMBeans
()

Implements javax.management.relation.Relation.getReferencedMBeans.

Retrieves MBeans referenced in the various roles of the relation.

public String

Returns:

the relation id.
getRelationId
()

Implements javax.management.relation.Relation.getRelationId.

Returns relation identifier (used to uniquely identify the relation inside the Relation Service).

public ObjectName

Returns:

the ObjectName of the Relation Service.
getRelationServiceName
()

Implements javax.management.relation.Relation.getRelationServiceName.

Returns ObjectName of the Relation Service handling the relation.

public String
getRelationTypeName()

Implements javax.management.relation.Relation.getRelationTypeName.

Returns name of associated relation type.

public List<ObjectName>

Returns:

the ArrayList of ObjectName objects being the role value
getRole
(String
name of role
roleName
)

Implements javax.management.relation.Relation.getRole.

Retrieves role value for given role name.

public Integer

Returns:

the number of currently referenced MBeans in that role
getRoleCardinality
(String
name of role
roleName
)

Implements javax.management.relation.Relation.getRoleCardinality.

Returns the number of MBeans currently referenced in the given role.

pack-priv Object
getRoleInt(String roleName, boolean relationServCallFlg, RelationService relationServ, boolean multiRoleFlg)

public RoleResult

Returns:

a RoleResult object, including a RoleList (for roles successfully retrieved) and a RoleUnresolvedList (for roles not retrieved).
getRoles
(String[]
array of names of roles to be retrieved
roleNameArray
)

Implements javax.management.relation.Relation.getRoles.

Retrieves values of roles with given names.

pack-priv RoleResult
getRolesInt(String[] roleNameArray, boolean relationServCallFlg, RelationService relationServ)

public void
handleMBeanUnregistration(ObjectName
ObjectName of unregistered MBean
objectName
,
String
name of role where the MBean is referenced
roleName
)

Implements javax.management.relation.Relation.handleMBeanUnregistration.

Callback used by the Relation Service when a MBean referenced in a role is unregistered.

pack-priv void
handleMBeanUnregistrationInt(ObjectName objectName, String roleName, boolean relationServCallFlg, RelationService relationServ)

private void
initMembers(String relationId, ObjectName relationServiceName, MBeanServer relationServiceMBeanServer, String relationTypeName, RoleList list)

private void
public Boolean
isInRelationService()

Implements javax.management.relation.RelationSupportMBean.isInRelationService.

Returns an internal flag specifying if the object is still handled by the Relation Service.

public void
postDeregister()

Implements javax.management.MBeanRegistration.postDeregister.

Allows the MBean to perform any operations needed after having been unregistered in the MBean server.

public void
postRegister(Boolean
Indicates whether or not the MBean has been successfully registered in the MBean server. The value false means that the registration phase has failed.
registrationDone
)

Implements javax.management.MBeanRegistration.postRegister.

Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed.

public void
preDeregister()

Implements javax.management.MBeanRegistration.preDeregister.

Allows the MBean to perform any operations it needs before being unregistered by the MBean server.

public ObjectName
preRegister(MBeanServer
The MBean Server in which the MBean will be registered.
server
,
ObjectName
The object name of the MBean. This name is null if the name parameter to one of the createMBean or registerMBean methods in the MBeanServer interface is null. In that case, this method must return a non-null ObjectName for the new MBean.
name
)

Implements javax.management.MBeanRegistration.preRegister.

Allows the MBean to perform any operations it needs before being registered in the MBean Server.

public RoleList

Returns:

a RoleList
retrieveAllRoles
()

Implements javax.management.relation.Relation.retrieveAllRoles.

Returns all roles in the relation without checking read mode.

private void
sendRoleUpdateNotification(Role newRole, List<ObjectName> oldRoleValue, boolean relationServCallFlg, RelationService relationServ)

public void
setRelationServiceManagementFlag(Boolean
whether the relation is handled by the Relation Service.
flag
)

Implements javax.management.relation.RelationSupportMBean.setRelationServiceManagementFlag.

Specifies whether this relation is handled by the Relation Service.

public void
setRole(Role
role to be set (name and new value)
role
)

Implements javax.management.relation.Relation.setRole.

Sets the given role.

pack-priv Object
setRoleInt(Role aRole, boolean relationServCallFlg, RelationService relationServ, boolean multiRoleFlg)

public RoleResult

Returns:

a RoleResult object, including a RoleList (for roles successfully set) and a RoleUnresolvedList (for roles not set).
setRoles
(RoleList
list of roles to be set
list
)

Implements javax.management.relation.Relation.setRoles.

Sets the given roles.

pack-priv RoleResult
setRolesInt(RoleList list, boolean relationServCallFlg, RelationService relationServ)

private void
updateRelationServiceMap(Role newRole, List<ObjectName> oldRoleValue, boolean relationServCallFlg, RelationService relationServ)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

myInRelServFlgback to summary
private final AtomicBoolean myInRelServFlg
myRelIdback to summary
private String myRelId
myRelServiceMBeanServerback to summary
private MBeanServer myRelServiceMBeanServer
myRelServiceNameback to summary
private ObjectName myRelServiceName
myRelTypeNameback to summary
private String myRelTypeName
myRoleName2ValueMapback to summary
private final Map<String, Role> myRoleName2ValueMap

Constructor Detail

RelationSupportback to summary
public RelationSupport(String relationId, ObjectName relationServiceName, String relationTypeName, RoleList list) throws InvalidRoleValueException, IllegalArgumentException

Creates a RelationSupport object.

This constructor has to be used when the RelationSupport object will be registered as a MBean by the user, or when creating a user relation MBean whose class extends RelationSupport.

Nothing is done at the Relation Service level, i.e. the RelationSupport object is not added to the RelationService and no checks are performed to see if the provided values are correct. The object is always created, EXCEPT if:

- any of the required parameters is null.

- the same name is used for two roles.

To be handled as a relation, the RelationSupport object has to be added to the Relation Service using the Relation Service method addRelation().

Parameters
relationId:String

relation identifier, to identify the relation in the Relation Service.

Expected to be unique in the given Relation Service.

relationServiceName:ObjectName

ObjectName of the Relation Service where the relation will be registered.

This parameter is required as it is the Relation Service that is aware of the definition of the relation type of the given relation, so that will be able to check update operations (set).

relationTypeName:String

Name of relation type.

Expected to have been created in the given Relation Service.

list:RoleList

list of roles (Role objects) to initialize the relation. Can be null.

Expected to conform to relation info in associated relation type.

Exceptions
InvalidRoleValueException:
if the same name is used for two roles.
IllegalArgumentException:
if any of the required parameters (relation id, relation service ObjectName, or relation type name) is null.
RelationSupportback to summary
public RelationSupport(String relationId, ObjectName relationServiceName, MBeanServer relationServiceMBeanServer, String relationTypeName, RoleList list) throws InvalidRoleValueException, IllegalArgumentException

Creates a RelationSupport object.

This constructor has to be used when the user relation MBean implements the interfaces expected to be supported by a relation by delegating to a RelationSupport object.

This object needs to know the Relation Service expected to handle the relation. So it has to know the MBean Server where the Relation Service is registered.

According to a limitation, a relation MBean must be registered in the same MBean Server as the Relation Service expected to handle it. So the user relation MBean has to be created and registered, and then the wrapped RelationSupport object can be created within the identified MBean Server.

Nothing is done at the Relation Service level, i.e. the RelationSupport object is not added to the RelationService and no checks are performed to see if the provided values are correct. The object is always created, EXCEPT if:

- any of the required parameters is null.

- the same name is used for two roles.

To be handled as a relation, the RelationSupport object has to be added to the Relation Service using the Relation Service method addRelation().

Parameters
relationId:String

relation identifier, to identify the relation in the Relation Service.

Expected to be unique in the given Relation Service.

relationServiceName:ObjectName

ObjectName of the Relation Service where the relation will be registered.

This parameter is required as it is the Relation Service that is aware of the definition of the relation type of the given relation, so that will be able to check update operations (set).

relationServiceMBeanServer:MBeanServer

MBean Server where the wrapping MBean is or will be registered.

Expected to be the MBean Server where the Relation Service is or will be registered.

relationTypeName:String

Name of relation type.

Expected to have been created in the given Relation Service.

list:RoleList

list of roles (Role objects) to initialize the relation. Can be null.

Expected to conform to relation info in associated relation type.

Exceptions
InvalidRoleValueException:
if the same name is used for two roles.
IllegalArgumentException:
if any of the required parameters (relation id, relation service ObjectName, relation service MBeanServer, or relation type name) is null.

Method Detail

getAllRolesback to summary
public RoleResult getAllRoles() throws RelationServiceNotRegisteredException

Implements javax.management.relation.Relation.getAllRoles.

Returns all roles present in the relation.

Returns:RoleResult

a RoleResult object, including a RoleList (for roles successfully retrieved) and a RoleUnresolvedList (for roles not readable).

Exceptions
RelationServiceNotRegisteredException:
if the Relation Service is not registered in the MBean Server
getAllRolesIntback to summary
pack-priv RoleResult getAllRolesInt(boolean relationServCallFlg, RelationService relationServ) throws IllegalArgumentException, RelationServiceNotRegisteredException
getReferencedMBeansback to summary
public Map<ObjectName, List<String>> getReferencedMBeans()

Implements javax.management.relation.Relation.getReferencedMBeans.

Retrieves MBeans referenced in the various roles of the relation.

Returns:Map<ObjectName, List<String>>

a HashMap mapping:

ObjectName -> ArrayList of String (role names)

getRelationIdback to summary
public String getRelationId()

Implements javax.management.relation.Relation.getRelationId.

Returns relation identifier (used to uniquely identify the relation inside the Relation Service).

Returns:String

the relation id.

getRelationServiceNameback to summary
public ObjectName getRelationServiceName()

Implements javax.management.relation.Relation.getRelationServiceName.

Returns ObjectName of the Relation Service handling the relation.

Returns:ObjectName

the ObjectName of the Relation Service.

getRelationTypeNameback to summary
public String getRelationTypeName()

Implements javax.management.relation.Relation.getRelationTypeName.

Returns name of associated relation type.

Returns:String

Doc from javax.management.relation.Relation.getRelationTypeName.

the name of the relation type.

getRoleback to summary
public List<ObjectName> getRole(String roleName) throws IllegalArgumentException, RoleNotFoundException, RelationServiceNotRegisteredException

Implements javax.management.relation.Relation.getRole.

Retrieves role value for given role name.

Checks if the role exists and is readable according to the relation type.

Parameters
roleName:String

name of role

Returns:List<ObjectName>

the ArrayList of ObjectName objects being the role value

Exceptions
IllegalArgumentException:
if null role name
RoleNotFoundException:
if:

- there is no role with given name

- the role is not readable.

RelationServiceNotRegisteredException:
if the Relation Service is not registered in the MBean Server
See Also
setRole
getRoleCardinalityback to summary
public Integer getRoleCardinality(String roleName) throws IllegalArgumentException, RoleNotFoundException

Implements javax.management.relation.Relation.getRoleCardinality.

Returns the number of MBeans currently referenced in the given role.

Parameters
roleName:String

name of role

Returns:Integer

the number of currently referenced MBeans in that role

Exceptions
IllegalArgumentException:
if null role name
RoleNotFoundException:
if there is no role with given name
getRoleIntback to summary
pack-priv Object getRoleInt(String roleName, boolean relationServCallFlg, RelationService relationServ, boolean multiRoleFlg) throws IllegalArgumentException, RoleNotFoundException, RelationServiceNotRegisteredException
getRolesback to summary
public RoleResult getRoles(String[] roleNameArray) throws IllegalArgumentException, RelationServiceNotRegisteredException

Implements javax.management.relation.Relation.getRoles.

Retrieves values of roles with given names.

Checks for each role if it exists and is readable according to the relation type.

Parameters
roleNameArray:String[]

array of names of roles to be retrieved

Returns:RoleResult

a RoleResult object, including a RoleList (for roles successfully retrieved) and a RoleUnresolvedList (for roles not retrieved).

Exceptions
IllegalArgumentException:
if null role name
RelationServiceNotRegisteredException:
if the Relation Service is not registered in the MBean Server
See Also
setRoles
getRolesIntback to summary
pack-priv RoleResult getRolesInt(String[] roleNameArray, boolean relationServCallFlg, RelationService relationServ) throws IllegalArgumentException, RelationServiceNotRegisteredException
handleMBeanUnregistrationback to summary
public void handleMBeanUnregistration(ObjectName objectName, String roleName) throws IllegalArgumentException, RoleNotFoundException, InvalidRoleValueException, RelationServiceNotRegisteredException, RelationTypeNotFoundException, RelationNotFoundException

Implements javax.management.relation.Relation.handleMBeanUnregistration.

Callback used by the Relation Service when a MBean referenced in a role is unregistered.

The Relation Service will call this method to let the relation take action to reflect the impact of such unregistration.

BEWARE. the user is not expected to call this method.

Current implementation is to set the role with its current value (list of ObjectNames of referenced MBeans) without the unregistered one.

Parameters
objectName:ObjectName

ObjectName of unregistered MBean

roleName:String

name of role where the MBean is referenced

Exceptions
IllegalArgumentException:
if null parameter
RoleNotFoundException:
if role does not exist in the relation or is not writable
InvalidRoleValueException:
if role value does not conform to the associated role info (this will never happen when called from the Relation Service)
RelationServiceNotRegisteredException:
if the Relation Service is not registered in the MBean Server
RelationTypeNotFoundException:
if the relation type has not been declared in the Relation Service.
RelationNotFoundException:
if this method is called for a relation MBean not added in the Relation Service.
handleMBeanUnregistrationIntback to summary
pack-priv void handleMBeanUnregistrationInt(ObjectName objectName, String roleName, boolean relationServCallFlg, RelationService relationServ) throws IllegalArgumentException, RoleNotFoundException, InvalidRoleValueException, RelationServiceNotRegisteredException, RelationTypeNotFoundException, RelationNotFoundException
initMembersback to summary
private void initMembers(String relationId, ObjectName relationServiceName, MBeanServer relationServiceMBeanServer, String relationTypeName, RoleList list) throws InvalidRoleValueException, IllegalArgumentException
initRoleMapback to summary
private void initRoleMap(RoleList list) throws InvalidRoleValueException
isInRelationServiceback to summary
public Boolean isInRelationService()

Implements javax.management.relation.RelationSupportMBean.isInRelationService.

Returns an internal flag specifying if the object is still handled by the Relation Service.

Returns:Boolean

Doc from javax.management.relation.RelationSupportMBean.isInRelationService.

a Boolean equal to Boolean#TRUE if the object is still handled by the Relation Service and Boolean#FALSE otherwise.

postDeregisterback to summary
public void postDeregister()

Implements javax.management.MBeanRegistration.postDeregister.

Doc from javax.management.MBeanRegistration.postDeregister.

Allows the MBean to perform any operations needed after having been unregistered in the MBean server.

If the implementation of this method throws a RuntimeException or an Error, the MBean Server will rethrow those inside a RuntimeMBeanException or RuntimeErrorException, respectively. However, throwing an exception in postDeregister will not change the state of the MBean: the MBean was already successfully deregistered and will remain so.

This might be confusing for the code calling unregisterMBean(), as it might assume that MBean deregistration has failed. Therefore it is recommended that implementations of postDeregister do not throw Runtime Exceptions or Errors if it can be avoided.

postRegisterback to summary
public void postRegister(Boolean registrationDone)

Implements javax.management.MBeanRegistration.postRegister.

Doc from javax.management.MBeanRegistration.postRegister.

Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed.

If the implementation of this method throws a RuntimeException or an Error, the MBean Server will rethrow those inside a RuntimeMBeanException or RuntimeErrorException, respectively. However, throwing an exception in postRegister will not change the state of the MBean: if the MBean was already registered (registrationDone is true), the MBean will remain registered.

This might be confusing for the code calling createMBean() or registerMBean(), as such code might assume that MBean registration has failed when such an exception is raised. Therefore it is recommended that implementations of postRegister do not throw Runtime Exceptions or Errors if it can be avoided.

Parameters
registrationDone:Boolean

Indicates whether or not the MBean has been successfully registered in the MBean server. The value false means that the registration phase has failed.

preDeregisterback to summary
public void preDeregister() throws Exception

Implements javax.management.MBeanRegistration.preDeregister.

Doc from javax.management.MBeanRegistration.preDeregister.

Allows the MBean to perform any operations it needs before being unregistered by the MBean server.

Exceptions
Exception:
This exception will be caught by the MBean server and re-thrown as an MBeanRegistrationException.
preRegisterback to summary
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception

Implements javax.management.MBeanRegistration.preRegister.

Doc from javax.management.MBeanRegistration.preRegister.

Allows the MBean to perform any operations it needs before being registered in the MBean Server. If the name of the MBean is not specified, the MBean can provide a name for its registration. If any exception is raised, the MBean will not be registered in the MBean Server.

Parameters
server:MBeanServer

The MBean Server in which the MBean will be registered.

name:ObjectName

The object name of the MBean. This name is null if the name parameter to one of the createMBean or registerMBean methods in the MBeanServer interface is null. In that case, this method must return a non-null ObjectName for the new MBean.

Returns:ObjectName

The name under which the MBean is to be registered. This value must not be null. If the name parameter is not null, it will usually but not necessarily be the returned value.

Exceptions
Exception:
This exception will be caught by the MBean Server and re-thrown as an MBeanRegistrationException.
retrieveAllRolesback to summary
public RoleList retrieveAllRoles()

Implements javax.management.relation.Relation.retrieveAllRoles.

Returns all roles in the relation without checking read mode.

Returns:RoleList

a RoleList

sendRoleUpdateNotificationback to summary
private void sendRoleUpdateNotification(Role newRole, List<ObjectName> oldRoleValue, boolean relationServCallFlg, RelationService relationServ) throws IllegalArgumentException, RelationServiceNotRegisteredException, RelationNotFoundException
setRelationServiceManagementFlagback to summary
public void setRelationServiceManagementFlag(Boolean flag) throws IllegalArgumentException

Implements javax.management.relation.RelationSupportMBean.setRelationServiceManagementFlag.

Doc from javax.management.relation.RelationSupportMBean.setRelationServiceManagementFlag.

Specifies whether this relation is handled by the Relation Service.

BEWARE, this method has to be exposed as the Relation Service will access the relation through its management interface. It is RECOMMENDED NOT to use this method. Using it does not affect the registration of the relation object in the Relation Service, but will provide wrong information about it!

Parameters
flag:Boolean

whether the relation is handled by the Relation Service.

Exceptions
IllegalArgumentException:
if null parameter
setRoleback to summary
public void setRole(Role role) throws IllegalArgumentException, RoleNotFoundException, RelationTypeNotFoundException, InvalidRoleValueException, RelationServiceNotRegisteredException, RelationNotFoundException

Implements javax.management.relation.Relation.setRole.

Sets the given role.

Will check the role according to its corresponding role definition provided in relation's relation type

Will send a notification (RelationNotification with type RELATION_BASIC_UPDATE or RELATION_MBEAN_UPDATE, depending if the relation is a MBean or not).

Parameters
role:Role

role to be set (name and new value)

Exceptions
IllegalArgumentException:
if null role
RoleNotFoundException:
if there is no role with the supplied role's name or if the role is not writable (no test on the write access mode performed when initializing the role)
RelationTypeNotFoundException:
if the relation type has not been declared in the Relation Service
InvalidRoleValueException:
if value provided for role is not valid, i.e.:

- the number of referenced MBeans in given value is less than expected minimum degree

- the number of referenced MBeans in provided value exceeds expected maximum degree

- one referenced MBean in the value is not an Object of the MBean class expected for that role

- a MBean provided for that role does not exist

RelationServiceNotRegisteredException:
if the Relation Service is not registered in the MBean Server
RelationNotFoundException:
if the relation has not been added in the Relation Service.
See Also
getRole
setRoleIntback to summary
pack-priv Object setRoleInt(Role aRole, boolean relationServCallFlg, RelationService relationServ, boolean multiRoleFlg) throws IllegalArgumentException, RoleNotFoundException, InvalidRoleValueException, RelationServiceNotRegisteredException, RelationTypeNotFoundException, RelationNotFoundException
setRolesback to summary
public RoleResult setRoles(RoleList list) throws IllegalArgumentException, RelationServiceNotRegisteredException, RelationTypeNotFoundException, RelationNotFoundException

Implements javax.management.relation.Relation.setRoles.

Sets the given roles.

Will check the role according to its corresponding role definition provided in relation's relation type

Will send one notification (RelationNotification with type RELATION_BASIC_UPDATE or RELATION_MBEAN_UPDATE, depending if the relation is a MBean or not) per updated role.

Parameters
list:RoleList

list of roles to be set

Returns:RoleResult

a RoleResult object, including a RoleList (for roles successfully set) and a RoleUnresolvedList (for roles not set).

Exceptions
IllegalArgumentException:
if null role list
RelationServiceNotRegisteredException:
if the Relation Service is not registered in the MBean Server
RelationTypeNotFoundException:
if the relation type has not been declared in the Relation Service.
RelationNotFoundException:
if the relation MBean has not been added in the Relation Service.
See Also
getRoles
setRolesIntback to summary
pack-priv RoleResult setRolesInt(RoleList list, boolean relationServCallFlg, RelationService relationServ) throws IllegalArgumentException, RelationServiceNotRegisteredException, RelationTypeNotFoundException, RelationNotFoundException
updateRelationServiceMapback to summary
private void updateRelationServiceMap(Role newRole, List<ObjectName> oldRoleValue, boolean relationServCallFlg, RelationService relationServ) throws IllegalArgumentException, RelationServiceNotRegisteredException, RelationNotFoundException