|Skip Navigation Links|
|Exit Print View|
|Oracle GlassFish Server 3.1 Add-On Component Development Guide|
The GlassFish Server administrative commands get(1), list(1), and set(1) locate a statistic through the dotted name of the statistic. The dotted name of a statistic for an add-on component is determined from the registration of the event listener that defines the statistic as follows:
The node in the monitorable object tree under which the event listener that defines the statistic is registered. This node is passed in the invocation of the register method that registers the event listener. For more information, see Registering an Event Listener.
The path through the monitorable object tree from the node under which the event listener is registered down to the statistic in the event listener in which each slash is replaced with a period. This path is passed in the invocation of the register method that registers the event listener. For more information, see Registering an Event Listener.
The name of the statistic. This name is the value of the id element of the @ManagedAttribute annotation on the property that represents the statistic. For more information, see Representing a Component's Statistics in an Event Listener Class.
The formats of the URL to a REST resource that represents a statistic is as follows:
The host where the DAS is running.
The HTTP port or HTTPS port for administration.
In this example, the DAS is running on the local host and the HTTP port for administration is 4848.