Bug 191

Summary: Change get_*_registry to make_*_registry in def resources
Product: TAO Reporter: Ossama Othman <ossama.othman>
Component: ORBAssignee: Ossama Othman <ossama.othman>
Status: RESOLVED ---    
Severity: trivial    
Priority: P3    
Version: 1.0   
Hardware: All   
OS: All   

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