Class TransportConfigurator
java.lang.Object
org.eclipse.net4j.TransportConfigurator
- All Implemented Interfaces:
org.eclipse.net4j.util.container.IManagedContainerProvider, org.eclipse.net4j.util.ParameterAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionTransportConfigurator(org.eclipse.net4j.util.container.IManagedContainer container) -
Method Summary
Modifier and TypeMethodDescriptionconfigure(org.eclipse.net4j.util.XMLConfiguration configuration) Configures transport components from a shared prepared XML snapshot.protected IAcceptorconfigureAcceptor(Element acceptorConfig) protected org.eclipse.net4j.util.security.INegotiatorconfigureNegotiator(Element negotiatorConfig) protected voidconfigureStreamWrapper(Element streamWrapperConfig, Acceptor acceptor) static StringexpandValue(String value, Map<String, String> parameters, org.eclipse.net4j.util.container.IManagedContainer container) protected StringgetAttribute(Element element, String name) org.eclipse.net4j.util.container.IManagedContainerprotected DocumentgetDocument(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 ElementgetStoreConfig(Element repositoryConfig) Deprecated.As of 4.19 no longer supported.final voidsetParameters(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:
getContainerin interfaceorg.eclipse.net4j.util.container.IManagedContainerProvider
-
getParameters
-
setParameters
-
configure
public IAcceptor[] configure(File configFile) throws ParserConfigurationException, SAXException, IOException, CoreException -
configure
public IAcceptor[] configure(org.eclipse.net4j.util.XMLConfiguration configuration) throws ParserConfigurationException, SAXException, IOException, CoreException Configures transport components from a shared prepared XML snapshot.- Parameters:
configuration- the finalized configuration- Returns:
- configured acceptors
- Throws:
ParserConfigurationException- if XML setup failsSAXException- if XML is invalidIOException- if XML cannot be readCoreException- if a transport extension fails- Since:
- 4.23
-
configureAcceptor
-
configureNegotiator
-
configureStreamWrapper
-
getDocument
protected Document getDocument(File configFile) throws ParserConfigurationException, SAXException, IOException -
getAttribute
-
getStoreConfig
Deprecated.As of 4.19 no longer supported. -
expandValue
-
getProperties
-
getProperties
-
getProperties
-