org.apache.geronimo.client.builder
Class AppClientModuleBuilder

java.lang.Object
  extended by org.apache.geronimo.client.builder.AppClientModuleBuilder
All Implemented Interfaces:
CorbaGBeanNameSource, ModuleBuilder

public class AppClientModuleBuilder
extends Object
implements ModuleBuilder, CorbaGBeanNameSource


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
AppClientModuleBuilder(AbstractNameQuery transactionManagerObjectName, AbstractNameQuery connectionTrackerObjectName, AbstractNameQuery corbaGBeanObjectName, AbstractNameQuery credentialStoreName, Collection<Repository> repositories, Collection<ModuleBuilder> connectorModuleBuilder, Collection<NamespaceDrivenBuilder> serviceBuilder, Collection<NamingBuilder> namingBuilders, Collection<ModuleBuilderExtension> moduleBuilderExtensions, ArtifactResolver clientArtifactResolver, Environment defaultClientEnvironment, Environment defaultServerEnvironment)
           
AppClientModuleBuilder(Environment defaultClientEnvironment, Environment defaultServerEnvironment, AbstractNameQuery transactionManagerObjectName, AbstractNameQuery connectionTrackerObjectName, AbstractNameQuery corbaGBeanObjectName, AbstractNameQuery credentialStoreName, Collection<Repository> repositories, ModuleBuilder connectorModuleBuilder, NamespaceDrivenBuilder serviceBuilder, Collection<NamingBuilder> namingBuilders, Collection<ModuleBuilderExtension> moduleBuilderExtensions, ArtifactResolver clientArtifactResolver)
           
 
Method Summary
 void addGBeans(EARContext earContext, Module module, ClassLoader earClassLoader, Collection repositories)
           
 void addManifestClassPath(DeploymentContext deploymentContext, JarFile earFile, JarFile jarFile, URI jarFileLocation)
           
 Module createModule(File plan, JarFile moduleFile, Naming naming, ModuleIDBuilder idBuilder)
           
 Module createModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder)
           
 AbstractNameQuery getCorbaGBeanName()
           
static GBeanInfo getGBeanInfo()
           
 String getSchemaNamespace()
           
 void initContext(EARContext earContext, Module clientModule, ClassLoader cl)
           
 void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repositories)
           
 
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 GBeanInfo GBEAN_INFO
Constructor Detail

AppClientModuleBuilder

public AppClientModuleBuilder(Environment defaultClientEnvironment,
                              Environment defaultServerEnvironment,
                              AbstractNameQuery transactionManagerObjectName,
                              AbstractNameQuery connectionTrackerObjectName,
                              AbstractNameQuery corbaGBeanObjectName,
                              AbstractNameQuery credentialStoreName,
                              Collection<Repository> repositories,
                              ModuleBuilder connectorModuleBuilder,
                              NamespaceDrivenBuilder serviceBuilder,
                              Collection<NamingBuilder> namingBuilders,
                              Collection<ModuleBuilderExtension> moduleBuilderExtensions,
                              ArtifactResolver clientArtifactResolver)

AppClientModuleBuilder

public AppClientModuleBuilder(AbstractNameQuery transactionManagerObjectName,
                              AbstractNameQuery connectionTrackerObjectName,
                              AbstractNameQuery corbaGBeanObjectName,
                              AbstractNameQuery credentialStoreName,
                              Collection<Repository> repositories,
                              Collection<ModuleBuilder> connectorModuleBuilder,
                              Collection<NamespaceDrivenBuilder> serviceBuilder,
                              Collection<NamingBuilder> namingBuilders,
                              Collection<ModuleBuilderExtension> moduleBuilderExtensions,
                              ArtifactResolver clientArtifactResolver,
                              Environment defaultClientEnvironment,
                              Environment defaultServerEnvironment)
Method Detail

getCorbaGBeanName

public AbstractNameQuery getCorbaGBeanName()
Specified by:
getCorbaGBeanName in interface CorbaGBeanNameSource

createModule

public Module createModule(File plan,
                           JarFile moduleFile,
                           Naming naming,
                           ModuleIDBuilder idBuilder)
                    throws DeploymentException
Specified by:
createModule in interface ModuleBuilder
Throws:
DeploymentException

createModule

public Module createModule(Object plan,
                           JarFile moduleFile,
                           String targetPath,
                           URL specDDUrl,
                           Environment environment,
                           Object moduleContextInfo,
                           AbstractName earName,
                           Naming naming,
                           ModuleIDBuilder idBuilder)
                    throws DeploymentException
Specified by:
createModule in interface ModuleBuilder
Throws:
DeploymentException

installModule

public void installModule(JarFile earFile,
                          EARContext earContext,
                          Module module,
                          Collection configurationStores,
                          ConfigurationStore targetConfigurationStore,
                          Collection repositories)
                   throws DeploymentException
Specified by:
installModule in interface ModuleBuilder
Throws:
DeploymentException

initContext

public void initContext(EARContext earContext,
                        Module clientModule,
                        ClassLoader cl)
                 throws DeploymentException
Specified by:
initContext in interface ModuleBuilder
Throws:
DeploymentException

addGBeans

public void addGBeans(EARContext earContext,
                      Module module,
                      ClassLoader earClassLoader,
                      Collection repositories)
               throws DeploymentException
Specified by:
addGBeans in interface ModuleBuilder
Throws:
DeploymentException

getSchemaNamespace

public String getSchemaNamespace()
Specified by:
getSchemaNamespace in interface ModuleBuilder

addManifestClassPath

public void addManifestClassPath(DeploymentContext deploymentContext,
                                 JarFile earFile,
                                 JarFile jarFile,
                                 URI jarFileLocation)
                          throws DeploymentException
Throws:
DeploymentException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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