| |
|
| java.lang.Object fictional.resourceadapter.JtestResourceAdapter
JtestResourceAdapter | public class JtestResourceAdapter implements ManagedConnectionFactory,ConnectionRequestInfo,ManagedConnection,ManagedConnectionMetaData,GenericCredential,Serializable,Referenceable(Code) | | author: Bob Kruse author: used to test the J2EE Connector as implemented by JOnAS. |
cm | public ConnectionManager cm(Code) | | |
forceMatchNull | boolean forceMatchNull(Code) | | |
inLocalTrans | public boolean inLocalTrans(Code) | | |
inXATrans | public boolean inXATrans(Code) | | |
managed | public boolean managed(Code) | | |
re_authentication_Password | public String re_authentication_Password(Code) | | |
re_authentication_UserName | public String re_authentication_UserName(Code) | | |
sendEvent | public boolean sendEvent(Code) | | |
JtestResourceAdapter | public JtestResourceAdapter()(Code) | | |
addConnectionEventListener | public void addConnectionEventListener(ConnectionEventListener listener)(Code) | | |
associateConnection | public void associateConnection(Object obj) throws ResourceException(Code) | | |
cleanup | public void cleanup() throws ResourceException(Code) | | |
cntListeners | public int cntListeners()(Code) | | |
createConnectionFactory | public Object createConnectionFactory(ConnectionManager connectionmanager) throws ResourceException(Code) | | |
createConnectionFactory | public Object createConnectionFactory() throws ResourceException(Code) | | When the createConnectionFactory method takes no arguments, the resource adapter
provides a default ConnectionManager instance. This case is used in a non-managed
application scenario.
see 5.5.3
|
createManagedConnection | public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo connectionrequestinfo) throws ResourceException(Code) | | |
destroy | public void destroy() throws ResourceException(Code) | | |
getCM | public ConnectionManager getCM()(Code) | | |
getConnection | public Object getConnection(Subject subject, ConnectionRequestInfo connectionrequestinfo) throws ResourceException(Code) | | |
getEISProductName | public String getEISProductName() throws ResourceException(Code) | | |
getEISProductVersion | public String getEISProductVersion() throws ResourceException(Code) | | |
getLocalTransaction | public javax.resource.cci.LocalTransaction getLocalTransaction(boolean sendEvent) throws ResourceException(Code) | | |
getLocalTransaction | public LocalTransaction getLocalTransaction() throws ResourceException(Code) | | |
getMaxConnections | public int getMaxConnections() throws ResourceException(Code) | | |
getMcf | public ManagedConnectionFactory getMcf()(Code) | | |
getMetaData | public ManagedConnectionMetaData getMetaData() throws ResourceException(Code) | | |
getPasswordCredential | public PasswordCredential getPasswordCredential(ManagedConnectionFactory mcf, Subject subject, ConnectionRequestInfo info) throws ResourceException(Code) | | Returns the Password credential
Parameters: mcf - ManagedConnectionFactory currently being used Parameters: subject - Subject associated with this call Parameters: info - ConnectionRequestInfo PasswordCredential for this user |
hashCode | public int hashCode()(Code) | | |
isClosed | public boolean isClosed()(Code) | | |
matchManagedConnections | public ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo connectionrequestinfo) throws ResourceException(Code) | | |
removeConnectionEventListener | public void removeConnectionEventListener(ConnectionEventListener listener)(Code) | | |
resetXar | public void resetXar()(Code) | | |
sendEvent | public void sendEvent(int eType, Exception ex, Object ch) throws ResourceException(Code) | | Send the specified event to all the EventListeners that have
registered with this ManagedConnection instance.
int Event type to send Parameters: Exception - if one is associated with this event Parameters: ch - Connection handle associated with this event throws: ResourceException - generic exception if operation fails throws: IllegalArgumentException - if an invalid event is specified |
setConnDate | public void setConnDate(Date cDate)(Code) | | |
setLogWriter | public void setLogWriter(PrintWriter printwriter) throws ResourceException(Code) | | |
setMatchNull | public void setMatchNull(boolean truefalse)(Code) | | |
setMcf | public void setMcf(ManagedConnectionFactory MCF)(Code) | | |
setReference | public void setReference(javax.naming.Reference ref)(Code) | | Required by the referencable attribute
Parameters: ref - Reference object |
setServerName | public void setServerName(String c1)(Code) | | Set the JOnAS config-property.. Default value is "".
Parameters: c1 - String of config-property.for testng RA. |
|
|
|