public class JMSTopicControlHandler extends AbstractRuntimeOnlyHandler
TopicControl
.Modifier and Type | Field and Description |
---|---|
static String |
COUNT_MESSAGES_FOR_SUBSCRIPTION |
static String |
DROP_ALL_SUBSCRIPTIONS |
static String |
DROP_DURABLE_SUBSCRIPTION |
static JMSTopicControlHandler |
INSTANCE |
static String |
LIST_ALL_SUBSCRIPTIONS |
static String |
LIST_ALL_SUBSCRIPTIONS_AS_JSON |
static String |
LIST_DURABLE_SUBSCRIPTIONS |
static String |
LIST_DURABLE_SUBSCRIPTIONS_AS_JSON |
static String |
LIST_MESSAGES_FOR_SUBSCRIPTION |
static String |
LIST_MESSAGES_FOR_SUBSCRIPTION_AS_JSON |
static String |
LIST_NON_DURABLE_SUBSCRIPTIONS |
static String |
LIST_NON_DURABLE_SUBSCRIPTIONS_AS_JSON |
static String |
REMOVE_MESSAGES |
static String |
SUBSCRIPTION_NAME |
Modifier and Type | Method and Description |
---|---|
protected void |
executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation)
Execute this step in
OperationContext.Stage.RUNTIME . |
void |
registerOperations(ManagementResourceRegistration registry) |
execute, waitFor
public static final JMSTopicControlHandler INSTANCE
public static final String LIST_ALL_SUBSCRIPTIONS
public static final String LIST_ALL_SUBSCRIPTIONS_AS_JSON
public static final String LIST_DURABLE_SUBSCRIPTIONS
public static final String LIST_DURABLE_SUBSCRIPTIONS_AS_JSON
public static final String LIST_NON_DURABLE_SUBSCRIPTIONS
public static final String LIST_NON_DURABLE_SUBSCRIPTIONS_AS_JSON
public static final String LIST_MESSAGES_FOR_SUBSCRIPTION
public static final String LIST_MESSAGES_FOR_SUBSCRIPTION_AS_JSON
public static final String COUNT_MESSAGES_FOR_SUBSCRIPTION
public static final String SUBSCRIPTION_NAME
public static final String DROP_DURABLE_SUBSCRIPTION
public static final String DROP_ALL_SUBSCRIPTIONS
public static final String REMOVE_MESSAGES
public void registerOperations(ManagementResourceRegistration registry)
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 context.completeStep()
.
If the operation succeeded, context.getResult()
should
be called and the result populated with the outcome, after which context.completeStep()
must be called.executeRuntimeStep
in class AbstractRuntimeOnlyHandler
context
- the operation contextoperation
- the operation being executedOperationFailedException
- if the operation failed before calling context.completeStep()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.