public interface SpecificationLoader extends Injectable
| Modifier and Type | Method and Description |
|---|---|
Collection<ObjectSpecification> |
allSpecifications() |
List<Class<?>> |
getServiceClasses() |
ObjectSpecification |
introspectIfRequired(ObjectSpecification spec)
Typically does not need to be called, but is available for
FacetFactorys to force
early introspection of referenced specs in certain circumstances. |
void |
invalidateCache(Class<?> domainClass) |
boolean |
loaded(Class<?> cls)
Whether this class has been loaded.
|
boolean |
loaded(String fullyQualifiedClassName) |
ObjectSpecification |
loadSpecification(Class<?> cls) |
ObjectSpecification |
loadSpecification(String fullyQualifiedClassName)
Return the specification for the specified class of object.
|
boolean |
loadSpecifications(List<Class<?>> typesToLoad)
Loads the specifications of the specified types.
|
boolean |
loadSpecifications(List<Class<?>> typesToLoad,
Class<?> typeToIgnore)
Loads the specifications of the specified types except the one specified
(to prevent an infinite loop).
|
ObjectSpecification |
lookupBySpecId(ObjectSpecId objectSpecId) |
injectIntoObjectSpecification lookupBySpecId(ObjectSpecId objectSpecId)
ObjectSpecification loadSpecification(String fullyQualifiedClassName)
It is possible for this method to return null, for example if
the configured #getClassSubstitutor() has filtered out the class.
ObjectSpecification loadSpecification(Class<?> cls)
loadSpecification(String)boolean loadSpecifications(List<Class<?>> typesToLoad)
boolean loadSpecifications(List<Class<?>> typesToLoad, Class<?> typeToIgnore)
ObjectSpecification introspectIfRequired(ObjectSpecification spec)
FacetFactorys to force
early introspection of referenced specs in certain circumstances.
Originally introduced to support AutoCompleteFacet.
Collection<ObjectSpecification> allSpecifications()
List<Class<?>> getServiceClasses()
boolean loaded(String fullyQualifiedClassName)
loaded(Class).void invalidateCache(Class<?> domainClass)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.