1 22 package org.jboss.deployment; 23 24 import javax.management.ObjectName ; 25 26 39 public interface SubDeployer 40 { 41 42 public static final String INIT_NOTIFICATION = "org.jboss.deployment.SubDeployer.init"; 43 44 public static final String CREATE_NOTIFICATION = "org.jboss.deployment.SubDeployer.create"; 45 46 public static final String START_NOTIFICATION = "org.jboss.deployment.SubDeployer.start"; 47 48 public static final String STOP_NOTIFICATION = "org.jboss.deployment.SubDeployer.stop"; 49 50 public static final String DESTROY_NOTIFICATION = "org.jboss.deployment.SubDeployer.destroy"; 51 52 58 public ObjectName getServiceName(); 59 60 66 public String [] getSuffixes(); 67 68 74 public int getRelativeOrder(); 75 76 85 boolean accepts(DeploymentInfo sdi); 86 87 96 void init(DeploymentInfo sdi) throws DeploymentException; 97 98 107 void create(DeploymentInfo sdi) throws DeploymentException; 108 109 117 void start(DeploymentInfo sdi) throws DeploymentException; 118 119 127 void stop(DeploymentInfo sdi) throws DeploymentException; 128 129 137 void destroy(DeploymentInfo sdi) throws DeploymentException; 138 } 139 | Popular Tags |