javax.management.relation
Interface Relation

All Known Subinterfaces:
RelationSupportMBean
All Known Implementing Classes:
RelationSupport

public interface Relation

Version:
$Revision: 1.2 $
Author:
Bronwen Cassidy

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

Method Detail

getRole

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

getRoles

public RoleResult getRoles(java.lang.String[] roleNames)
                    throws java.lang.IllegalArgumentException,
                           RelationServiceNotRegisteredException
Throws:
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException

getRoleCardinality

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

getAllRoles

public RoleResult getAllRoles()
                       throws RelationServiceNotRegisteredException
Throws:
RelationServiceNotRegisteredException

retrieveAllRoles

public RoleList retrieveAllRoles()

setRole

public void setRole(Role role)
             throws java.lang.IllegalArgumentException,
                    RoleNotFoundException,
                    RelationTypeNotFoundException,
                    InvalidRoleValueException,
                    RelationServiceNotRegisteredException,
                    RelationNotFoundException
Throws:
java.lang.IllegalArgumentException
RoleNotFoundException
RelationTypeNotFoundException
InvalidRoleValueException
RelationServiceNotRegisteredException
RelationNotFoundException

setRoles

public RoleResult setRoles(RoleList roleList)
                    throws java.lang.IllegalArgumentException,
                           RelationServiceNotRegisteredException,
                           RelationTypeNotFoundException,
                           RelationNotFoundException
Throws:
java.lang.IllegalArgumentException
RelationServiceNotRegisteredException
RelationTypeNotFoundException
RelationNotFoundException

handleMBeanUnregistration

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

getReferencedMBeans

public java.util.Map getReferencedMBeans()

getRelationTypeName

public java.lang.String getRelationTypeName()

getRelationServiceName

public ObjectName getRelationServiceName()

getRelationId

public java.lang.String getRelationId()


Copyright © 2001-2002 MX4J Team. All Rights Reserved.