org.apache.geronimo.deployment
Class DeploymentConfigurationManager

java.lang.Object
  extended byorg.apache.geronimo.kernel.config.SimpleConfigurationManager
      extended byorg.apache.geronimo.deployment.DeploymentConfigurationManager
All Implemented Interfaces:
org.apache.geronimo.kernel.config.ConfigurationManager

public class DeploymentConfigurationManager
extends org.apache.geronimo.kernel.config.SimpleConfigurationManager

Version:
$Rev: 409817 $ $Date: 2006-05-27 09:56:38 +0200 (Sat, 27 May 2006) $

Field Summary
 
Fields inherited from class org.apache.geronimo.kernel.config.SimpleConfigurationManager
configurationModel, configurations, log, repositories, stores, watchers
 
Constructor Summary
DeploymentConfigurationManager(org.apache.geronimo.kernel.config.ConfigurationManager configurationManager, Collection repositories)
           
 
Method Summary
protected  void addNewConfigurationToModel(org.apache.geronimo.kernel.config.Configuration configuration)
           
 org.apache.geronimo.kernel.repository.ArtifactResolver getArtifactResolver()
           
 org.apache.geronimo.kernel.config.Configuration getConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId)
           
 org.apache.geronimo.kernel.repository.Artifact[] getInstalled(org.apache.geronimo.kernel.repository.Artifact query)
           
 org.apache.geronimo.kernel.repository.Artifact[] getLoaded(org.apache.geronimo.kernel.repository.Artifact query)
           
 org.apache.geronimo.kernel.repository.Artifact[] getRunning(org.apache.geronimo.kernel.repository.Artifact query)
           
 org.apache.geronimo.kernel.config.ConfigurationStore getStoreForConfiguration(org.apache.geronimo.kernel.repository.Artifact configId)
           
 org.apache.geronimo.kernel.config.ConfigurationStore[] getStores()
           
 boolean isConfiguration(org.apache.geronimo.kernel.repository.Artifact artifact)
           
 boolean isInstalled(org.apache.geronimo.kernel.repository.Artifact configId)
           
 boolean isLoaded(org.apache.geronimo.kernel.repository.Artifact configId)
           
 boolean isOnline()
          This configuration manager never starts any configurations
 boolean isRunning(org.apache.geronimo.kernel.repository.Artifact configId)
           
 List listConfigurations()
           
 List listConfigurations(org.apache.geronimo.gbean.AbstractName storeName)
           
 List listStores()
           
protected  void load(org.apache.geronimo.kernel.repository.Artifact configurationId)
           
protected  org.apache.geronimo.kernel.config.Configuration load(org.apache.geronimo.kernel.config.ConfigurationData configurationData, LinkedHashSet resolvedParentIds, Map loadedConfigurations)
           
 org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId)
           
 org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData)
           
 org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
           
 org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id, org.apache.geronimo.kernel.repository.Version version)
           
 org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id, org.apache.geronimo.kernel.repository.Version version, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData)
           
 org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 org.apache.geronimo.kernel.config.LifecycleResults restartConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
           
 org.apache.geronimo.kernel.config.LifecycleResults restartConfiguration(org.apache.geronimo.kernel.repository.Artifact id, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 void setOnline(boolean online)
           
protected  void start(org.apache.geronimo.kernel.config.Configuration configuration)
           
 org.apache.geronimo.kernel.config.LifecycleResults startConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
           
 org.apache.geronimo.kernel.config.LifecycleResults startConfiguration(org.apache.geronimo.kernel.repository.Artifact id, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
protected  void stop(org.apache.geronimo.kernel.config.Configuration configuration)
           
 org.apache.geronimo.kernel.config.LifecycleResults stopConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
           
 org.apache.geronimo.kernel.config.LifecycleResults stopConfiguration(org.apache.geronimo.kernel.repository.Artifact id, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 void uninstallConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId)
           
protected  void unload(org.apache.geronimo.kernel.config.Configuration configuration)
           
 org.apache.geronimo.kernel.config.LifecycleResults unloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
           
 org.apache.geronimo.kernel.config.LifecycleResults unloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id, org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
           
 
Methods inherited from class org.apache.geronimo.kernel.config.SimpleConfigurationManager
getLoadParents, getRepositories, getStartParents, migrateConfiguration, removeConfigurationFromModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentConfigurationManager

public DeploymentConfigurationManager(org.apache.geronimo.kernel.config.ConfigurationManager configurationManager,
                                      Collection repositories)
Method Detail

isInstalled

public boolean isInstalled(org.apache.geronimo.kernel.repository.Artifact configId)

isLoaded

public boolean isLoaded(org.apache.geronimo.kernel.repository.Artifact configId)

isRunning

public boolean isRunning(org.apache.geronimo.kernel.repository.Artifact configId)

isConfiguration

public boolean isConfiguration(org.apache.geronimo.kernel.repository.Artifact artifact)

getConfiguration

public org.apache.geronimo.kernel.config.Configuration getConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId)

getArtifactResolver

public org.apache.geronimo.kernel.repository.ArtifactResolver getArtifactResolver()

isOnline

public boolean isOnline()
This configuration manager never starts any configurations

Returns:
false

setOnline

public void setOnline(boolean online)

loadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId)
                                                                     throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                            org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

loadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId,
                                                                            org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                     throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                            org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

loadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData)
                                                                     throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                            org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

loadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults loadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData,
                                                                            org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                     throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                            org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

load

protected org.apache.geronimo.kernel.config.Configuration load(org.apache.geronimo.kernel.config.ConfigurationData configurationData,
                                                               LinkedHashSet resolvedParentIds,
                                                               Map loadedConfigurations)
                                                        throws org.apache.geronimo.kernel.config.InvalidConfigException
Throws:
org.apache.geronimo.kernel.config.InvalidConfigException

load

protected void load(org.apache.geronimo.kernel.repository.Artifact configurationId)
             throws org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException

addNewConfigurationToModel

protected void addNewConfigurationToModel(org.apache.geronimo.kernel.config.Configuration configuration)
                                   throws org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException

unloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults unloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
                                                                       throws org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException

unloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults unloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id,
                                                                              org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                       throws org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException

unload

protected void unload(org.apache.geronimo.kernel.config.Configuration configuration)

stop

protected void stop(org.apache.geronimo.kernel.config.Configuration configuration)

getInstalled

public org.apache.geronimo.kernel.repository.Artifact[] getInstalled(org.apache.geronimo.kernel.repository.Artifact query)

getLoaded

public org.apache.geronimo.kernel.repository.Artifact[] getLoaded(org.apache.geronimo.kernel.repository.Artifact query)

getRunning

public org.apache.geronimo.kernel.repository.Artifact[] getRunning(org.apache.geronimo.kernel.repository.Artifact query)

listStores

public List listStores()

getStores

public org.apache.geronimo.kernel.config.ConfigurationStore[] getStores()

listConfigurations

public List listConfigurations()

getStoreForConfiguration

public org.apache.geronimo.kernel.config.ConfigurationStore getStoreForConfiguration(org.apache.geronimo.kernel.repository.Artifact configId)

listConfigurations

public List listConfigurations(org.apache.geronimo.gbean.AbstractName storeName)
                        throws org.apache.geronimo.kernel.config.NoSuchStoreException
Throws:
org.apache.geronimo.kernel.config.NoSuchStoreException

startConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults startConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
                                                                      throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                             org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

startConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults startConfiguration(org.apache.geronimo.kernel.repository.Artifact id,
                                                                             org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                      throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                             org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

start

protected void start(org.apache.geronimo.kernel.config.Configuration configuration)
              throws Exception
Throws:
Exception

stopConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults stopConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
                                                                     throws org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException

stopConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults stopConfiguration(org.apache.geronimo.kernel.repository.Artifact id,
                                                                            org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                     throws org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException

restartConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults restartConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
                                                                        throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                               org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

restartConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults restartConfiguration(org.apache.geronimo.kernel.repository.Artifact id,
                                                                               org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                        throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                               org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

reloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id)
                                                                       throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                              org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

reloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id,
                                                                              org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                       throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                              org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

reloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id,
                                                                              org.apache.geronimo.kernel.repository.Version version)
                                                                       throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                              org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

reloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.repository.Artifact id,
                                                                              org.apache.geronimo.kernel.repository.Version version,
                                                                              org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                       throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                                                                              org.apache.geronimo.kernel.config.LifecycleException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException

reloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData)
                                                                       throws org.apache.geronimo.kernel.config.LifecycleException,
                                                                              org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.LifecycleException
org.apache.geronimo.kernel.config.NoSuchConfigException

reloadConfiguration

public org.apache.geronimo.kernel.config.LifecycleResults reloadConfiguration(org.apache.geronimo.kernel.config.ConfigurationData configurationData,
                                                                              org.apache.geronimo.kernel.config.LifecycleMonitor monitor)
                                                                       throws org.apache.geronimo.kernel.config.LifecycleException,
                                                                              org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
org.apache.geronimo.kernel.config.LifecycleException
org.apache.geronimo.kernel.config.NoSuchConfigException

uninstallConfiguration

public void uninstallConfiguration(org.apache.geronimo.kernel.repository.Artifact configurationId)
                            throws IOException,
                                   org.apache.geronimo.kernel.config.NoSuchConfigException
Throws:
IOException
org.apache.geronimo.kernel.config.NoSuchConfigException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.