public class ConnectionResourceFactory extends Object implements IResourceFactory<ConnectionResource>
IResourceFactory
for obtaining ConnectionResource
instances. Uses a DataSource
as the underlying method of obtaining new connections.Constructor and Description |
---|
ConnectionResourceFactory(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
ConnectionResource |
allocate()
Allocates a new resource instance.
|
public ConnectionResourceFactory(DataSource dataSource)
public ConnectionResource allocate()
IResourceFactory
allocate
in interface IResourceFactory<ConnectionResource>
IResource
Copyright © GigaSpaces.