djencks 2004/02/23 12:37:24
Modified: modules/connector/src/etc/META-INF geronimo-service.xml
modules/connector/src/java/org/apache/geronimo/connector/work
GeronimoWorkManager.java
Log:
umm, that was supposed to be a reference not an attribute
Revision Changes Path
1.5 +3 -0
incubator-geronimo/modules/connector/src/etc/META-INF/geronimo-service.xml
Index: geronimo-service.xml
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/connector/src/etc/META-INF/geronimo-service.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- geronimo-service.xml 12 Feb 2004 05:43:57 -0000 1.4
+++ geronimo-service.xml 23 Feb 2004 20:37:24 -0000 1.5
@@ -11,6 +11,9 @@
<default attribute="StartMaximumPoolSize" type="int">10</default>
<default attribute="ScheduledMinimumPoolSize" type="int">0</default>
<default attribute="ScheduledMaximumPoolSize" type="int">10</default>
+ <endpoint name="XAWork">
+
<pattern>geronimo.transaction:service=TransactionManager</pattern>
+ </endpoint>
</gbean>
<gbean class="org.apache.geronimo.connector.BootstrapContext"
objectName="geronimo.connector:role=BootstrapContext">
1.3 +3 -2
incubator-geronimo/modules/connector/src/java/org/apache/geronimo/connector/work/GeronimoWorkManager.java
Index: GeronimoWorkManager.java
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/connector/src/java/org/apache/geronimo/connector/work/GeronimoWorkManager.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- GeronimoWorkManager.java 23 Feb 2004 20:28:42 -0000 1.2
+++ GeronimoWorkManager.java 23 Feb 2004 20:37:24 -0000 1.3
@@ -263,7 +263,8 @@
static {
GBeanInfoFactory infoFactory = new
GBeanInfoFactory(GeronimoWorkManager.class.getName());
- infoFactory.addInterface(WorkManager.class, new
String[]{"SyncMinimumPoolSize", "SyncMaximumPoolSize", "StartMinimumPoolSize",
"StartMaximumPoolSize", "ScheduledMinimumPoolSize", "ScheduledMaximumPoolSize",
"XAWork"});
+ infoFactory.addInterface(WorkManager.class, new
String[]{"SyncMinimumPoolSize", "SyncMaximumPoolSize", "StartMinimumPoolSize",
"StartMaximumPoolSize", "ScheduledMinimumPoolSize",
"ScheduledMaximumPoolSize"});
+ infoFactory.addReference("XAWork", XAWork.class);
infoFactory.setConstructor(new GConstructorInfo(
new String[]{"SyncMinimumPoolSize", "SyncMaximumPoolSize",
"StartMinimumPoolSize", "StartMaximumPoolSize", "ScheduledMinimumPoolSize",
"ScheduledMaximumPoolSize", "XAWork"},
new Class[]{Integer.TYPE, Integer.TYPE, Integer.TYPE,
Integer.TYPE, Integer.TYPE, Integer.TYPE, XAWork.class}));