org.apache.geronimo.aries.builder
Class ApplicationInstaller
java.lang.Object
org.apache.geronimo.aries.builder.ApplicationInstaller
- All Implemented Interfaces:
- GBeanLifecycle
@GBean
public class ApplicationInstaller
- extends Object
- implements GBeanLifecycle
- Version:
- $Rev:385232 $ $Date: 2010-05-05 00:50:17 -0400 (Wed, 05 May 2010) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationInstaller
public ApplicationInstaller(@ParamReference(name="Store",namingType="ConfigurationStore")
Collection<ConfigurationStore> configurationStores,
@ParamSpecial(type=kernel)
Kernel kernel,
@ParamSpecial(type=bundleContext)
org.osgi.framework.BundleContext bundleContext,
@ParamSpecial(type=abstractName)
AbstractName abstractName)
throws GBeanNotFoundException
- Throws:
GBeanNotFoundException
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
- Specified by:
doStop in interface GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
getConfigurationManager
protected ConfigurationManager getConfigurationManager()
startInstall
public DeploymentContext startInstall(org.apache.aries.application.management.AriesApplication app,
ConfigurationStore targetConfigurationStore)
throws ConfigurationAlreadyExistsException,
IOException,
DeploymentException
- Throws:
ConfigurationAlreadyExistsException
IOException
DeploymentException
finishInstall
public ConfigurationData finishInstall(DeploymentContext context,
ConfigurationStore targetConfigurationStore)
throws ConfigurationAlreadyExistsException,
DeploymentException
- Throws:
ConfigurationAlreadyExistsException
DeploymentException
install
public void install(org.apache.aries.application.management.AriesApplication app)
throws ConfigurationAlreadyExistsException,
IOException,
DeploymentException
- Throws:
ConfigurationAlreadyExistsException
IOException
DeploymentException
getConfigId
public static Artifact getConfigId(org.apache.aries.application.ApplicationMetadata metadata)
Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.