org.jcoderz.commons.connector
Class ConnectionRequestInfoBase

java.lang.Object
  extended by org.jcoderz.commons.connector.ConnectionRequestInfoBase
All Implemented Interfaces:
ConnectionRequestInfo
Direct Known Subclasses:
HttpConnectionRequestInfo

public abstract class ConnectionRequestInfoBase
extends Object
implements ConnectionRequestInfo

The base class for all ConnectionRequestInfo implementations.


Constructor Summary
ConnectionRequestInfoBase()
           
 
Method Summary
 UserPassword getUserPassword()
          Returns the UserPassword of this request info.
 void setUserPassword(String userName, String password)
          Sets user name and password for this request info.
 void setUserPassword(UserPassword up)
          Sets the UserPassword up for this request info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.spi.ConnectionRequestInfo
equals, hashCode
 

Constructor Detail

ConnectionRequestInfoBase

public ConnectionRequestInfoBase()
Method Detail

setUserPassword

public void setUserPassword(String userName,
                            String password)
Sets user name and password for this request info.

Parameters:
userName - User Name to be set.
password - Passwort to be set.

setUserPassword

public void setUserPassword(UserPassword up)
Sets the UserPassword up for this request info.

Parameters:
up - the UserPassword to be set.

getUserPassword

public UserPassword getUserPassword()
Returns the UserPassword of this request info.

Returns:
the UserPassword of this request info.


Copyright 2007 The jCoderZ Project.