[ 
https://issues.apache.org/jira/browse/TORQUE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Fox closed TORQUE-159.
-----------------------------

    
> Split generated peer classes into implementation and a static wrapper
> ---------------------------------------------------------------------
>
>                 Key: TORQUE-159
>                 URL: https://issues.apache.org/jira/browse/TORQUE-159
>             Project: Torque
>          Issue Type: New Feature
>    Affects Versions: 3.3
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0-beta1
>
>
> The peer classes are accessed in a static way so the behavior cannot be 
> changed at runtime. This is bad e.g. when one wants to insert mock classes 
> for testing.
> Therefore, the peer classes shoul be plit into a static wrapper which holds 
> an implementation class and delegates all function calls to the 
> implementation class. the implementation can be exchanged via a setter. The 
> static fields should stay in the static wrapper.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to