Cumulus4j API
(1.1.1)

org.cumulus4j.keymanager.channel
Class AbstractRequestHandler<R extends Request>

java.lang.Object
  extended by org.cumulus4j.keymanager.channel.AbstractRequestHandler<R>
Type Parameters:
R - the request type for which this request handler is responsible.
All Implemented Interfaces:
RequestHandler<R>
Direct Known Subclasses:
GetActiveEncryptionKeyRequestHandler, GetKeyRequestHandler

public abstract class AbstractRequestHandler<R extends Request>
extends Object
implements RequestHandler<R>

Abstract base class for RequestHandler implementations. Implementors should subclass this class instead of directly implementing the RequestHandler interface.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Constructor Summary
AbstractRequestHandler()
           
 
Method Summary
 KeyManagerChannelManager getKeyManagerChannelManager()
          Get the KeyManagerChannelManager.
 void setKeyManagerChannelManager(KeyManagerChannelManager keyManagerChannelManager)
          Set the KeyManagerChannelManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cumulus4j.keymanager.channel.RequestHandler
handle
 

Constructor Detail

AbstractRequestHandler

public AbstractRequestHandler()
Method Detail

getKeyManagerChannelManager

public KeyManagerChannelManager getKeyManagerChannelManager()
Description copied from interface: RequestHandler
Get the KeyManagerChannelManager.

Specified by:
getKeyManagerChannelManager in interface RequestHandler<R extends Request>
Returns:
the KeyManagerChannelManager or null, if it has not yet been set.

setKeyManagerChannelManager

public void setKeyManagerChannelManager(KeyManagerChannelManager keyManagerChannelManager)
Description copied from interface: RequestHandler
Set the KeyManagerChannelManager. This method is called by the KeyManagerChannelManager after instantiating a new RequestHandler instance and before invoking RequestHandler.handle(Request).

Specified by:
setKeyManagerChannelManager in interface RequestHandler<R extends Request>
Parameters:
keyManagerChannelManager - the KeyManagerChannelManager

Cumulus4j API
(1.1.1)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.