Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.ejbgen
Annotation Type RemoteMethod


@Retention(value=CLASS)
@Target(value=java.lang.annotation.ElementType.METHOD)
public @interface RemoteMethod


Optional Element Summary
 Constants.Bool isIdempotent
          (True|False) Determines whether this method is idempotent.
 Constants.IsolationLevel isolationLevel
          (TransactionSerializable|TransactionReadCommitted|TransactionReadUncommitted|TransactionRepeatableRead) Specifies the type of transaction isolation for this method.
 String orderingNumber
          (0..n) Specifies the number where this method must appear in the generated class.
 int retryCount
          The number of retries for this method on a rollback.
 String roles
          Defines a comma-separated list of roles that are allowed to invoke this method.
 Constants.TransactionAttribute transactionAttribute
          (NotSupported|Supports|Required|RequiresNew|Mandatory|Never) Specifies the transaction attribute for this remote method.
 

orderingNumber

public abstract String orderingNumber
(0..n) Specifies the number where this method must appear in the generated class.

Default:
"UNSPECIFIED"

isolationLevel

public abstract Constants.IsolationLevel isolationLevel
(TransactionSerializable|TransactionReadCommitted|TransactionReadUncommitted|TransactionRepeatableRead) Specifies the type of transaction isolation for this method.

Default:
weblogic.ejbgen.Constants.IsolationLevel.UNSPECIFIED

transactionAttribute

public abstract Constants.TransactionAttribute transactionAttribute
(NotSupported|Supports|Required|RequiresNew|Mandatory|Never) Specifies the transaction attribute for this remote method. If not specified, the default transaction attribute will be used. Methods with this tag will be generated on the Remote class.

Default:
weblogic.ejbgen.Constants.TransactionAttribute.UNSPECIFIED

roles

public abstract String roles
Defines a comma-separated list of roles that are allowed to invoke this method.

Default:
"UNSPECIFIED"

isIdempotent

public abstract Constants.Bool isIdempotent
(True|False) Determines whether this method is idempotent.

Default:
weblogic.ejbgen.Constants.Bool.UNSPECIFIED

retryCount

public abstract int retryCount
The number of retries for this method on a rollback.

Default:
0

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