public class SampleConnectionManager
extends java.lang.Object
implements javax.resource.spi.ConnectionManager, java.io.Serializable
This class provides a connection manager used in non-managed environment.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright statement.
|
Constructor and Description |
---|
SampleConnectionManager()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object | allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info)
Allocate connection using provided information.
|
public static final java.lang.String COPYRIGHT
public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException