public interface WeldHotswapContext
| Modifier and Type | Method and Description |
|---|---|
void |
__addBeanToReloadWeld(javax.enterprise.context.spi.Contextual<Object> bean)
Adds a bean to the set of beans to be redefined.
|
Set<javax.enterprise.context.spi.Contextual<Object>> |
__getBeansToReloadWeld()
Gets the Weld beans to be reloaded.
|
boolean |
__isActiveWeld()
The original isActive() method (renamed).
|
void |
__reloadWeld()
Redefines the beans which have changed.
|
void |
destroy(javax.enterprise.context.spi.Contextual<?> contextual)
Destroy the existing contextual instance.
|
<T> T |
get(javax.enterprise.context.spi.Contextual<T> contextual)
Return an existing instance of a certain contextual type or a null value.
|
boolean |
isActive()
Determines if the context object is active.
|
void destroy(javax.enterprise.context.spi.Contextual<?> contextual)
contextual - the contextual typejavax.enterprise.context.ContextNotActiveException - if the context is not activeboolean isActive()
<T> T get(javax.enterprise.context.spi.Contextual<T> contextual)
T - the type of the contextual typecontextual - the contextual typejavax.enterprise.context.ContextNotActiveException - if the context is not activevoid __addBeanToReloadWeld(javax.enterprise.context.spi.Contextual<Object> bean)
bean - Set<javax.enterprise.context.spi.Contextual<Object>> __getBeansToReloadWeld()
void __reloadWeld()
boolean __isActiveWeld()
Copyright © 2018. All rights reserved.