|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommandServiceMBean
The interface that all command services implement. Command services are responsible for actually executing commands and returning their results.
This should be the MBean interface for all command services - there is no need for each service to have its own
xxxMBean interface so long as the command service implementation extends CommandService.
CommandService| Method Summary | |
|---|---|
CommandType[] |
getSupportedCommandTypes()
Returns a set of CommandType identifiers that this service supports. |
| Methods inherited from interface org.rhq.enterprise.communications.command.CommandExecutor |
|---|
execute |
| Method Detail |
|---|
CommandType[] getSupportedCommandTypes()
CommandType identifiers that this service supports. This will identify which commands
this command service provides (i.e. it indicates the commands this service can execute).
The returned array should be fixed during the lifetime of this service (or at least during its registration in
an MBeanServer). Changes to the supported command types during runtime will not be detected once the
CommandServiceDirectory has discovered this service. As a corollary to this rule, this method must be
ready to provide the array of support command types at the time it is registered on an MBeanServer (in other
words, this method will be called, specifically by the directory, as soon as this
service is registered).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||