org.apache.webbeans.corespi.scanner
Class AbstractMetaDataDiscovery
java.lang.Object
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery
- All Implemented Interfaces:
- ScannerService
- Direct Known Subclasses:
- DefaultScannerService, OpenWebBeansTestMetaDataDiscoveryService
public abstract class AbstractMetaDataDiscovery
- extends Object
- implements ScannerService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMetaDataDiscovery
protected AbstractMetaDataDiscovery()
scan
public void scan()
throws WebBeansDeploymentException
- Configure the Web Beans Container with deployment information and fills
annotation database and beans.xml stream database.
- Specified by:
scan in interface ScannerService
- Throws:
WebBeansConfigurationException - if any run time exception occurs
WebBeansDeploymentException
configure
protected abstract void configure()
throws Exception
- Throws:
Exception
init
public void init(Object object)
- Specified by:
init in interface ScannerService
getAnnotationDB
protected org.scannotation.AnnotationDB getAnnotationDB()
- Returns:
- the aNNOTATION_DB
addWebBeansXmlLocation
protected void addWebBeansXmlLocation(URL file)
- add the given beans.xml path to the locations list
- Parameters:
file - location path
getBeanClasses
public Set<Class<?>> getBeanClasses()
- Specified by:
getBeanClasses in interface ScannerService
getBeanXmls
public Set<URL> getBeanXmls()
- Specified by:
getBeanXmls in interface ScannerService
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.