org.apache.webbeans.corespi.se
Class BeansXmlAnnotationDB

java.lang.Object
  extended by org.apache.webbeans.corespi.scanner.AnnotationDB
      extended by 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)


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.webbeans.corespi.scanner.AnnotationDB
AnnotationDB.CrossReferenceException
 
Constructor Summary
BeansXmlAnnotationDB()
           
 
Method Summary
 void scanArchives(String... urls)
          Scan a url that represents an "archive" this is a classpath directory or jar file
protected  void scanClass(javassist.bytecode.ClassFile cf)
           
 void setBdaBeansXmlScanner(ScannerService scannerService)
           
 void setCurrentBeansXml(String beansXml)
           
 void setResourceBeansXml(String resource, String beansXml)
           
 
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
 

Constructor Detail

BeansXmlAnnotationDB

public BeansXmlAnnotationDB()
Method Detail

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.