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

Part Number E27170-02

weblogic.ejbgen
Annotation Type ResourceRef


@Retention(value=CLASS)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface ResourceRef


Required Element Summary
 ResourceRef.Auth auth
          (Application|Container)
 String jndiName
          Specifies the JNDI name of the resource.
 String name
          Names the resource.
 String type
          Specifies the type of the resource (e.g., javax.sql.DataSource).
 
Optional Element Summary
 String id
          The identity of this tag (used for tag inheritance only).
 ResourceRef.SharingScope sharingScope
          (Shareable|Unshareable)
 

Element Detail

jndiName

public abstract String jndiName
Specifies the JNDI name of the resource.


type

public abstract String type
Specifies the type of the resource (e.g., javax.sql.DataSource).


auth

public abstract ResourceRef.Auth auth
(Application|Container)


name

public abstract String name
Names the resource.

sharingScope

public abstract ResourceRef.SharingScope sharingScope
(Shareable|Unshareable)

Default:
weblogic.ejbgen.ResourceRef.SharingScope.UNSPECIFIED

id

public abstract String id
The identity of this tag (used for tag inheritance only).

Default:
"UNSPECIFIED"

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