Class LinkedListObjectFactoryService
- java.lang.Object
-
- org.soulwing.prospecto.runtime.util.SimpleLinkedList<ObjectFactory>
-
- org.soulwing.prospecto.runtime.factory.LinkedListObjectFactoryService
-
- All Implemented Interfaces:
ObjectFactories
,ObjectFactory
,ObjectFactoryService
,SimpleList<ObjectFactory>
public class LinkedListObjectFactoryService extends SimpleLinkedList<ObjectFactory> implements ObjectFactoryService
AnObjectFactoryService
implemented using a linked list ofObjectFactory
instances as strategies.- Author:
- Carl Harris
-
-
Constructor Summary
Constructors Constructor Description LinkedListObjectFactoryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
newInstance(Class<?> type)
-
Methods inherited from class org.soulwing.prospecto.runtime.util.SimpleLinkedList
append, prepend, remove, toList
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.soulwing.prospecto.api.factory.ObjectFactories
append, prepend, toList
-
-
-
-
Method Detail
-
newInstance
public Object newInstance(Class<?> type) throws Exception
- Specified by:
newInstance
in interfaceObjectFactory
- Throws:
Exception
-
-