Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.spi.deployer » [javadoc | source]
org.apache.webbeans.spi.deployer
public interface: MetaDataDiscoveryService [javadoc | source]

All Known Implementing Classes:
    AbstractMetaDataDiscovery, WarMetaDataDiscoveryImpl, EJBMetaDataDiscoveryImpl, MetaDataDiscoveryStandard

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.
Method from org.apache.webbeans.spi.deployer.MetaDataDiscoveryService Summary:
getAnnotationIndex,   getClassIndex,   getWebBeansXmlLocations,   init,   scan
Method from org.apache.webbeans.spi.deployer.MetaDataDiscoveryService Detail:
 public Map<String> getAnnotationIndex()
    Get all used annotations with all classes which usess this annotation somehow.
 public Map<String> getClassIndex()
    Get all scanned classes and all annotations used by each very class.
 public Set<URL> getWebBeansXmlLocations()
 public  void init(Object object)
    initialise the class scanner
 public  void scan() throws WebBeansDeploymentException
    Perform the actual class scanning.