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

Part Number E41849-02

weblogic.ejbgen
Annotation Type LocalHomeMethod


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


Optional Element Summary
 Constants.Bool isIdempotent
          (True|False) Sets 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 local 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 local method. If not specified, the default transaction attribute will be used. Methods with this tag will be generated on the Local 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) Sets 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, 2014, 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.3)

Part Number E41849-02