public interface WeldHotswapContext
| Modifier and Type | Method and Description |
|---|---|
void |
$$ha$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>> |
$$ha$getBeansToReloadWeld()
Gets the Weld beans to be reloaded.
|
boolean |
$$ha$isActiveWeld()
The original isActive() method (renamed).
|
void |
$$ha$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 $$ha$addBeanToReloadWeld(javax.enterprise.context.spi.Contextual<Object> bean)
bean - Set<javax.enterprise.context.spi.Contextual<Object>> $$ha$getBeansToReloadWeld()
void $$ha$reloadWeld()
boolean $$ha$isActiveWeld()
Copyright © 2020. All rights reserved.