Class | Description |
---|---|
Target |
System management targets allow developers to extend the system
management framework.
|
Error | Description |
---|---|
TargetError |
Thrown by the framework when a Target behaves incorrectly, or fails an
audit at registration time.
|
Annotation Type | Description |
---|---|
Command |
Indicate that this method should be exposed as an command.
|
Default |
Defines default values for parameters.
|
ManagementTarget |
Indicate that this class implements a Management Target.
|
Parameter |
ManagementTarget Command parameter.
|
Developers of management targets extend the
Target
class. Targets are marked with the @ManagementTarget
annotation, wherein their public name is defined.
Methods are marked with the @Command annotation to
expose them as commands on the management target. They must return void,
or TargetException will be thrown when the target is registered.
All parameters of a method marked with the @Command annotation must be marked with the @Parameter annotation, or a TargetException will be thrown when the target is registered. Supported parameter types are String, Enum, Boolean, Character, Integer, Byte, Short, Long, Float, and Double. Arrays are not supported.