|
Revision 337, 0.5 KB
(checked in by anton, 14 months ago)
|
|
Multiple improvements:
- aggregate functions
- capabilities service
|
| Line | |
|---|
| 1 | package util.web; |
|---|
| 2 | |
|---|
| 3 | import java.sql.Connection; |
|---|
| 4 | |
|---|
| 5 | import util.ObjectPool; |
|---|
| 6 | |
|---|
| 7 | public class WebConnectionPool extends ObjectPool<Connection> |
|---|
| 8 | { |
|---|
| 9 | |
|---|
| 10 | public WebConnectionPool(String url, String user, |
|---|
| 11 | String password) |
|---|
| 12 | { |
|---|
| 13 | super(url, user, password); |
|---|
| 14 | } |
|---|
| 15 | |
|---|
| 16 | @Override |
|---|
| 17 | protected Connection create() |
|---|
| 18 | { |
|---|
| 19 | // TODO Auto-generated method stub |
|---|
| 20 | return null; |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | @Override |
|---|
| 24 | public void expire(Connection o) |
|---|
| 25 | { |
|---|
| 26 | // TODO Auto-generated method stub |
|---|
| 27 | |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | @Override |
|---|
| 31 | public boolean validate(Connection o) |
|---|
| 32 | { |
|---|
| 33 | // TODO Auto-generated method stub |
|---|
| 34 | return false; |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | } |
|---|