public interface SeContainer extends Instance<Object>, AutoCloseable
SeContainer implements Instance and therefore might be used to perform programmatic lookup.
If no qualifier is passed to Instance.select(java.lang.annotation.Annotation...) method, the @Default qualifier is assumed.
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shuts down this SeContainer instance when it is no longer in scope.
|
BeanManager |
getBeanManager()
Get the CDI BeanManager for this container
|
boolean |
isRunning()
Check if the container is running or was shut down
|
destroy, isAmbiguous, isResolvable, isUnsatisfied, select, select, select, streamforEach, iterator, spliteratorvoid close()
Shuts down this SeContainer instance when it is no longer in scope. Implemented from AutoCloseable,
close in interface AutoCloseableIllegalStateException - if the container is already shutdownboolean isRunning()
BeanManager getBeanManager()
IllegalStateException - if called when the container is already shutdownComments to: cdi-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.