org.nakedobjects.metamodel.spec
Interface IntrospectableSpecification

All Known Implementing Classes:
InstanceCollectionSpecification, IntrospectableSpecificationAbstract, JavaSpecification, NakedObjectSpecificationNoMember

public interface IntrospectableSpecification

In effect the SPI for NakedObjectSpecification.


Method Summary
 void introspect(FacetDecoratorSet decorator)
          Discovers what attributes and behaviour the type specified by this specification.
 boolean isIntrospected()
           
 void markAsService()
           
 

Method Detail

introspect

void introspect(FacetDecoratorSet decorator)
Discovers what attributes and behaviour the type specified by this specification.

As specifications are cyclic (specifically a class will reference its subclasses, which in turn reference their superclass) they need be created first, and then later work out its internals. This allows for cyclic references to the be accommodated as there should always a specification available even though it might not be complete.


markAsService

void markAsService()

isIntrospected

boolean isIntrospected()


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