Package org.apache.tapestry5.ioc
package org.apache.tapestry5.ioc
A code-centric, high-performance, simple Inversion of Control container
-
ClassDescriptionDefinition of a service advisor, which (by default) is derived from a service advisor method.Extended version of
AdvisorDef
introduced to determine any module method annotated withAdvise
as an advisor method.Introduced for Tapestry 5.3, contains new methods to provide access to annotations on the class, and on methods of the class.Base implementation ofLocatable
.A matcher of fully qualified ids.Invokable<T>Similar toRunnable
except that it returns a value.Configuration symbols used by the IoC container.A collection of utility methods for a couple of different areas, including creating the initialRegistry
.IOOperation<T>An operation that, when performed, returns a value (likeInvokable
, but may throw anIOException
.A wrapper around SLF4J's LoggerFactory that exists to allow particular projects to "hook" the creation of Logger instances.Interface implemented by objects which need to disambiguate services with marker annotations.Interface used with service advisor methods to define advice.The source for the module instance needed by any service builders, service contributors and service decorators that are mapped to instance methods.Used to track some set of operations in such a way that a failure (a thrown RuntimeException) will be logged along with a trace of the stack of operations.Annotation to be be used in exception classes whose instances are not meant to be logged in OperationTracker.Orderable<T>A wrapper that allows objects of a target type to be ordered.Represents an order constraints forOrderedConfiguration
.Constructs order constraints forOrderedConfiguration
.Public access to the IoC service registry.Used to construct the IoCRegistry
.Optional interface that may be implemented by a service implementation (or even a proxy to give the service implementation more control over its lifecyle.Defines constants for built-in scopes (used with theScope
annotation.Provided by aAdvisorDef
to perform the advice (by invoking methods on aMethodAdviceReceiver
).Allows a module to bind service interfaces to service implementation classes in support of autobuilding services.Allows additional options for a service to be specified, overriding hard coded defaults or defaults from annotations on the service.A callback used to create a service implementation.ExtendsServiceResources
with additional methods needed only by the service builder method, related to accessing a service's configuration.A service decorator is derived from aDecoratorDef
and is responsible for building an interceptor around an existing implementation (called the "delegate").Allows certain types of lifecycles to control exactly how services are instantiated.Extension toServiceLifecycle
that adds an additional method.Contains resources that may be provided to a service when it initializes, which includes other services defined in the registry.