Author: vhalbert(a)redhat.com
Date: 2011-05-25 18:12:29 -0400 (Wed, 25 May 2011)
New Revision: 3198
Modified:
branches/7.1.x/connectors/sandbox/connector-template/src/main/rar/META-INF/ra.xml
Log:
TEIID-1594 updated rar.xml
Modified:
branches/7.1.x/connectors/sandbox/connector-template/src/main/rar/META-INF/ra.xml
===================================================================
---
branches/7.1.x/connectors/sandbox/connector-template/src/main/rar/META-INF/ra.xml 2011-05-25
22:10:37 UTC (rev 3197)
+++
branches/7.1.x/connectors/sandbox/connector-template/src/main/rar/META-INF/ra.xml 2011-05-25
22:12:29 UTC (rev 3198)
@@ -6,76 +6,45 @@
http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
- <vendor-name>${vendor-name}</vendor-name>
- <eis-type>${connector-name}</eis-type>
+ <vendor-name>Red Hat Middleware LLC</vendor-name>
+ <eis-type>Coherence Connector</eis-type>
<resourceadapter-version>1.0</resourceadapter-version>
<license>
<description>
- ${license}
+ JBoss, Home of Professional Open Source.
+ Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags. See the copyright.txt file in the
+ distribution for a full listing of individual contributors.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
</description>
<license-required>true</license-required>
</license>
<resourceadapter>
-
<resourceadapter-class>org.teiid.connector.basic.BasicResourceAdapter</resourceadapter-class>
+
<resourceadapter-class>org.teiid.resource.spi.BasicResourceAdapter</resourceadapter-class>
<outbound-resourceadapter>
<connection-definition>
-
<managedconnectionfactory-class>${package-name}.${connector-name}ManagedConnectionFactory</managedconnectionfactory-class>
-
- <!-- Common properties for all connectors -->
- <config-property>
- <description>{$display:"Connector
Class",$advanced:"true"}</description>
- <config-property-name>ConnectorClass</config-property-name>
- <config-property-type>java.lang.String</config-property-type>
-
<config-property-value>${package-name}.${connector-name}Connector</config-property-value>
- </config-property>
-
- <config-property>
- <description>{$display:"Connector
Capabilities",$description:"The class to use to provide the Connector
Capabilities",$advanced:"true"}</description>
-
<config-property-name>CapabilitiesClass</config-property-name>
- <config-property-type>java.lang.String</config-property-type>
-
<config-property-value>${package-name}.${connector-name}Capabilities</config-property-value>
- </config-property>
+
<managedconnectionfactory-class>org.teiid.coherence.connector.CoherenceManagedConnectionFactory</managedconnectionfactory-class>
- <config-property>
- <description>{$display:"Is
Immutable",$description:"Is Immutable, True if the source never
changes.",$advanced:"true"}</description>
- <description>Is Immutable, True if the source never
changes.</description>
- <config-property-name>Immutable</config-property-name>
-
<config-property-type>java.lang.Boolean</config-property-type>
- <config-property-value>false</config-property-value>
- </config-property>
-
- <config-property>
- <description>{$display:"Is XA
Capable",$description:"True, if this connector supports XA
Transactions",$advanced:"true"}</description>
- <config-property-name>XaCapable</config-property-name>
-
<config-property-type>java.lang.Boolean</config-property-type>
- <config-property-value>false</config-property-value>
- </config-property>
+
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
+
<connectionfactory-impl-class>org.teiid.resource.spi.WrappedConnectionFactory</connectionfactory-impl-class>
+
<connection-interface>javax.resource.cci.Connection</connection-interface>
+
<connection-impl-class>org.teiid.resource.spi.WrappedConnection</connection-impl-class>
- <config-property>
- <description>{$display:"Exception on Exceeding Max
Rows",$description:"Indicates if an Exception should be thrown if the specified
value for Maximum Result Rows is exceeded; else no exception and no more than the maximum
will be returned",$advanced:"true"}</description>
-
<config-property-name>ExceptionOnMaxRows</config-property-name>
-
<config-property-type>java.lang.Boolean</config-property-type>
- <config-property-value>true</config-property-value>
- </config-property>
-
- <config-property>
- <description>{$display:"Maximum Result
Rows",$description:"Maximum Result Rows
allowed",$advanced:"true"}</description>
- <config-property-name>MaxResultRows</config-property-name>
-
<config-property-type>java.lang.Integer</config-property-type>
- <config-property-value>-1</config-property-value>
- </config-property>
-
- <!-- ${connector-name} Specific properties START -->
-
-
- <!-- ${connector-name} Specific properties END -->
-
-
<connectionfactory-interface>org.teiid.connector.api.Connector</connectionfactory-interface>
-
<connectionfactory-impl-class>org.teiid.connector.basic.WrappedConnector</connectionfactory-impl-class>
-
<connection-interface>org.teiid.connector.api.Connection</connection-interface>
-
<connection-impl-class>org.teiid.connector.basic.WrappedConnection</connection-impl-class>
-
</connection-definition>
<transaction-support>NoTransaction</transaction-support>