javax.management.relation
Interface RelationServiceMBean

All Known Implementing Classes:
RelationService

public interface RelationServiceMBean


Method Summary
 void addRelation(javax.management.ObjectName relationObjectName)
           
 void addRelationType(javax.management.relation.RelationType relationTypeObject)
           
 java.lang.Integer checkRoleReading(java.lang.String roleName, java.lang.String relationTypeName)
           
 java.lang.Integer checkRoleWriting(javax.management.relation.Role role, java.lang.String relationTypeName, java.lang.Boolean initializeRoleFlag)
           
 void createRelation(java.lang.String relationId, java.lang.String relationTypeName, javax.management.relation.RoleList roleList)
           
 void createRelationType(java.lang.String relationTypeName, javax.management.relation.RoleInfo[] roleInfos)
           
 java.util.Map findAssociatedMBeans(javax.management.ObjectName mbeanObjectName, java.lang.String relationTypeName, java.lang.String roleName)
           
 java.util.Map findReferencingRelations(javax.management.ObjectName mbeanObjectName, java.lang.String relationTypeName, java.lang.String roleName)
           
 java.util.List findRelationsOfType(java.lang.String relationTypeName)
           
 java.util.List getAllRelationIds()
           
 java.util.List getAllRelationTypeNames()
           
 javax.management.relation.RoleResult getAllRoles(java.lang.String relationId)
           
 boolean getPurgeFlag()
           
 java.util.Map getReferencedMBeans(java.lang.String relationId)
           
 java.lang.String getRelationTypeName(java.lang.String relationId)
           
 java.util.List getRole(java.lang.String relationId, java.lang.String roleName)
           
 java.lang.Integer getRoleCardinality(java.lang.String relationId, java.lang.String roleName)
           
 javax.management.relation.RoleInfo getRoleInfo(java.lang.String relationTypeName, java.lang.String roleInfoName)
           
 java.util.List getRoleInfos(java.lang.String relationTypeName)
           
 javax.management.relation.RoleResult getRoles(java.lang.String relationId, java.lang.String[] roleNames)
           
 java.lang.Boolean hasRelation(java.lang.String relationId)
           
 void isActive()
           
 java.lang.String isRelation(javax.management.ObjectName objectName)
           
 javax.management.ObjectName isRelationMBean(java.lang.String relationId)
           
 void purgeRelations()
           
 void removeRelation(java.lang.String relationId)
           
 void removeRelationType(java.lang.String relationTypeName)
           
 void sendRelationCreationNotification(java.lang.String relationId)
           
 void sendRelationRemovalNotification(java.lang.String relationId, java.util.List unregisteredMBeanList)
           
 void sendRoleUpdateNotification(java.lang.String relationId, javax.management.relation.Role newRole, java.util.List oldRoleValues)
           
 void setPurgeFlag(boolean purgeFlag)
           
 void setRole(java.lang.String relationId, javax.management.relation.Role role)
           
 javax.management.relation.RoleResult setRoles(java.lang.String relationId, javax.management.relation.RoleList roleList)
           
 void updateRoleMap(java.lang.String relationId, javax.management.relation.Role newRole, java.util.List oldRoleValues)
           
 

Method Detail

isActive

public void isActive()
              throws RelationServiceNotRegisteredException
RelationServiceNotRegisteredException

getPurgeFlag

public boolean getPurgeFlag()

setPurgeFlag

public void setPurgeFlag(boolean purgeFlag)

createRelationType

public void createRelationType(java.lang.String relationTypeName,
                               javax.management.relation.RoleInfo[] roleInfos)
                        throws java.lang.IllegalArgumentException,
                               InvalidRelationTypeException
java.lang.IllegalArgumentException
InvalidRelationTypeException

addRelationType

public void addRelationType(javax.management.relation.RelationType relationTypeObject)
                     throws java.lang.IllegalArgumentException,
                            InvalidRelationTypeException
java.lang.IllegalArgumentException
InvalidRelationTypeException

getAllRelationTypeNames

public java.util.List getAllRelationTypeNames()

getRoleInfos

public java.util.List getRoleInfos(java.lang.String relationTypeName)
                            throws java.lang.IllegalArgumentException,
                                   RelationTypeNotFoundException
java.lang.IllegalArgumentException
RelationTypeNotFoundException

getRoleInfo

public javax.management.relation.RoleInfo getRoleInfo(java.lang.String relationTypeName,
                                                      java.lang.String roleInfoName)
                                               throws java.lang.IllegalArgumentException,
                                                      RelationTypeNotFoundException,
                                                      RoleInfoNotFoundException
java.lang.IllegalArgumentException
RelationTypeNotFoundException
RoleInfoNotFoundException

removeRelationType

public void removeRelationType(java.lang.String relationTypeName)
                        throws java.lang.IllegalArgumentException,
                               RelationServiceNotRegisteredException,
                               RelationTypeNotFoundException
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException
RelationTypeNotFoundException

createRelation

public void createRelation(java.lang.String relationId,
                           java.lang.String relationTypeName,
                           javax.management.relation.RoleList roleList)
                    throws java.lang.IllegalArgumentException,
                           RelationServiceNotRegisteredException,
                           RoleNotFoundException,
                           InvalidRelationIdException,
                           RelationTypeNotFoundException,
                           InvalidRoleValueException
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException
RoleNotFoundException
InvalidRelationIdException
RelationTypeNotFoundException
InvalidRoleValueException

addRelation

public void addRelation(javax.management.ObjectName relationObjectName)
                 throws java.lang.IllegalArgumentException,
                        RelationServiceNotRegisteredException,
                        java.lang.NoSuchMethodException,
                        InvalidRelationIdException,
                        InstanceNotFoundException,
                        InvalidRelationServiceException,
                        RelationTypeNotFoundException,
                        RoleNotFoundException,
                        InvalidRoleValueException
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException
java.lang.NoSuchMethodException
InvalidRelationIdException
InstanceNotFoundException
InvalidRelationServiceException
RelationTypeNotFoundException
RoleNotFoundException
InvalidRoleValueException

isRelationMBean

public javax.management.ObjectName isRelationMBean(java.lang.String relationId)
                                            throws java.lang.IllegalArgumentException,
                                                   RelationNotFoundException
java.lang.IllegalArgumentException
RelationNotFoundException

isRelation

public java.lang.String isRelation(javax.management.ObjectName objectName)
                            throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

hasRelation

public java.lang.Boolean hasRelation(java.lang.String relationId)
                              throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

getAllRelationIds

public java.util.List getAllRelationIds()

checkRoleReading

public java.lang.Integer checkRoleReading(java.lang.String roleName,
                                          java.lang.String relationTypeName)
                                   throws java.lang.IllegalArgumentException,
                                          RelationTypeNotFoundException
java.lang.IllegalArgumentException
RelationTypeNotFoundException

checkRoleWriting

public java.lang.Integer checkRoleWriting(javax.management.relation.Role role,
                                          java.lang.String relationTypeName,
                                          java.lang.Boolean initializeRoleFlag)
                                   throws java.lang.IllegalArgumentException,
                                          RelationTypeNotFoundException
java.lang.IllegalArgumentException
RelationTypeNotFoundException

sendRelationCreationNotification

public void sendRelationCreationNotification(java.lang.String relationId)
                                      throws java.lang.IllegalArgumentException,
                                             RelationNotFoundException
java.lang.IllegalArgumentException
RelationNotFoundException

sendRoleUpdateNotification

public void sendRoleUpdateNotification(java.lang.String relationId,
                                       javax.management.relation.Role newRole,
                                       java.util.List oldRoleValues)
                                throws java.lang.IllegalArgumentException,
                                       RelationNotFoundException
java.lang.IllegalArgumentException
RelationNotFoundException

sendRelationRemovalNotification

public void sendRelationRemovalNotification(java.lang.String relationId,
                                            java.util.List unregisteredMBeanList)
                                     throws java.lang.IllegalArgumentException,
                                            RelationNotFoundException
java.lang.IllegalArgumentException
RelationNotFoundException

updateRoleMap

public void updateRoleMap(java.lang.String relationId,
                          javax.management.relation.Role newRole,
                          java.util.List oldRoleValues)
                   throws java.lang.IllegalArgumentException,
                          RelationServiceNotRegisteredException,
                          RelationNotFoundException
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException
RelationNotFoundException

removeRelation

public void removeRelation(java.lang.String relationId)
                    throws java.lang.IllegalArgumentException,
                           RelationServiceNotRegisteredException,
                           RelationNotFoundException
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException
RelationNotFoundException

purgeRelations

public void purgeRelations()
                    throws RelationServiceNotRegisteredException
RelationServiceNotRegisteredException

findReferencingRelations

public java.util.Map findReferencingRelations(javax.management.ObjectName mbeanObjectName,
                                              java.lang.String relationTypeName,
                                              java.lang.String roleName)
                                       throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

findAssociatedMBeans

public java.util.Map findAssociatedMBeans(javax.management.ObjectName mbeanObjectName,
                                          java.lang.String relationTypeName,
                                          java.lang.String roleName)
                                   throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

findRelationsOfType

public java.util.List findRelationsOfType(java.lang.String relationTypeName)
                                   throws java.lang.IllegalArgumentException,
                                          RelationTypeNotFoundException
java.lang.IllegalArgumentException
RelationTypeNotFoundException

getRole

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

getRoles

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

getAllRoles

public javax.management.relation.RoleResult getAllRoles(java.lang.String relationId)
                                                 throws java.lang.IllegalArgumentException,
                                                        RelationNotFoundException,
                                                        RelationServiceNotRegisteredException
java.lang.IllegalArgumentException
RelationNotFoundException
RelationServiceNotRegisteredException

getRoleCardinality

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

setRole

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

setRoles

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

getReferencedMBeans

public java.util.Map getReferencedMBeans(java.lang.String relationId)
                                  throws java.lang.IllegalArgumentException,
                                         RelationNotFoundException
java.lang.IllegalArgumentException
RelationNotFoundException

getRelationTypeName

public java.lang.String getRelationTypeName(java.lang.String relationId)
                                     throws java.lang.IllegalArgumentException,
                                            RelationNotFoundException
java.lang.IllegalArgumentException
RelationNotFoundException