org.apache.geronimo.aries.builder
Class ApplicationConfigBuilder
java.lang.Object
org.apache.geronimo.aries.builder.ApplicationConfigBuilder
- All Implemented Interfaces:
- org.apache.geronimo.deployment.ConfigurationBuilder, org.apache.geronimo.gbean.GBeanLifecycle
@GBean(j2eeType="ConfigBuilder")
public class ApplicationConfigBuilder
- extends Object
- implements org.apache.geronimo.deployment.ConfigurationBuilder, org.apache.geronimo.gbean.GBeanLifecycle
- Version:
- $Rev:385232 $ $Date: 2013-02-06 02:10:39 +0800 (Wed, 06 Feb 2013) $
| Fields inherited from interface org.apache.geronimo.deployment.ConfigurationBuilder |
CONFIG_BUILDER |
|
Constructor Summary |
ApplicationConfigBuilder(org.apache.geronimo.aries.ApplicationInstaller installer,
org.apache.geronimo.kernel.Kernel kernel,
org.osgi.framework.BundleContext bundleContext)
|
|
Method Summary |
org.apache.geronimo.deployment.DeploymentContext |
buildConfiguration(boolean inPlaceDeployment,
org.apache.geronimo.kernel.repository.Artifact configId,
Object plan,
JarFile jarFile,
Collection<org.apache.geronimo.kernel.config.ConfigurationStore> configurationStores,
org.apache.geronimo.kernel.repository.ArtifactResolver artifactResolver,
org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore)
|
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
org.apache.geronimo.kernel.repository.Artifact |
getConfigurationID(Object plan,
JarFile jarFile,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
|
Object |
getDeploymentPlan(File planFile,
JarFile jarFile,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationConfigBuilder
public ApplicationConfigBuilder(@ParamReference(name="Installer")
org.apache.geronimo.aries.ApplicationInstaller installer,
@ParamSpecial(type=kernel)
org.apache.geronimo.kernel.Kernel kernel,
@ParamSpecial(type=bundleContext)
org.osgi.framework.BundleContext bundleContext)
throws org.apache.geronimo.kernel.GBeanNotFoundException
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
- Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle
getDeploymentPlan
public Object getDeploymentPlan(File planFile,
JarFile jarFile,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
throws org.apache.geronimo.common.DeploymentException
- Specified by:
getDeploymentPlan in interface org.apache.geronimo.deployment.ConfigurationBuilder
- Throws:
org.apache.geronimo.common.DeploymentException
getConfigurationID
public org.apache.geronimo.kernel.repository.Artifact getConfigurationID(Object plan,
JarFile jarFile,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
throws IOException,
org.apache.geronimo.common.DeploymentException
- Specified by:
getConfigurationID in interface org.apache.geronimo.deployment.ConfigurationBuilder
- Throws:
IOException
org.apache.geronimo.common.DeploymentException
buildConfiguration
public org.apache.geronimo.deployment.DeploymentContext buildConfiguration(boolean inPlaceDeployment,
org.apache.geronimo.kernel.repository.Artifact configId,
Object plan,
JarFile jarFile,
Collection<org.apache.geronimo.kernel.config.ConfigurationStore> configurationStores,
org.apache.geronimo.kernel.repository.ArtifactResolver artifactResolver,
org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore)
throws IOException,
org.apache.geronimo.common.DeploymentException
- Specified by:
buildConfiguration in interface org.apache.geronimo.deployment.ConfigurationBuilder
- Throws:
IOException
org.apache.geronimo.common.DeploymentException
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.