|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebBeansContext
Defines spi for contexts.
| Method Summary | ||
|---|---|---|
void |
destroy()
Destroys the context. |
|
Map<javax.enterprise.context.spi.Contextual<?>,BeanInstanceBag<?>> |
getComponentInstanceMap()
Returns instance map. |
|
|
getCreationalContext(javax.enterprise.context.spi.Contextual<T> contextual)
Gets creational context of the given bean. |
|
ContextTypes |
getType()
Returns context type. |
|
|
initContextualBag(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Initializes this contextual bag with given creational context. |
|
| Methods inherited from interface javax.enterprise.context.spi.Context |
|---|
get, get, getScope, isActive |
| Method Detail |
|---|
<T> void initContextualBag(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Given creational context is used fot creating the bean instance.
T - typecontextual - contextual beancreationalContext - creational contextvoid destroy()
ContextTypes getType()
Map<javax.enterprise.context.spi.Contextual<?>,BeanInstanceBag<?>> getComponentInstanceMap()
<T> javax.enterprise.context.spi.CreationalContext<T> getCreationalContext(javax.enterprise.context.spi.Contextual<T> contextual)
T - typecontextual - contextual bean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||