01: /*
02: * Created on Jan 23, 2004
03: *
04: * To change the template for this generated file go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package org.xdev.base.xssl.manage;
08:
09: import java.util.HashMap;
10:
11: import org.xdev.base.xssl.XSSLReturn;
12:
13: /**
14: * @author AYegorov
15: *
16: * To change the template for this generated type comment go to
17: * Window>Preferences>Java>Code Generation>Code and Comments
18: */
19: public abstract class AbstractTransactionDataSource extends XSSLReturn {
20: public static final String SEARCH_PATH = "search-path";
21:
22: private Object returnValue = null;
23:
24: /**
25: * @param id
26: */
27: public AbstractTransactionDataSource(String id) {
28: super (id);
29: // XXX Auto-generated constructor stub
30: }
31:
32: /**
33: * @param id
34: * @param properties
35: */
36: public AbstractTransactionDataSource(String id, HashMap properties) {
37: super (id, properties);
38: // XXX Auto-generated constructor stub
39: }
40:
41: /* (non-Javadoc)
42: * @see org.xdev.base.xssl.XSSLReturn#getValue()
43: */
44: public Object getObjectValue() {
45: // XXX Auto-generated method stub
46: return this .returnValue;
47: }
48:
49: /* (non-Javadoc)
50: * @see org.xdev.base.xssl.XSSLAction#set()
51: */
52: protected void set() throws Exception {
53: //TODO: Add real-time data source creation logic
54: }
55:
56: protected abstract Class getDataSourceClass() throws Exception;
57: }
|