org.eclipse.net4j
Class TransportConfigurator

java.lang.Object
  extended by org.eclipse.net4j.TransportConfigurator

public class TransportConfigurator
extends Object

Reads an XML config file and creates, wires and starts the configured acceptors.

Since:
2.0

Constructor Summary
TransportConfigurator(IManagedContainer container)
           
 
Method Summary
 IAcceptor[] configure(File configFile)
           
protected  IAcceptor configureAcceptor(Element acceptorConfig)
           
protected  INegotiator configureNegotiator(Element negotiatorConfig)
           
 IManagedContainer getContainer()
           
protected  Document getDocument(File configFile)
           
static Map<String,String> getProperties(Element element, int levels)
           
protected  Element getStoreConfig(Element repositoryConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportConfigurator

public TransportConfigurator(IManagedContainer container)
Method Detail

getContainer

public IManagedContainer getContainer()

configure

public IAcceptor[] configure(File configFile)
                      throws ParserConfigurationException,
                             SAXException,
                             IOException,
                             org.eclipse.core.runtime.CoreException
Throws:
ParserConfigurationException
SAXException
IOException
org.eclipse.core.runtime.CoreException

configureAcceptor

protected IAcceptor configureAcceptor(Element acceptorConfig)

configureNegotiator

protected INegotiator configureNegotiator(Element negotiatorConfig)

getDocument

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

getStoreConfig

protected Element getStoreConfig(Element repositoryConfig)

getProperties

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


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.