public class JMSServerControlHandler extends AbstractRuntimeOnlyHandler
JMSServerControl.| Modifier and Type | Field and Description |
|---|---|
static String |
ADDRESS_NAME |
static String |
CONNECTION_ID |
static String |
GET_LAST_SENT_MESSAGE_ID |
static String |
GET_SESSION_CREATION_TIME |
static JMSServerControlHandler |
INSTANCE |
static String |
JMS_SERVER |
static String |
LIST_ALL_CONSUMERS_AS_JSON |
static String |
LIST_CONNECTIONS_AS_JSON |
static String |
LIST_CONSUMERS_AS_JSON |
static String |
LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_HTML |
static String |
LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_JSON |
static String |
LIST_SESSIONS_AS_JSON |
static String |
LIST_TARGET_DESTINATIONS |
static String |
SESSION_ID |
| 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, resourceMustExist, waitForpublic static final JMSServerControlHandler INSTANCE
public static final String LIST_CONNECTIONS_AS_JSON
public static final String LIST_CONSUMERS_AS_JSON
public static final String LIST_ALL_CONSUMERS_AS_JSON
public static final String LIST_TARGET_DESTINATIONS
public static final String GET_LAST_SENT_MESSAGE_ID
public static final String GET_SESSION_CREATION_TIME
public static final String LIST_SESSIONS_AS_JSON
public static final String LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_JSON
public static final String LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_HTML
public static final String JMS_SERVER
public static final String ADDRESS_NAME
public static final String CONNECTION_ID
public static final String SESSION_ID
protected void executeRuntimeStep(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
AbstractRuntimeOnlyHandlerOperationContext.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 AbstractRuntimeOnlyHandlercontext - the operation contextoperation - the operation being executedOperationFailedException - if the operation failed before calling context.completeStep()public void registerOperations(ManagementResourceRegistration registry)
Copyright © 2014 JBoss by Red Hat. All rights reserved.