|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The relationship service enables relationships between m-beans to be defined when they are required. The relationships do not need to be defined in advance. Information on the relationships between m-beans is not stored with the m-beans themselves, but is stored with the relationships. A relationship is an m-bean that implements the Java interface defined in com.sun.jaw.reference.common.RelationIf. To be able to access the relationship service, a relationship m-bean must be registered with the repository.
To implement a relationship service, implement the interface com.sun.jaw.reference.agent.services.RelationSrvIf. Using a relationship service, it is possible to:
RelationSrvIf
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
java.lang.Integer |
getDegree()
Getter for "degree" property. |
ObjectName[] |
getRole()
Getter for "Role" property. |
ObjectName |
getRole(int position)
Getter for "Role" property. |
void |
setRole(int position,
ObjectName roleName)
Setter for the "Role" property. |
void |
setRole(ObjectName[] roleNames)
Setter for the "Role" property. |
Method Detail |
public java.lang.Integer getDegree()
public ObjectName[] getRole()
public ObjectName getRole(int position)
position
- the position in the role property.public void setRole(int position, ObjectName roleName)
pos
- the position in the role property.roleName
- the new value of the roleName.public void setRole(ObjectName[] roleNames)
roleNames
- the new value of the "Role" property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |