org.ow2.jonas.resource.internal.cm
Class ConnectionResourceHint

java.lang.Object
  extended by org.ow2.jonas.resource.internal.cm.ConnectionResourceHint

public class ConnectionResourceHint
extends 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  ConnectionRequestInfo cxRequestInfo
          ConnectionRequestInfo object
protected  Subject subject
          Subject object
 
Constructor Summary
ConnectionResourceHint(Subject s, ConnectionRequestInfo cri)
          Constructor for the ConnectionResourceHint object
 
Method Summary
 void clear()
          Clear the current contents
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subject

protected Subject subject
Subject object


cxRequestInfo

protected ConnectionRequestInfo cxRequestInfo
ConnectionRequestInfo object

Constructor Detail

ConnectionResourceHint

public ConnectionResourceHint(Subject s,
                              ConnectionRequestInfo cri)
Constructor for the ConnectionResourceHint object

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

clear

public void clear()
Clear the current contents


toString

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.