Red Hat Training
A Red Hat training course is available for Red Hat JBoss Operations Network
Chapter 6. Agent Advanced Management Plug-in System (AMPS) Reference
This is a reference of common components and elements used to write agent plug-ins.
6.1. Domain Objects
Domain objects include the basic pieces of the management inventory that define resources and types.
6.1.1. Resource and ResourceType
A Resource represents a single entity in inventory, be it a platform, server or service. The precise semantics of platforms, servers, adn services is vague, so a Resource object encapsulates any resource no matter what its category.
ResourceCategory is an enumeration that is associated with each Resource and indicates if the Resource is considered a platform, server, or service.
ResourceType represents types of resource instances that can be added to inventory. ResourceTypes are defined by plug-in descriptors. Another way of looking at it is that a ResourceType defines an application or service that can be managed by JBoss ON. ResourceTypes are added to JBoss ON as agent plug-ins are deployed, so a JBoss AS plug-in allows you to manage JBoss servers, a Tomcat plug-in manages Tomcat servers, and a custom plug-in can manage a custom application.