Author: rareddy
Date: 2010-12-23 13:26:05 -0500 (Thu, 23 Dec 2010)
New Revision: 2795
Added:
trunk/connectors/translator-delegate/target/
Modified:
trunk/build/assembly/jboss-container/dist.xml
trunk/build/kits/jboss-container/teiid-releasenotes.html
trunk/documentation/reference/src/main/docbook/en-US/content/translators.xml
Log:
TEIID-1330: Adding the delegate translator
Modified: trunk/build/assembly/jboss-container/dist.xml
===================================================================
--- trunk/build/assembly/jboss-container/dist.xml 2010-12-23 18:22:52 UTC (rev 2794)
+++ trunk/build/assembly/jboss-container/dist.xml 2010-12-23 18:26:05 UTC (rev 2795)
@@ -184,6 +184,7 @@
<include>org.jboss.teiid.connectors:translator-ldap</include>
<include>org.jboss.teiid.connectors:translator-salesforce</include>
<include>org.jboss.teiid.connectors:translator-ws</include>
+
<include>org.jboss.teiid.connectors:translator-delegate</include>
</includes>
<binaries>
Modified: trunk/build/kits/jboss-container/teiid-releasenotes.html
===================================================================
--- trunk/build/kits/jboss-container/teiid-releasenotes.html 2010-12-23 18:22:52 UTC (rev
2794)
+++ trunk/build/kits/jboss-container/teiid-releasenotes.html 2010-12-23 18:26:05 UTC (rev
2795)
@@ -37,6 +37,7 @@
<LI><B>Predicate Optimization</B> - expanded optimizations for
detecting always false conditions when using IS NULL, IN, or comparison predicates with
literal values.
<LI><B>Partition-wise Optimizations</B> - Views defined by partitioned
unions (union alls where each branch has a projected literal or an IN predicate that makes
its values mutually exclusive from the other branches) can
be used in aggregation or joins and the optimizer will take advantage of the
partitioning information. For example, when a partitioned union is joined against another
partitioned union, the optimizer will reorganize the join of unions into a union of
joins.
+ <LI><B>Delegate Translator</B> - A new translator added that is
capable of delegating all the calls to another configured translator.
</UL>
<h2><a name="Compatibility">Compatibility
Issues</a></h2>
Modified: trunk/documentation/reference/src/main/docbook/en-US/content/translators.xml
===================================================================
---
trunk/documentation/reference/src/main/docbook/en-US/content/translators.xml 2010-12-23
18:22:52 UTC (rev 2794)
+++
trunk/documentation/reference/src/main/docbook/en-US/content/translators.xml 2010-12-23
18:26:05 UTC (rev 2795)
@@ -1009,6 +1009,40 @@
</section>
</section>
</section>
+ <section>
+ <title>Delegate Translator</title>
+ <para>
+ The Delegate translator, known by the type name
<emphasis>delegate</emphasis>,
+ provides way to delegate all the translator calls to yet another translator
whoose name is supplied. This does not provide
+ any functionality on its own, other than delegation. This translator can be
used to intercept the calls to the user
+ supplied translator and modify them as they see fit. Another advantage of
this translator is, user is not required to
+ package their translator as precribed in JAR file as shown in the
developer's guide, all user need to do
+ is to make sure the supplied class is availble in classpath that is used by
'delegate' translator.
+ </para>
+
+ <table>
+ <title>Execution Properties</title>
+ <tgroup cols="3">
+ <colspec colwidth="3*" />
+ <colspec colwidth="6*" />
+ <colspec colwidth="2*" />
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Description</entry>
+ <entry>Default</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>delegateClassName</entry>
+ <entry>User defined ExcutionFactory class name, to be
delegated to</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
</section>
<section id="dynamic_vdbs">
Show replies by date