1 22 package org.jboss.profileservice.spi; 23 24 import java.util.Collection ; 25 import java.util.Map ; 26 27 import org.jboss.deployers.spi.structure.DeploymentContext; 28 29 35 public interface Profile 36 { 37 42 String getVersion(); 43 44 51 DeploymentTemplate getTemplate(String name) throws NoSuchDeploymentException; 52 53 58 void addBootstrap(DeploymentContext d); 59 60 65 void removeBootstrap(String name); 66 67 74 DeploymentContext getBootstrap(String name) throws NoSuchDeploymentException; 75 76 81 Collection <DeploymentContext> getBootstraps(); 82 83 88 void addDeployer(DeploymentContext d); 89 90 95 void removeDeployer(String name); 96 97 104 DeploymentContext getDeployer(String name) throws NoSuchDeploymentException; 105 106 111 Collection <DeploymentContext> getDeployers(); 112 113 118 void addDeployment(DeploymentContext d); 119 120 125 void removeDeployment(String name); 126 127 134 DeploymentContext getDeployment(String name) throws NoSuchDeploymentException; 135 136 141 Collection <DeploymentContext> getDeployments(); 142 143 148 Map <String , Object > getConfig(); 149 } 150 | Popular Tags |