Package | Description |
---|---|
org.apache.tapestry |
Tapestry is a comprehensive web application framework, written in Java.
|
org.apache.tapestry.engine |
Implementations of the
IEngine interface, including
the standard implementation:
BaseEngine . |
org.apache.tapestry.enhance |
Classes used for performing dynamic bytecode enhancement of component and page classes.
|
org.apache.tapestry.pageload |
Classes used when loading pages (and thier heirarchies of components) from thier
specifications, as well as organizaing thier templates.
|
org.apache.tapestry.parse |
Classes used when parsing templates, application and component specifications.
|
org.apache.tapestry.resolver | |
org.apache.tapestry.services |
Interfaces for Tapestry-related HiveMind services.
|
org.apache.tapestry.services.impl | |
org.apache.tapestry.spec |
Classes to represent application and component specifications.
|
org.apache.tapestry.test |
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
INamespace.getComponentSpecification(java.lang.String type)
Returns the path for the named component (within the namespace).
|
IComponentSpecification |
INamespace.getPageSpecification(java.lang.String name)
Returns the page specification of the named page (defined within the namespace).
|
IComponentSpecification |
AbstractComponent.getSpecification() |
IComponentSpecification |
IComponent.getSpecification()
Returns the specification which defines the component.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractComponent.finishLoad(IRequestCycle cycle,
IPageLoader loader,
IComponentSpecification specification)
Invokes
AbstractComponent.finishLoad() . |
void |
BaseComponent.finishLoad(IRequestCycle cycle,
IPageLoader loader,
IComponentSpecification specification)
Loads the template for the component, then invokes
AbstractComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification) . |
void |
IComponent.finishLoad(IRequestCycle cycle,
IPageLoader loader,
IComponentSpecification specification)
Allows a component to finish any setup after it has been constructed.
|
void |
INamespace.installComponentSpecification(java.lang.String type,
IComponentSpecification specification)
Used to specify additional components beyond those that came from the namespace's
specification.
|
void |
INamespace.installPageSpecification(java.lang.String pageName,
IComponentSpecification specification)
Used to specify additional pages beyond those that came from the namespace's specification.
|
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
ISpecificationSource.getComponentSpecification(org.apache.hivemind.Resource specificationLocation)
Retrieves a component specification, parsing it as necessary.
|
IComponentSpecification |
Namespace.getComponentSpecification(java.lang.String alias) |
IComponentSpecification |
ISpecificationSource.getPageSpecification(org.apache.hivemind.Resource specificationLocation)
Retrieves a page specification, parsing it as necessary.
|
IComponentSpecification |
Namespace.getPageSpecification(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
IComponentClassEnhancer.getEnhancedClass(IComponentSpecification specification,
java.lang.String className)
Deprecated.
Used to access the class for a given component (or page).
|
void |
Namespace.installComponentSpecification(java.lang.String type,
IComponentSpecification specification) |
void |
Namespace.installPageSpecification(java.lang.String pageName,
IComponentSpecification specification) |
IPage |
IPageLoader.loadPage(java.lang.String name,
INamespace namespace,
IRequestCycle cycle,
IComponentSpecification specification)
Invoked by the
IPageSource to load a specific page. |
Modifier and Type | Method and Description |
---|---|
void |
InjectSpecificationWorker.injectSpecification(EnhancementOperation op,
IComponentSpecification spec) |
void |
AbstractPropertyWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
DispatchToInjectWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
EnhancementWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
InjectAssetWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
InjectBeanWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
InjectComponentWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
InjectListenerRegistrationWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
InjectMessagesWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
InjectSpecificationWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
ParameterPropertyWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |
void |
SpecifiedPropertyWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec)
Iterates over the specified properties, creating an enhanced property for each (a field, an
accessor, a mutator).
|
void |
EnhancedClassValidator.validate(java.lang.Class baseClass,
java.lang.Class enhancedClass,
IComponentSpecification specification) |
void |
EnhancedClassValidatorImpl.validate(java.lang.Class baseClass,
java.lang.Class enhancedClass,
IComponentSpecification specification) |
Constructor and Description |
---|
EnhancementOperationImpl(org.apache.hivemind.ClassResolver classResolver,
IComponentSpecification specification,
java.lang.Class baseClass,
org.apache.hivemind.service.ClassFactory classFactory,
org.apache.commons.logging.Log log) |
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
ComponentClassProviderContext.getSpecification()
Returns the specification defining the page.
|
Modifier and Type | Method and Description |
---|---|
IPage |
PageLoader.loadPage(java.lang.String name,
INamespace namespace,
IRequestCycle cycle,
IComponentSpecification specification) |
Constructor and Description |
---|
ComponentClassProviderContext(java.lang.String pageName,
IComponentSpecification pageSpecification,
INamespace namespace) |
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
ISpecificationParser.parseComponentSpecification(org.apache.hivemind.Resource resource) |
IComponentSpecification |
SpecificationParser.parseComponentSpecification(org.apache.hivemind.Resource resource) |
IComponentSpecification |
ISpecificationParser.parsePageSpecification(org.apache.hivemind.Resource resource) |
IComponentSpecification |
SpecificationParser.parsePageSpecification(org.apache.hivemind.Resource resource) |
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
ISpecificationResolverDelegate.findComponentSpecification(IRequestCycle cycle,
INamespace namespace,
java.lang.String type)
Invoked by
PageSpecificationResolver to find the indicated component specification. |
IComponentSpecification |
ISpecificationResolverDelegate.findPageSpecification(IRequestCycle cycle,
INamespace namespace,
java.lang.String simplePageName)
Invoked by
PageSpecificationResolver to find the indicated page specification. |
IComponentSpecification |
AbstractSpecificationResolver.getSpecification()
Returns the resolved specification.
|
IComponentSpecification |
ComponentSpecificationResolver.getSpecification()
The specification resolved by the resolve() method.
|
IComponentSpecification |
PageSpecificationResolver.getSpecification()
Returns the specification for the page.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSpecificationResolver.setSpecification(IComponentSpecification specification)
Invoked in subclass to set the final specification the initial inputs are resolved to.
|
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
NamespaceResources.getComponentSpecification(org.apache.hivemind.Resource libraryResource,
java.lang.String specificationPath,
org.apache.hivemind.Location location)
Retrieves a component specification, parsing it as necessary.
|
IComponentSpecification |
NamespaceResources.getPageSpecification(org.apache.hivemind.Resource libraryResource,
java.lang.String specificationPath,
org.apache.hivemind.Location location)
Retrieves a page specification, parsing it as necessary.
|
Modifier and Type | Method and Description |
---|---|
ComponentConstructor |
ComponentConstructorFactory.getComponentConstructor(IComponentSpecification specification,
java.lang.String className)
Passed a component specification and the base component class name, provides back an object
used to instantiate instances of the component.
|
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
SpecificationSourceImpl.getComponentSpecification(org.apache.hivemind.Resource resourceLocation)
Gets a component specification.
|
IComponentSpecification |
NamespaceResourcesImpl.getComponentSpecification(org.apache.hivemind.Resource resource,
java.lang.String specificationPath,
org.apache.hivemind.Location location) |
IComponentSpecification |
SpecificationSourceImpl.getPageSpecification(org.apache.hivemind.Resource resourceLocation) |
IComponentSpecification |
NamespaceResourcesImpl.getPageSpecification(org.apache.hivemind.Resource resource,
java.lang.String specificationPath,
org.apache.hivemind.Location location) |
protected IComponentSpecification |
SpecificationSourceImpl.parseSpecification(org.apache.hivemind.Resource resource,
boolean asPage) |
Modifier and Type | Method and Description |
---|---|
ComponentConstructor |
ComponentConstructorFactoryImpl.getComponentConstructor(IComponentSpecification specification,
java.lang.String className) |
Modifier and Type | Class and Description |
---|---|
class |
ComponentSpecification
A specification for a component, as read from an XML specification file.
|
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
SpecFactory.createComponentSpecification()
Creates a concrete instance of
IComponentSpecification . |
Modifier and Type | Method and Description |
---|---|
void |
CreatePropertyWorker.performEnhancement(EnhancementOperation op,
IComponentSpecification spec) |