Package org.apache.vinci.transport
Interface VinciServable
- All Superinterfaces:
TransportableFactory
- All Known Implementing Classes:
LocalVNS
,VinciAnalysisEngineService_impl
,VinciBinaryAnalysisEngineService_impl
,VinciServableAdapter
,VNS
Interface for implementing Vinci Services. These objects get dropped into any of the various
Server (container) classes such as VinciServer.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the service is being shutdown by the server/service container.eval
(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 Details
-
eval
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.
-