|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.specloader.traverser.SpecificationTraverserDefault
public class SpecificationTraverserDefault
| Constructor Summary | |
|---|---|
SpecificationTraverserDefault()
|
|
| Method Summary | |
|---|---|
SpecificationLoader |
getSpecificationLoader()
|
void |
init()
Indicates to the component that it is to initialise itself. |
void |
setSpecificationLoader(SpecificationLoader specificationLoader)
|
void |
shutdown()
Indicates to the component that it will no longer be used and should shut itself down cleanly. |
void |
traverseReferencedClasses(NakedObjectSpecification noSpec,
java.util.List<java.lang.Class<?>> discoveredTypes)
Does nothing. |
void |
traverseTypes(java.lang.reflect.Method method,
java.util.List<java.lang.Class<?>> discoveredTypes)
Traverses the return types of each method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpecificationTraverserDefault()
| Method Detail |
|---|
public void init()
ApplicationScopedComponent
init in interface ApplicationScopedComponentpublic void shutdown()
ApplicationScopedComponent
shutdown in interface ApplicationScopedComponent
public void traverseTypes(java.lang.reflect.Method method,
java.util.List<java.lang.Class<?>> discoveredTypes)
It's possible for there to be multiple return types: the generic type, and the parameterized type.
traverseTypes in interface SpecificationTraverser
public void traverseReferencedClasses(NakedObjectSpecification noSpec,
java.util.List<java.lang.Class<?>> discoveredTypes)
throws java.lang.ClassNotFoundException
traverseReferencedClasses in interface SpecificationTraverserjava.lang.ClassNotFoundExceptionpublic SpecificationLoader getSpecificationLoader()
public void setSpecificationLoader(SpecificationLoader specificationLoader)
setSpecificationLoader in interface SpecificationLoaderAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||