|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.resolver.AbstractSpecificationResolver
public class AbstractSpecificationResolver
Base class for resolving a IComponentSpecification
for a particular page or component, within a specified
INamespace
. In some cases, a search is necessary.
Constructor Summary | |
---|---|
AbstractSpecificationResolver(IRequestCycle cycle)
|
Method Summary | |
---|---|
void |
discardFromPool()
Does nothing. |
protected IResourceLocation |
getApplicationRootLocation()
Returns the location of the servlet, within the servlet context. |
ISpecificationResolverDelegate |
getDelegate()
Returns the ISpecificationResolverDelegate instance registered
in the application specification as extension
Tapestry.SPECIFICATION_RESOLVER_DELEGATE_EXTENSION_NAME ,
or null if no such extension exists. |
INamespace |
getNamespace()
Returns the resolve namespace. |
IComponentSpecification |
getSpecification()
Returns the resolved specification. |
protected ISpecificationSource |
getSpecificationSource()
Returns the specification source for the running application. |
protected IResourceLocation |
getWebInfAppLocation()
Returns the location of the application-specific subdirectory, under /WEB-INF/, in the servlet context. |
protected IResourceLocation |
getWebInfLocation()
Returns the location of /WEB-INF/, in the servlet context. |
protected void |
reset()
Clears the namespace, specification and simpleName properties. |
void |
resetForPool()
Invokes reset() |
protected void |
setNamespace(INamespace namespace)
Invoked in subclasses to identify the resolved namespace. |
protected void |
setSpecification(IComponentSpecification specification)
Invoked in subclass to set the final specification the initial inputs are resolved to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSpecificationResolver(IRequestCycle cycle)
Method Detail |
---|
public ISpecificationResolverDelegate getDelegate()
ISpecificationResolverDelegate
instance registered
in the application specification as extension
Tapestry.SPECIFICATION_RESOLVER_DELEGATE_EXTENSION_NAME
,
or null if no such extension exists.
protected IResourceLocation getApplicationRootLocation()
protected void setNamespace(INamespace namespace)
public INamespace getNamespace()
protected ISpecificationSource getSpecificationSource()
protected IResourceLocation getWebInfLocation()
protected IResourceLocation getWebInfAppLocation()
public IComponentSpecification getSpecification()
protected void setSpecification(IComponentSpecification specification)
protected void reset()
public void discardFromPool()
discardFromPool
in interface IPoolable
public void resetForPool()
reset()
resetForPool
in interface IPoolable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |