Class JandexIndexBeanArchiveHandler
java.lang.Object
org.jboss.weld.environment.deployment.discovery.jandex.JandexIndexBeanArchiveHandler
- All Implemented Interfaces:
BeanArchiveHandler
This class uses an existing Jandex-Index ("META-INF/jandex.idx") to scan the bean archive. If no index is available the
handle(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 -
Method Summary
Modifier and TypeMethodDescriptionThe returned builder must only contain a complete set of found classes, other properties do not have to be set.
-
Constructor Details
-
JandexIndexBeanArchiveHandler
public JandexIndexBeanArchiveHandler()
-
-
Method Details
-
handle
Description copied from interface:BeanArchiveHandlerThe returned builder must only contain a complete set of found classes, other properties do not have to be set.- Specified by:
handlein interfaceBeanArchiveHandler- Parameters:
path- A reference to a bean archive (e.g. file path)- Returns:
- the BeanArchiveBuilder or
nullif the reference cannot be handled
-