1 22 package org.jboss.deployers.spi.deployer; 23 24 import java.util.Comparator ; 25 26 import org.jboss.deployers.spi.DeploymentException; 27 import org.jboss.deployers.spi.OrderedDeployer; 28 29 37 public interface Deployer extends OrderedDeployer 38 { 39 40 public static final int PARSER_DEPLOYER = 2000; 41 42 43 public static final int CLASSLOADER_DEPLOYER = 4000; 44 45 46 public static final int POSTPROCESS_CLASSLOADING_DEPLOYER = 5000; 47 48 49 public static final int COMPONENT_DEPLOYER = 7000; 50 51 52 public static final int REAL_DEPLOYER = 10000; 53 54 60 boolean isRelevant(DeploymentUnit unit); 61 62 68 void prepareDeploy(DeploymentUnit unit) throws DeploymentException; 69 70 75 void prepareUndeploy(DeploymentUnit unit); 76 77 84 void handoff(DeploymentUnit from, DeploymentUnit to) throws DeploymentException; 85 86 92 void commitDeploy(DeploymentUnit unit) throws DeploymentException; 93 94 99 void commitUndeploy(DeploymentUnit unit); 100 101 } 102 | Popular Tags |