public interface OwbHotswapContext
| Modifier and Type | Method and Description |
|---|---|
void |
$$ha$addBeanToReloadOwb(javax.enterprise.context.spi.Contextual<Object> bean)
Adds a bean to the set of beans to be reloaded.
|
Set<javax.enterprise.context.spi.Contextual<Object>> |
$$ha$getBeansToReloadOwb()
Gets the OWB beans to be reloaded.
|
boolean |
$$ha$isActiveOwb()
the original isActive() method (renamed)
|
void |
$$ha$reloadOwb()
reload the owb 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)
Destroy the existing contextual instance. If there is no existing instance, no action is taken.
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$addBeanToReloadOwb(javax.enterprise.context.spi.Contextual<Object> bean)
bean - Set<javax.enterprise.context.spi.Contextual<Object>> $$ha$getBeansToReloadOwb()
void $$ha$reloadOwb()
boolean $$ha$isActiveOwb()
Copyright © 2020. All rights reserved.