public class PageSpecificationResolverImpl extends AbstractSpecificationResolver implements PageSpecificationResolver
ISpecificationResolverDelegate.findPageSpecification(IRequestCycle, INamespace, String)
Pages in a component library are searched for in a more abbreviated fashion:
ISpecificationResolverDelegate.findPageSpecification(IRequestCycle, INamespace, String)
IPageSource
Constructor and Description |
---|
PageSpecificationResolverImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSimplePageName()
Returns just the name of the page, unqualified by any namespace.
|
void |
initializeService() |
protected void |
reset()
Clears the namespace and specification properties.
|
void |
resolve(IRequestCycle cycle,
java.lang.String prefixedName)
Resolve the name (which may have a library id prefix) to a namespace (see
AbstractSpecificationResolver.getNamespace() ) and a specification (see AbstractSpecificationResolver.getSpecification() ). |
void |
setComponentPropertySource(ComponentPropertySource componentPropertySource) |
void |
setLog(org.apache.commons.logging.Log log) |
findNamespaceForId, getApplicationNamespace, getContextRoot, getDelegate, getFrameworkNamespace, getNamespace, getSpecification, getSpecificationSource, getWebInfAppLocation, getWebInfLocation, setApplicationId, setContextRoot, setDelegate, setNamespace, setSpecification, setSpecificationSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNamespace, getSpecification
public PageSpecificationResolverImpl()
public void initializeService()
initializeService
in class AbstractSpecificationResolver
protected void reset()
AbstractSpecificationResolver
reset
in class AbstractSpecificationResolver
public void resolve(IRequestCycle cycle, java.lang.String prefixedName)
AbstractSpecificationResolver.getNamespace()
) and a specification (see AbstractSpecificationResolver.getSpecification()
).resolve
in interface PageSpecificationResolver
org.apache.hivemind.ApplicationRuntimeException
- if the name cannot be resolvedpublic java.lang.String getSimplePageName()
PageSpecificationResolver
getSimplePageName
in interface PageSpecificationResolver
public void setLog(org.apache.commons.logging.Log log)
public void setComponentPropertySource(ComponentPropertySource componentPropertySource)