KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

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

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