Class ApplicationHandlers
- java.lang.Object
-
- org.gcube.smartgears.configuration.application.ApplicationHandlers
-
public class ApplicationHandlers extends Object
TheApplicationHandlers that manage the application.- Author:
- Fabio Simeoni
-
-
Constructor Summary
Constructors Constructor Description ApplicationHandlers(List<ApplicationLifecycleHandler> lifecycleHandlers, List<RequestHandler> requestHandlers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ApplicationLifecycleHandler>lifecycleHandlers()Returns theApplicationLifecycleHandlers for the service.voidmergeWith(ApplicationHandlers other)List<RequestHandler>requestHandlers()Returns theRequestHandlers for the service.ApplicationHandlerssetLifecycleHandlers(List<ApplicationLifecycleHandler> handlers)Sets theApplicationLifecycleHandlers for the service.ApplicationHandlerssetRequetHandlers(List<RequestHandler> handlers)Sets theRequestHandlers for the service.
-
-
-
Constructor Detail
-
ApplicationHandlers
public ApplicationHandlers(List<ApplicationLifecycleHandler> lifecycleHandlers, List<RequestHandler> requestHandlers)
-
-
Method Detail
-
lifecycleHandlers
public List<ApplicationLifecycleHandler> lifecycleHandlers()
Returns theApplicationLifecycleHandlers for the service.- Returns:
- the lifecycle handlers
-
setLifecycleHandlers
public ApplicationHandlers setLifecycleHandlers(List<ApplicationLifecycleHandler> handlers)
Sets theApplicationLifecycleHandlers for the service.- Parameters:
handlers- the lifecycle handlers- Returns:
- this configuration
-
requestHandlers
public List<RequestHandler> requestHandlers()
Returns theRequestHandlers for the service.- Returns:
- the lifetime handlers
-
setRequetHandlers
public ApplicationHandlers setRequetHandlers(List<RequestHandler> handlers)
Sets theRequestHandlers for the service.- Parameters:
handlers- the request handlers- Returns:
- this configuration
-
mergeWith
public void mergeWith(ApplicationHandlers other)
-
-