    001    package org.picocontainer.gems.adapters;
    002
    003    /*****************************************************************************
    004     * Copyright (C) PicoContainer Organization. All rights reserved.            *
    005     * ------------------------------------------------------------------------- *
    006     * The software in this package is published under the terms of the BSD      *
    007     * style license a copy of which has been included with this distribution in *
    008     * the LICENSE.txt file.                                                     *
    009     *                                                                           *
    010     * Original code by Leo Simmons & J&ouml;rg Schaible                              *
    011     *****************************************************************************/
    012    /**
    013     * Interface for a static factory wrapper used by the {@link StaticFactoryAdapter}.
    014     *
    015     * @author J&ouml;rg Schaible
    016     * @author Leo Simmons
    017     */
    018    public interface StaticFactory<T> {
    019        /**
    020         * @return Returns the instance created by the factory.
    021         */
    022        public T get();
    023    }