|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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()
|
Method Summary | |
---|---|
protected INamespace |
findNamespaceForId(INamespace containerNamespace,
String libraryId)
|
protected INamespace |
getApplicationNamespace()
|
protected org.apache.hivemind.Resource |
getContextRoot()
Returns the location of the servlet, within the servlet context. |
ISpecificationResolverDelegate |
getDelegate()
Returns the ISpecificationResolverDelegate instance registered in the application
or null if no such extension exists. |
protected INamespace |
getFrameworkNamespace()
|
INamespace |
getNamespace()
Returns the resolve namespace. |
IComponentSpecification |
getSpecification()
Returns the resolved specification. |
protected ISpecificationSource |
getSpecificationSource()
Returns the specification source for the running application. |
protected org.apache.hivemind.Resource |
getWebInfAppLocation()
Returns the location of the application-specific subdirectory, under /WEB-INF/, in the servlet context. |
protected org.apache.hivemind.Resource |
getWebInfLocation()
Returns the location of /WEB-INF/, in the servlet context. |
void |
initializeService()
|
protected void |
reset()
Clears the namespace and specification properties. |
void |
setApplicationId(String applicationId)
|
void |
setContextRoot(org.apache.hivemind.Resource contextRoot)
|
void |
setDelegate(ISpecificationResolverDelegate delegate)
|
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. |
void |
setSpecificationSource(ISpecificationSource source)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSpecificationResolver()
Method Detail |
---|
public void initializeService()
public ISpecificationResolverDelegate getDelegate()
ISpecificationResolverDelegate
instance registered in the application
or null if no such extension exists.
protected org.apache.hivemind.Resource getContextRoot()
public void setContextRoot(org.apache.hivemind.Resource contextRoot)
protected void setNamespace(INamespace namespace)
public INamespace getNamespace()
protected ISpecificationSource getSpecificationSource()
protected org.apache.hivemind.Resource getWebInfLocation()
protected org.apache.hivemind.Resource getWebInfAppLocation()
public IComponentSpecification getSpecification()
protected void setSpecification(IComponentSpecification specification)
protected void reset()
public void setDelegate(ISpecificationResolverDelegate delegate)
public void setApplicationId(String applicationId)
public void setSpecificationSource(ISpecificationSource source)
protected INamespace getApplicationNamespace()
protected INamespace getFrameworkNamespace()
protected INamespace findNamespaceForId(INamespace containerNamespace, String libraryId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |