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

org.deegree.ogcwebservices.csw.manager
Class CSWSychronizationTrigger

java.lang.Object
  extended by org.deegree.ogcwebservices.csw.manager.CSWSychronizationTrigger
All Implemented Interfaces:
Trigger

public class CSWSychronizationTrigger
extends java.lang.Object
implements Trigger

Trigger implementation for synchronizing several CSW instances for incomming Transaction requests

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

Constructor Summary
CSWSychronizationTrigger(java.lang.String driver, java.lang.String url, java.lang.String user, java.lang.String password, java.lang.String smtpServer, java.lang.String sender, java.lang.String receiver, java.lang.Integer maxRepeat, java.net.URL address)
           
 
Method Summary
 java.lang.Object[] doTrigger(java.lang.Object caller, java.lang.Object... values)
          performs the action(s) defined by a concrete trigger.
 java.lang.String getName()
          returns the name of the Trigger.
 void setName(java.lang.String name)
          sets the name of a Trigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSWSychronizationTrigger

public CSWSychronizationTrigger(java.lang.String driver,
                                java.lang.String url,
                                java.lang.String user,
                                java.lang.String password,
                                java.lang.String smtpServer,
                                java.lang.String sender,
                                java.lang.String receiver,
                                java.lang.Integer maxRepeat,
                                java.net.URL address)
Parameters:
driver -
url -
user -
password -
smtpServer -
sender -
receiver -
maxRepeat -
address - addresses of all CSW instances to be synchronized
Method Detail

doTrigger

public java.lang.Object[] doTrigger(java.lang.Object caller,
                                    java.lang.Object... values)
Description copied from interface: Trigger
performs the action(s) defined by a concrete trigger. The returned value must have the same structure as the passed parameter. A trigger may changes the values of the passed parameter(s) but do not change their type or structure

Specified by:
doTrigger in interface Trigger
Parameters:
caller -
values -
Returns:
the objects

getName

public java.lang.String getName()
Description copied from interface: Trigger
returns the name of the Trigger. The name starts with the name of the class Trigger is assigend to followed by the method from where it is called followed by its 'specific' name; e.g.
org.deegree.enterprise.servlet.OGCServletController.doService.MyTrigger

Specified by:
getName in interface Trigger
Returns:
the name of the Trigger.
See Also:
Trigger.getName()

setName

public void setName(java.lang.String name)
Description copied from interface: Trigger
sets the name of a Trigger

Specified by:
setName in interface Trigger
See Also:
Trigger.setName(java.lang.String)

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