public class OsgiMetaDataScannerService extends Object implements ScannerService
ScannerService
parses for all classes
in such a bundle.Modifier and Type | Field and Description |
---|---|
protected javax.servlet.ServletContext |
servletContext |
Constructor and Description |
---|
OsgiMetaDataScannerService() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllAnnotations(String className) |
BDABeansXmlScanner |
getBDABeansXmlScanner()
Gets BDABeansXMLScanner used to determine the beans.xml
modifiers (interceptors, decorators, and, alternatives) that
are enabled per BDA.
|
Set<Class<?>> |
getBeanClasses()
Gets beans classes that are found in the
deployment archives.
|
Set<URL> |
getBeanXmls()
Gets xml configuration files that are occured
in the deployment archives.
|
void |
init(Object object)
Any initializtion action that is
required by the implementors.
|
boolean |
isBDABeansXmlScanningEnabled()
Indicates if BDABeansXmlScanner is available.
|
void |
release()
This method will get called once the information found by the current
scan is not needed anymore and the ScannerService might free up
resources.
|
void |
scan()
Perform the actual class scanning.
|
public void init(Object object)
ScannerService
init
in interface ScannerService
object
- initialization objectpublic void release()
ScannerService
release
in interface ScannerService
public void scan() throws WebBeansDeploymentException
ScannerService
scan
in interface ScannerService
WebBeansDeploymentException
public Set<URL> getBeanXmls()
ScannerService
getBeanXmls
in interface ScannerService
public Set<Class<?>> getBeanClasses()
ScannerService
getBeanClasses
in interface ScannerService
public BDABeansXmlScanner getBDABeansXmlScanner()
ScannerService
getBDABeansXmlScanner
in interface ScannerService
public boolean isBDABeansXmlScanningEnabled()
ScannerService
isBDABeansXmlScanningEnabled
in interface ScannerService
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.