public class JoramServerBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
The joram server attributes:
A simple example:
<!-- lets create an embedded Joram server -->
<joram:joramserver id="server"
sid="0"
persistent="true"
pathToConf="/JONAS_BASE/conf"
storage="/JONAS_BASE/work/s0"
stopServer="false"/>
Modifier and Type | Field and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
logmon |
Constructor and Description |
---|
JoramServerBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
void |
createAndStart(short sid,
String pathToConf,
String storage,
boolean persistent)
Create and start a collocated Joram server.
|
protected void |
doParse(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
Parse the joram server definition, and create and start the collocated server.
|
protected Class |
getBeanClass(Element element) |
doParse, getBeanClassName, getParentName, parseInternal
protected Class getBeanClass(Element element)
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected void doParse(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
doParse
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
AbstractSingleBeanDefinitionParser.doParse(org.w3c.dom.Element, org.springframework.beans.factory.support.BeanDefinitionBuilder)
public void createAndStart(short sid, String pathToConf, String storage, boolean persistent)
sid
- the server idpathToConf
- the path to the configuration (a3servers.xml, ...)storage
- the path to the persistent directorypersistent
- true if the Joram server if persistentCopyright © 2013 ScalAgent D.T.. All Rights Reserved.