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

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

public class LifecycleConfiguration
extends Object

The configuration of the lifecycle of a managed service.

Author:
Fabio Simeoni

Constructor Summary
LifecycleConfiguration()
           
 
Method Summary
 List<LifetimeHandler> lifetimeHandlers()
          Returns the LifetimeHandlers for the service.
 LifecycleConfiguration lifetimeHandlers(LifetimeHandler... handlers)
          Sets the LifetimeHandlers for the service.
 List<RequestHandler> requestHandlers()
          Returns the RequestHandlers for the service.
 LifecycleConfiguration requestHandlers(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

LifecycleConfiguration

public LifecycleConfiguration()
Method Detail

lifetimeHandlers

public List<LifetimeHandler> lifetimeHandlers()
Returns the LifetimeHandlers for the service.

Returns:
the lifetime handlers

lifetimeHandlers

public LifecycleConfiguration lifetimeHandlers(LifetimeHandler... handlers)
Sets the LifetimeHandlers for the service.

Parameters:
handlers - the lifetime handlers
Returns:
this configuration

requestHandlers

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

Returns:
the lifetime handlers

requestHandlers

public LifecycleConfiguration requestHandlers(RequestHandler... handlers)
Sets the RequestHandlers for the service.

Parameters:
handlers - the request handlers
Returns:
this configuration


Copyright © 2013. All Rights Reserved.