org.objectweb.jonas.resource
Class ResourceSpec

java.lang.Object
  extended by org.objectweb.jonas.resource.ResourceSpec

public class ResourceSpec
extends java.lang.Object

This class describes the context of a getConnection call: - the mcf to request a ManagedConnection - the security subject - the ConnectionRequestInfo transmitted with the request

Author:
sebastien.chassande@inrialpes.fr

Field Summary
protected  javax.resource.spi.ConnectionRequestInfo cxRequestInfo
          ConnectionRequestInfo object
protected  javax.security.auth.Subject subject
          Subject object
 
Constructor Summary
ResourceSpec(javax.security.auth.Subject s, javax.resource.spi.ConnectionRequestInfo cri)
          Constructor for the ResourceSpec object
 
Method Summary
 void clear()
          Clear the current contents
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subject

protected javax.security.auth.Subject subject
Subject object


cxRequestInfo

protected javax.resource.spi.ConnectionRequestInfo cxRequestInfo
ConnectionRequestInfo object

Constructor Detail

ResourceSpec

public ResourceSpec(javax.security.auth.Subject s,
                    javax.resource.spi.ConnectionRequestInfo cri)
Constructor for the ResourceSpec object

Parameters:
s - Subject to associate
cri - ConnectionRequestInfo
Method Detail

clear

public void clear()
Clear the current contents


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
String value of object