Package org.eclipse.net4j
Class TransportConfigurator
java.lang.Object
org.eclipse.net4j.TransportConfigurator
- All Implemented Interfaces:
org.eclipse.net4j.util.container.IManagedContainerProvider
,org.eclipse.net4j.util.ParameterAware
public class TransportConfigurator
extends Object
implements org.eclipse.net4j.util.container.IManagedContainerProvider, org.eclipse.net4j.util.ParameterAware
Reads an XML config file and creates, wires and starts the configured
acceptors
.- Since:
- 2.0
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Constructor Summary
ConstructorDescriptionTransportConfigurator
(org.eclipse.net4j.util.container.IManagedContainer container) -
Method Summary
Modifier and TypeMethodDescriptionprotected IAcceptor
configureAcceptor
(Element acceptorConfig) protected org.eclipse.net4j.util.security.INegotiator
configureNegotiator
(Element negotiatorConfig) protected void
configureStreamWrapper
(Element streamWrapperConfig, Acceptor acceptor) static String
expandValue
(String value, Map<String, String> parameters, org.eclipse.net4j.util.container.IManagedContainer container) protected String
getAttribute
(Element element, String name) org.eclipse.net4j.util.container.IManagedContainer
protected Document
getDocument
(File configFile) getProperties
(Element element, int levels) getProperties
(Element element, int levels, Map<String, String> parameters) getProperties
(Element element, int levels, Map<String, String> parameters, org.eclipse.net4j.util.container.IManagedContainer container) protected Element
getStoreConfig
(Element repositoryConfig) Deprecated.As of 4.19 no longer supported.final void
setParameters
(Map<String, String> parameters)
-
Constructor Details
-
TransportConfigurator
public TransportConfigurator(org.eclipse.net4j.util.container.IManagedContainer container)
-
-
Method Details
-
getContainer
public org.eclipse.net4j.util.container.IManagedContainer getContainer()- Specified by:
getContainer
in interfaceorg.eclipse.net4j.util.container.IManagedContainerProvider
-
getParameters
- Since:
- 4.19
-
setParameters
- Specified by:
setParameters
in interfaceorg.eclipse.net4j.util.ParameterAware
- Since:
- 4.19
-
configure
public IAcceptor[] configure(File configFile) throws ParserConfigurationException, SAXException, IOException, CoreException -
configureAcceptor
-
configureNegotiator
-
configureStreamWrapper
- Since:
- 4.5
-
getDocument
protected Document getDocument(File configFile) throws ParserConfigurationException, SAXException, IOException -
getAttribute
- Since:
- 4.19
-
getStoreConfig
Deprecated.As of 4.19 no longer supported. -
expandValue
public static String expandValue(String value, Map<String, String> parameters, org.eclipse.net4j.util.container.IManagedContainer container) - Since:
- 4.19
-
getProperties
-
getProperties
public static Map<String,String> getProperties(Element element, int levels, Map<String, String> parameters) - Since:
- 4.19
-
getProperties
public static Map<String,String> getProperties(Element element, int levels, Map<String, String> parameters, org.eclipse.net4j.util.container.IManagedContainer container) - Since:
- 4.19
-