deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.framework.trigger
Class TriggerProvider

java.lang.Object
  extended by org.deegree.framework.trigger.TriggerProvider

public class TriggerProvider
extends java.lang.Object

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Method Summary
static TriggerProvider create(java.lang.Class clss)
           
 java.lang.Object[] doPostTrigger(java.lang.Object caller, java.lang.Object... obj)
          performs post triggers assigend to the calling method
 java.lang.Object[] doPreTrigger(java.lang.Object caller, java.lang.Object... obj)
          performs pre triggers assigend to the calling method
 TriggerCapabilities getCapabilities()
          returns the root capabilities
 java.util.List<Trigger> getPostTrigger()
          returns all post triggers assigend to the calling method
 java.util.List<Trigger> getPreTrigger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static TriggerProvider create(java.lang.Class clss)
Parameters:
clss -

getPreTrigger

public java.util.List<Trigger> getPreTrigger()
                                      throws TriggerException
Returns:
all pre triggers assigend to the calling method
Throws:
TriggerException

getPostTrigger

public java.util.List<Trigger> getPostTrigger()
                                       throws TriggerException
returns all post triggers assigend to the calling method

Returns:
all post triggers assigend to the calling method
Throws:
TriggerException

doPreTrigger

public java.lang.Object[] doPreTrigger(java.lang.Object caller,
                                       java.lang.Object... obj)
                                throws TriggerException
performs pre triggers assigend to the calling method

Parameters:
caller -
obj -
Returns:
changed object passed to the trigger(s)
Throws:
TriggerException

doPostTrigger

public java.lang.Object[] doPostTrigger(java.lang.Object caller,
                                        java.lang.Object... obj)
performs post triggers assigend to the calling method

Parameters:
caller -
obj -
Returns:
changed object passed to the trigger(s)

getCapabilities

public TriggerCapabilities getCapabilities()
returns the root capabilities

Returns:
the root capabilities

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org