Package org.apache.tapestry.enhance

Classes used for performing dynamic bytecode enhancement of component and page classes.

See:
          Description

Interface Summary
ClassInspector Service that provides a common interface to other lower level reflection services to provide a common set of functionality for reflection when using a 1.4 or >= 1.5 jre.
DeferredScript A wrapper around IScriptSource that will obtain an IScript instance as needed.
EnhancedClassValidator  
EnhancementOperation A process object representing enhancements to a component class.
EnhancementWorker A worker that is employed by the ComponentConstructorFactory to perform some enhancement.
InjectEnhancementWorker A kind of enhancement worker dedicated to injection, based on the <inject> element of the specification.
MethodSignature A representation of a Method, identifying the name, return type, parameter types and exception types.
 

Class Summary
AbstractFab Common code for ClassFabImpl and InterfaceFabImpl.
AbstractPropertyWorker No, this class isn't abstract ...
AutowireWorker An enhancement worker which automatically injects HiveMind services into pages/components if exactly one service point exists which is compatible with the read-only property's type.
AutowireWorkerFactory Constructs AutowireWorkers.
ClassFabImpl Implementation replacement for hivemind ClassFab utiltity to get around some javassist incompatibilties found with the latest 3.4 version of javassist.
ClassFactoryImpl Implementation of the hivemind core ClassFactory service to get around some incompatibilities the current 1.1.1 implementation of hivemind has with the latest (3.4) version of javassist.
ClassInspectorImpl Implemenation of ClassInspector that is compatible with 1.4 jres.
ClientIdPropertyWorker Enhances the IComponent.getClientId() property.
ComponentConstructorImpl  
CtClassSource Wrapper around Javassist's ClassPool and our own ClassFactoryClassLoader that manages the creation of new instance of CtClass and converts finished CtClass's into instantiable Classes.
DeferredScriptImpl  
DispatchToInjectWorker Iterates over the InjectSpecifications and locates and delegates to a InjectEnhancementWorker for each one.
EnhancedClassValidatorImpl Validates that an enhanced class is correct; checks that all inherited abstract methods are, in fact, implemented in the class.
EnhancementOperationImpl Implementation of EnhancementOperationthat knows how to collect class changes from enhancements.
EnhanceUtils Convienience methods needed by various parts of the enhancement subsystem.
GenericsClassInspectorImpl Implementation of ClassInspector that can properly handle jre 1.5 generic types.
GenericsMethodSignatureImpl Implementation of MethodSignature that supports jdk 1.5 generic typing support.
HiveMindClassPool Used to ensure that ClassPool.appendClassPath(javassist.ClassPath) is invoked with a synchronized lock.
InitialValueBindingCreator Encapsulates information needed to construct an initial value binding for a specified property (with an initial value).
InjectAssetWorker Injects assets as component properties.
InjectBeanWorker Injects a property that will dynamically access a managed bean.
InjectComponentWorker Injects components for which the property attribute of the <component> element was specified.
InjectEventInvokerWorker Injects the component's event invoker as the eventInvokerproperty.
InjectListenerRegistrationWorker Checks to see if the component implements a specific interface, and adds code to the component's finishLoad() method to register (with the page) for such notifications.
InjectMessagesWorker Injects the read-only messagesproperty into all components.
InjectMetaWorker Injects meta data obtained via ComponentPropertySource (meaning that meta-data is searched for in the component's specification, then it's namespace (library or application specification), then the global application properties.
InjectObjectWorker Implementation for injection type "object" (the default).
InjectPageWorker Injects code to access a named page within the application.
InjectRenderWorker Injects the component's render worker chain as the renderWorkerproperty.
InjectScriptWorker Injects IScript instances directly into pages or components.
InjectSpecificationWorker Injects the component's specification as the specificationproperty.
InjectStateFlagWorker Injects a boolean property that indicates if a particular application state object already exists.
InjectStateWorker Worker for injecting application state objects as properties of the component.
InterfaceFabImpl  
JavaClassMapping  
MethodFabImpl Implementation of hivemind MethodFab utiltity.
MethodSignatureImpl JDK 1.4 based version of MethodSignature.
ParameterPropertyWorker Responsible for creating properties for connected parameters.
SpecifiedPropertyWorker Responsible for adding properties to a class corresponding to specified properties in the component's specification - which may come from .jwc / .page specifications or annotated abstract methods.
 

Package org.apache.tapestry.enhance Description

Classes used for performing dynamic bytecode enhancement of component and page classes.

Author:
Howard Lewis Ship hlship@apache.org


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.