org.gcube.common.ghn.service.configuration
Class Handlers

java.lang.Object
  extended by org.gcube.common.ghn.service.configuration.Handlers

public class Handlers
extends Object

The ApplicationHandlers that manage the application.

Author:
Fabio Simeoni

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

Constructor Detail

Handlers

public Handlers()
Method Detail

lifecycleHandlers

public List<LifecycleHandler> lifecycleHandlers()
Returns the LifecycleHandlers for the service.

Returns:
the lifecycle handlers

set

public Handlers set(LifecycleHandler... handlers)
Sets the LifecycleHandlers 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 Handlers set(RequestHandler... handlers)
Sets the RequestHandlers for the service.

Parameters:
handlers - the request handlers
Returns:
this configuration


Copyright © 2013. All Rights Reserved.