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 Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static interface`
`TransportConfigurator.AcceptorDescriptionParser`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`TransportConfigurator(org.eclipse.net4j.util.container.IManagedContainer container)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`IAcceptor[]`
`configure(File configFile)`
`protected 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`
`getContainer()`
`protected Document`
`getDocument(File configFile)`
`final Map<String,String>`
`getParameters()`
`static Map<String,String>`
`getProperties(Element element, int levels)`
`static Map<String,String>`
`getProperties(Element element, int levels, Map<String,String> parameters)`
`static Map<String,String>`
`getProperties(Element element, int levels, Map<String,String> parameters, org.eclipse.net4j.util.container.IManagedContainer container)`
`protected Element`
`getStoreConfig(Element repositoryConfig)`
Veraltet.
As of 4.19 no longer supported.
`final void`
`setParameters(Map<String,String> parameters)`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Konstruktordetails

### TransportConfigurator

public TransportConfigurator(org.eclipse.net4j.util.container.IManagedContainer container)

## Methodendetails

### getContainer

public org.eclipse.net4j.util.container.IManagedContainer getContainer()

Angegeben von:
  `getContainer` in Schnittstelle `org.eclipse.net4j.util.container.IManagedContainerProvider`

### getParameters

public final Map<String,String> getParameters()

Seit:
  4.19

### setParameters

public final void setParameters(Map<String,String> parameters)

Angegeben von:
  `setParameters` in Schnittstelle `org.eclipse.net4j.util.ParameterAware`
Seit:
  4.19

### configure

public IAcceptor[] configure(File configFile) throws ParserConfigurationException, SAXException, IOException, CoreException

Löst aus:
  `ParserConfigurationException`
  `SAXException`
  `IOException`
  `CoreException`

### configureAcceptor

protected IAcceptor configureAcceptor(Element acceptorConfig)

### configureNegotiator

protected org.eclipse.net4j.util.security.INegotiator configureNegotiator(Element negotiatorConfig)

### configureStreamWrapper

protected void configureStreamWrapper(Element streamWrapperConfig, Acceptor acceptor)

Seit:
  4.5

### getDocument

protected Document getDocument(File configFile) throws ParserConfigurationException, SAXException, IOException

Löst aus:
  `ParserConfigurationException`
  `SAXException`
  `IOException`

### getAttribute

protected String getAttribute(Element element, String name)

Seit:
  4.19

### getStoreConfig

@Deprecated protected Element getStoreConfig(Element repositoryConfig)
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

public static Map<String,String> getProperties(Element element, int levels)

### 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