Package org.apache.vinci.transport
Interface VinciServable
-
- All Superinterfaces:
TransportableFactory
- All Known Implementing Classes:
LocalVNS,VinciAnalysisEngineService_impl,VinciBinaryAnalysisEngineService_impl,VinciServableAdapter,VNS
public interface VinciServable extends TransportableFactory
Interface for implementing Vinci Services. These objects get dropped into any of the various Server (container) classes such as VinciServer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanExit()Called when the service is being shutdown by the server/service container.Transportableeval(Transportable in)The eval method accepts an input document and returns an output document that is the result of performing the service.-
Methods inherited from interface org.apache.vinci.transport.TransportableFactory
makeTransportable
-
-
-
-
Method Detail
-
eval
Transportable eval(Transportable in) throws ServiceException
The eval method accepts an input document and returns an output document that is the result of performing the service.- Parameters:
in- The input document- Returns:
- The output document
- Throws:
ServiceException- thrown when there is an application level error that should result in the client receiving the same ServiceException on the other end.
-
cleanExit
void cleanExit()
Called when the service is being shutdown by the server/service container.
-
-