org.apache.geronimo.plugin.car
Class MavenConfigStore

java.lang.Object
  extended byorg.apache.geronimo.system.configuration.RepositoryConfigurationStore
      extended byorg.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: 451661 $ $Date: 2006-09-30 13:45:53 -0700 (Sat, 30 Sep 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)

install

public void install(org.apache.geronimo.kernel.config.ConfigurationData configurationData)
             throws IOException,
                    org.apache.geronimo.kernel.config.InvalidConfigException
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
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
IOException

listConfigurations

public List listConfigurations()

getGBeanInfo

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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.