@Retention(value=CLASS)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface ResourceRef
Modifier and Type | Required Element and Description |
---|---|
ResourceRef.Auth |
auth
(Application|Container)
|
java.lang.String |
jndiName
Specifies the JNDI name of the resource.
|
java.lang.String |
name
Names the resource.
|
java.lang.String |
type
Specifies the type of the resource (e.g., javax.sql.DataSource).
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
id
The identity of this tag (used for tag inheritance only).
|
ResourceRef.SharingScope |
sharingScope
(Shareable|Unshareable)
|
public abstract java.lang.String jndiName
public abstract java.lang.String type
public abstract ResourceRef.Auth auth
public abstract ResourceRef.SharingScope sharingScope