1 17 18 package org.apache.geronimo.deployment; 19 20 import java.io.File ; 21 import java.io.IOException ; 22 import java.util.Collection ; 23 import java.util.List ; 24 import java.util.jar.JarFile ; 25 26 import org.apache.geronimo.common.DeploymentException; 27 import org.apache.geronimo.deployment.DeploymentContext; 28 import org.apache.geronimo.kernel.config.ConfigurationStore; 29 import org.apache.geronimo.kernel.repository.Artifact; 30 import org.apache.geronimo.kernel.repository.ArtifactResolver; 31 32 35 public interface ConfigurationBuilder { 36 static final String CONFIG_BUILDER = "ConfigBuilder"; 37 38 46 Object getDeploymentPlan(File planFile, JarFile module, ModuleIDBuilder idBuilder) throws DeploymentException; 47 48 56 Artifact getConfigurationID(Object plan, JarFile module, ModuleIDBuilder idBuilder) throws IOException , DeploymentException; 57 58 71 DeploymentContext buildConfiguration(boolean inPlaceDeployment, Artifact configId, Object plan, JarFile module, Collection configurationStores, ArtifactResolver artifactResolver, ConfigurationStore targetConfigurationStore) throws IOException , DeploymentException; 72 } 73 | Popular Tags |