org.apache.webbeans.corespi.se
Class BeansXmlAnnotationDB
java.lang.Object
org.apache.webbeans.corespi.scanner.AnnotationDB
org.apache.webbeans.corespi.se.BeansXmlAnnotationDB
public class BeansXmlAnnotationDB
- extends AnnotationDB
Provides extensions to AnnotationDB that allow the beans.xml
of each BDA to be associated with a class.
due to a file-url issue it isn't compatible with wls (see OWB-519)
| Methods inherited from class org.apache.webbeans.corespi.scanner.AnnotationDB |
addIgnoredPackages, crossReferenceMetaAnnotations, getAnnotationIndex, getClassIndex, getIgnoredPackages, outputAnnotationIndex, populate, scanClass, scanFields, scanMethods, setIgnoredPackages, setScanClassAnnotations, setScanFieldAnnotations, setScanMethodAnnotations, setScanParameterAnnotations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeansXmlAnnotationDB
public BeansXmlAnnotationDB()
setBdaBeansXmlScanner
public void setBdaBeansXmlScanner(ScannerService scannerService)
setCurrentBeansXml
public void setCurrentBeansXml(String beansXml)
scanClass
protected void scanClass(javassist.bytecode.ClassFile cf)
- Overrides:
scanClass in class AnnotationDB
scanArchives
public void scanArchives(String... urls)
throws IOException
- Description copied from class:
AnnotationDB
- Scan a url that represents an "archive" this is a classpath directory or jar file
- Overrides:
scanArchives in class AnnotationDB
- Parameters:
urls - variable list of URLs to scan as archives
- Throws:
IOException
setResourceBeansXml
public void setResourceBeansXml(String resource,
String beansXml)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.