public class VinciAnalysisEngineService_impl
extends org.apache.vinci.transport.VinciServableAdapter
| Constructor and Description |
|---|
VinciAnalysisEngineService_impl(String serviceConfigPath)
Instantiate Analysis Engine service from a given descriptor.
|
VinciAnalysisEngineService_impl(String serviceConfigPath,
boolean debug)
Instantiate Analysis Engine service from a given descriptor - possibly in debug mode.
|
VinciAnalysisEngineService_impl(String serviceConfigPath,
boolean debug,
String instanceId)
Instantiate Analysis Engine from a given descriptor, debug mode, and instance Id.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.vinci.transport.Transportable |
eval(org.apache.vinci.transport.Transportable doc)
Main method called by the Vinci Service Layer.
|
Descriptor |
getDescriptor()
Gets the descriptor.
|
static void |
main(String[] args)
The main method.
|
org.apache.vinci.transport.Transportable |
makeTransportable()
Make transportable.
|
protected void |
start()
Starts this service and associates a ShutdownHook to handle gracefull shutdown.
|
void |
stop()
Terminate this service.
|
public VinciAnalysisEngineService_impl(String serviceConfigPath, boolean debug, String instanceId) throws Exception
serviceConfigPath - descriptor locationdebug - the debuginstanceId - the instance idException - passthrupublic VinciAnalysisEngineService_impl(String serviceConfigPath, boolean debug) throws Exception
serviceConfigPath - descriptor locationdebug - the debugException - the exceptionpublic Descriptor getDescriptor()
public org.apache.vinci.transport.Transportable eval(org.apache.vinci.transport.Transportable doc)
throws org.apache.vinci.transport.ServiceException
eval in interface org.apache.vinci.transport.VinciServableeval in class org.apache.vinci.transport.VinciServableAdapterdoc - Transportable - a VinciFrame containing client
requestTransportable - a VinciFrame containg result of
performing the serviceorg.apache.vinci.transport.ServiceException - the service exceptionprotected void start()
public void stop()
public static void main(String[] args)
args - the argumentspublic org.apache.vinci.transport.Transportable makeTransportable()
makeTransportable in interface org.apache.vinci.transport.TransportableFactorymakeTransportable in class org.apache.vinci.transport.VinciServableAdapterTransportableFactory.makeTransportable()Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.