javax.management.relation
Interface Relation

All Known Subinterfaces:
RelationSupportMBean
All Known Implementing Classes:
RelationSupport

public interface Relation


Method Summary
 javax.management.relation.RoleResult getAllRoles()
           
 java.util.Map getReferencedMBeans()
           
 java.lang.String getRelationId()
           
 javax.management.ObjectName getRelationServiceName()
           
 java.lang.String getRelationTypeName()
           
 java.util.List getRole(java.lang.String roleName)
           
 java.lang.Integer getRoleCardinality(java.lang.String roleName)
           
 javax.management.relation.RoleResult getRoles(java.lang.String[] roleNames)
           
 void handleMBeanUnregistration(javax.management.ObjectName objectName, java.lang.String roleName)
           
 javax.management.relation.RoleList retrieveAllRoles()
           
 void setRole(javax.management.relation.Role role)
           
 javax.management.relation.RoleResult setRoles(javax.management.relation.RoleList roleList)
           
 

Method Detail

getRole

public java.util.List getRole(java.lang.String roleName)
                       throws java.lang.IllegalArgumentException,
                              RoleNotFoundException,
                              RelationServiceNotRegisteredException
java.lang.IllegalArgumentException
RoleNotFoundException
RelationServiceNotRegisteredException

getRoles

public javax.management.relation.RoleResult getRoles(java.lang.String[] roleNames)
                                              throws java.lang.IllegalArgumentException,
                                                     RelationServiceNotRegisteredException
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException

getRoleCardinality

public java.lang.Integer getRoleCardinality(java.lang.String roleName)
                                     throws java.lang.IllegalArgumentException,
                                            RoleNotFoundException
java.lang.IllegalArgumentException
RoleNotFoundException

getAllRoles

public javax.management.relation.RoleResult getAllRoles()
                                                 throws RelationServiceNotRegisteredException
RelationServiceNotRegisteredException

retrieveAllRoles

public javax.management.relation.RoleList retrieveAllRoles()

setRole

public void setRole(javax.management.relation.Role role)
             throws java.lang.IllegalArgumentException,
                    RoleNotFoundException,
                    RelationTypeNotFoundException,
                    InvalidRoleValueException,
                    RelationServiceNotRegisteredException,
                    RelationNotFoundException
java.lang.IllegalArgumentException
RoleNotFoundException
RelationTypeNotFoundException
InvalidRoleValueException
RelationServiceNotRegisteredException
RelationNotFoundException

setRoles

public javax.management.relation.RoleResult setRoles(javax.management.relation.RoleList roleList)
                                              throws java.lang.IllegalArgumentException,
                                                     RelationServiceNotRegisteredException,
                                                     RelationTypeNotFoundException,
                                                     RelationNotFoundException
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException
RelationTypeNotFoundException
RelationNotFoundException

handleMBeanUnregistration

public void handleMBeanUnregistration(javax.management.ObjectName objectName,
                                      java.lang.String roleName)
                               throws java.lang.IllegalArgumentException,
                                      RoleNotFoundException,
                                      InvalidRoleValueException,
                                      RelationServiceNotRegisteredException,
                                      RelationTypeNotFoundException,
                                      RelationNotFoundException
java.lang.IllegalArgumentException
RoleNotFoundException
InvalidRoleValueException
RelationServiceNotRegisteredException
RelationTypeNotFoundException
RelationNotFoundException

getReferencedMBeans

public java.util.Map getReferencedMBeans()

getRelationTypeName

public java.lang.String getRelationTypeName()

getRelationServiceName

public javax.management.ObjectName getRelationServiceName()

getRelationId

public java.lang.String getRelationId()