public interface HotSwappingContext
| Modifier and Type | Method and Description |
|---|---|
boolean |
_isActive()
the original isActive() method (renamed)
|
void |
_redefine()
redefines the beans which have changed
|
void |
addBean(javax.enterprise.context.spi.Contextual<Object> bean)
Adds a bean to the set of beans to be redefined.
|
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.
|
Set<javax.enterprise.context.spi.Contextual<Object>> |
getBeans() |
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 addBean(javax.enterprise.context.spi.Contextual<Object> bean)
bean - void _redefine()
boolean _isActive()
Copyright © 2018. All rights reserved.