- All Implemented Interfaces:
- DynamicClass
public class PropertyFileDynamicClass
extends Object
implements DynamicClass
A dynamic class that reads from a properties file and uses the information to
instantiate and configure an XADataSource.
The properties in the file must be as follows:
xaDataSourceClassName : The name of the driver class that implements XADataSource
All other properties in the file are read and a matching setter method called
on the XADataSource. This allows for implementations that require non standard configuration.
e.g.
serverName=foo
results in the method call
setServerName("foo");
in accordance with JavaBeans naming conventions.
- Author:
- Jonathan Halliday (jonathan.halliday@redhat.com) 2009-05