Next: , Previous: Pragma Starter, Up: The Configuration Language


8.5.4.9 Pragma Name_Server
     
     NAME_SERVER_LITERAL ::= Embedded   |
                             Standalone |
                             None
     
     PRAGMA ::=
        pragma Name_Server ([Name_Server_Kind =>] NAME_SERVER_LITERAL);
     

By default, partitions in a PolyORB/DSA application rely on an external, stand-alone name server launched by the user, and whose location is retrieved from runtime configuration.

A pragma Name_Server with parameter Embedded can be used to request the PCS to instead set up a name server within the main partition. If the Ada starter is used, the location of the name server is passed automatically to slave partitions.

A pragma Name_Server with parameter None specifies that no name server is present in the application. In this case the location of each partition must be specified in the po_gnatdist configuration file, or in PolyORB run-time configuration.