public class DeploymentAddHandler extends Object implements OperationStepHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME |
| Constructor and Description |
|---|
DeploymentAddHandler(ContentRepository contentRepository)
Constructor for a master Host Controller
|
DeploymentAddHandler(HostFileRepository fileRepository,
ContentRepository contentRepository)
Constructor for a slave Host Controller
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
public static final String OPERATION_NAME
public DeploymentAddHandler(HostFileRepository fileRepository, ContentRepository contentRepository)
public DeploymentAddHandler(ContentRepository contentRepository)
contentRepository - the master content repository. If null this handler will function as a slave handler would.public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
execute in interface OperationStepHandlerOperationFailedExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.