Validate.stateNotNull(deployment, "No " + Archive.class.getName() + " found in context");
context.fire(new BeforeDeploy());
ContainerMethodExecutor executor = container.deploy(context, deployment);
context.add(ContainerMethodExecutor.class, executor);
context.fire(new AfterDeploy());
}