|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScannerService
This SPI is for abstracting the class scanning.
In a production environment Many different modules need to perform class scanning (EJB, JSF, JPA, ...). This SPI allows us to only have one central class scanner for the whole application server which only performs the scanning once at startup of each WebApp.
All URL path Strings in this interface contain the the protocol,
e.g. 'file:/...' we get directly from URL.toExternalForm()
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void init(Object object)
object - initialization objectvoid scan()
void release()
Set<URL> getBeanXmls()
Set<Class<?>> getBeanClasses()
Set<String> getAllAnnotations(String className)
className -
boolean isBDABeansXmlScanningEnabled()
BDABeansXmlScanner getBDABeansXmlScanner()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||