Every context has a well-defined lifecycle. It means that in some time, context is active and some other time context may be passive. Moreover, each context is created and destroyed by the container according to the timing requirements. For example, request context is started by every http request and destroyed at the end of the http response. According to the current thread, active context is called an thread current context.
Context is responsible for creating and destroying the Contextual instances of the webbeans components.
$
- Rev: 815435 $ $Date: 2009-09-15 21:18:44 +0300 (Tue, 15 Sep 2009) $Method from javax.enterprise.context.spi.Context Summary: |
---|
get, get, getScope, isActive |
Method from javax.enterprise.context.spi.Context Detail: |
---|
|
creationalContext
argument. If it is null, it returns null, otherwise new webbeans instance is created
and puts into the context and returns it. |
|
|