|
|||||||||||
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 static Log |
logger
logger used by this class |
Constructor Summary | |
MuleManagedConnectionFactory()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener lis)
Associate PropertyChangeListener with the ManagedConnectionFactory, in order to notify about properties changes. |
java.lang.Object |
createConnectionFactory()
Creates a Connection Factory instance. |
java.lang.Object |
createConnectionFactory(ConnectionManager cxManager)
Creates a Connection Factory instance. |
ManagedConnection |
createManagedConnection(javax.security.auth.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. |
java.io.PrintWriter |
getLogWriter()
Gets the log writer for this ManagedConnectionFactory instance. |
java.lang.String |
getPassword()
Returns the value of the password property. |
java.lang.String |
getUsername()
Returns the value of the userName property. |
ManagedConnection |
matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
ConnectionRequestInfo cxRequestInfo)
Returns a matched managed connection from the candidate set of connections. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener lis)
Delete association of PropertyChangeListener with the ManagedConnectionFactory. |
void |
setLogWriter(java.io.PrintWriter out)
Sets the log writer for this ManagedConnectionFactory instance. |
void |
setPassword(java.lang.String password)
Sets the value of the password property. |
void |
setUsername(java.lang.String username)
Sets the value of the userName property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static transient Log logger
Constructor Detail |
public MuleManagedConnectionFactory()
Method Detail |
public java.lang.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 java.lang.Object createConnectionFactory() throws ResourceException
ResourceException
- if the attempt to create a connection
factory failspublic ManagedConnection createManagedConnection(javax.security.auth.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 failspublic ManagedConnection matchManagedConnections(java.util.Set connectionSet, javax.security.auth.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 failspublic void setLogWriter(java.io.PrintWriter out) throws ResourceException
out
- an output stream for error logging and tracing
ResourceException
- if the method failspublic java.io.PrintWriter getLogWriter() throws ResourceException
ResourceException
- if the method failspublic void addPropertyChangeListener(java.beans.PropertyChangeListener lis)
lis
- the PropertyChangeListener to be associated with the
ManagedConnectionFactorypublic void removePropertyChangeListener(java.beans.PropertyChangeListener lis)
lis
- the PropertyChangeListener to be removedpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- String containing the value to be assigned
to userNamepublic java.lang.String getPassword()
public void setPassword(java.lang.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 |