org.apache.geronimo.aries.builder
Class ApplicationConfigBuilder
java.lang.Object
org.apache.geronimo.aries.builder.ApplicationConfigBuilder
- All Implemented Interfaces:
- ConfigurationBuilder, GBeanLifecycle
@GBean(j2eeType="ConfigBuilder")
public class ApplicationConfigBuilder
- extends java.lang.Object
- implements ConfigurationBuilder, GBeanLifecycle
- Version:
- $Rev:385232 $ $Date: 2011-12-14 02:00:08 +0800 (Wed, 14 Dec 2011) $
|
Method Summary |
DeploymentContext |
buildConfiguration(boolean inPlaceDeployment,
Artifact configId,
java.lang.Object plan,
java.util.jar.JarFile jarFile,
java.util.Collection<ConfigurationStore> configurationStores,
ArtifactResolver artifactResolver,
ConfigurationStore targetConfigurationStore)
|
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
Artifact |
getConfigurationID(java.lang.Object plan,
java.util.jar.JarFile jarFile,
ModuleIDBuilder idBuilder)
|
java.lang.Object |
getDeploymentPlan(java.io.File planFile,
java.util.jar.JarFile jarFile,
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")
ApplicationInstaller installer,
@ParamSpecial(type=kernel)
Kernel kernel,
@ParamSpecial(type=bundleContext)
org.osgi.framework.BundleContext bundleContext)
throws GBeanNotFoundException
- Throws:
GBeanNotFoundException
doStart
public void doStart()
throws java.lang.Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
java.lang.Exception
doStop
public void doStop()
- Specified by:
doStop in interface GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
getDeploymentPlan
public java.lang.Object getDeploymentPlan(java.io.File planFile,
java.util.jar.JarFile jarFile,
ModuleIDBuilder idBuilder)
throws DeploymentException
- Specified by:
getDeploymentPlan in interface ConfigurationBuilder
- Throws:
DeploymentException
getConfigurationID
public Artifact getConfigurationID(java.lang.Object plan,
java.util.jar.JarFile jarFile,
ModuleIDBuilder idBuilder)
throws java.io.IOException,
DeploymentException
- Specified by:
getConfigurationID in interface ConfigurationBuilder
- Throws:
java.io.IOException
DeploymentException
buildConfiguration
public DeploymentContext buildConfiguration(boolean inPlaceDeployment,
Artifact configId,
java.lang.Object plan,
java.util.jar.JarFile jarFile,
java.util.Collection<ConfigurationStore> configurationStores,
ArtifactResolver artifactResolver,
ConfigurationStore targetConfigurationStore)
throws java.io.IOException,
DeploymentException
- Specified by:
buildConfiguration in interface ConfigurationBuilder
- Throws:
java.io.IOException
DeploymentException
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.