public class JandexIndexBeanArchiveHandler extends Object implements BeanArchiveHandler
handle(String)
method will return null. To prevent this, use canHandle(String)
to check if an index is available and supported.
The class is not thread-safe and should only be used by a single thread
Constructor and Description |
---|
JandexIndexBeanArchiveHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(String urlPath) |
BeanArchiveBuilder |
handle(String urlPath)
The returned builder must only contain a complete set of found classes, other properties do not have to be set.
|
public boolean canHandle(String urlPath)
public BeanArchiveBuilder handle(String urlPath)
BeanArchiveHandler
handle
in interface BeanArchiveHandler
urlPath
- A reference to a bean archive (e.g. file path)null
if the reference cannot be handledCopyright © 2016. All rights reserved.