|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vc.corba.server.VCServer
VCServer is the main class of VersionControl server. It initializes the ORB and then the implementation classes of CORBA server. After that it waits for the incomming clients and their requests.
Field Summary | |
static Logger |
logger
Logger object which will be shared by all the server classes |
java.lang.Thread |
orbThread
Thread for running the ORB server waiting for the client's requests |
static java.lang.String |
properiesFile
Property file where the properties specific to VersionClient are set |
Constructor Summary | |
VCServer()
Constructs the VCServer object , by doing the house keeping operations like loading the properties, Initializing logger etc. |
Method Summary | |
void |
initializeServer()
Initializes the server side ORB for the application. |
void |
loadProjectDB()
Loads the project database by starting the XML parsers. |
void |
loadVersionDB()
Loads the version database by starting the XML parsers. |
static void |
main(java.lang.String[] args)
Starting point for the VersionControl server application |
void |
run()
Thread starting method that initializes the ORB and others on a different thread. |
void |
stopServer()
Stops the Execution of the VersionControl Server after saving the projects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static Logger logger
public static java.lang.String properiesFile
public java.lang.Thread orbThread
Constructor Detail |
public VCServer() throws java.lang.Throwable
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void stopServer() throws java.lang.Throwable
public void initializeServer() throws java.lang.Throwable
public void loadProjectDB() throws java.lang.Throwable
public void loadVersionDB() throws java.lang.Throwable
public static void main(java.lang.String[] args)
args
- first string in this array is the properties file name
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |