[QFJ-494] proected empty constructor for Sesson class Created: 29/Dec/09 Updated: 05/Apr/10 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.3.3 |
Fix Version/s: | Future Releases |
Type: | Improvement | Priority: | Default |
Reporter: | Carlo Marchiori | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None | ||
Environment: |
n/a |
Description |
I'd like to create a wrapper implementation and subclass of the Session class. Currently Session has two constructor that can only create 'true' Sessions. An empty protected constructor may suffice. In fact, it's not clear why there is a SessionFactory interface when actually one cannot modify or decorate the default Session implementation. |
Comments |
Comment by Steve Bate [ 05/Apr/10 ] |
IIRC, the Session interface was requested by a user for some purpose related to Spring. It's currently used for unit test support as well. We could potentially add an interface for Session, but have you considered using some form of AOP to implement the transaction hooks. |