net.jbeans.bean.factory
Interface Factory


public interface Factory

A Factory class provides a method to instantiate an object.

Every factory must support a call on newInstance. Each factory should override the newInstance method to appropriately instantiate and initialize an instance of an object.

Each Factroy should have a null constructor.

Version:
$Revision: 1.1.1.1 $
Author:
Masahiro Takatsuka (masa@jbeans.net)

Method Summary
 java.lang.Object getInstance()
          Instantiates an object.
 

Method Detail

getInstance

public java.lang.Object getInstance()
Instantiates an object.



Copyright © 2003 JBean project. All Rights Reserved.