Utility class that understands the rules of component types (which may optionally have a library prefix) and can resolve the type to a {@link org.apache.tapestry.INamespace} and a {@link org.apache.tapestry.spec.IComponentSpecification}.
Like {@link org.apache.tapestry.resolver.PageSpecificationResolver}, if the component is not defined explicitly in the namespace, a search may occur: Performs the tricky work of resolving a page name to a page specification. The search for pages in the application namespace is the most complicated, since Tapestry searches for pages that aren't explicitly defined in the application specification. The search, based on the simple-name of the page, goes as follows:
- As declared in the application specification
- type.jwc in the same folder as the application specification
- type jwc in the WEB-INF/servlet-name directory of the context root
- type.jwc in WEB-INF
- type.jwc in the application root (within the context root)
- By searching the framework namespace
The search for components in library namespaces is more abbreviated:
As declared in the library specification type.jwc in the same folder as the library specification By searching the framework namespace
@author Howard Lewis Ship
@version $Id: ComponentSpecificationResolver.java 243791 2004-02-19 17:38:13Z hlship $
@since 3.0