#include <Activator_Options.h>
Collaboration diagram for Activator_Options:
Public Types | |
enum | SERVICE_COMMAND { SC_NONE, SC_INSTALL, SC_REMOVE, SC_INSTALL_NO_LOCATOR } |
Public Member Functions | |
Activator_Options () | |
int | init (int argc, char *argv[]) |
Parse the command-line arguments and initialize the options. | |
int | init_from_registry () |
This version should only be used when run as an nt service. | |
bool | service (void) const |
Service Mode. | |
bool | notify_imr (void) const |
unsigned int | debug (void) const |
Debug level for the Implementation Repository. | |
const ACE_CString & | ior_filename (void) const |
Returns the file where the IOR should be stored. | |
SERVICE_COMMAND | service_command (void) const |
The nt service command to run (install/remove). | |
int | save_registry_options () |
Save the command line arguments as registry settings. (Windows only). | |
const char * | cmdline (void) const |
const ACE_CString & | name (void) const |
Private Member Functions | |
int | parse_args (int &argc, char *argv[]) |
Parses and pulls out arguments for the ImR. | |
void | print_usage (void) const |
Print the usage information. | |
int | load_registry_options () |
Loads options from the registry. | |
Private Attributes | |
ACE_CString | cmdline_ |
Our extra command line arguments. | |
unsigned int | debug_ |
Debug level. | |
ACE_CString | ior_output_file_ |
File where the IOR of the server object is stored. | |
bool | service_ |
Should we run as a service? | |
bool | notify_imr_ |
SERVICE_COMMAND | service_command_ |
SC_NONE, SC_INSTALL, SC_REMOVE, ... | |
ACE_CString | name_ |
|
|
|
|
|
|
|
Debug level for the Implementation Repository.
|
|
Parse the command-line arguments and initialize the options.
|
|
This version should only be used when run as an nt service.
|
|
Returns the file where the IOR should be stored.
|
|
Loads options from the registry.
|
|
|
|
Notify the ImR when server processes die. Note : Currently this only works on Unix. |
|
Parses and pulls out arguments for the ImR.
|
|
Print the usage information.
|
|
Save the command line arguments as registry settings. (Windows only).
|
|
Service Mode.
|
|
The nt service command to run (install/remove).
|
|
Our extra command line arguments.
|
|
Debug level.
|
|
File where the IOR of the server object is stored.
|
|
|
|
|
|
Should we run as a service?
|
|
SC_NONE, SC_INSTALL, SC_REMOVE, ...
|