org.ow2.jonas.deployment.api
Interface IResourceRefDesc

All Known Implementing Classes:
ResourceRefDesc

public interface IResourceRefDesc


Field Summary
static int APPLICATION_AUTH
          To indicate that the application manage the authentication.
static int CONTAINER_AUTH
          To indicate that the container manage the authentication.
 
Method Summary
 int getAuthentication()
          Get the authentication of the resource ref.
 String getJndiName()
          Get the jndi name of the resource ref.
 String getName()
          Get resource ref.
 String getTypeName()
          Get resource ref.
 boolean isJdbc()
          Assessor for JDBC resource
 

Field Detail

APPLICATION_AUTH

static final int APPLICATION_AUTH
To indicate that the application manage the authentication.

See Also:
Constant Field Values

CONTAINER_AUTH

static final int CONTAINER_AUTH
To indicate that the container manage the authentication.

See Also:
Constant Field Values
Method Detail

getName

String getName()
Get resource ref. name

Returns:
Name of the resource ref.

getTypeName

String getTypeName()
Get resource ref. type name

Returns:
Class name of the resource ref.

getAuthentication

int getAuthentication()
Get the authentication of the resource ref.

Returns:
Authentication value within APPLICATION_AUTH, CONTAINER_AUTH

isJdbc

boolean isJdbc()
Assessor for JDBC resource

Returns:
true if the resource is Jdbc compliant

getJndiName

String getJndiName()
Get the jndi name of the resource ref.

Returns:
String representation of the JNDI name


Copyright © 2010 OW2 Consortium. All Rights Reserved.