summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.h b/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.h
index 7365fa103e7..c5bb1016bee 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Loader.h
@@ -33,7 +33,10 @@ class TAO_Naming_Serv_Export TAO_Naming_Loader : public TAO_Object_Loader
public:
/// Constructor
- TAO_Naming_Loader (void);
+ /// By default will use the standard Naming_Server. If a server is provided
+ /// it will use that one instead. This object takes ownership of the provided
+ /// Naming Server.
+ TAO_Naming_Loader (TAO_Naming_Server *server = 0);
/// Destructor
~TAO_Naming_Loader (void);
@@ -53,8 +56,9 @@ public:
ACE_TCHAR *argv[]);
protected:
+ /// TODO: Need to set up service configurator to initialize the naming server
/// Instance of the TAO_Naming_Server
- TAO_Naming_Server naming_server_;
+ TAO_Naming_Server* naming_server_;
private:
TAO_Naming_Loader (const TAO_Naming_Loader &);