KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > yan > lifecycle > Life


1 /*****************************************************************************
2  * Copyright (C) Zephyr Business Solution. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  *****************************************************************************/

8
9 /*
10  * Created on Oct 13, 2005
11  *
12  * Author Michelle Lei
13  * ZBS
14  */

15 package jfun.yan.lifecycle;
16
17 /**
18  * <p>
19  * This interface represents anything that can create a
20  * {@link LiveObject} that has life-cycle support.
21  * </p>
22  * <p>
23  * As a metaphore, it is like giving life to a regular Java object.
24  * </p>
25  * <p>
26  * Zephyr Business Solution
27  *
28  * @author Michelle Lei
29  *
30  */

31 public interface Life {
32   /**
33    * To create a {@link LiveObject} for a regular Java object.
34    * @param me the regular java object.
35    * @return the LiveObject.
36    */

37   LiveObject bear(Object JavaDoc me);
38 }
39
Popular Tags