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

Annotation Type Asynchronous



  • @Target(value={METHOD,TYPE})
     @Retention(value=RUNTIME)
    public @interface Asynchronous
    Used to mark a session bean method as an asynchronous method or to designate all business methods of a session bean class as asynchronous.

    An asychronous method must have return type void or Future<V>, where V is the result value type.

    Asynchronous method invocation semantics only apply to the no-interface, local business, and remote business client views. Methods exposed through the EJB 2.x local, EJB 2.x remote, and web service client views must not be designated as asynchronous.

    Since:
    EJB 3.1
    See Also:
    AsyncResult
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 によって変換されたページ (->オリジナル) /