uk.org.ogsadai.engine
Interface ObjectCreator
- All Known Implementing Classes:
- ActivityTypesDocumentCreator
- public interface ObjectCreator
Creates an Object. Defines a general factory method
create. Different implementations can be used where an object
requires a fairly complex construction process and a higher-level class may
wish to change the type of object returned without requiring serious code
changes.
- Author:
- The OGSA-DAI Project Team
|
Method Summary |
java.lang.Object |
create()
Creates an Object. |
create
public java.lang.Object create()
throws ObjectCreationException
- Creates an
Object. The concrete type is determined by the
implementation class.
- Returns:
- an
Object of some type
- Throws:
ObjectCreationException - if there is a problem creating the object