org.n52.security.precondition
Class PreconditionHandler

java.lang.Object
  extended by org.n52.security.precondition.PreconditionHandler

public abstract class PreconditionHandler
extends java.lang.Object

Implementations of this class provide precondition-specific properties that are set by clients to deliver information for precondition handling. It is not intended that instances of this class acquire these values by themselves.

Author:
drewnak

Field Summary
protected  Precondition m_prec
          The precondition handled by this instance.
 
Constructor Summary
protected PreconditionHandler(Precondition prec)
           
 
Method Summary
 Precondition getPrecondition()
           
abstract  void handle()
          This mathod should be called after the properties required for precondition handling are set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_prec

protected Precondition m_prec
The precondition handled by this instance.

Constructor Detail

PreconditionHandler

protected PreconditionHandler(Precondition prec)
Method Detail

getPrecondition

public Precondition getPrecondition()

handle

public abstract void handle()
                     throws PreconditionHandlingException
This mathod should be called after the properties required for precondition handling are set.

Throws:
PreconditionHandlingException


Copyright © 2004-2009 52north.org. All Rights Reserved.