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
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.
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]