Class JandexIndexBeanArchiveHandler
- java.lang.Object
-
- org.jboss.weld.environment.deployment.discovery.jandex.JandexIndexBeanArchiveHandler
-
- All Implemented Interfaces:
BeanArchiveHandler
public class JandexIndexBeanArchiveHandler extends Object implements BeanArchiveHandler
This class uses an existing Jandex-Index ("META-INF/jandex.idx") to scan the bean archive. If no index is available thehandle(String)
method will return null.The class is not thread-safe and should only be used by a single thread.
- Author:
- Stefan Großmann
-
-
Constructor Summary
Constructors Constructor Description JandexIndexBeanArchiveHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanArchiveBuilder
handle(String path)
The returned builder must only contain a complete set of found classes, other properties do not have to be set.
-
-
-
Method Detail
-
handle
public BeanArchiveBuilder handle(String path)
Description copied from interface:BeanArchiveHandler
The returned builder must only contain a complete set of found classes, other properties do not have to be set.- Specified by:
handle
in interfaceBeanArchiveHandler
- Parameters:
path
- A reference to a bean archive (e.g. file path)- Returns:
- the BeanArchiveBuilder or
null
if the reference cannot be handled
-
-