Package org.cristalise.kernel.process
Class StandardServer
java.lang.Object
org.cristalise.kernel.process.AbstractMain
org.cristalise.kernel.process.StandardServer
Base class for all servers i.e. c2k processes that serve Entities
-
Field Summary
FieldsFields inherited from class org.cristalise.kernel.process.AbstractMain
isServer, MAIN_ARG_CONFIG, MAIN_ARG_CONNECT, MAIN_ARG_SKIPBOOTSTRAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain to launch a Standard Server processstatic voidstandardInitialisation(String[] args) Initialise the serverstatic voidstandardInitialisation(Properties props, ResourceLoader res) Initialise the serverMethods inherited from class org.cristalise.kernel.process.AbstractMain
readC2KArgs, readPropertyFiles, setShutdownHandler, shutdown
-
Field Details
-
server
-
-
Constructor Details
-
StandardServer
public StandardServer()
-
-
Method Details
-
standardInitialisation
Initialise the server- Parameters:
props- initiliased Propertiesres- the instantiated ResourceLoader- Throws:
Exception- throw whatever happens
-
standardInitialisation
Initialise the server- Parameters:
args- command line parameters- Throws:
Exception- throw whatever happens
-
main
Main to launch a Standard Server process- Parameters:
args- command line parameters- Throws:
Exception- throw whatever happens
-