org.eclipse.net4j
Class TransportConfigurator
java.lang.Object
org.eclipse.net4j.TransportConfigurator
- public class TransportConfigurator
- extends Object
Reads an XML config file and creates, wires and starts the configured acceptors
.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportConfigurator
public TransportConfigurator(IManagedContainer container)
getContainer
public IManagedContainer getContainer()
configure
public IAcceptor[] configure(File configFile)
throws ParserConfigurationException,
SAXException,
IOException,
CoreException
- Throws:
ParserConfigurationException
SAXException
IOException
CoreException
configureAcceptor
protected IAcceptor configureAcceptor(Element acceptorConfig)
configureNegotiator
protected INegotiator configureNegotiator(Element negotiatorConfig)
getDocument
protected Document getDocument(File configFile)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
getStoreConfig
protected Element getStoreConfig(Element repositoryConfig)
getProperties
public static Map<String,String> getProperties(Element element,
int levels)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.