Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Weld Reference Documentation <a href="http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html/beanscdi.html#d0e634" rel="nofollow">Section 2.1.2</a> </p> <blockquote> <p>Keep in mind that once a bean is bound to a context, it remains in that context until the context is destroyed. There is no way to manually remove a bean from a context. If you don't want the bean to sit in the session indefinitely, consider using another scope with a shorted lifespan, such as the request or conversation scope.</p> </blockquote> <p>Custom scope example <a href="http://www.verborgh.be/articles/2010/01/06/porting-the-viewscoped-jsf-annotation-to-cdi/" rel="nofollow">Porting the veiwscoped jsf annonation to cdi</a></p> <p>If you really don't want to take the path of the Custom scope type.. You can use a <strong>non-portable</strong> method by using <a href="http://download.oracle.com/javaee/6/api/javax/enterprise/inject/spi/BeanManager.html#getContext%28java.lang.Class%29" rel="nofollow">BeanManager.getContext</a> method and cast this context in a weld <a href="http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.jboss.weld.servlet/weld-servlet/1.1.0.CR2/org/jboss/weld/context/AbstractSharedContext.java?av=h" rel="nofollow">AbstractSharedContext</a> to have access to the beanstore or the cleanUp() method of the context.</p> <p>Check this thread on how to get a <a href="http://seamframework.org/Community/UsingWeldGetBeanManagerFromGoogleAppEngineServlet" rel="nofollow">BeanManager</a> instance for your environment </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload