Aspects for Object Types—Interfaces and Annotations

Supplemental interfaces and annotations let you model aspects of managed objects—such as states, configuration and references.

The results of your managed objects analysis indicate the aspects of each object type (see Aspects of Managed Objects). When defining an object type in interface style, implement these interfaces to model those aspects. When defining an object type in annotation style, use the corresponding annotations to model those aspects.

Aspect Interface

com.tibco.tea.agent.api

Annotation

com.tibco.tea.agent.annotations

States WithStatus TeaGetStatus
Configuration WithConfig TeaGetConfig
Members (containment relationship) WithMembers TeaGetMembers

In contrast, to model operations and references you must use an annotation—even in interface style. See Defining Operations, Defining References for Object Types with Interfaces and Defining References for Object Types with Annotations.

Related tasks