org.nakedobjects.metamodel.specloader
Interface SpecificationLoader

All Superinterfaces:
ApplicationScopedComponent, Component, DebugInfo, Injectable
All Known Subinterfaces:
NakedObjectReflector
All Known Implementing Classes:
JavaReflector, NakedObjectReflectorAbstract

public interface SpecificationLoader
extends ApplicationScopedComponent, Injectable, DebugInfo


Method Summary
 NakedObjectSpecification[] allSpecifications()
           
 boolean loaded(java.lang.Class<?> cls)
          Whether this class has been loaded.
 boolean loaded(java.lang.String fullyQualifiedClassName)
           
 NakedObjectSpecification loadSpecification(java.lang.Class<?> cls)
           
 NakedObjectSpecification loadSpecification(java.lang.String fullyQualifiedClassName)
          Return the specification for the specified class of object.
 void setServiceClasses(java.util.List<java.lang.Class<?>> serviceClasses)
          Specify the classes of the services to pro-actively prime the cache.
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.Injectable
injectInto
 
Methods inherited from interface org.nakedobjects.metamodel.commons.debug.DebugInfo
debugData, debugTitle
 

Method Detail

allSpecifications

NakedObjectSpecification[] allSpecifications()

loadSpecification

NakedObjectSpecification loadSpecification(java.lang.Class<?> cls)
See Also:
loadSpecification(String)

loadSpecification

NakedObjectSpecification loadSpecification(java.lang.String fullyQualifiedClassName)
Return the specification for the specified class of object.

It is possible for this method to return null, for example if the configured #getClassSubstitutor() has filtered out the class.


loaded

boolean loaded(java.lang.Class<?> cls)
Whether this class has been loaded.


loaded

boolean loaded(java.lang.String fullyQualifiedClassName)
See Also:
loaded(Class).

setServiceClasses

void setServiceClasses(java.util.List<java.lang.Class<?>> serviceClasses)
Specify the classes of the services to pro-actively prime the cache.



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