public class DeploymentCommandObserver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Instance<Deployer> |
deployerInst |
private static java.util.logging.Logger |
log |
Constructor and Description |
---|
DeploymentCommandObserver() |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
asByteArray(java.io.InputStream in)
Obtains the contents of the specified stream
as a byte array
|
void |
deploy(DeployDeploymentCommand event) |
void |
getDeployment(GetDeploymentCommand event) |
void |
onException(EventContext<Command> event) |
void |
undeploy(UnDeployDeploymentCommand event) |
public void onException(@Observes EventContext<Command> event)
public void deploy(@Observes DeployDeploymentCommand event)
public void undeploy(@Observes UnDeployDeploymentCommand event)
public void getDeployment(@Observes GetDeploymentCommand event)
static byte[] asByteArray(java.io.InputStream in) throws java.lang.IllegalArgumentException
in
- InputStreamjava.lang.IllegalArgumentException
- If the stream was not specified