Package com.almis.awe.service.connector
Class JavaConnector
java.lang.Object
com.almis.awe.config.ServiceConfig
com.almis.awe.service.connector.JavaConnector
- All Implemented Interfaces:
ServiceConnector
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Launches a Java service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlaunch
(ServiceType service, Map<String, Object> paramsMapFromRequest) Launch serviceLaunches a subscription to a serviceMethods inherited from class com.almis.awe.config.ServiceConfig
containsBean, getApplicationContext, getBean, getBean, getElements, getLocale, getLocale, getProperty, getProperty, getRequest, getSession, setApplicationContext
-
Constructor Details
-
JavaConnector
public JavaConnector(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
launch
public ServiceData launch(ServiceType service, Map<String, Object> paramsMapFromRequest) throws AWExceptionDescription copied from interface:ServiceConnector
Launch service- Parameters:
service
- Service to launchparamsMapFromRequest
- Parameter list- Returns:
- Service data
- Throws:
AWException
- Error launching service
-
subscribe
Launches a subscription to a service- Parameters:
query
- Subscribed query- Returns:
- Service data
-