KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > picocontainer > gems > StaticFactory


1 package org.picocontainer.gems;
2 /*****************************************************************************
3  * Copyright (C) PicoContainer Organization. All rights reserved. *
4  * ------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the BSD *
6  * style license a copy of which has been included with this distribution in *
7  * the LICENSE.txt file. *
8  * *
9  * Original code by Leo Simmons & Jörg Schaible *
10  *****************************************************************************/

11 /**
12  * Interface for a static factory wrapper used by the
13  * {@link org.picocontainer.defaults.StaticFactoryComponentAdapter}.
14  * @author Jörg Schaible
15  * @author Leo Simmons
16  * @since 1.1
17  */

18 public interface StaticFactory {
19     /**
20      * @return Returns the instance created by the factory.
21      */

22     public Object JavaDoc get();
23 }
Popular Tags