Package org.apache.naming.factory
Class DataSourceLinkFactory.DataSourceHandler
java.lang.Object
org.apache.naming.factory.DataSourceLinkFactory.DataSourceHandler
- All Implemented Interfaces:
- InvocationHandler
- Enclosing class:
- DataSourceLinkFactory
public static class DataSourceLinkFactory.DataSourceHandler
extends Object
implements InvocationHandler
Simple wrapper class that will allow a user to configure a ResourceLink for a data source
 so that when 
DataSource.getConnection() is called, it will invoke
 DataSource.getConnection(String, String) with the preconfigured username and password.- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
DataSourceHandler- Throws:
- Exception
 
 
- 
- 
Method Details- 
invoke- Specified by:
- invokein interface- InvocationHandler
- Throws:
- Throwable
 
- 
unwrap- Throws:
- SQLException
 
 
-