public interface BeanArchiveService
release()
gets invoked. This is usually at the end of the deployment phase.
This SPI uses URLs as parameters because many virtual file
systems do not store their resources on a file system and also
are not able to move from the externalForm back to the original URL.| Modifier and Type | Interface and Description |
|---|---|
static interface |
BeanArchiveService.BeanArchiveInformation
Contains information about a single Bean Definition Archive (BDA).
|
static class |
BeanArchiveService.BeanDiscoveryMode
Defines how CDI beans got discovered for each
JAR or ClassPath entry (aka BDA).
|
| Modifier and Type | Method and Description |
|---|---|
BeanArchiveService.BeanArchiveInformation |
getBeanArchiveInformation(URL beanArchiveUrl)
The beanArchiveUrl might either point to a beans.xml file or the root of a JAR
or other ClassPath entry.
|
Set<URL> |
getRegisteredBeanArchives()
This method is useful to later on know which JARs and ClassPath entries
did get scanned.
|
void |
release()
Release the gathered information to free up memory.
|
BeanArchiveService.BeanArchiveInformation getBeanArchiveInformation(URL beanArchiveUrl)
BeanArchiveService.BeanArchiveInformation of the given URL.BeanArchiveService.BeanDiscoveryModeSet<URL> getRegisteredBeanArchives()
void release()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.