org.gcube.smartgears.configuration.application
Class ApplicationHandlers

java.lang.Object
  extended by org.gcube.smartgears.configuration.application.ApplicationHandlers

public class ApplicationHandlers
extends Object

The ApplicationHandlers that manage the application.

Author:
Fabio Simeoni

Constructor Summary
ApplicationHandlers()
           
 
Method Summary
 List<ApplicationLifecycleHandler> lifecycleHandlers()
          Returns the ApplicationLifecycleHandlers for the service.
 List<RequestHandler> requestHandlers()
          Returns the RequestHandlers for the service.
 ApplicationHandlers set(ApplicationLifecycleHandler... handlers)
          Sets the ApplicationLifecycleHandlers for the service.
 ApplicationHandlers set(RequestHandler... handlers)
          Sets the RequestHandlers for the service.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationHandlers

public ApplicationHandlers()
Method Detail

lifecycleHandlers

public List<ApplicationLifecycleHandler> lifecycleHandlers()
Returns the ApplicationLifecycleHandlers for the service.

Returns:
the lifecycle handlers

set

public ApplicationHandlers set(ApplicationLifecycleHandler... handlers)
Sets the ApplicationLifecycleHandlers for the service.

Parameters:
handlers - the lifecycle handlers
Returns:
this configuration

requestHandlers

public List<RequestHandler> requestHandlers()
Returns the RequestHandlers for the service.

Returns:
the lifetime handlers

set

public ApplicationHandlers set(RequestHandler... handlers)
Sets the RequestHandlers for the service.

Parameters:
handlers - the request handlers
Returns:
this configuration

validate

public void validate()


Copyright © 2013. All Rights Reserved.