|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.ra.MuleManagedConnectionFactory
MuleManagedConnectionFactory TODO
| Field Summary | |
protected Log |
logger
logger used by this class |
| Constructor Summary | |
MuleManagedConnectionFactory()
|
|
| Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener lis)
Associate PropertyChangeListener with the ManagedConnectionFactory, in order to notify about properties changes. |
Object |
createConnectionFactory()
Creates a Connection Factory instance. |
Object |
createConnectionFactory(ConnectionManager cxManager)
Creates a Connection Factory instance. |
ManagedConnection |
createManagedConnection(Subject subject,
ConnectionRequestInfo cxRequestInfo)
ManagedConnectionFactory uses the security information (passed as Subject) and additional ConnectionRequestInfo (which is specific to ResourceAdapter and opaque to application server) to create this new connection. |
boolean |
equals(Object obj)
|
PrintWriter |
getLogWriter()
Gets the log writer for this ManagedConnectionFactory instance. |
String |
getPassword()
Returns the value of the password property. |
String |
getUsername()
Returns the value of the userName property. |
int |
hashCode()
|
ManagedConnection |
matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo cxRequestInfo)
Returns a matched managed connection from the candidate set of connections. |
void |
removePropertyChangeListener(PropertyChangeListener lis)
Delete association of PropertyChangeListener with the ManagedConnectionFactory. |
void |
setLogWriter(PrintWriter out)
Sets the log writer for this ManagedConnectionFactory instance. |
void |
setPassword(String password)
Sets the value of the password property. |
void |
setUsername(String username)
Sets the value of the userName property. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient Log logger
| Constructor Detail |
public MuleManagedConnectionFactory()
| Method Detail |
public int hashCode()
public boolean equals(Object obj)
public Object createConnectionFactory(ConnectionManager cxManager)
throws ResourceException
cxManager - ConnectionManager to be associated with created EIS
connection factory instance
javax.resource.ResourceException - if the attempt to create a connection
factory fails
ResourceException
public Object createConnectionFactory()
throws ResourceException
ResourceException - if the attempt to create a connection factory fails
public ManagedConnection createManagedConnection(Subject subject,
ConnectionRequestInfo cxRequestInfo)
throws ResourceException
subject - caller's security informationcxRequestInfo - additional resource adapter specific connection request
information
ResourceException - if the attempt to create a connection fails
public ManagedConnection matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo cxRequestInfo)
throws ResourceException
connectionSet - candidate connection setsubject - caller's security informationcxRequestInfo - additional resource adapter specific connection request
information
ResourceException - if the match fails
public void setLogWriter(PrintWriter out)
throws ResourceException
out - an output stream for error logging and tracing
ResourceException - if the method fails
public PrintWriter getLogWriter()
throws ResourceException
ResourceException - if the method failspublic void addPropertyChangeListener(PropertyChangeListener lis)
lis - the PropertyChangeListener to be associated with the
ManagedConnectionFactorypublic void removePropertyChangeListener(PropertyChangeListener lis)
lis - the PropertyChangeListener to be removedpublic String getUsername()
public void setUsername(String username)
username - String containing the value to be assigned to userNamepublic String getPassword()
public void setPassword(String password)
password - String containing the value to be assigned to password
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||