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()
-
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.ApplicationHandlersset(ApplicationLifecycleHandler... handlers)Sets theApplicationLifecycleHandlers for the service.ApplicationHandlersset(RequestHandler... handlers)Sets theRequestHandlers for the service.voidvalidate()
-
-
-
Method Detail
-
lifecycleHandlers
public List<ApplicationLifecycleHandler> lifecycleHandlers()
Returns theApplicationLifecycleHandlers for the service.- Returns:
- the lifecycle handlers
-
set
public ApplicationHandlers set(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
-
set
public ApplicationHandlers set(RequestHandler... handlers)
Sets theRequestHandlers for the service.- Parameters:
handlers- the request handlers- Returns:
- this configuration
-
validate
public void validate()
-
mergeWith
public void mergeWith(ApplicationHandlers other)
-
-