summaryrefslogtreecommitdiff
path: root/qpid/java/jca
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2014-01-27 20:09:25 +0000
committerAlan Conway <aconway@apache.org>2014-01-27 20:09:25 +0000
commitb710193d135c55357d3333bd55a733a49c361632 (patch)
treee8d357a0687a1b711577ff01a5608b37b14c3504 /qpid/java/jca
parentecf1ea9d93ffc84ee758efdd89fa2749e3ec7aa7 (diff)
downloadqpid-python-b710193d135c55357d3333bd55a733a49c361632.tar.gz
NO-JIRA: Minor refactor to improve code safety: calling shared_from_this on creation.
Previous anti-pattern: Classes need to call shared_from_this during creation, but can't call it in the ctor so had a separate initiailize function that the user was required to call immediately after the constructor. Possible for user to forget. Improved pattern: Introduce public static create() functions to call constructor and initialize, make constructor and initialize private. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1561828 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/jca')
0 files changed, 0 insertions, 0 deletions