Methods in javax.management.relation that throw InvalidRelationIdException |
void |
RelationService.createRelation(java.lang.String relationId,
java.lang.String relationTypeName,
RoleList roleList)
According to the RI spec this method is used only to create internal relations
so can instantiate the InternalRelation class here and isRelationMBean() should return null. |
void |
RelationService.addRelation(ObjectName relationMBeanObjectName)
Add relation of a class that extends RelationSupport, is an external relation and can only be created with this method
createRelation() is for internal relations only |
void |
RelationServiceMBean.createRelation(java.lang.String relationId,
java.lang.String relationTypeName,
RoleList roleList)
|
void |
RelationServiceMBean.addRelation(ObjectName relationObjectName)
|