org.eclipse.ecf.server.generic.app
Class SSLGenericServer

java.lang.Object
  extended by org.eclipse.ecf.server.generic.app.SSLGenericServer
All Implemented Interfaces:
org.eclipse.equinox.app.IApplication

public class SSLGenericServer
extends java.lang.Object
implements org.eclipse.equinox.app.IApplication

This class controls all aspects of the application's execution

Since:
6.0

Field Summary
 
Fields inherited from interface org.eclipse.equinox.app.IApplication
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
 
Constructor Summary
SSLGenericServer()
           
 
Method Summary
protected  void configureServerContainer(SSLServerSOContainer container)
          This method may be overridden by subclasses in order to customize the configuration of the newly created server containers (before they are put on the air).
protected  void setupServerFromConfig(java.util.List connectors)
           
protected  void setupServerFromParameters(java.lang.String hostname, int port, java.lang.String name, int keepAlive)
           
 java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLGenericServer

public SSLGenericServer()
Method Detail

start

public java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
                       throws java.lang.Exception
Specified by:
start in interface org.eclipse.equinox.app.IApplication
Throws:
java.lang.Exception

setupServerFromParameters

protected void setupServerFromParameters(java.lang.String hostname,
                                         int port,
                                         java.lang.String name,
                                         int keepAlive)
                                  throws java.io.IOException,
                                         IDCreateException
Parameters:
hostname -
port -
name -
keepAlive -
Throws:
java.io.IOException
IDCreateException

configureServerContainer

protected void configureServerContainer(SSLServerSOContainer container)
This method may be overridden by subclasses in order to customize the configuration of the newly created server containers (before they are put on the air). For example, to set the appropriate connect policy.

Parameters:
container - the container to configure

setupServerFromConfig

protected void setupServerFromConfig(java.util.List connectors)
                              throws java.io.IOException,
                                     IDCreateException
Throws:
java.io.IOException
IDCreateException

stop

public void stop()
Specified by:
stop in interface org.eclipse.equinox.app.IApplication