Bug 191 - Change get_*_registry to make_*_registry in def resources
Summary: Change get_*_registry to make_*_registry in def resources
Status: RESOLVED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.0
Hardware: All All
: P3 trivial
Assignee: Ossama Othman
URL:
Depends on:
Blocks:
 
Reported: 1999-08-02 12:24 CDT by Ossama Othman
Modified: 1999-08-25 12:16 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ossama Othman 1999-08-02 12:24:25 CDT
We should use make{acceptor,connector}_registry instead of
get_{acceptor,connector}_registry in default_resources.cpp to be more consistent
with a factory pattern.  "get" implies obtaining a pointer to an object, whereas
"make" implies *creation* of an object, which is what is occuring.
Comment 1 Ossama Othman 1999-08-02 12:26:59 CDT
I'll take it.
Comment 2 Ossama Othman 1999-08-25 12:16:59 CDT
The ORB_Core "TAO_OC_RETRIEVE" macro expects a function to begin with "get,"
meaning that changing the names to start with "make" will break code.  I really
don't want to play with the macros, nor do I want to break code so I'll leave
things as they are (relunctantly).