com.sun.enterprise.deployment.web
Interface ResourceReference

All Superinterfaces:
ContextParameter, NameValuePair
All Known Implementing Classes:
ResourceReferenceDescriptor

public interface ResourceReference
extends ContextParameter

Objects exhibiting this interface represent a specialization of a container property that is used for obtaining a database connection.


Field Summary
static java.lang.String APPLICATION_AUTHORIZATION
           
static java.lang.String CONTAINER_AUTHORIZATION
           
 
Method Summary
 java.lang.String getAuthorization()
           
 java.lang.String getType()
          return the fully qualified classname of the datasource factory - e.g.
 void setAuthorization(java.lang.String authorization)
           
 void setDescription(java.lang.String description)
           
 void setType(java.lang.String type)
           
 
Methods inherited from interface com.sun.enterprise.deployment.web.NameValuePair
getDescription, getName, getValue, setName, setValue
 

Field Detail

CONTAINER_AUTHORIZATION

static final java.lang.String CONTAINER_AUTHORIZATION
See Also:
Constant Field Values

APPLICATION_AUTHORIZATION

static final java.lang.String APPLICATION_AUTHORIZATION
See Also:
Constant Field Values
Method Detail

getType

java.lang.String getType()
return the fully qualified classname of the datasource factory - e.g. javax.sql.DataSource.


setType

void setType(java.lang.String type)

setDescription

void setDescription(java.lang.String description)
Specified by:
setDescription in interface NameValuePair

getAuthorization

java.lang.String getAuthorization()

setAuthorization

void setAuthorization(java.lang.String authorization)


Copyright © 2012 GlassFish Community. All Rights Reserved.