Create a Self-Aware Deployer

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 2043

This topic has not yet been written. The content below is from the topic description.
Example 10.3. Simple Deployer which Outputs Information About Its Deployment public class StdioDeployer extends AbstractDeployer { public void deploy(DeploymentUnit unit) throws DeploymentException { System.out.println("Deploying unit: " + unit); } @Override public void undeploy(DeploymentUnit unit) { System.out.println("Undeploying unit: " + unit); } } Add this description into one of the -jboss-beans.xml files in deployers/ directory in JBoss Application Server, and MainDeployerImpl bean will pick up this deployer via the Microcontainer's IoC callback handling.