| javax.management.relation.RelationSupportMBean
RelationSupportMBean | public interface RelationSupportMBean extends Relation(Code) | | A RelationSupport object is used internally by the Relation Service to
represent simple relations (only roles, no properties or methods), with an
unlimited number of roles, of any relation type. As internal representation,
it is not exposed to the user.
RelationSupport class conforms to the design patterns of standard MBean. So
the user can decide to instantiate a RelationSupport object himself as a
MBean (as it follows the MBean design patterns), to register it in the
MBean Server, and then to add it in the Relation Service.
The user can also, when creating his own MBean relation class, have it
extending RelationSupport, to retrieve the implementations of required
interfaces (see below).
It is also possible to have in a user relation MBean class a member being a
RelationSupport object, and to implement the required interfaces by
delegating all to this member.
RelationSupport implements the Relation interface (to be handled by the
Relation Service).
|
Method Summary | |
public Boolean | isInRelationService() Returns an internal flag specifying if the object is still handled by
the Relation Service. | public void | setRelationServiceManagementFlag(Boolean theFlg) Sets the flag to specify that it is handled or not by the Relation Service
BEWARE, this method has to be exposed as the Relation Service will access
the relation through its management interface. |
isInRelationService | public Boolean isInRelationService()(Code) | | Returns an internal flag specifying if the object is still handled by
the Relation Service.
|
setRelationServiceManagementFlag | public void setRelationServiceManagementFlag(Boolean theFlg) throws IllegalArgumentException(Code) | | Sets the flag to specify that it is handled or not by the Relation Service
BEWARE, this method has to be exposed as the Relation Service will access
the relation through its management interface. It is RECOMMENDED NOT to
use this method. Using it does not affect the registration of the
relation object in the Relation Service, but will provide wrong
information about it!!!!
Parameters: theFlg - True if the flag is handled by the Relation service otherwise false throws: java.lang.IllegalArgumentException - - if null parameter |
|
|