Author: rareddy
Date: 2011-11-13 14:09:31 -0500 (Sun, 13 Nov 2011)
New Revision: 3644
Added:
trunk/connectors/translator-hive/src/main/resources/META-INF/jboss-beans.xml
Log:
TEIID-1810: Adding Hive translator to Teiid
Added: trunk/connectors/translator-hive/src/main/resources/META-INF/jboss-beans.xml
===================================================================
--- trunk/connectors/translator-hive/src/main/resources/META-INF/jboss-beans.xml
(rev 0)
+++
trunk/connectors/translator-hive/src/main/resources/META-INF/jboss-beans.xml 2011-11-13
19:09:31 UTC (rev 3644)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <bean name="translator-hive-template"
class="org.teiid.templates.TranslatorDeploymentTemplate">
+ <property name="info"><inject
bean="translator-hive"/></property>
+ <property name="managedObjectFactory"><inject
bean="ManagedObjectFactory"/></property>
+ </bean>
+
+ <bean name="translator-hive"
class="org.teiid.templates.TranslatorTemplateInfo">
+ <constructor factoryMethod="createTemplateInfo">
+ <factory bean="TranslatorDeploymentTemplateInfoFactory"/>
+ <parameter
class="java.lang.Class">org.teiid.templates.TranslatorTemplateInfo</parameter>
+ <parameter
class="java.lang.Class">org.teiid.translator.hive.HiveExecutionFactory</parameter>
+ <parameter
class="java.lang.String">translator-hive</parameter>
+ <parameter class="java.lang.String">Hive</parameter>
+ </constructor>
+ </bean>
+
+</deployment>
Property changes on:
trunk/connectors/translator-hive/src/main/resources/META-INF/jboss-beans.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain