RelationSupport
RelationSupport
Relation Service가 단순 관계(역할만 있고 속성·메서드는 없는)를 표현하기 위해 내부적으로 사용하는 객체예요. 내부 표현이라 사용자에게 공개되지 않아요. 표준 MBean 설계 패턴을 따르므로, 사용자가 직접 인스턴스화해 MBean으로 등록한 뒤 Relation Service에 추가할수도 있어요. 직접 만든 관계 MBean 클래스가 이 클래스를 상속하거나, 멤버로 두고 위임(delegation)하는 방식도 가능해요.
본문
Relation Service가 단순 관계(역할만 있고 속성·메서드는 없는)를 표현하기 위해 내부적으로 사용하는 객체예요. 내부 표현이라 사용자에게 공개되지 않아요. 표준 MBean 설계 패턴을 따르므로, 사용자가 직접 인스턴스화해 MBean으로 등록한 뒤 Relation Service에 추가할수도 있어요. 직접 만든 관계 MBean 클래스가 이 클래스를 상속하거나, 멤버로 두고 위임(delegation)하는 방식도 가능해요.
public class RelationSupport implements RelationSupportMBean, MBeanRegistration
public List<ObjectName> getRole(String roleName) throws IllegalArgumentException, RoleNotFoundException, RelationServiceNotRegisteredException
public RoleResult getRoles(String[] roleNameArray) throws IllegalArgumentException, RelationServiceNotRegisteredException
public RoleResult getAllRoles() throws RelationServiceNotRegisteredException
public RoleList retrieveAllRoles()
public Integer getRoleCardinality(String roleName) throws IllegalArgumentException, RoleNotFoundException
public void setRole(Role role) throws IllegalArgumentException, RoleNotFoundException, RelationTypeNotFoundException, InvalidRoleValueException, RelationServiceNotRegisteredException, RelationNotFoundException
public RoleResult setRoles(RoleList list) throws IllegalArgumentException, RelationServiceNotRegisteredException, RelationTypeNotFoundException, RelationNotFoundException
public void handleMBeanUnregistration(ObjectName objectName, String roleName) throws IllegalArgumentException, RoleNotFoundException, InvalidRoleValueException, RelationServiceNotRegisteredException, RelationTypeNotFoundException, RelationNotFoundException
public Map<ObjectName,List<String>> getReferencedMBeans()
public String getRelationTypeName()
public ObjectName getRelationServiceName()
public String getRelationId()
public Boolean isInRelationService()
public void setRelationServiceManagementFlag(Boolean flag) throws IllegalArgumentException