Package org.eclipse.net4j
Klasse TransportConfigurator
java.lang.Object
org.eclipse.net4j.TransportConfigurator
- Alle implementierten Schnittstellen:
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.- Seit:
- 2.0
- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTransportConfigurator(org.eclipse.net4j.util.container.IManagedContainer container) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected 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) Veraltet.As of 4.19 no longer supported.final voidsetParameters(Map<String, String> parameters)
-
Konstruktordetails
-
TransportConfigurator
public TransportConfigurator(org.eclipse.net4j.util.container.IManagedContainer container)
-
-
Methodendetails
-
getContainer
public org.eclipse.net4j.util.container.IManagedContainer getContainer()- Angegeben von:
getContainerin Schnittstelleorg.eclipse.net4j.util.container.IManagedContainerProvider
-
getParameters
- Seit:
- 4.19
-
setParameters
- Angegeben von:
setParametersin Schnittstelleorg.eclipse.net4j.util.ParameterAware- Seit:
- 4.19
-
configure
public IAcceptor[] configure(File configFile) throws ParserConfigurationException, SAXException, IOException, CoreException -
configureAcceptor
-
configureNegotiator
-
configureStreamWrapper
- Seit:
- 4.5
-
getDocument
protected Document getDocument(File configFile) throws ParserConfigurationException, SAXException, IOException -
getAttribute
- Seit:
- 4.19
-
getStoreConfig
Veraltet.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) - Seit:
- 4.19
-
getProperties
-
getProperties
public static Map<String,String> getProperties(Element element, int levels, Map<String, String> parameters) - Seit:
- 4.19
-
getProperties
public static Map<String,String> getProperties(Element element, int levels, Map<String, String> parameters, org.eclipse.net4j.util.container.IManagedContainer container) - Seit:
- 4.19
-