KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > datatypes > processors > CommitProcessor


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.datatypes.processors;
11
12
13 import org.mmbase.bridge.*;
14
15 /**
16  * If the processor defined for the field is of this type, then the {@link #commit} method will be called
17  * on commit of the Node.
18  *
19  * @author Michiel Meeuwissen
20  * @version $Id: CommitProcessor.java,v 1.4 2005/12/10 14:32:53 michiel Exp $
21  * @since MMBase-1.8
22  */

23
24 public interface CommitProcessor extends java.io.Serializable JavaDoc {
25
26     /**
27      * Will be called on commit of the node.
28      */

29     void commit(Node node, Field field);
30 }
31
Popular Tags