public abstract class VinciServableAdapter extends Object implements VinciServable
Constructor and Description |
---|
VinciServableAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
cleanExit()
Called when the service is being shutdown by the server/service container.
|
abstract Transportable |
eval(Transportable in)
The eval method accepts an input document and returns an output document that is the result of
performing the service.
|
Transportable |
makeTransportable()
Creates a new (empty) document of the desired type.
|
public abstract Transportable eval(Transportable in) throws ServiceException
VinciServable
eval
in interface VinciServable
in
- The input documentServiceException
- thrown when there is an application level error that should result in the client
receiving the same ServiceException on the other end.public void cleanExit()
VinciServable
cleanExit
in interface VinciServable
public Transportable makeTransportable()
TransportableFactory
makeTransportable
in interface TransportableFactory
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.