org.apache.geronimo.connector.deployment
Class ConnectorModuleBuilder

java.lang.Object
  extended by org.apache.geronimo.connector.deployment.ConnectorModuleBuilder
All Implemented Interfaces:
ActivationSpecInfoLocator, ModuleBuilder

public class ConnectorModuleBuilder
extends Object
implements ModuleBuilder, ActivationSpecInfoLocator


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
ConnectorModuleBuilder(Environment defaultEnvironment, int defaultMaxSize, int defaultMinSize, int defaultBlockingTimeoutMilliseconds, int defaultIdleTimeoutMinutes, boolean defaultXATransactionCaching, boolean defaultXAThreadCaching, Collection serviceBuilders)
           
 
Method Summary
 void addGBeans(EARContext earContext, Module module, ClassLoader cl, Collection repository)
           
 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)
           
static GBeanInfo getGBeanInfo()
           
 String getSchemaNamespace()
           
 void initContext(EARContext earContext, Module module, ClassLoader cl)
           
 void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repository)
           
 GBeanData locateActivationSpecInfo(AbstractNameQuery resourceAdapterInstanceQuery, String messageListenerInterface, Configuration configuration)
           
 
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

ConnectorModuleBuilder

public ConnectorModuleBuilder(Environment defaultEnvironment,
                              int defaultMaxSize,
                              int defaultMinSize,
                              int defaultBlockingTimeoutMilliseconds,
                              int defaultIdleTimeoutMinutes,
                              boolean defaultXATransactionCaching,
                              boolean defaultXAThreadCaching,
                              Collection serviceBuilders)
Method Detail

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 repository)
                   throws DeploymentException
Specified by:
installModule in interface ModuleBuilder
Throws:
DeploymentException

initContext

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

addGBeans

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

getSchemaNamespace

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

locateActivationSpecInfo

public GBeanData locateActivationSpecInfo(AbstractNameQuery resourceAdapterInstanceQuery,
                                          String messageListenerInterface,
                                          Configuration configuration)
                                   throws DeploymentException
Specified by:
locateActivationSpecInfo in interface ActivationSpecInfoLocator
Throws:
DeploymentException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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