|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpecificationResolverDelegate
Delegate interface used when a page or component specification can not be found by the normal means. This allows hooks to support specifications from unusual locations, or generated on the fly.
The delegate must be coded in a threadsafe manner.
Method Summary | |
---|---|
IComponentSpecification |
findComponentSpecification(IRequestCycle cycle,
INamespace namespace,
String type)
Invoked by PageSpecificationResolver to find the indicated
component specification. |
IComponentSpecification |
findPageSpecification(IRequestCycle cycle,
INamespace namespace,
String simplePageName)
Invoked by PageSpecificationResolver to find the indicated
page specification. |
Method Detail |
---|
IComponentSpecification findPageSpecification(IRequestCycle cycle, INamespace namespace, String simplePageName)
PageSpecificationResolver
to find the indicated
page specification. Returns
the specification, or null. The specification, if returned, is not cached by Tapestry
(it is up to the delegate to cache the specification if desired).
cycle
- used to gain access to framework and Servlet API objectsnamespace
- the namespace containing the pagesimplePageName
- the name of the page (without any namespace prefix)IComponentSpecification findComponentSpecification(IRequestCycle cycle, INamespace namespace, String type)
PageSpecificationResolver
to find the indicated
component specification. Returns
the specification, or null. The specification, if returned, is not cached by Tapestry
(it is up to the delegate to cache the specification if desired).
The delegate must be coded in a threadsafe manner.
cycle
- used to gain access to framework and Servlet API objectsnamespace
- the namespace containing the componenttype
- the component type (without any namespace prefix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |