public interface DiscoveryStrategy
| Modifier and Type | Method and Description |
|---|---|
org.jboss.weld.resources.spi.ClassFileServices |
getClassFileServices() |
Set<WeldBeanDeploymentArchive> |
performDiscovery() |
void |
registerHandler(BeanArchiveHandler handler)
Register additional
BeanArchiveHandler for handling discovered bean archives. |
void |
setBootstrap(org.jboss.weld.bootstrap.api.Bootstrap bootstrap)
Installs a
Bootstrap for use by the
implementation. |
void |
setInitialBeanDefiningAnnotations(Set<Class<? extends Annotation>> initialBeanDefiningAnnotations)
Installs the
Set of bean defining annotations that the
implementation may use when discovering beans. |
void |
setResourceLoader(org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
Installs a
ResourceLoader for use by the
implementation. |
void |
setScanner(BeanArchiveScanner beanArchiveScanner)
Optionally, a client may set a custom scanner implementation.
|
void setResourceLoader(org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
ResourceLoader for use by the
implementation.resourceLoader - the ResourceLoader to installvoid setBootstrap(org.jboss.weld.bootstrap.api.Bootstrap bootstrap)
Bootstrap for use by the
implementation.bootstrap - the Bootstrap to installvoid setInitialBeanDefiningAnnotations(Set<Class<? extends Annotation>> initialBeanDefiningAnnotations)
Set of bean defining annotations that the
implementation may use when discovering beans.initialBeanDefiningAnnotations - the initial Set
of bean defining annotationsvoid setScanner(BeanArchiveScanner beanArchiveScanner)
beanArchiveScanner - void registerHandler(BeanArchiveHandler handler)
BeanArchiveHandler for handling discovered bean archives.handler - the handlerSet<WeldBeanDeploymentArchive> performDiscovery()
WeldBeanDeploymentArchivesorg.jboss.weld.resources.spi.ClassFileServices getClassFileServices()
ClassFileServices or nullCopyright © 2019. All rights reserved.