org.oddjob.arooa
Interface ObjectFactory

All Known Implementing Classes:
ScheduleFactory, ScheduleInstructionFactory, SimpleObjectFactory

public interface ObjectFactory

Interface for a factory that is capable of creating an object.

Author:
Rob Gordon.

Method Summary
 java.lang.Object createObject(java.lang.String name)
          Create an object for a given name.
 

Method Detail

createObject

public java.lang.Object createObject(java.lang.String name)
                              throws ArooaException
Create an object for a given name.

Parameters:
name - The name of the object.
Returns:
The the created object.
Throws:
ArooaException - If creation failed.