public abstract class AbstractEJBComponentRuntimeHandler<T extends EJBComponent> extends AbstractRuntimeOnlyHandler
EJBComponents.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEJBComponentRuntimeHandler(EJBComponentType componentType,
Class<T> componentClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeAgainstComponent(OperationContext context,
org.jboss.dmr.ModelNode operation,
T component,
String opName,
PathAddress address) |
protected void |
executeReadAttribute(String attributeName,
OperationContext context,
T component,
PathAddress address) |
protected void |
executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation)
Execute this step in
OperationContext.Stage.RUNTIME. |
protected void |
executeWriteAttribute(String attributeName,
OperationContext context,
org.jboss.dmr.ModelNode operation,
T component,
PathAddress address) |
protected boolean |
isOperationReadOnly(String opName) |
void |
registerComponent(PathAddress address,
org.jboss.msc.service.ServiceName serviceName) |
void |
unregisterComponent(PathAddress address) |
execute, waitForprotected AbstractEJBComponentRuntimeHandler(EJBComponentType componentType, Class<T> componentClass)
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 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 AbstractRuntimeOnlyHandlercontext - the operation contextoperation - the operation being executedOperationFailedException - if the operation failed before calling context.completeStep()public void registerComponent(PathAddress address, org.jboss.msc.service.ServiceName serviceName)
public void unregisterComponent(PathAddress address)
protected void executeReadAttribute(String attributeName, OperationContext context, T component, PathAddress address)
protected void executeWriteAttribute(String attributeName, OperationContext context, org.jboss.dmr.ModelNode operation, T component, PathAddress address) throws OperationFailedException
OperationFailedExceptionprotected void executeAgainstComponent(OperationContext context, org.jboss.dmr.ModelNode operation, T component, String opName, PathAddress address) throws OperationFailedException
OperationFailedExceptionprotected boolean isOperationReadOnly(String opName)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.