Package org.eclipse.net4j
Class TransportConfigurator
- java.lang.Object
- 
- org.eclipse.net4j.TransportConfigurator
 
- 
- All Implemented Interfaces:
- org.eclipse.net4j.util.container.IManagedContainerProvider
 
 public class TransportConfigurator extends java.lang.Object implements org.eclipse.net4j.util.container.IManagedContainerProviderReads an XML config file and creates, wires and starts the configuredacceptors.- Since:
- 2.0
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceTransportConfigurator.AcceptorDescriptionParser
 - 
Constructor SummaryConstructors Constructor Description TransportConfigurator(org.eclipse.net4j.util.container.IManagedContainer container)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAcceptor[]configure(java.io.File configFile)protected IAcceptorconfigureAcceptor(org.w3c.dom.Element acceptorConfig)protected org.eclipse.net4j.util.security.INegotiatorconfigureNegotiator(org.w3c.dom.Element negotiatorConfig)protected voidconfigureStreamWrapper(org.w3c.dom.Element streamWrapperConfig, Acceptor acceptor)org.eclipse.net4j.util.container.IManagedContainergetContainer()protected org.w3c.dom.DocumentgetDocument(java.io.File configFile)static java.util.Map<java.lang.String,java.lang.String>getProperties(org.w3c.dom.Element element, int levels)protected org.w3c.dom.ElementgetStoreConfig(org.w3c.dom.Element repositoryConfig)
 
- 
- 
- 
Method Detail- 
getContainerpublic org.eclipse.net4j.util.container.IManagedContainer getContainer() - Specified by:
- getContainerin interface- org.eclipse.net4j.util.container.IManagedContainerProvider
 
 - 
configurepublic IAcceptor[] configure(java.io.File configFile) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException, CoreException - Throws:
- javax.xml.parsers.ParserConfigurationException
- org.xml.sax.SAXException
- java.io.IOException
- CoreException
 
 - 
configureAcceptorprotected IAcceptor configureAcceptor(org.w3c.dom.Element acceptorConfig) 
 - 
configureNegotiatorprotected org.eclipse.net4j.util.security.INegotiator configureNegotiator(org.w3c.dom.Element negotiatorConfig) 
 - 
configureStreamWrapperprotected void configureStreamWrapper(org.w3c.dom.Element streamWrapperConfig, Acceptor acceptor)- Since:
- 4.5
 
 - 
getDocumentprotected org.w3c.dom.Document getDocument(java.io.File configFile) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException- Throws:
- javax.xml.parsers.ParserConfigurationException
- org.xml.sax.SAXException
- java.io.IOException
 
 - 
getStoreConfigprotected org.w3c.dom.Element getStoreConfig(org.w3c.dom.Element repositoryConfig) 
 - 
getPropertiespublic static java.util.Map<java.lang.String,java.lang.String> getProperties(org.w3c.dom.Element element, int levels)
 
- 
 
-