|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdapterFactory
Method Summary | |
---|---|
void |
clear()
Destroys all data source and clears all cache information. |
AcopTransportDataSource |
createDataSource(ConnectionParameters param)
Returns data source for parameters and increases use count for that data source for 1. |
java.util.Map<java.lang.String,java.lang.Object> |
getCharacteristics(ConnectionParameters param)
Method returns the characteristics for specified parameters. |
AcopTransportDataSource |
getDataSource(ConnectionParameters param)
Returns adapter assotiated with the parameters, does not increase use count. |
void |
releaseDataSource(AcopTransportDataSource ds)
Decreases use count on data source. |
AcopTransportDataSource |
releaseDataSource(ConnectionParameters param)
Decreases use count on data source associated with parameters. |
Method Detail |
---|
AcopTransportDataSource createDataSource(ConnectionParameters param) throws ConnectionFailed
param
- parameters for the data source
ConnectionFailed
AcopTransportDataSource getDataSource(ConnectionParameters param) throws ConnectionFailed
param
- parameters for the data source
ConnectionFailed
void releaseDataSource(AcopTransportDataSource ds)
ds
- data source to be destroyedAcopTransportDataSource releaseDataSource(ConnectionParameters param)
param
-
void clear()
java.util.Map<java.lang.String,java.lang.Object> getCharacteristics(ConnectionParameters param) throws ConnectionFailed
param
-
ConnectionFailed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |