1 /*------------------------------------------------------------------------------
2 Name: I_MsgUnitCb.java
3 Project: xmlBlaster.org
4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
5 ------------------------------------------------------------------------------*/
6 package org.xmlBlaster.client.script;
7
8 import org.xmlBlaster.util.MsgUnit;
9
10 /**
11 * Interface to intercept a MsgUnit just before it is published.
12 * @author <a href="mailto:xmlblast@marcelruff.info">Marcel Ruff</a>
13 */
14 public interface I_MsgUnitCb {
15
16 /**
17 * @return false: don't publish it
18 */
19 public boolean intercept(MsgUnit msgUnit);
20 }
syntax highlighted by Code2HTML, v. 0.9.1