|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.vinci.transport.VinciServableAdapter
public abstract class VinciServableAdapter
Adapter class for VinciServable, which provides a do-nothing cleanExit() method and a TransportableFactory that returns a VinciFrame.
| Constructor Summary | |
|---|---|
VinciServableAdapter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VinciServableAdapter()
| Method Detail |
|---|
public abstract Transportable eval(Transportable in)
throws ServiceException
VinciServable
eval in interface VinciServablein - The input document
ServiceException - 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 VinciServablepublic Transportable makeTransportable()
TransportableFactory
makeTransportable in interface TransportableFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||