com.primix.tapestry
Interface ISpecificationSource
- All Known Implementing Classes:
- DefaultSpecificationSource
- public interface ISpecificationSource
Defines access to component specifications.
- Version:
- $Id: ISpecificationSource.java,v 1.6 2001/05/02 14:15:15 hship Exp $
- Author:
- Howard Ship
- See Also:
ComponentSpecification
Method Summary |
ComponentSpecification |
getSpecification(java.lang.String type)
Gets a specification from the cache, possibly parsing it at the same time. |
void |
reset()
Invoked to have the source clear any internal cache. |
getSpecification
public ComponentSpecification getSpecification(java.lang.String type)
throws ResourceUnavailableException
- Gets a specification from the cache, possibly parsing it at the same time.
The type is used to locate the resource that defines the specification. In
practical terms, this is the XML file which contains the specification.
- Throws:
ResourceUnavailableException
- if the specification cannot be located or loaded.
reset
public void reset()
- Invoked to have the source clear any internal cache. This is most often
used when debugging an application.