Class MultiKodexRestService.ExKodexRestService
- java.lang.Object
-
- de.iip_ecosphere.platform.services.environment.AbstractService
-
- de.iip_ecosphere.platform.services.environment.AbstractRunnablesService
-
- de.iip_ecosphere.platform.services.environment.AbstractProcessService<I,java.lang.String,java.lang.String,O>
-
- de.iip_ecosphere.platform.services.environment.AbstractRestProcessService<I,O>
-
- de.iip_ecosphere.platform.security.services.kodex.KodexRestService<java.lang.String,java.lang.String>
-
- de.iip_ecosphere.platform.security.services.kodex.MultiKodexRestService.ExKodexRestService
-
- All Implemented Interfaces:
de.iip_ecosphere.platform.services.environment.MonitoringService,de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider,de.iip_ecosphere.platform.services.environment.Service,de.iip_ecosphere.platform.services.environment.switching.ServiceBase
- Enclosing class:
- MultiKodexRestService
protected class MultiKodexRestService.ExKodexRestService extends KodexRestService<java.lang.String,java.lang.String>
Extended KODEX service for multi-type queries.- Author:
- Holger Eichelberger, SSE
-
-
Field Summary
-
Fields inherited from class de.iip_ecosphere.platform.security.services.kodex.KodexRestService
VERSION, WAITING_TIME_OTHER, WAITING_TIME_WIN
-
-
Constructor Summary
Constructors Constructor Description ExKodexRestService(de.iip_ecosphere.platform.services.environment.YamlService yaml, java.lang.String dataSpec)Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringadjustRestQuery(java.lang.String input, java.lang.String inTypeName)protected voidhandleReception(java.lang.String data)-
Methods inherited from class de.iip_ecosphere.platform.security.services.kodex.KodexRestService
adjustRestResponse, configure, getApiPath, getBearerToken, getWaitTimeBeforeDestroy, handleInputStream, migrate, reconfigure, start, switchTo, update
-
Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractRestProcessService
getConnection, getNewConnectionInstance, getNewConnectionInstanceQuiet, process, process, setupConnectionManager, stop, toSendString, waitForConnection
-
Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractProcessService
addProcessSpecCmdArg, attachIngestor, attachMetricsProvider, createAndConfigureProcess, createProcess, createProcess, getCallbacks, getExecutableName, getExecutableName, getExecutablePrefix, getExecutablePrefix, getExecutableSuffix, getInputTranslator, getOsArch, getOutputTranslator, getPid, getProcessId, getProcessSpec, getServiceIn, getServiceSpec, handleErrorStream, handleOutputStream, notifyCallbacks, processQuiet, redirectIO, selectNotNull, selectNotNull, setInheritIo, waitAndDestroy, waitAndDestroy
-
Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractRunnablesService
register
-
Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractService
activate, addConfigurer, addConfigurer, addConfigurer, createInstance, createInstance, createInstance, getDescription, getId, getKind, getName, getNetMgtKeyAddress, getResourceAsStream, getState, getVersion, initializeFrom, isDeployable, isTopLevel, notifyReconfigured, passivate, reconf, reconfigure, rollbackReconfigurationOnFailure, setLibJars, setState
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ExKodexRestService
public ExKodexRestService(de.iip_ecosphere.platform.services.environment.YamlService yaml, java.lang.String dataSpec)Creates an instance.- Parameters:
yaml- the string information as YAMLdataSpec- name of the data spec file (within the process home path) to pass to KODEX; related files such as api or actions must be there as well and referenced from the data spec file
-
-
Method Detail
-
adjustRestQuery
protected java.lang.String adjustRestQuery(java.lang.String input, java.lang.String inTypeName)- Overrides:
adjustRestQueryin classKodexRestService<java.lang.String,java.lang.String>
-
handleReception
protected void handleReception(java.lang.String data)
- Overrides:
handleReceptionin classde.iip_ecosphere.platform.services.environment.AbstractRestProcessService<java.lang.String,java.lang.String>
-
-