org.teiid.deployers
Class TranslatorUtil

java.lang.Object
  extended by org.teiid.deployers.TranslatorUtil

public class TranslatorUtil
extends java.lang.Object


Constructor Summary
TranslatorUtil()
           
 
Method Summary
static ExecutionFactory buildExecutionFactory(Translator data)
           
static java.lang.String getPropertyName(java.lang.reflect.Method method)
           
static java.lang.reflect.Method getSetter(java.lang.Class<?> clazz, java.lang.reflect.Method method)
           
static java.util.Map<java.lang.reflect.Method,TranslatorProperty> getTranslatorProperties(java.lang.Class<?> attachmentClass)
           
static java.util.Properties getTranslatorPropertiesAsProperties(java.lang.Class<?> attachmentClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatorUtil

public TranslatorUtil()
Method Detail

getTranslatorProperties

public static java.util.Map<java.lang.reflect.Method,TranslatorProperty> getTranslatorProperties(java.lang.Class<?> attachmentClass)

getTranslatorPropertiesAsProperties

public static java.util.Properties getTranslatorPropertiesAsProperties(java.lang.Class<?> attachmentClass)

buildExecutionFactory

public static ExecutionFactory buildExecutionFactory(Translator data)
                                              throws org.jboss.deployers.spi.DeploymentException
Throws:
org.jboss.deployers.spi.DeploymentException

getPropertyName

public static java.lang.String getPropertyName(java.lang.reflect.Method method)

getSetter

public static java.lang.reflect.Method getSetter(java.lang.Class<?> clazz,
                                                 java.lang.reflect.Method method)
                                          throws java.lang.SecurityException,
                                                 org.jboss.deployers.spi.DeploymentException
Throws:
java.lang.SecurityException
org.jboss.deployers.spi.DeploymentException


Copyright © 2011. All Rights Reserved.