org.fosstrak.capturingapp
Class CaptureAppPortTypeImpl

java.lang.Object
  extended by org.fosstrak.capturingapp.CaptureAppPortTypeImpl
All Implemented Interfaces:
CaptureAppPortType

public class CaptureAppPortTypeImpl
extends java.lang.Object
implements CaptureAppPortType

entry point for the Fosstrak capturing application service. the service has been implemented as a fully blown WS-service. Therefore if someone likes to implement the service with an interface providing creation, deletion and modification of capture applications, feel free to go ahead...
The service currently exports the names of the capture applications.

Author:
sawielan

Field Summary
static java.lang.String CONFIG_FILE
          the name of the configuration file.
static java.lang.String DEFAULT_HANDLER_CLASS_NAME
          the class name of the default handler.
 
Constructor Summary
CaptureAppPortTypeImpl()
          create a new capture application port type.
 
Method Summary
protected  void finalize()
           
 ArrayOfString getCaptureAppNames(EmptyParms parms)
           
static java.util.concurrent.Future submitToThreadPool(java.lang.Runnable runnable)
          submit a runnable to the thread pool and execute it.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_FILE

public static final java.lang.String CONFIG_FILE
the name of the configuration file.

See Also:
Constant Field Values

DEFAULT_HANDLER_CLASS_NAME

public static final java.lang.String DEFAULT_HANDLER_CLASS_NAME
the class name of the default handler.

See Also:
Constant Field Values
Constructor Detail

CaptureAppPortTypeImpl

public CaptureAppPortTypeImpl()
                       throws java.lang.Exception
create a new capture application port type.

Throws:
java.lang.Exception - upon some exception.
Method Detail

submitToThreadPool

public static java.util.concurrent.Future submitToThreadPool(java.lang.Runnable runnable)
submit a runnable to the thread pool and execute it.

Parameters:
runnable - the runnable to execute.
Returns:
a future value with a handle on the executor.

getCaptureAppNames

public ArrayOfString getCaptureAppNames(EmptyParms parms)
Specified by:
getCaptureAppNames in interface CaptureAppPortType

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable


Copyright © 2009. All Rights Reserved.