org.apache.openejb.config
Class WebModule

java.lang.Object
  extended by org.apache.openejb.config.Module
      extended by org.apache.openejb.config.WebModule
All Implemented Interfaces:
DeploymentModule, RESTModule, WsModule

public class WebModule
extends Module
implements WsModule, RESTModule

Version:
$Rev$ $Date$

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.openejb.config.DeploymentModule
DeploymentModule.ID
 
Field Summary
 
Fields inherited from interface org.apache.openejb.config.DeploymentModule
OPENEJB_MODULENAME_USE_HASH
 
Constructor Summary
WebModule(WebApp webApp, String contextRoot, ClassLoader classLoader, String jarLocation, String moduleId)
           
 
Method Summary
 AppModule appModule()
           
 List<URL> getAddedUrls()
           
 String getContextRoot()
           
 Set<String> getEjbRestServices()
           
 Set<String> getEjbWebServices()
           
 List<FacesConfig> getFacesConfigs()
           
 File getFile()
           
 org.apache.xbean.finder.IAnnotationFinder getFinder()
           
 String getHost()
           
 String getJarLocation()
           
 Set<String> getJaxrsProviders()
           
 Map<String,Set<String>> getJsfAnnotatedClasses()
           
 String getModuleId()
           
 URI getModuleUri()
           
 List<URL> getRarUrls()
           
 Set<String> getRestApplications()
           
 Set<String> getRestClasses()
           
 List<URL> getScannableUrls()
           
 List<TldTaglib> getTaglibs()
           
 List<URL> getUrls()
           
 ValidationContext getValidation()
           
 Set<String> getWatchedResources()
           
 Map<String,Set<String>> getWebAnnotatedClasses()
           
 WebApp getWebApp()
           
 Webservices getWebservices()
           
 void setAddedUrls(List<URL> addedUrls)
           
 void setContextRoot(String contextRoot)
           
 void setFinder(org.apache.xbean.finder.IAnnotationFinder finder)
           
 void setHost(String host)
           
 void setRarUrls(List<URL> rarUrls)
           
 void setScannableUrls(List<URL> scannableUrls)
           
 void setUrls(List<URL> urls)
           
 void setWebApp(WebApp webApp)
           
 void setWebservices(Webservices webservices)
           
 String toString()
           
 
Methods inherited from class org.apache.openejb.config.Module
getAltDDs, getAppModule, getClassLoader, getMbeans, getProperties, getUniqueId, getValidationConfig, initAppModule, initResources, isStandaloneModule, setClassLoader, setStandaloneModule, setValidationConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.openejb.config.DeploymentModule
getAltDDs, getClassLoader, getProperties, isStandaloneModule, setStandaloneModule
 

Constructor Detail

WebModule

public WebModule(WebApp webApp,
                 String contextRoot,
                 ClassLoader classLoader,
                 String jarLocation,
                 String moduleId)
Method Detail

getJarLocation

public String getJarLocation()
Specified by:
getJarLocation in interface DeploymentModule

getModuleId

public String getModuleId()
Specified by:
getModuleId in interface DeploymentModule

getFile

public File getFile()
Specified by:
getFile in interface DeploymentModule

getModuleUri

public URI getModuleUri()
Specified by:
getModuleUri in interface DeploymentModule

getUrls

public List<URL> getUrls()

setUrls

public void setUrls(List<URL> urls)

getFinder

public org.apache.xbean.finder.IAnnotationFinder getFinder()

setFinder

public void setFinder(org.apache.xbean.finder.IAnnotationFinder finder)

getValidation

public ValidationContext getValidation()
Specified by:
getValidation in interface DeploymentModule

getWebApp

public WebApp getWebApp()

setWebApp

public void setWebApp(WebApp webApp)

getWebservices

public Webservices getWebservices()
Specified by:
getWebservices in interface WsModule

setWebservices

public void setWebservices(Webservices webservices)
Specified by:
setWebservices in interface WsModule

getContextRoot

public String getContextRoot()

setContextRoot

public void setContextRoot(String contextRoot)

getHost

public String getHost()

setHost

public void setHost(String host)

getTaglibs

public List<TldTaglib> getTaglibs()

getWatchedResources

public Set<String> getWatchedResources()
Specified by:
getWatchedResources in interface DeploymentModule

getFacesConfigs

public List<FacesConfig> getFacesConfigs()

toString

public String toString()
Overrides:
toString in class Object

getRestClasses

public Set<String> getRestClasses()
Specified by:
getRestClasses in interface RESTModule

getRestApplications

public Set<String> getRestApplications()

getEjbWebServices

public Set<String> getEjbWebServices()

getEjbRestServices

public Set<String> getEjbRestServices()

getScannableUrls

public List<URL> getScannableUrls()

setScannableUrls

public void setScannableUrls(List<URL> scannableUrls)

getJsfAnnotatedClasses

public Map<String,Set<String>> getJsfAnnotatedClasses()

getWebAnnotatedClasses

public Map<String,Set<String>> getWebAnnotatedClasses()

getJaxrsProviders

public Set<String> getJaxrsProviders()

getRarUrls

public List<URL> getRarUrls()

setRarUrls

public void setRarUrls(List<URL> rarUrls)

getAddedUrls

public List<URL> getAddedUrls()

setAddedUrls

public void setAddedUrls(List<URL> addedUrls)

appModule

public AppModule appModule()
Specified by:
appModule in interface DeploymentModule


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.