org.apache.geronimo.plugin.car
Class MavenConfigStore

java.lang.Object
  extended by org.apache.geronimo.system.configuration.RepositoryConfigurationStore
      extended by org.apache.geronimo.plugin.car.MavenConfigStore
All Implemented Interfaces:
org.apache.geronimo.kernel.config.ConfigurationStore

public class MavenConfigStore
extends org.apache.geronimo.system.configuration.RepositoryConfigurationStore

Implementation of ConfigurationStore that loads Configurations from a repository. This implementation is read-only on the assumption that a separate maven task will handle installation of a built package into the repository.

Version:
$Rev: 428888 $ $Date: 2006-08-04 23:21:54 +0200 (ven., 04 août 2006) $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.system.configuration.RepositoryConfigurationStore
repository
 
Constructor Summary
MavenConfigStore(org.apache.geronimo.kernel.Kernel kernel, String objectName, org.apache.geronimo.kernel.repository.WritableListableRepository repository)
           
MavenConfigStore(org.apache.geronimo.kernel.repository.WritableListableRepository repository)
           
 
Method Summary
 File createNewConfigurationDir(org.apache.geronimo.kernel.repository.Artifact configId)
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 void install(org.apache.geronimo.kernel.config.ConfigurationData configurationData)
           
 List listConfigurations()
           
 void uninstall(org.apache.geronimo.kernel.repository.Artifact configID)
           
 
Methods inherited from class org.apache.geronimo.system.configuration.RepositoryConfigurationStore
containsConfiguration, exportConfiguration, getAbstractName, getObjectName, install, isInPlaceConfiguration, loadConfiguration, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

MavenConfigStore

public MavenConfigStore(org.apache.geronimo.kernel.Kernel kernel,
                        String objectName,
                        org.apache.geronimo.kernel.repository.WritableListableRepository repository)

MavenConfigStore

public MavenConfigStore(org.apache.geronimo.kernel.repository.WritableListableRepository repository)
Method Detail

createNewConfigurationDir

public File createNewConfigurationDir(org.apache.geronimo.kernel.repository.Artifact configId)
Specified by:
createNewConfigurationDir in interface org.apache.geronimo.kernel.config.ConfigurationStore
Overrides:
createNewConfigurationDir in class org.apache.geronimo.system.configuration.RepositoryConfigurationStore

install

public void install(org.apache.geronimo.kernel.config.ConfigurationData configurationData)
             throws IOException,
                    org.apache.geronimo.kernel.config.InvalidConfigException
Specified by:
install in interface org.apache.geronimo.kernel.config.ConfigurationStore
Overrides:
install in class org.apache.geronimo.system.configuration.RepositoryConfigurationStore
Throws:
IOException
org.apache.geronimo.kernel.config.InvalidConfigException

uninstall

public void uninstall(org.apache.geronimo.kernel.repository.Artifact configID)
               throws org.apache.geronimo.kernel.config.NoSuchConfigException,
                      IOException
Specified by:
uninstall in interface org.apache.geronimo.kernel.config.ConfigurationStore
Overrides:
uninstall in class org.apache.geronimo.system.configuration.RepositoryConfigurationStore
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
IOException

listConfigurations

public List listConfigurations()
Specified by:
listConfigurations in interface org.apache.geronimo.kernel.config.ConfigurationStore
Overrides:
listConfigurations in class org.apache.geronimo.system.configuration.RepositoryConfigurationStore

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.