1 17 package org.apache.geronimo.kernel.config; 18 19 import org.apache.geronimo.kernel.repository.Artifact; 20 21 import java.io.IOException ; 22 import java.util.List ; 23 24 30 public interface PersistentConfigurationList { 31 32 static final String PERSISTENT_CONFIGURATION_LIST = "PersistentConfigurationList"; 33 34 boolean isKernelFullyStarted(); 35 36 void setKernelFullyStarted(boolean kernelFullyStarted); 37 38 void save() throws IOException ; 39 40 List restore() throws IOException ; 41 42 45 void addConfiguration(Artifact configName); 46 47 52 void startConfiguration(Artifact configName); 53 54 59 void stopConfiguration(Artifact configName); 60 61 66 void removeConfiguration(Artifact configName); 67 68 78 Artifact[] getListedConfigurations(Artifact query); 79 80 92 void migrateConfiguration(Artifact oldName, Artifact newName, Configuration configuration); 93 94 100 boolean hasGBeanAttributes(Artifact configName); 101 } 102 | Popular Tags |