1 17 18 package org.apache.geronimo.kernel.config; 19 20 import java.io.File ; 21 import java.io.IOException ; 22 import java.io.OutputStream ; 23 import java.net.MalformedURLException ; 24 import java.util.List ; 25 import java.util.Set ; 26 27 import org.apache.geronimo.kernel.repository.Artifact; 28 import org.apache.geronimo.gbean.AbstractName; 29 30 35 public interface ConfigurationStore { 36 37 51 boolean isInPlaceConfiguration(Artifact configId) throws NoSuchConfigException, IOException ; 52 53 60 void install(ConfigurationData configurationData) throws IOException , InvalidConfigException; 61 62 71 void uninstall(Artifact configId) throws NoSuchConfigException, IOException ; 72 73 85 ConfigurationData loadConfiguration(Artifact configId) throws NoSuchConfigException, IOException , InvalidConfigException; 86 87 97 boolean containsConfiguration(Artifact configId); 98 99 104 String getObjectName(); 105 106 111 AbstractName getAbstractName(); 112 113 119 List listConfigurations(); 120 121 131 File createNewConfigurationDir(Artifact configId) throws ConfigurationAlreadyExistsException; 132 133 147 Set resolve(Artifact configId, String moduleName, String path) throws NoSuchConfigException, MalformedURLException ; 148 149 156 void exportConfiguration(Artifact configId, OutputStream output) throws IOException , NoSuchConfigException; 157 } 158 | Popular Tags |