org.nakedobjects.runtime.persistence.objectfactory
Class ObjectFactoryBasic

java.lang.Object
  extended by org.nakedobjects.runtime.persistence.objectfactory.ObjectFactoryAbstract
      extended by org.nakedobjects.runtime.persistence.objectfactory.ObjectFactoryBasic
All Implemented Interfaces:
Component, SessionScopedComponent, ObjectFactory

public class ObjectFactoryBasic
extends ObjectFactoryAbstract


Nested Class Summary
 
Nested classes/interfaces inherited from class org.nakedobjects.runtime.persistence.objectfactory.ObjectFactoryAbstract
ObjectFactoryAbstract.Mode
 
Constructor Summary
ObjectFactoryBasic()
           
ObjectFactoryBasic(ObjectFactoryAbstract.Mode mode)
           
 
Method Summary
protected
<T> T
doInstantiate(java.lang.Class<T> cls)
          Simply instantiates reflectively, does not enhance bytecode etc in any way.
 
Methods inherited from class org.nakedobjects.runtime.persistence.objectfactory.ObjectFactoryAbstract
close, getPersistenceSession, getServicesInjector, getSpecificationLoader, instantiate, open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactoryBasic

public ObjectFactoryBasic()

ObjectFactoryBasic

public ObjectFactoryBasic(ObjectFactoryAbstract.Mode mode)
Method Detail

doInstantiate

protected <T> T doInstantiate(java.lang.Class<T> cls)
                   throws ObjectInstantiationException
Simply instantiates reflectively, does not enhance bytecode etc in any way.

Specified by:
doInstantiate in class ObjectFactoryAbstract
Throws:
ObjectInstantiationException


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.