JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Field |
  • Required |
  • Optional
  • Detail:
  • Field |
  • Element
javax.enterprise.inject

Annotation Type TransientReference



  • @Target(value=PARAMETER)
     @Retention(value=RUNTIME)
     @Documented
    public @interface TransientReference

    If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will be destroyed after the invocation completes.

     public class OrderManager {
     
     @Inject 
     public OrderManager(@TransientReference Order order) {
     ...
     
     }
     }
     
    Since:
    1.1
    Author:
    Pete Muir
Skip navigation links
  • Summary:
  • Field |
  • Required |
  • Optional
  • Detail:
  • Field |
  • Element

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /