public class HornetQServerControlHandler extends AbstractRuntimeOnlyHandler
HornetQServerControl
.Modifier and Type | Method and Description |
---|---|
protected void |
executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation)
Execute this step in
OperationContext.Stage.RUNTIME . |
void |
registerAttributes(ManagementResourceRegistration registry) |
void |
registerOperations(ManagementResourceRegistration registry) |
execute, resourceMustExist, waitFor
public static final AttributeDefinition ACTIVE
public static final AttributeDefinition STARTED
public static final AttributeDefinition VERSION
public static final String GET_CONNECTORS_AS_JSON
public static final String RESET_ALL_MESSAGE_COUNTERS
public static final String RESET_ALL_MESSAGE_COUNTER_HISTORIES
public static final String LIST_PREPARED_TRANSACTIONS
public static final String LIST_PREPARED_TRANSACTION_DETAILS_AS_JSON
public static final String LIST_PREPARED_TRANSACTION_DETAILS_AS_HTML
public static final String LIST_HEURISTIC_COMMITTED_TRANSACTIONS
public static final String LIST_HEURISTIC_ROLLED_BACK_TRANSACTIONS
public static final String COMMIT_PREPARED_TRANSACTION
public static final String ROLLBACK_PREPARED_TRANSACTION
public static final String LIST_REMOTE_ADDRESSES
public static final String CLOSE_CONNECTIONS_FOR_ADDRESS
public static final String LIST_CONNECTION_IDS
public static final String LIST_PRODUCERS_INFO_AS_JSON
public static final String LIST_SESSIONS
public static final String GET_ROLES
@Deprecated public static final String GET_ROLES_AS_JSON
public static final String GET_ADDRESS_SETTINGS_AS_JSON
public static final String FORCE_FAILOVER
public static final String HQ_SERVER
public static final String TRANSACTION_AS_BASE_64
public static final String ADDRESS_MATCH
public static final String CONNECTION_ID
public static final String IP_ADDRESS
protected void executeRuntimeStep(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
AbstractRuntimeOnlyHandler
OperationContext.Stage.RUNTIME
.
If the operation fails, context.getFailureDescroption()
must be called, or OperationFailedException
must be thrown, before calling one of the
context.completeStep variants
.
If the operation succeeded, context.getResult()
should
be called and the result populated with the outcome, after which one of the
context.completeStep variants
must be called.executeRuntimeStep
in class AbstractRuntimeOnlyHandler
context
- the operation contextoperation
- the operation being executedOperationFailedException
- if the operation failed before calling context.completeStep()
public void registerAttributes(ManagementResourceRegistration registry)
public void registerOperations(ManagementResourceRegistration registry)
Copyright © 2014 JBoss by Red Hat. All rights reserved.