org.nakedobjects.runtime.persistence.adapterfactory
Class AdapterFactoryAbstract

java.lang.Object
  extended by org.nakedobjects.runtime.persistence.adapterfactory.AdapterFactoryAbstract
All Implemented Interfaces:
Component, Injectable, SessionScopedComponent, AdapterFactory
Direct Known Subclasses:
PojoAdapterFactory

public abstract class AdapterFactoryAbstract
extends java.lang.Object
implements AdapterFactory


Constructor Summary
AdapterFactoryAbstract()
           
 
Method Summary
 void close()
          Default implementation does nothing.
abstract  NakedObject createAdapter(java.lang.Object pojo, Oid oid)
           
 void injectInto(java.lang.Object candidate)
          Injects.
 void open()
          Default implementation does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdapterFactoryAbstract

public AdapterFactoryAbstract()
Method Detail

createAdapter

public abstract NakedObject createAdapter(java.lang.Object pojo,
                                          Oid oid)
Specified by:
createAdapter in interface AdapterFactory

open

public void open()
Default implementation does nothing.

Specified by:
open in interface SessionScopedComponent

close

public void close()
Default implementation does nothing.

Specified by:
close in interface SessionScopedComponent

injectInto

public void injectInto(java.lang.Object candidate)
Injects.

Specified by:
injectInto in interface Injectable


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