Package com.hack23.cia.service.api
Interface ApplicationManager
-
public interface ApplicationManager
The Interface ApplicationManager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.Future<ServiceResponse>
asyncService(ServiceRequest serviceRequest)
Async service.AgentContainer
getAgentContainer()
Gets the agent container.<T extends java.io.Serializable,V extends java.io.Serializable>
DataContainer<T,V>getDataContainer(java.lang.Class<T> dataObject)
Gets the data container.ServiceResponse
service(ServiceRequest serviceRequest)
Service.
-
-
-
Method Detail
-
getAgentContainer
AgentContainer getAgentContainer()
Gets the agent container.- Returns:
- the agent container
-
getDataContainer
<T extends java.io.Serializable,V extends java.io.Serializable> DataContainer<T,V> getDataContainer(java.lang.Class<T> dataObject)
Gets the data container.- Type Parameters:
T
- the generic typeV
- the value type- Parameters:
dataObject
- the data object- Returns:
- the data container
-
service
ServiceResponse service(ServiceRequest serviceRequest)
Service.- Parameters:
serviceRequest
- the service request- Returns:
- the service response
-
asyncService
java.util.concurrent.Future<ServiceResponse> asyncService(ServiceRequest serviceRequest)
Async service.- Parameters:
serviceRequest
- the service request- Returns:
- the future
-
-