[INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.
Interface Summary Interface Description EagerLoadServiceProxyInterface implemented by all service proxies. InternalRegistryInternal view of the module registry, adding additional methods needed by modules. ModuleA module within the Tapestry IoC registry. ObjectCreatorSourceAn object which can, when passed a
ServiceBuilderResources, create a corresponding
ServiceActivityTrackerUsed to update the status of services defined by the
ServiceDefAccumulatorSimple interface used when invoking a bind() method on a module class. ServiceProxyProviderUsed in concert with
SerializationSupportto convert service tokens back into service proxies.
TypeCoercerProxyA simplified version of
TypeCoercerused to defer the instantiation of the actual TypeCoercer service until necessary.
Class Summary Class Description AbstractConfigurationImpl<T> AbstractMethodInvokingInstrumenterBase class for service decorators and service advisors that work by invoking a module method. AbstractReloadableObjectCreator AbstractServiceCreatorAbstract implementation of
ObjectCreatorgeared towards the creation of the core service implementation, either by invoking a service builder method on a module, or by invoking a constructor.
AbstractServiceInstrumenterAbstract base class for implementations of
ServiceDecorator(i.e., old school) and
ServiceAdvisor(i.e., new school).
AdvisorDefImpl AdvisorStackBuilderEquivalent of
InterceptorStackBuilder, but works using an
AspectInterceptorBuilderthat receives advice from
AnnotationAccessImplStandard AnnotationAccess for a specific type. ConstructorServiceCreatorA service creator based on an implementation class' constructor, rather than a service builder method. ContributionDefImpl DecoratorDefImpl DefaultModuleDefImplStarting 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). GlobPatternMatcherUsed when matching identifiers. IdMatcherImplA wrapper around a
GlobPatternMatcherused to glob-match service ids.
InterceptorStackBuilderResponsible for constructing the interceptor stack, on demand, by invoking an ordered series of decorators (
DecoratorDef(which are converted into
LifecycleWrappedServiceCreatorWrapper around a lifecycle, a set of resources for a service, and an underlying
ObjectCreatorfor 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).
LoggerSourceImplSimple wrapper around SLF4J's LoggerFactory. MappedConfigurationOverride<K,V> ModuleImpl ObjectLocatorImplBase service locator class used when only the module is known (i.e., when instantiating a module class). OperationTrackerImplCore implementation that manages a logger and catches and reports exception. OperationTrackingObjectCreatorMakes sure the operations tracker is notified knows that a service is being realized. OrIdMatcherA wrapper around a collection of IdMatchers. PerThreadOperationTrackerManages a per-thread OperationTracker using a ThreadLocal. QuietOperationTrackerMinimal implementation used for testing, that does no logging, tracking, or exception catching. RecursiveServiceCreationCheckWrapperDecorator for
ObjectCreatorthat ensures the service is only created once.
RegistryImpl RegistryWrapperA wrapper around
InternalRegistrythat exists to expand symbols in a service id before invoking
ReloadableObjectCreatorReloadable object creator for non-service objects. ReloadableObjectCreatorSourceResponsible for creating a
ReloadableServiceImplementationObjectCreatorfor a service implementation.
ObjectCreatorfor lazily instantiating a given implementation class (with dependencies).
ServiceActivityTrackerImpl ServiceActivityTrackerImpl.MutableServiceActivity ServiceAdvisorImpl ServiceBinderImpl ServiceBuilderMethodInvokerBasic implementation of
ObjectCreatorthat handles invoking a method on the module builder, and figures out the correct parameters to pass into the annotated method.
ServiceDecoratorImplA wrapper around a decorator method. ServiceDefImpl ServiceProxyTokenToken that replaces a service proxy when the proxy is serialized. ServiceResourcesImplImplementation of
SingletonServiceLifecycleThe basic implementation of a service lifecycle, which simply uses the
ObjectCreatorto create an instance of the service when asked.
StartupDefImpl TypeCoercerProxyImplA proxy for the
Configurationand perform validation that collected value are of the correct type.
ValidatingMappedConfigurationWrapper<K,V>A wrapper around a Map that provides the
MappedConfigurationinterface, 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 other
ContributionDef, then a warning is logged When a warning is logged, the key/value pair is not added to the delegate.
OrderedConfiguration, implementing validation of values provided to an
Enum Summary Enum Description ConfigurationTypeDefines the three types of configurations a service may request.
Exception Summary Exception Description OperationExceptionAn exception caught and reported by an
OperationTracker; the trace property identifies what operations were active at the time of the exception.