|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface ResourceUsed to declare a link to a resource (like a Bean's context, a DataSource, etc).
| Optional Element Summary | |
|---|---|
Resource.AuthenticationType |
authenticationType
The authentication type, with container as default. |
java.lang.String |
description
A description for this resource. |
java.lang.String |
mappedName
JNDI name to use for the resource. |
java.lang.String |
name
Name of the resource. |
boolean |
shareable
Share this resource between components ? |
java.lang.Class |
type
Type of the resource. |
public abstract java.lang.String name
public abstract java.lang.Class type
public abstract Resource.AuthenticationType authenticationType
public abstract boolean shareable
public abstract java.lang.String mappedName
public abstract java.lang.String description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||