org.rhq.enterprise.communications.command.server
Interface KeyProperty


public interface KeyProperty

Defines key properties and their valid values that command service MBeans can use in their ObjectNames.

Author:
John Mazzitelli

Field Summary
static String ID
          The key name that defines the unique index number may be assigned to the services.
static String SUBSYSTEM
          This is a key name that defines the subsystem in which this MBean belongs to.
static String TYPE
          This is a key name that defines the type of MBean.
static String TYPE_COMMAND
          Value of a key property named TYPE that specifies a type of MBean that supports/executes commands.
static String TYPE_DIRECTORY
          Value of a key property named TYPE that specifies a type of MBean who maintains a directory of command services and their supported command types.
 

Field Detail

TYPE

static final String TYPE
This is a key name that defines the type of MBean. All MBeans that are deployed as part of the Command framework must have this key property defined. Valid values of properties that have this key name are TYPE_COMMAND and TYPE_DIRECTORY.

See Also:
Constant Field Values

TYPE_COMMAND

static final String TYPE_COMMAND
Value of a key property named TYPE that specifies a type of MBean that supports/executes commands. An MBean that has this key property value is considered a provider of a command type.

See Also:
Constant Field Values

TYPE_DIRECTORY

static final String TYPE_DIRECTORY
Value of a key property named TYPE that specifies a type of MBean who maintains a directory of command services and their supported command types.

See Also:
Constant Field Values

SUBSYSTEM

static final String SUBSYSTEM
This is a key name that defines the subsystem in which this MBean belongs to. A subsystem is an arbitrary string that groups together command services and their directory. All MBeans that are deployed as part of the Command framework should have this key property defined. If this is not defined, the MBeans will be assigned the unnamed, anonymous subsystem.

See Also:
Constant Field Values

ID

static final String ID
The key name that defines the unique index number may be assigned to the services.

See Also:
ServiceContainer.addCommandService(CommandService), Constant Field Values


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.