org.apache.geronimo.deployment.service
Class ServiceConfigBuilder

java.lang.Object
  extended byorg.apache.geronimo.deployment.service.ServiceConfigBuilder
All Implemented Interfaces:
org.apache.geronimo.deployment.ConfigurationBuilder

public class ServiceConfigBuilder
extends Object
implements org.apache.geronimo.deployment.ConfigurationBuilder

Version:
$Rev: 413386 $ $Date: 2006-06-11 01:47:28 +0200 (Sun, 11 Jun 2006) $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment, Collection repositories, Collection xmlAttributeBuilders, Collection xmlReferenceBuilders, org.apache.geronimo.kernel.Kernel kernel)
           
ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment, Collection repositories, Collection xmlAttributeBuilders, Collection xmlReferenceBuilders, org.apache.geronimo.kernel.Naming naming)
           
ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment, Collection repositories, org.apache.geronimo.kernel.Naming naming)
           
 
Method Summary
static org.apache.geronimo.gbean.AbstractName addGBeanData(org.apache.geronimo.deployment.xbeans.GbeanType gbean, org.apache.geronimo.gbean.AbstractName moduleName, ClassLoader cl, org.apache.geronimo.deployment.DeploymentContext context)
           
static void addGBeans(org.apache.geronimo.deployment.xbeans.GbeanType[] gbeans, ClassLoader cl, org.apache.geronimo.gbean.AbstractName moduleName, org.apache.geronimo.deployment.DeploymentContext context)
           
 org.apache.geronimo.deployment.DeploymentContext buildConfiguration(boolean inPlaceDeployment, org.apache.geronimo.kernel.repository.Artifact configId, org.apache.geronimo.deployment.xbeans.ModuleType moduleType, JarFile jar, Collection configurationStores, org.apache.geronimo.kernel.repository.ArtifactResolver artifactResolver, org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore)
           
 org.apache.geronimo.deployment.DeploymentContext buildConfiguration(boolean inPlaceDeployment, org.apache.geronimo.kernel.repository.Artifact configId, Object plan, JarFile jar, Collection configurationStores, org.apache.geronimo.kernel.repository.ArtifactResolver artifactResolver, org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore)
           
 org.apache.geronimo.kernel.repository.Artifact getConfigurationID(Object plan, JarFile module, org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
           
 Object getDeploymentPlan(File planFile, JarFile jarFile, org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 
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

ServiceConfigBuilder

public ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment,
                            Collection repositories,
                            org.apache.geronimo.kernel.Naming naming)

ServiceConfigBuilder

public ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment,
                            Collection repositories,
                            Collection xmlAttributeBuilders,
                            Collection xmlReferenceBuilders,
                            org.apache.geronimo.kernel.Kernel kernel)

ServiceConfigBuilder

public ServiceConfigBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment,
                            Collection repositories,
                            Collection xmlAttributeBuilders,
                            Collection xmlReferenceBuilders,
                            org.apache.geronimo.kernel.Naming naming)
Method Detail

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 module,
                                                                         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 jar,
                                                                           Collection 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

buildConfiguration

public org.apache.geronimo.deployment.DeploymentContext buildConfiguration(boolean inPlaceDeployment,
                                                                           org.apache.geronimo.kernel.repository.Artifact configId,
                                                                           org.apache.geronimo.deployment.xbeans.ModuleType moduleType,
                                                                           JarFile jar,
                                                                           Collection configurationStores,
                                                                           org.apache.geronimo.kernel.repository.ArtifactResolver artifactResolver,
                                                                           org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore)
                                                                    throws org.apache.geronimo.common.DeploymentException,
                                                                           IOException
Throws:
org.apache.geronimo.common.DeploymentException
IOException

addGBeans

public static void addGBeans(org.apache.geronimo.deployment.xbeans.GbeanType[] gbeans,
                             ClassLoader cl,
                             org.apache.geronimo.gbean.AbstractName moduleName,
                             org.apache.geronimo.deployment.DeploymentContext context)
                      throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

addGBeanData

public static org.apache.geronimo.gbean.AbstractName addGBeanData(org.apache.geronimo.deployment.xbeans.GbeanType gbean,
                                                                  org.apache.geronimo.gbean.AbstractName moduleName,
                                                                  ClassLoader cl,
                                                                  org.apache.geronimo.deployment.DeploymentContext context)
                                                           throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getGBeanInfo

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.