1 7 8 package javax.management.relation; 9 10 import java.util.List ; 11 import java.util.Map ; 12 13 import javax.management.ObjectName ; 14 import javax.management.InstanceNotFoundException ; 15 import javax.management.ReflectionException ; 16 17 34 public interface Relation { 35 36 54 public List getRole(String theRoleName) 55 throws IllegalArgumentException , 56 RoleNotFoundException , 57 RelationServiceNotRegisteredException ; 58 59 76 public RoleResult getRoles(String [] theRoleNameArray) 77 throws IllegalArgumentException , 78 RelationServiceNotRegisteredException ; 79 80 90 public Integer getRoleCardinality(String theRoleName) 91 throws IllegalArgumentException , 92 RoleNotFoundException ; 93 94 104 public RoleResult getAllRoles() 105 throws RelationServiceNotRegisteredException ; 106 107 112 public RoleList retrieveAllRoles(); 113 114 145 public void setRole(Role theRole) 146 throws IllegalArgumentException , 147 RoleNotFoundException , 148 RelationTypeNotFoundException , 149 InvalidRoleValueException , 150 RelationServiceNotRegisteredException , 151 RelationNotFoundException ; 152 153 177 public RoleResult setRoles(RoleList theRoleList) 178 throws IllegalArgumentException , 179 RelationServiceNotRegisteredException , 180 RelationTypeNotFoundException , 181 RelationNotFoundException ; 182 183 209 public void handleMBeanUnregistration(ObjectName theObjName, 210 String theRoleName) 211 throws IllegalArgumentException , 212 RoleNotFoundException , 213 InvalidRoleValueException , 214 RelationServiceNotRegisteredException , 215 RelationTypeNotFoundException , 216 RelationNotFoundException ; 217 218 224 public Map getReferencedMBeans(); 225 226 231 public String getRelationTypeName(); 232 233 238 public ObjectName getRelationServiceName(); 239 240 246 public String getRelationId(); 247 } 248 | Popular Tags |