org.nakedobjects.metamodel.specloader.internal.cache
Interface SpecificationCache

All Known Implementing Classes:
SimpleSpecificationCache, StaticSpecificationCache

public interface SpecificationCache

This is not API.

In an earlier version it was possible to inject the SpecificationCache into the reflector. This was needed when the reflector was original (what is now called) session scoped, rather than application-scoped.

This interface has been left in for now, but will likely be removed.


Method Summary
 NakedObjectSpecification[] allSpecifications()
           
 void cache(java.lang.String className, NakedObjectSpecification spec)
           
 void clear()
           
 NakedObjectSpecification get(java.lang.String className)
          Returns the NakedObjectSpecification, or possibly null if has not been cached.
 

Method Detail

get

NakedObjectSpecification get(java.lang.String className)
Returns the NakedObjectSpecification, or possibly null if has not been cached.


allSpecifications

NakedObjectSpecification[] allSpecifications()

cache

void cache(java.lang.String className,
           NakedObjectSpecification spec)

clear

void clear()


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