Package org.apache.tapestry5.internal.services

Interface Summary
ActionRenderResponseGenerator Used to produce the normal response to an action request: a redirect to a particular page.
AjaxPartialResponseRenderer Used to render portions of a page as part of an Ajax request.
AssetResourceLocator Responsible for converting a path (from AssetDispatcher into a Resource that can be streamed to the client.
ClientPersistentFieldStorage Describes an object that can store PersistentFieldChanges, and manage a query parameter stored into a Link to maining this data across requests.
ComponentClassCache A cache for converting between class names and component (or other) classes.
ComponentClassTransformer Encapsulates all the work performed by the ComponentInstantiatorSource when it loads and transforms a class.
ComponentInstantiatorSource Creates Instantiators for components, based on component class name.
ComponentMessagesSource Used to connect a Tapestry component to its message catalog.
ComponentModelSource Access to component models (as provided via ComponentInstantiatorSource).
ComponentResourcesOperation A kind of callback that can easily be injected into a transformed class to perform complex work.
ComponentTemplateSource Provides access to cached ComponentTemplates.
CookieSink You can write cookies to it.
CookieSource Provides the cookies from the browser.
DocumentLinker Responsible for injecting script and style links into the <head> and <body> element of the rendered HTML document.
EndOfRequestEventHub Manages request notifications for the EndOfRequestListener interface.
Instantiator An object that can instantiate a component.
InternalClassTransformation Extends ClassTransformation with additional methods that may only be used internally by Tapestry.
InternalRequestGlobals Stores global per-request data internal to the framework.
LinkSource A source for Link objects.
MessagesBundle Represents a bundle of properties files that can be used to collect properties that are eventually used to form a Messages.
MessagesSource  
PageActivationContextCollector Fires the EventConstants.PASSIVATE event on a page, and collects the result, converting it to an array of objects.
PageContentTypeAnalyzer  
PageElementFactory Used by the PageLoader to create partialar page elements.
PageLoader Instantiates a fully loaded, configured instance of a Tapestry page.
PageMarkupRenderer Service used to render page markup using a MarkupWriter.
PagePool Provides access to pages, creating them as necessary, and pooling them between requests.
PageRenderQueue A wrapper around RenderQueue, but referencable as a (per-thread) service.
PageResponseRenderer Service responsible for writing a full page markup response.
PageTemplateLocator Responsible for locating page templates in the web application context.
PersistentFieldManager Handle persistent property changes.
RequestEncodingInitializer Determines the reuest encoding for the given page and applies that to the request, so that parameters may be properly decoded.
RequestPageCache Per-thread service that caches page instances for the duration of the request, and is also responsible for tracking the active page (the page which will ultimately render the response).
RequestPathOptimizer Used to optimize a path for inclusion in the rendered output of the page.
RequestSecurityManager Used to manage the relationship between the security of a request and the security of a page.
ResourceCache Caches information about resources on the classpath.
ResourceStreamer Responsible for streaming the contents of a resource to the client.
StreamableResource Abstracts around a Resource to allow access to the resource's content either compressed on uncompressed.
StringInterner Creates "interned" strings that are unique for the same content.
StringProvider Interface used when assembling an attribute value that contains expansions.
TemplateParser Parses a resource into a ComponentTemplate.
VirtualAssetStreamer Used by VirtualAssetDispatcher to do most of the work of locating, assembling, compressing and caching of combined (virtual) assets.
 

Class Summary
AbstractAsset Base class for assets.
AbstractComponentMethodInvocation  
AbstractInstantiator Abstract base class for instantiators; for each component, a new subclass is created at runtime.
AbstractSessionPersistentFieldStrategy Base class for strategies that store their values as keys in the session.
ActionRenderResponseGeneratorImpl Simply uses the LinkSource to generate a link which is then Response.sendRedirect(org.apache.tapestry5.Link) sent as a redirect}.
AjaxComponentEventRequestHandler Similar to ComponentEventRequestHandlerImpl, but built around the Ajax request cycle, where the action request sends back an immediate JSON response containing the new content.
AjaxComponentInstanceEventResultProcessor Performs a partial page render based on a root component.
AjaxFilter A filter that intercepts Ajax-oriented requests, thos that originate on the client-side using XmlHttpRequest.
AjaxLinkComponentEventResultProcessor Handles Link result types by building a JSON response with key "redirectURL".
AjaxPageClassComponentEventResultProcessor Processes a Class result by converting the Class to a logical page name, then processing that.
AjaxPageNameComponentEventResultProcessor A ComponentEventResultProcessor, used for Ajax requests, for a String value that is interpreted as a logical page name.
AjaxPartialResponseRendererImpl  
AliasImpl  
AliasManagerImpl  
AnnotationDataTypeAnalyzer Checks for the DataType annotation, returning its value if present.
ApplicationGlobalsImpl  
ApplicationStackTraceElementAnalyzer Identifies frames for application classes.
ApplicationStateManagerImpl  
ApplicationStatePersistenceStrategySourceImpl  
ArrayEventContext Simple implementation of EventContext.
AssetDispatcher Recognizes requests where the path begins with "/asset/" and delivers the content therein as a bytestream.
AssetInjectionProvider Performs injection of assets, based on the presence of the Path annotation.
AssetObjectProvider Exposes assets (in the current locale).
AssetResourceLocatorImpl  
AssetSourceImpl  
AttributeExpansionBinding Wraps a StringProvider as a read-only Binding.
BasePropertyConduit Base class for PropertyConduit instances created by the PropertyConduitSource.
BaseURLSourceImpl  
BeanBlockOverrideSourceImpl  
BeanBlockSourceImpl  
BeanModelSourceImpl  
BindingSourceImpl  
BlockInjectionProvider Identifies fields of type Block that have the Inject annotation and converts them into read-only fields containing the injected Block from the template.
CheckForUpdatesFilter Implements a barrier that periodically asks the UpdateListenerHub to check for updates to files.
ClasspathAssetAliasManagerImpl  
ClasspathAssetFactory Generates Assets for files on the classpath.
ClassResultProcessor Used when a component event handler returns a class value.
ClientBehaviorSupportImpl  
ClientDataEncoderImpl  
ClientDataSinkImpl  
ClientInfrastructureImpl The default Javascript Stack consists of Prototype, Scriptaculous & the Tapestry-specific library.
ClientPersistentFieldStorageImpl Manages client-persistent values on behalf of a ClientPersistentFieldStorageImpl.
ClientPersistentFieldStrategy Implements simple client-persistent properties.
CoercingPropertyConduitWrapper  
CommonResourcesInjectionProvider Allows for a number of anonymous injections based on the type of field that is to be injected.
ComponentClassCacheImpl  
ComponentClassResolverImpl  
ComponentClassTransformerImpl Implementation of ComponentClassTransformer.
ComponentDefaultProviderImpl  
ComponentEventDispatcher Processes component action events sent as requests from the client.
ComponentEventImpl  
ComponentEventLinkEncoderImpl  
ComponentEventLinkEncoderMethodAdvice Advices ComponentEventLinkEncoder.createComponentEventLink(org.apache.tapestry5.services.ComponentEventRequestParameters, boolean) and ComponentEventLinkEncoder.createPageRenderLink(org.apache.tapestry5.services.PageRenderRequestParameters) to rewrites the returned links using URLRewriter.
ComponentEventRequestHandlerImpl  
ComponentInstanceResultProcessor  
ComponentInstantiatorSourceImpl A wrapper around a Javassist class loader that allows certain classes to be modified as they are loaded.
ComponentMessagesSourceImpl  
ComponentMethodInvocationInfo A companion to AbstractComponentMethodInvocation that stores most of the method and advice information needed.
ComponentModelSourceImpl  
ComponentRequestHandlerTerminator Terminator for the ComponentRequestHandler pipeline, that feeds out into the ComponentEventRequestHandler and PageRenderRequestHandler pipelines.
ComponentResourcesInjectionProvider Allows for the injection of the component's ComponentResources.
ComponentResultProcessorWrapper A wrapper around ComponentEventResultProcessor that encapsulates capturing the exception.
ComponentSourceImpl  
ComponentTemplateSourceImpl Service implementation that manages a cache of parsed component templates.
CompositeFieldValidator Aggregates together a number of field validator instances as a single unit.
ConstructorArg Stores transformation type data about one argument to a class constructor.
ContextAssetFactory Implementation of AssetFactory for assets that are part of the web application context.
ContextImpl  
ContextPathEncoderImpl  
ContextResource A resource stored with in the web application context.
ContextValueEncoderImpl  
CookiesImpl Implementation of the Cookies service interface.
DefaultDataTypeAnalyzer The default data type analyzer, which is based entirely on the type of the property (and not on annotations or naming conventions).
DefaultInjectionProvider Worker for the Inject annotation that delegates out to the master MasterObjectProvider to access the value.
DefaultRequestExceptionHandler Default implementation of RequestExceptionHandler that displays the standard ExceptionReport page.
DefaultSessionPersistedObjectAnalyzer Default catch-all implementation of SessionPersistedObjectAnalyzer.
DocumentLinkerImpl  
EmptyClientInfrastructure Used for Ajax responses to provide an empty stack (since, by definition, the client must already have the base stack).
EndOfRequestEventHubImpl  
EnumValueEncoderFactory<E extends Enum<E>> Factory that provides a configured instance of EnumValueEncoder.
EnvironmentalShadowBuilderImpl  
EnvironmentImpl A non-threadsafe implementation (expects to use the "perthread" service lifecyle).
EventImpl  
FieldTranslatorImpl<T>  
FieldTranslatorSourceImpl  
FieldValidationSupportImpl  
FieldValidatorDefaultSourceImpl  
FieldValidatorImpl  
FieldValidatorSourceImpl  
FlashPersistentFieldStrategy The "flash" strategy stores data inside the session, just like SessionPersistentFieldStrategy, but also removes the values from the session on first use.
GenericValueEncoderFactory<V> An implementation of ValueEncoderFactory that returns a pre-wired instance of ValueEncoder.
HeartbeatImpl  
HiddenFieldLocationRulesImpl  
IdentityAssetPathConverter Returns the default asset path unchanged.
IgnoredPathsFilter  
ImmediateActionRenderResponseFilter  
ImmediateActionRenderResponseGenerator Alternative implementation, used when SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS is set to true.
InjectionKey Used with InternalClassTransformation to search for prior injections of a give type and value.
InternalClassTransformationImpl Implementation of the InternalClassTransformation interface.
InternalModule TapestryModule has gotten too complicated and it is nice to demarkate public (and stable) from internal (and volatile).
InternalRequestGlobalsImpl  
JSONArrayEventResultProcessor  
JSONObjectEventResultProcessor Implemention of ComponentEventResultProcessor for JSONObject, allowing a component event handler to return a JSONObject that will be sent directly to the client as the reply.
LinkImpl  
LinkSourceImpl  
LiteralPropertyConduit A PropertyConduit for a literal value in an expression, such as a number, or "true", "false" or "null".
LocalizationSetterImpl Given a set of supported locales, for a specified desired locale, sets the current thread's locale to a supported locale that is closest to the desired.
MapMessages Implementation of Messages based on a simple Map (of string keys and values).
MarkupRendererTerminator Terminator for the [@link MarkupRenderer} pipeline, which exists to invoke PageRenderQueue.render(org.apache.tapestry5.MarkupWriter).
MarkupWriterFactoryImpl  
MarkupWriterImpl  
MessagesSourceImpl A utility class that encapsulates all the logic for reading properties files and assembling Messages from them, in accordance with extension rules and locale.
MetaDataLocatorImpl  
NullFieldStrategySourceImpl  
ObjectComponentEventResultProcessor A catch-all for type Object that reports the return value as an error.
OptimizedApplicationStateObjectAnalyzer  
OptimizedSessionPersistedObjectAnalyzer  
PageActivationContextCollectorImpl  
PageContentTypeAnalyzerImpl  
PageDocumentGeneratorImpl  
PageElementFactoryImpl  
PageLocator Used as a key to lookup a page from the PagePool.
PageMarkupRendererImpl  
PageNameComponentEventResultProcessor Used when a component event handler returns a string value.
PagePoolImpl Registered as an invalidation listener with the page loader, the component messages source, and the component template source.
PageRenderDispatcher Dispatches incoming requests for render requests.
PageRenderLinkSourceImpl  
PageRenderQueueImpl This services keeps track of the page being rendered and the root command for the partial render, it is therefore request/thread scoped.
PageRenderRequestHandlerImpl Handles a page render request by activating and then rendering the page.
PageResponseRendererImpl  
PageTemplateLocatorImpl  
PartialMarkupDocumentLinker  
PartialMarkupRendererTerminator Terminator for the PartialMarkupRenderer pipeline, which ultimately invokes PageRenderQueue.renderPartial(org.apache.tapestry5.MarkupWriter, org.apache.tapestry5.json.JSONObject).
PersistentFieldBundleImpl  
PersistentFieldChangeImpl  
PersistentFieldManagerImpl  
PersistentLocaleImpl  
PrefixCheckStackTraceElementAnalyzer Checks to see if a class has a given prefix to its class name.
PropertyConduitSourceImpl  
ProxiesStackTraceElementAnalyzer Identifies frames for various proxy classes (class name starts with a '$' and there's no line number.
RenderCommandComponentEventResultProcessor Processor for objects that implement RenderCommand (such as BlockImpl).
RenderQueueImpl  
RenderSupportImpl  
RequestConstants Constants used when processing requests from the client web browser.
RequestErrorFilter Filter for the RequestHandler pipeline used to intercept and report exceptions.
RequestGlobalsImpl Dumb data holder for per-request data.
RequestImpl Basic implementation of Request that wraps around an HttpServletRequest.
RequestPageCacheImpl  
RequestPathOptimizerImpl  
RequestSecurityManagerImpl  
ResourceCacheImpl  
ResourceDigestGeneratorImpl Implementation of ResourceDigestGenerator that generates MD5 digests.
ResourceStreamerImpl  
ResponseCompressionAnalyzerImpl  
ResponseImpl Implementation of Response that wraps around an underlying HttpServletResponse.
ResponseRendererImpl  
RestoreDirtySessionObjects A listener that invokes Session.restoreDirtyObjects().
RootPathDispatcher Recognizes a request for the application root (i.e., "/") and handles this the same as a render request for the "Start" page.
ServiceAnnotationObjectProvider Adds support for the Service annotation (which can be applied to fields or parameters), which is used to disambiguate injection when multiple services implement the same service interface.
ServiceInjectionProvider A very late worker related to the Inject annotation that, when all other forms of injection have failed, matches the field type to a service interface.
SessionApplicationStatePersistenceStrategy Stores ASOs in the Session, which will be created as necessary.
SessionImpl A thin wrapper around HttpSession.
SessionPersistentFieldStrategy A strategy for storing persistent page properties into the session.
StaticFilesFilter Identifies requests that are for actual resource files in the context.
StaxTemplateParser Implementation of TemplateParser based on the Streaming API for XML.
StreamableResourceImpl  
StreamResponseResultProcessor  
StringInternerImpl  
StringValueEncoder Passes the string value from the server to the client and vice-versa without any translation.
TemplateParserImpl Responsible for acquiring a StAX reader and configuring an instance of StaxTemplateParser, which does all the real work.
TranslatorSourceImpl  
TypeCoercedValueEncoderFactory Provides ValueEncoder instances that are backed by the TypeCoercer service.
UpdateListenerHubImpl  
URLEncoderImpl  
URLRewriterImpl Default URLRewriter implementation.
URLRewriterRequestFilter RequestFilter that applies the URL rewriting rules to requests.
ValidationConstraintGeneratorImpl  
ValidationMessagesSourceImpl  
ValueEncoderSourceImpl  
VirtualAssetDispatcher  
VirtualAssetStreamerImpl This implementation uses ResourceCache, but is also a listener of invalidation events from ResourceCache.
 

Exception Summary
MethodCompileException Exception thrown when a method body fails to compile; this will allow the method body to be displayed to the user on the request failure page.
PropertyExpressionException Exception thrown when there is a problem parsing a property expression using the ANTLR property expression grammar.
RenderQueueException Exception used when rendering, to capture the stack of active components (for propery reporting in the exception page).
TransformationException Exception thrown when there is a failure transforming a class, or instantiating a transformed class.
 

Annotation Types Summary
ComponentInstanceProcessor Marker for ComponentEventResultProcessor to identify the particular implementation used for handling Component instances (i.e., pages).
Invariant Special annotation that is applied to literal PropertyConduits, to inform PropBinding that the value is, in fact, invariant.
 



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