public class VinciBinaryAnalysisEngineService_impl extends VinciServableAdapter
Constructor and Description |
---|
VinciBinaryAnalysisEngineService_impl(String serviceConfigPath)
Instantiate Analysis Engine from a given descriptor.
|
VinciBinaryAnalysisEngineService_impl(String serviceConfigPath,
boolean debug)
Instantiate Analysis Engine from a given descriptor - possibly in debug mode.
|
VinciBinaryAnalysisEngineService_impl(String serviceConfigPath,
boolean debug,
String instanceId)
Instantiate Analysis Engine from a given descriptor - possibly in debug mode.
|
Modifier and Type | Method and Description |
---|---|
Transportable |
eval(Transportable doc)
Main method called by the Vinci Service Layer.
|
Descriptor |
getDescriptor() |
static void |
main(String[] args) |
Transportable |
makeTransportable()
Creates a new (empty) document of the desired type.
|
protected void |
start()
Starts this service and associates a ShutdownHook to handle gracefull shutdown.
|
void |
stop()
Terminate this service
|
cleanExit
public VinciBinaryAnalysisEngineService_impl(String serviceConfigPath, boolean debug, String instanceId) throws Exception
serviceConfigPath
- descriptor locationdebug
- instanceId
- Exception
public VinciBinaryAnalysisEngineService_impl(String serviceConfigPath, boolean debug) throws Exception
serviceConfigPath
- descriptor locationdebug
- Exception
public Descriptor getDescriptor()
public Transportable eval(Transportable doc) throws ServiceException
eval
in interface VinciServable
eval
in class VinciServableAdapter
doc
- Transportable
-
a VinciFrame containing client requestTransportable
- a VinciFrame containg result of
performing the serviceServiceException
- thrown when there is an application level error that should result in the client
receiving the same ServiceException on the other end.protected void start()
public void stop()
public static void main(String[] args)
public Transportable makeTransportable()
TransportableFactory
makeTransportable
in interface TransportableFactory
makeTransportable
in class VinciServableAdapter
TransportableFactory.makeTransportable()
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.