|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={java.lang.annotation.ElementType.ANNOTATION_TYPE, java.lang.annotation.ElementType.METHOD}) @Retention(value=RUNTIME) @Inherited public @interface RmiMethod
RmiMethod annotation. All rmic options related to remote methods can be specified as RMI annotation in the remote implementation class. Elements for this class are:
true
, marks a method for asynchronous processing.
Typically when a method is invoked, the result is returned upon
the completion of the method execution. When asynchronousResult=true
, the return type of the method can be either void
or a Future
object.
If the type is a Future
object, it can be polled to see when the result is available.
If the type is a void
, the method is treated as an asynchronous one-way call.
Optional Element Summary | |
---|---|
boolean |
asynchronousResult
|
String |
dispatchPolicy
|
boolean |
idempotent
|
boolean |
oneway
|
int |
timeout
|
boolean |
transactional
|
public abstract boolean oneway
public abstract boolean asynchronousResult
public abstract boolean transactional
public abstract String dispatchPolicy
public abstract int timeout
public abstract boolean idempotent
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |