org.apache.webbeans.web.scanner
Class WebScannerService
java.lang.Object
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery
org.apache.webbeans.web.scanner.WebScannerService
- All Implemented Interfaces:
- ScannerService
public class WebScannerService
- extends AbstractMetaDataDiscovery
Configures the web application to find beans.
| Methods inherited from class org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery |
addWebBeansXmlLocation, crossReferenceBeans, findBeansXmlBases, getAllAnnotations, getAnnotationDB, getBDABeansXmlScanner, getBeanClasses, getBeanXmls, isBDABeansXmlScanningEnabled, release, scan |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servletContext
protected javax.servlet.ServletContext servletContext
WebScannerService
public WebScannerService()
init
public void init(Object context)
- Specified by:
init in interface ScannerService- Overrides:
init in class AbstractMetaDataDiscovery
configure
protected void configure()
- Specified by:
configure in class AbstractMetaDataDiscovery
createURLFromMarkerFile
protected Set<String> createURLFromMarkerFile()
throws Exception
- Throws:
Exception
createURLFromWARFile
protected String createURLFromWARFile()
throws Exception
- Returns the web application class path if it contains
a beans.xml marker file.
- Returns:
- the web application class path
- Throws:
Exception - if any exception occurs
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.