Package org.apache.tapestry5.ioc.internal
package org.apache.tapestry5.ioc.internal
[INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.
-
ClassDescriptionBase class for service decorators and service advisors that work by invoking a module method.Abstract implementation of
ObjectCreator
geared towards the creation of the core service implementation, either by invoking a service builder method on a module, or by invoking a constructor.Abstract base class for implementations ofServiceDecorator
(i.e., old school) andServiceAdvisor
(i.e., new school).Equivalent ofInterceptorStackBuilder
, but works using anAspectInterceptorBuilder
that receives advice fromServiceAdvisor
s.Standard AnnotationAccess for a specific type.Defines the three types of configurations a service may request.A service creator based on an implementation class' constructor, rather than a service builder method.Starting from the Class for a module, identifies all the services (service builder methods), decorators (service decorator methods) and (not yet implemented) contributions (service contributor methods).Interface implemented by all service proxies.Used when matching identifiers.A wrapper around aGlobPatternMatcher
used to glob-match service ids.Responsible for constructing the interceptor stack, on demand, by invoking an ordered series of decorators (DecoratorDef
(which are converted intoServiceDecorator
s).Internal view of the module registry, adding additional methods needed by modules.Wrapper around a lifecycle, a set of resources for a service, and an underlyingObjectCreator
for a service that allows the service lifecycle to alter the way that the service is created (this is needed for the more advanced, non-singleton types of service lifecycles).Simple wrapper around SLF4J's LoggerFactory.A module within the Tapestry IoC registry.An object which can, when passed aServiceBuilderResources
, create a correspondingObjectCreator
.Base service locator class used when only the module is known (i.e., when instantiating a module class).An exception caught and reported by anOperationTracker
; the trace property identifies what operations were active at the time of the exception.Core implementation that manages a logger and catches and reports exception.Makes sure the operations tracker is notified knows that a service is being realized.A wrapper around a collection of IdMatchers.Manages a per-thread OperationTracker using a ThreadLocal.Minimal implementation used for testing, that does no logging, tracking, or exception catching.Decorator forObjectCreator
that ensures the service is only created once.A wrapper aroundInternalRegistry
that exists to expand symbols in a service id before invokingObjectLocator.getService(String, Class)
.Reloadable object creator for non-service objects.Responsible for creating aReloadableServiceImplementationObjectCreator
for a service implementation.Returns anObjectCreator
for lazily instantiating a given implementation class (with dependencies).Used to update the status of services defined by theServiceActivityScoreboard
.Basic implementation ofObjectCreator
that handles invoking a method on the module builder, and figures out the correct parameters to pass into the annotated method.A wrapper around a decorator method.Simple interface used when invoking a bind() method on a module class.Used in concert withSerializationSupport
to convert service tokens back into service proxies.Token that replaces a service proxy when the proxy is serialized.Implementation ofServiceBuilderResources
.The basic implementation of a service lifecycle, which simply uses theObjectCreator
to create an instance of the service when asked.A simplified version ofTypeCoercer
used to defer the instantiation of the actual TypeCoercer service until necessary.A proxy for theTypeCoercer
Wraps aCollection
as aConfiguration
and perform validation that collected value are of the correct type.A wrapper around a Map that provides theMappedConfiguration
interface, and provides two forms of validation for mapped configurations: If either key or value is null, then a warning is logged If the key has previously been stored (by some otherContributionDef
, then a warning is logged When a warning is logged, the key/value pair is not added to the delegate.Wraps aList
as aOrderedConfiguration
, implementing validation of values provided to anOrderedConfiguration
.