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 Object
- implements ConfigurationBuilder, GBeanLifecycle
- Version:
- $Rev:385232 $ $Date: 2010-05-05 00:50:17 -0400 (Wed, 05 May 2010) $
|
Method Summary |
DeploymentContext |
buildConfiguration(boolean inPlaceDeployment,
Artifact configId,
Object plan,
JarFile jarFile,
Collection<ConfigurationStore> configurationStores,
ArtifactResolver artifactResolver,
ConfigurationStore targetConfigurationStore)
|
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
Artifact |
getConfigurationID(Object plan,
JarFile jarFile,
ModuleIDBuilder idBuilder)
|
Object |
getDeploymentPlan(File planFile,
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 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
getDeploymentPlan
public Object getDeploymentPlan(File planFile,
JarFile jarFile,
ModuleIDBuilder idBuilder)
throws DeploymentException
- Specified by:
getDeploymentPlan in interface ConfigurationBuilder
- Throws:
DeploymentException
getConfigurationID
public Artifact getConfigurationID(Object plan,
JarFile jarFile,
ModuleIDBuilder idBuilder)
throws IOException,
DeploymentException
- Specified by:
getConfigurationID in interface ConfigurationBuilder
- Throws:
IOException
DeploymentException
buildConfiguration
public DeploymentContext buildConfiguration(boolean inPlaceDeployment,
Artifact configId,
Object plan,
JarFile jarFile,
Collection<ConfigurationStore> configurationStores,
ArtifactResolver artifactResolver,
ConfigurationStore targetConfigurationStore)
throws IOException,
DeploymentException
- Specified by:
buildConfiguration in interface ConfigurationBuilder
- Throws:
IOException
DeploymentException
Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.