org.nakedobjects.runtime.bytecode
Class ObjectResolveAndObjectChangedEnhancerAbstract

java.lang.Object
  extended by org.nakedobjects.runtime.bytecode.ObjectResolveAndObjectChangedEnhancerAbstract

public abstract class ObjectResolveAndObjectChangedEnhancerAbstract
extends java.lang.Object


Field Summary
protected  ObjectChanger objectChanger
           
protected  ObjectResolver objectResolver
           
protected  SpecificationLoader specificationLoader
           
 
Constructor Summary
ObjectResolveAndObjectChangedEnhancerAbstract(ObjectResolver objectResolver, ObjectChanger objectChanger, SpecificationLoader specificationLoader)
           
 
Method Summary
protected abstract  void createCallback()
          Subclasses should call from their constructor, and setup their implementation-specific callback mechanism.
protected  JavaSpecification getJavaSpecification(java.lang.Class<?> cls)
           
protected  JavaSpecification getJavaSpecificationOfOwningClass(java.lang.reflect.Method method)
           
 ObjectChanger getObjectChanger()
           
 ObjectResolver getObjectResolver()
           
 SpecificationLoader getSpecificationLoader()
           
protected  boolean impliesObjectChanged(ImperativeFacet[] imperativeFacets)
           
protected  boolean impliesResolve(ImperativeFacet[] imperativeFacets)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectResolver

protected final ObjectResolver objectResolver

objectChanger

protected final ObjectChanger objectChanger

specificationLoader

protected final SpecificationLoader specificationLoader
Constructor Detail

ObjectResolveAndObjectChangedEnhancerAbstract

public ObjectResolveAndObjectChangedEnhancerAbstract(ObjectResolver objectResolver,
                                                     ObjectChanger objectChanger,
                                                     SpecificationLoader specificationLoader)
Method Detail

createCallback

protected abstract void createCallback()
Subclasses should call from their constructor, and setup their implementation-specific callback mechanism.


getJavaSpecificationOfOwningClass

protected JavaSpecification getJavaSpecificationOfOwningClass(java.lang.reflect.Method method)

getJavaSpecification

protected JavaSpecification getJavaSpecification(java.lang.Class<?> cls)

impliesResolve

protected boolean impliesResolve(ImperativeFacet[] imperativeFacets)

impliesObjectChanged

protected boolean impliesObjectChanged(ImperativeFacet[] imperativeFacets)

getObjectResolver

public final ObjectResolver getObjectResolver()

getObjectChanger

public final ObjectChanger getObjectChanger()

getSpecificationLoader

public final SpecificationLoader getSpecificationLoader()


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