KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > tck > testmodels > fruit > BananaFactory


1 /*
2  * $Id: BananaFactory.java 3167 2006-09-22 15:47:04Z holger $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.tck.testmodels.fruit;
12
13 import org.mule.util.ObjectFactory;
14
15 /**
16  * <code>BananaFactory</code> is a test factory that creates Bananas
17  *
18  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
19  * @version $Revision: 3167 $
20  */

21 public class BananaFactory implements ObjectFactory
22 {
23     public Object JavaDoc create() throws Exception JavaDoc
24     {
25         return new Banana();
26     }
27 }
28
Popular Tags