org.apache.geronimo.wink.deployment
Class WinkModuleBuilderExtension

java.lang.Object
  extended by org.apache.geronimo.wink.deployment.WinkModuleBuilderExtension
All Implemented Interfaces:
ModuleBuilderExtension

@GBean(j2eeType="ModuleBuilder")
public class WinkModuleBuilderExtension
extends Object
implements ModuleBuilderExtension

Version:
$Rev $Date

Field Summary
static EARContext.Key<Set<Class<? extends javax.ws.rs.core.Application>>> JAXRS_APPLICATION_SUBCLASSES
           
 
Constructor Summary
WinkModuleBuilderExtension(Environment defaultEnvironment, NamingBuilder namingBuilders)
           
 
Method Summary
 void addGBeans(EARContext earContext, Module module, org.osgi.framework.Bundle bundle, Collection repository)
           
 void createModule(Module module, org.osgi.framework.Bundle bundle, Naming naming, ModuleIDBuilder idBuilder)
           
 void createModule(Module module, Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder)
           
protected  org.apache.xbean.finder.ClassFinder createWinkClassFinder(List<org.apache.openejb.jee.FacesConfig> facesConfigs, Set<Class<?>> annotatedJAXRSClasses, org.osgi.framework.Bundle bundle)
           
 void initContext(EARContext earContext, Module module, org.osgi.framework.Bundle bundle)
           
 void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXRS_APPLICATION_SUBCLASSES

public static final EARContext.Key<Set<Class<? extends javax.ws.rs.core.Application>>> JAXRS_APPLICATION_SUBCLASSES
Constructor Detail

WinkModuleBuilderExtension

public WinkModuleBuilderExtension(@ParamAttribute(name="defaultEnvironment")
                                  Environment defaultEnvironment,
                                  @ParamReference(name="NamingBuilders",namingType="ModuleBuilder")
                                  NamingBuilder namingBuilders)
Method Detail

createModule

public void createModule(Module module,
                         org.osgi.framework.Bundle bundle,
                         Naming naming,
                         ModuleIDBuilder idBuilder)
                  throws DeploymentException
Specified by:
createModule in interface ModuleBuilderExtension
Throws:
DeploymentException

createModule

public void createModule(Module module,
                         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 ModuleBuilderExtension
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 ModuleBuilderExtension
Throws:
DeploymentException

initContext

public void initContext(EARContext earContext,
                        Module module,
                        org.osgi.framework.Bundle bundle)
                 throws DeploymentException
Specified by:
initContext in interface ModuleBuilderExtension
Throws:
DeploymentException

addGBeans

public void addGBeans(EARContext earContext,
                      Module module,
                      org.osgi.framework.Bundle bundle,
                      Collection repository)
               throws DeploymentException
Specified by:
addGBeans in interface ModuleBuilderExtension
Throws:
DeploymentException

createWinkClassFinder

protected org.apache.xbean.finder.ClassFinder createWinkClassFinder(List<org.apache.openejb.jee.FacesConfig> facesConfigs,
                                                                    Set<Class<?>> annotatedJAXRSClasses,
                                                                    org.osgi.framework.Bundle bundle)
                                                             throws DeploymentException
Throws:
DeploymentException


Copyright © 2003-2011 The Apache Geronimo development community. All Rights Reserved.