public class JoramServer extends Object implements org.springframework.beans.factory.DisposableBean
Modifier and Type | Field and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
logmon |
private boolean |
stopServer |
Constructor and Description |
---|
JoramServer() |
Modifier and Type | Method and Description |
---|---|
void |
create(short sid,
String pathToConf,
String storage,
boolean collocated,
boolean persistent)
Create and start a Joram server (only if collocated).
|
void |
destroy()
Stop the Joram server
|
boolean |
isStopServer() |
void |
setStopServer(boolean stopServer) |
public static final org.objectweb.util.monolog.api.Logger logmon
private boolean stopServer
public void create(short sid, String pathToConf, String storage, boolean collocated, boolean persistent)
sid
- the server idpathToConf
- the path to the configuration (a3servers.xml, ...)storage
- the path to the persistent directorycollocated
- true if the Joram server is collocatedpersistent
- true if the Joram server if persistentpublic void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
DisposableBean.destroy()
public boolean isStopServer()
public void setStopServer(boolean stopServer)
stopServer
- the stopServer to setCopyright © 2021 ScalAgent D.T.. All rights reserved.