com.sap.conn.jco.server
Interface JCoServerThreadStarter


public interface JCoServerThreadStarter

Interface can be implemented by the infrastructure within an application server. Simple applications typically don't need it. Application servers that want to control the starting of new threads or provide a specific implementation have to implement this interface and pass a fitting implementation to the JCo server that executes the passed JCoServerRunnable.

See Also:
JCoServer.setServerThreadStarter(JCoServerThreadStarter)

Method Summary
 void start(JCoServerRunnable starter)
          This method will be invoked by the JCo server runtime, if a new thread needs to be started for a server.
 

Method Detail

start

void start(JCoServerRunnable starter)
           throws java.lang.Exception
This method will be invoked by the JCo server runtime, if a new thread needs to be started for a server.

Parameters:
starter - JCoServerRunnable instance that will be processed
Throws:
java.lang.Exception - if starting of the JCoServerRunnable failed


Copyright © 2008-2014 SAP AG. All Rights Reserved.