# Methods

`+bootstrap`
  this instance is used to startup the
`-config`
`-displayCommandlineOptions`
  displays all command line options available
`-initializeServer`
  specify the basis for the data files
`-initializeServer`
  initialize the server by creating all database structures
`+instance`
  this instance is used to startup the
`-loadServices`
  Internal method to load all services
`-readConfiguration`
  Reads in the configuration of the server.
`-setBaseDataDir`
  specify the basis for the data files
`-startServer`
  start the server. Does nothing if the server is already running

### bootstrap

this instance is used to startup the

See Also:

> instance

>     + (FTBootstrap *) bootstrap;

### config

>     - (FTConfig *) config;

method result
  returns the configuration of the server

### displayCommandlineOptions

displays all command line options available

>     - displayCommandlineOptions;

method result
  self

### initializeServer

specify the basis for the data files

See Also:

> setBaseDataDir

>     - (id <FTServer>) initializeServer;

##### Parameter Descriptions

> `dataDir`
>   basis of data files
>   DELETE - setBaseDataDir: (NSString *) dataDir;

### initializeServer

initialize the server by creating all database structures

>     - (id <FTServer>) initializeServer;

### instance

this instance is used to startup the

See Also:

> bootstrap

>     + (FTBootstrap *) bootstrap;

### loadServices

Internal method to load all services

>     - loadServices;

method result
  self

### readConfiguration

Reads in the configuration of the server.

>     - readConfiguration;

method result
  self

##### Discussion

Throught the required parameter "-configFile=<ftconfig.xml>" it determines the xml config file which contains all configuration settings

### setBaseDataDir

specify the basis for the data files

See Also:

> initializeServer

>     - (id <FTServer>) initializeServer;

##### Parameter Descriptions

> `dataDir`
>   basis of data files
>   DELETE - setBaseDataDir: (NSString *) dataDir;

### startServer

start the server. Does nothing if the server is already running

>     - (id <FTServer>) startServer;

method result
  return the server being started or currently running.

(Last Updated August 27, 2006)