public interface DeploymentValidator
This mechanism is useful when issuing operations asynchronously, as
is the case when deploying via
DeploymentMessage and
DeploymentMessagePublisher.
| Modifier and Type | Method and Description |
|---|---|
void |
validateBeforeDelete(java.lang.String name)
Validate before deletion of the definition.
|
void |
validateBeforeDeploy(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> properties)
Validate before deploying.
|
void |
validateBeforeSave(java.lang.String name,
java.lang.String definition)
Validate before saving the definitions.
|
void |
validateBeforeUndeploy(java.lang.String name)
Validate before un-deployment.
|
void validateBeforeSave(java.lang.String name,
java.lang.String definition)
throws DefinitionAlreadyExistsException
name - the deployment unit namedefinition - the definitionDefinitionAlreadyExistsExceptionvoid validateBeforeDeploy(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> properties)
throws AlreadyDeployedException,
DefinitionAlreadyExistsException
name - the deployment unit nameproperties - AlreadyDeployedExceptionDefinitionAlreadyExistsExceptionvoid validateBeforeUndeploy(java.lang.String name)
throws NoSuchDefinitionException,
NotDeployedException
name - the deployment unit nameNoSuchDefinitionExceptionNotDeployedExceptionvoid validateBeforeDelete(java.lang.String name)
throws NoSuchDefinitionException
name - the deployment unit nameNoSuchDefinitionException