[switchyard-issues] [JBoss JIRA] Created: (SWITCHYARD-242) Create a mechanism for creating Transformer instances from a TransformModel

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Wed May 25 12:37:00 EDT 2011


Create a mechanism for creating Transformer instances from a TransformModel
---------------------------------------------------------------------------

                 Key: SWITCHYARD-242
                 URL: https://issues.jboss.org/browse/SWITCHYARD-242
             Project: SwitchYard
          Issue Type: Enhancement
          Components: transformation
            Reporter: Tom Fennelly
            Assignee: Tom Fennelly
             Fix For: 0.2


At the moment we're firing different Transformer Factory implementations from inside the TransformerFactory.newTransformer(TransformModel) based on the specific TransformModel type (e.g. Smooks etc).  This is hardcoded and sucks... cannot be extended etc.

Maybe an annotation on the TransformModel impl that identifies the Transformer factory to be used to construct the Transformer instance e.g.

{code}
@TransformerFactory(SmooksTransformFactory.class)
public interface SmooksTransformModel extends TransformModel {
    etc....
}
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list