Home » geronimo-2.2-source-release » org.apache.geronimo.kernel.config » [javadoc | source]
org.apache.geronimo.kernel.config
public class: SimpleConfigurationManager [javadoc | source]
java.lang.Object
   org.apache.geronimo.kernel.config.SimpleConfigurationManager

All Implemented Interfaces:
    ConfigurationManager

Direct Known Subclasses:
    DeploymentConfigurationManager, KernelConfigurationManager, EditableKernelConfigurationManager

Field Summary
protected final  Logger log     
protected final  Collection<ConfigurationStore> stores     
protected final  Map<Artifact, Configuration> configurations     
protected final  ConfigurationModel configurationModel     
protected final  Collection<Repository> repositories     
protected final  Collection<DeploymentWatcher> watchers     
public static final  GBeanInfo GBEAN_INFO     
Constructor:
 public SimpleConfigurationManager(Collection<ConfigurationStore> stores,
    ArtifactResolver artifactResolver,
    Collection<Repository> repositories) 
 public SimpleConfigurationManager(Collection<ConfigurationStore> stores,
    ArtifactResolver artifactResolver,
    Collection<Repository> repositories,
    Collection<DeploymentWatcher> watchers) 
Method from org.apache.geronimo.kernel.config.SimpleConfigurationManager Summary:
addNewConfigurationToModel,   getArtifactResolver,   getConfiguration,   getGBeanInfo,   getInstalled,   getLoadParents,   getLoaded,   getRepositories,   getRunning,   getStartParents,   getStoreForConfiguration,   getStoreList,   getStores,   isConfiguration,   isInstalled,   isLoaded,   isOnline,   isRunning,   listConfigurations,   listConfigurations,   listStores,   load,   load,   loadConfiguration,   loadConfiguration,   loadConfiguration,   loadConfiguration,   migrateConfiguration,   reloadConfiguration,   reloadConfiguration,   reloadConfiguration,   reloadConfiguration,   reloadConfiguration,   reloadConfiguration,   removeConfigurationFromModel,   restartConfiguration,   restartConfiguration,   setOnline,   sort,   start,   startConfiguration,   startConfiguration,   stop,   stopConfiguration,   stopConfiguration,   uninstall,   uninstallConfiguration,   unload,   unloadConfiguration,   unloadConfiguration
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.kernel.config.SimpleConfigurationManager Detail:
 protected  void addNewConfigurationToModel(Configuration configuration) throws NoSuchConfigException 
 public ArtifactResolver getArtifactResolver() 
 public synchronized Configuration getConfiguration(Artifact configurationId) 
 public static GBeanInfo getGBeanInfo() 
 public Artifact[] getInstalled(Artifact query) 
 protected LinkedHashSet<Configuration> getLoadParents(Configuration configuration) 
 public Artifact[] getLoaded(Artifact query) 
 public Collection<Repository> getRepositories() 
 public Artifact[] getRunning(Artifact query) 
 protected LinkedHashSet<Configuration> getStartParents(Configuration configuration) 
 public ConfigurationStore getStoreForConfiguration(Artifact configId) 
 protected List<ConfigurationStore> getStoreList() 
 public ConfigurationStore[] getStores() 
 public boolean isConfiguration(Artifact artifact) 
 public synchronized boolean isInstalled(Artifact configId) 
 public synchronized boolean isLoaded(Artifact configId) 
 public boolean isOnline() 
    this configuration manager never starts configurations.
 public synchronized boolean isRunning(Artifact configId) 
 public List listConfigurations() 
 public List<ConfigurationInfo> listConfigurations(AbstractName storeName) throws NoSuchStoreException 
 public List listStores() 
 protected  void load(Artifact configurationId) throws NoSuchConfigException 
 protected Configuration load(ConfigurationData configurationData,
    LinkedHashSet<Artifact> resolvedParentIds,
    Map<Artifact, Configuration> loadedConfigurations) throws InvalidConfigException 
 public synchronized LifecycleResults loadConfiguration(Artifact configurationId) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults loadConfiguration(ConfigurationData configurationData) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults loadConfiguration(Artifact configurationId,
    LifecycleMonitor monitor) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults loadConfiguration(ConfigurationData configurationData,
    LifecycleMonitor monitor) throws NoSuchConfigException, LifecycleException 
 protected  void migrateConfiguration(Artifact oldName,
    Artifact newName,
    Configuration configuration,
    boolean running) throws NoSuchConfigException 
 public synchronized LifecycleResults reloadConfiguration(Artifact id) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults reloadConfiguration(ConfigurationData configurationData) throws LifecycleException, NoSuchConfigException 
 public synchronized LifecycleResults reloadConfiguration(Artifact id,
    LifecycleMonitor monitor) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults reloadConfiguration(Artifact id,
    Version version) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults reloadConfiguration(ConfigurationData configurationData,
    LifecycleMonitor monitor) throws LifecycleException, NoSuchConfigException 
 public synchronized LifecycleResults reloadConfiguration(Artifact id,
    Version version,
    LifecycleMonitor monitor) throws NoSuchConfigException, LifecycleException 
 protected  void removeConfigurationFromModel(Artifact configurationId) throws NoSuchConfigException 
 public synchronized LifecycleResults restartConfiguration(Artifact id) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults restartConfiguration(Artifact id,
    LifecycleMonitor monitor) throws NoSuchConfigException, LifecycleException 
 public  void setOnline(boolean online) 
 public LinkedHashSet<Artifact> sort(List<Artifact> ids,
    LifecycleMonitor monitor) throws InvalidConfigException, IOException, NoSuchConfigException, MissingDependencyException 
 protected  void start(Configuration configuration) throws Exception 
 public synchronized LifecycleResults startConfiguration(Artifact id) throws NoSuchConfigException, LifecycleException 
 public synchronized LifecycleResults startConfiguration(Artifact id,
    LifecycleMonitor monitor) throws NoSuchConfigException, LifecycleException 
 protected  void stop(Configuration configuration) 
 public synchronized LifecycleResults stopConfiguration(Artifact id) throws NoSuchConfigException 
 public synchronized LifecycleResults stopConfiguration(Artifact id,
    LifecycleMonitor monitor) throws NoSuchConfigException 
 protected  void uninstall(Artifact configurationId) 
 public synchronized  void uninstallConfiguration(Artifact configurationId) throws IOException, NoSuchConfigException 
 protected  void unload(Configuration configuration) 
 public synchronized LifecycleResults unloadConfiguration(Artifact id) throws NoSuchConfigException 
 public synchronized LifecycleResults unloadConfiguration(Artifact id,
    LifecycleMonitor monitor) throws NoSuchConfigException