See: Description
Interface | Description |
---|---|
Factory<CreatedType> |
The
Factory interface defines a very general interface for a factory
object that can be used to create some other type of object. |
Class | Description |
---|---|
ConstructorBasedFactory<CreatedType> |
The
ConstructorBasedFactory class implements a Factory
that takes a constructor and parameters to that constructor used to create
new objects. |
DefaultFactory<CreatedType> |
The
DefaultFactory class is a default implementation of the
Factory interface that takes a class as its parameter and uses the
default constructor of the class, called through newInstance(), to create
new objects of that class. |
PrototypeFactory<CreatedType extends CloneableSerializable> |
The
PrototypeFactory class implements a Factory that uses a
prototype object to create new objects from by cloning it. |