Class PropertyFileDynamicClass

java.lang.Object
com.arjuna.ats.internal.jdbc.drivers.PropertyFileDynamicClass
All Implemented Interfaces:
com.arjuna.ats.internal.jdbc.DynamicClass

public class PropertyFileDynamicClass extends Object implements com.arjuna.ats.internal.jdbc.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
  • Constructor Details

    • PropertyFileDynamicClass

      public PropertyFileDynamicClass()
  • Method Details