01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: MetaDataBeanAware.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.site;
09:
10: /**
11: * This interface can optionally be implemented by a class implementing the
12: * <code>MetaDataMerged</code> interface.
13: * <p>By implementing the methods here, each meta data instance will be made
14: * aware of the bean that has been associated with.
15: *
16: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
17: * @see MetaDataMerged
18: * @version $Revision: 3634 $
19: * @since 1.4
20: */
21: public interface MetaDataBeanAware {
22: /**
23: * <p>This method will be called by RIFE when a new instance of the meta
24: * data class has been created.
25: *
26: * @param bean the bean instance that this particular meta data instance
27: * has been associated with
28: * @since 1.4
29: */
30: public void setMetaDataBean(Object bean);
31: }
|