org.teiid.deployers
Class TranslatorUtil

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

public class TranslatorUtil
extends Object


Constructor Summary
TranslatorUtil()
           
 
Method Summary
static ExecutionFactory buildExecutionFactory(Translator data)
           
static String getPropertyName(Method method)
           
static Method getSetter(Class<?> clazz, Method method)
           
static Map<Method,TranslatorProperty> getTranslatorProperties(Class<?> attachmentClass)
           
static Properties getTranslatorPropertiesAsProperties(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 Map<Method,TranslatorProperty> getTranslatorProperties(Class<?> attachmentClass)

getTranslatorPropertiesAsProperties

public static Properties getTranslatorPropertiesAsProperties(Class<?> attachmentClass)

buildExecutionFactory

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

getPropertyName

public static String getPropertyName(Method method)

getSetter

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


Copyright © 2011. All Rights Reserved.