A B C D E F G H I J K L M N O P Q R S T U V W

A

AbstractConfigurationImpl<T> - Class in org.apache.tapestry5.ioc.internal
 
AbstractConfigurationImpl(Class<T>, ObjectLocator) - Constructor for class org.apache.tapestry5.ioc.internal.AbstractConfigurationImpl
 
AbstractFab - Class in org.apache.tapestry5.ioc.internal.services
Base class for ClassFabImpl.
AbstractFab(CtClassSource, CtClass, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
AbstractInvocation - Class in org.apache.tapestry5.ioc.internal.services
Base class for Invocation, which is extended with a dynamically generated class generated for each individual class and method.
AbstractInvocation(MethodInfo) - Constructor for class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
AbstractMessages - Class in org.apache.tapestry5.ioc.util
Abstract implementation of Messages that doesn't know where values come from (that information is supplied in a subclass, via the AbstractMessages.valueForKey(String) method).
AbstractMessages(Locale) - Constructor for class org.apache.tapestry5.ioc.util.AbstractMessages
 
AbstractMethodInvokingInstrumenter - Class in org.apache.tapestry5.ioc.internal
Based class for service decorators and service advisors that work by invoking a module method.
AbstractMethodInvokingInstrumenter(ModuleBuilderSource, Method, ServiceResources, ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter
 
AbstractReloadableObjectCreator - Class in org.apache.tapestry5.ioc.internal
 
AbstractReloadableObjectCreator(ClassLoader, String, Logger, OperationTracker) - Constructor for class org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
 
AbstractResource - Class in org.apache.tapestry5.ioc.internal.util
Abstract implementation of Resource.
AbstractResource(String) - Constructor for class org.apache.tapestry5.ioc.internal.util.AbstractResource
 
AbstractServiceCreator - Class in org.apache.tapestry5.ioc.internal
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.
AbstractServiceCreator(ServiceBuilderResources, String) - Constructor for class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
 
AbstractServiceInstrumenter - Class in org.apache.tapestry5.ioc.internal
Abstract base class for implementations of ServiceDecorator (i.e., old school) and ServiceAdvisor (i.e., new school).
AbstractServiceInstrumenter(Method, String[], String[], Class, Set<Class>, ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
AccessableObjectAnnotationProvider - Class in org.apache.tapestry5.ioc.internal.services
Provides access to annotations of an accessable object such as a Method or Field.
AccessableObjectAnnotationProvider(AccessibleObject) - Constructor for class org.apache.tapestry5.ioc.internal.services.AccessableObjectAnnotationProvider
 
add(T) - Method in interface org.apache.tapestry5.ioc.Configuration
Adds an object to the service's contribution.
add(Orderable<T>) - Method in class org.apache.tapestry5.ioc.internal.util.IdToDependencyNode
Adds an object to be ordered.
add(String, T, String...) - Method in class org.apache.tapestry5.ioc.internal.util.IdToDependencyNode
Adds an object to be ordered.
add(Orderable<T>) - Method in class org.apache.tapestry5.ioc.internal.util.Orderer
Adds an object to be ordered.
add(String, T, String...) - Method in class org.apache.tapestry5.ioc.internal.util.Orderer
Adds an object to be ordered.
add(URL) - Method in class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Stores a new URL into the tracker, or returns the previous time stamp for a previously added URL.
add(T) - Method in class org.apache.tapestry5.ioc.internal.ValidatingConfigurationWrapper
 
add(K, V) - Method in class org.apache.tapestry5.ioc.internal.ValidatingMappedConfigurationWrapper
 
add(String, T, String...) - Method in class org.apache.tapestry5.ioc.internal.ValidatingOrderedConfigurationWrapper
 
add(K, V) - Method in interface org.apache.tapestry5.ioc.MappedConfiguration
Adds a keyed object to the service's contribution.
add(String, T, String...) - Method in interface org.apache.tapestry5.ioc.OrderedConfiguration
Adds an ordered object to a service's contribution.
add(ModuleDef) - Method in class org.apache.tapestry5.ioc.RegistryBuilder
Adds a ModuleDef to the registry, returning the builder for further configuration.
add(Class...) - Method in class org.apache.tapestry5.ioc.RegistryBuilder
Adds a number of modules (as module classes) to the registry, returning the builder for further configuration.
add(String) - Method in class org.apache.tapestry5.ioc.RegistryBuilder
Adds a modle class (specified by fully qualified class name) to the registry, returning the builder for further configuration.
add(String, Object...) - Method in class org.apache.tapestry5.ioc.util.BodyBuilder
Adds text to the current line, without ending the line.
addAdvice(MethodAdvice) - Method in class org.apache.tapestry5.ioc.internal.services.AdvisedMethodInvocationBuilder
 
addClassLoaderIfNeeded(ClassLoader) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryClassPool
Convienience method for adding to the ClassPath for a particular class loader.
addConstructor(Class[], Class[], String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
addConstructor(Class[], Class[], String) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Adds a constructor to the class.
addDefaultModules(RegistryBuilder) - Static method in class org.apache.tapestry5.ioc.IOCUtilities
Scans the classpath for JAR Manifests that contain the Tapestry-Module-Classes attribute and adds each corresponding class to the RegistryBuilder.
addField(String, Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
addField(String, int, Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
addField(String, Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Adds a new field with the given name and type.
addField(String, int, Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Adds a new field with the provided modifiers.
addInstance(Class<? extends T>) - Method in interface org.apache.tapestry5.ioc.Configuration
Automatically instantiates an instance of the class, with dependencies injected, and adds it to the configuration.
addInstance(Class<? extends T>) - Method in class org.apache.tapestry5.ioc.internal.ValidatingConfigurationWrapper
 
addInstance(K, Class<? extends V>) - Method in class org.apache.tapestry5.ioc.internal.ValidatingMappedConfigurationWrapper
 
addInstance(String, Class<? extends T>, String...) - Method in class org.apache.tapestry5.ioc.internal.ValidatingOrderedConfigurationWrapper
 
addInstance(K, Class<? extends V>) - Method in interface org.apache.tapestry5.ioc.MappedConfiguration
Adds a keyed object as an instantiated instance (with dependencies injected) of a class.
addInstance(String, Class<? extends T>, String...) - Method in interface org.apache.tapestry5.ioc.OrderedConfiguration
Adds an ordered object by instantiating (with dependencies) the indicated class.
addInterface(Class) - Method in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
addInterface(Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Adds the specified interface as an interface implemented by this class.
addLazyMethodInvocationAdvice(MethodAdviceReceiver) - Method in class org.apache.tapestry5.ioc.internal.services.LazyAdvisorImpl
 
addLazyMethodInvocationAdvice(MethodAdviceReceiver) - Method in interface org.apache.tapestry5.ioc.services.LazyAdvisor
 
addln(String, Object...) - Method in class org.apache.tapestry5.ioc.util.BodyBuilder
Adds text to the current line and ends the line.
addLoggingAdvice(Logger, MethodAdviceReceiver) - Method in class org.apache.tapestry5.ioc.internal.services.LoggingAdvisorImpl
 
addLoggingAdvice(Logger, MethodAdviceReceiver) - Method in interface org.apache.tapestry5.ioc.services.LoggingAdvisor
Adds logging advice to all methods of the object.
addMethod(int, MethodSignature, String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
addMethod(int, MethodSignature, String) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Adds a method.
addNoOpMethod(MethodSignature) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
addNoOpMethod(MethodSignature) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Adds a public no-op method.
addRegistryShutdownListener(RegistryShutdownListener) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
addRegistryShutdownListener(RegistryShutdownListener) - Method in class org.apache.tapestry5.ioc.internal.services.RegistryShutdownHubImpl
 
addRegistryShutdownListener(RegistryShutdownListener) - Method in interface org.apache.tapestry5.ioc.services.RegistryShutdownHub
Adds a listener for eventual notification.
addServiceDef(ServiceDef) - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
addServiceDef(ServiceDef) - Method in interface org.apache.tapestry5.ioc.internal.ServiceDefAccumulator
 
addThreadCleanupListener(ThreadCleanupListener) - Method in class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
 
addThreadCleanupListener(ThreadCleanupListener) - Method in interface org.apache.tapestry5.ioc.services.PerthreadManager
Adds a listener to the hub.
addToMapList(Map<K, List<V>>, K, V) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Adds a value to a specially organized map where the values are lists of objects.
addToString(String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
addToString(String) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Adds an implementation of toString, as a method that returns a fixed string.
addUpdateListener(UpdateListener) - Method in class org.apache.tapestry5.ioc.internal.services.UpdateListenerHubImpl
 
addUpdateListener(UpdateListener) - Method in interface org.apache.tapestry5.services.UpdateListenerHub
Adds a listener.
Advise - Annotation Type in org.apache.tapestry5.ioc.annotations
An annotation that may be placed on a advisor method of a module.
advise(MethodAdviceReceiver) - Method in class org.apache.tapestry5.ioc.internal.ServiceAdvisorImpl
Invokes the configured method, passing the builder.
advise(Invocation) - Method in class org.apache.tapestry5.ioc.internal.services.LoggingAdvice
 
advise(Invocation) - Method in interface org.apache.tapestry5.ioc.MethodAdvice
Allows the Aspect to advise the invocation.
advise(MethodAdviceReceiver) - Method in interface org.apache.tapestry5.ioc.ServiceAdvisor
Passed the reciever, allows the code (usually a method on a module class) to advice some or all methods.
adviseAllMethods(MethodAdvice) - Method in class org.apache.tapestry5.ioc.internal.services.AspectInterceptorBuilderImpl
 
adviseAllMethods(MethodAdvice) - Method in interface org.apache.tapestry5.ioc.MethodAdviceReceiver
Advises all methods of the interface with the given advice.
AdvisedMethodInvocationBuilder - Class in org.apache.tapestry5.ioc.internal.services
Manages a single method of an advised service, responsible for constructing a subclass of AbstractInvocation.
AdvisedMethodInvocationBuilder(ClassFactory, Class, Method) - Constructor for class org.apache.tapestry5.ioc.internal.services.AdvisedMethodInvocationBuilder
 
adviseMethod(Method, MethodAdvice) - Method in class org.apache.tapestry5.ioc.internal.services.AspectInterceptorBuilderImpl
 
adviseMethod(Method, MethodAdvice) - Method in interface org.apache.tapestry5.ioc.MethodAdviceReceiver
Adds advice for a specific method of the aspect interceptor being constructed.
AdvisorDef - Interface in org.apache.tapestry5.ioc
Definition of a service advisor, which (by default) is derived from a service advisor method.
AdvisorDef2 - Interface in org.apache.tapestry5.ioc
Extended version of AdvisorDef introduced to determine any module method annotated with Advise as an advisor method.
AdvisorDefImpl - Class in org.apache.tapestry5.ioc.internal
 
AdvisorDefImpl(Method, String[], String[], ClassFactory, String, Class, Set<Class>) - Constructor for class org.apache.tapestry5.ioc.internal.AdvisorDefImpl
 
AdvisorStackBuilder - Class in org.apache.tapestry5.ioc.internal
Equivalent of InterceptorStackBuilder, but works using an AspectInterceptorBuilder that receives advice from ServiceAdvisors.
AdvisorStackBuilder(ServiceDef, ObjectCreator, AspectDecorator, InternalRegistry) - Constructor for class org.apache.tapestry5.ioc.internal.AdvisorStackBuilder
 
after(String) - Method in class org.apache.tapestry5.ioc.OrderConstraint
Adds an after:id constraint.
after(String) - Static method in class org.apache.tapestry5.ioc.OrderConstraintBuilder
Adds an after:id constraint.
afterAll() - Method in class org.apache.tapestry5.ioc.OrderConstraint
Adds an after:* constraint.
afterAll() - Static method in class org.apache.tapestry5.ioc.OrderConstraintBuilder
Adds an after:* constraint.
allocateId(String) - Method in class org.apache.tapestry5.ioc.util.IdAllocator
Allocates the id.
analyze(Throwable) - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionAnalyzerImpl
 
analyze(Throwable) - Method in interface org.apache.tapestry5.ioc.services.ExceptionAnalyzer
 
AnnotationMemberValueVisitor - Class in org.apache.tapestry5.ioc.internal.services
 
AnnotationMemberValueVisitor(ConstPool, CtClassSource, Object) - Constructor for class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
AnnotationProvider - Interface in org.apache.tapestry5.ioc
A source of annotations.
AnnotationProviderChain - Class in org.apache.tapestry5.ioc.internal.services
Chain of command for AnnotationProvider.
AnnotationProviderChain(AnnotationProvider[]) - Constructor for class org.apache.tapestry5.ioc.internal.services.AnnotationProviderChain
 
ApplicationDefaults - Annotation Type in org.apache.tapestry5.ioc.services
Used to disambiguate which version of SymbolProvider is being referenced.
asClass(Type) - Static method in class org.apache.tapestry5.ioc.internal.util.GenericsUtils
 
AspectDecorator - Interface in org.apache.tapestry5.ioc.services
A decorator used to create an interceptor that delegates each method's invocation to an MethodAdvice for advice.
AspectDecoratorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
AspectDecoratorImpl(ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.services.AspectDecoratorImpl
 
AspectInterceptorBuilder<T> - Interface in org.apache.tapestry5.ioc.services
A builder may be obtained from the AspectDecorator and allows more controlled creation of the created interceptor; it allows different methods to be given different advice, and allows methods to be omitted (in which case the method invocation passes through without advice).
AspectInterceptorBuilderImpl<T> - Class in org.apache.tapestry5.ioc.internal.services
 
AspectInterceptorBuilderImpl(ClassFactory, Class<T>, T, String) - Constructor for class org.apache.tapestry5.ioc.internal.services.AspectInterceptorBuilderImpl
 
assertArraysEqual(T[], T...) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Convenience for TestUtils.assertListsEquals(List, List).
assertListsEquals(List<T>, List<T>) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Compares two lists for equality; first all the elements are individually compared for equality (if the lists are of unequal length, only elements up to the shorter length are compared).
assertListsEquals(List<T>, T...) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Convenience for TestUtils.assertListsEquals(List, List).
assertMessageContains(Throwable, String...) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Asserts that the message property of the throwable contains each of the provided substrings.
asString(Method, ClassFactory) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Converts a method to a user presentable string using a ClassFactory to obtain a Location (where possible).
asString(Method) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Converts a method to a user presentable string consisting of the containing class name, the method name, and the short form of the parameter list (the class name of each parameter type, shorn of the package name portion).
autobuild(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ObjectLocatorImpl
 
autobuild(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ObjectLocatorImpl
 
autobuild(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
autobuild(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
autobuild(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
autobuild(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
autobuild(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
autobuild(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
autobuild(Class<T>) - Method in interface org.apache.tapestry5.ioc.ObjectLocator
Autobuilds a class by finding the public constructor with the most parameters.
autobuild(String, Class<T>) - Method in interface org.apache.tapestry5.ioc.ObjectLocator
Preferred version of ObjectLocator.autobuild(Class) that tracks the operation using OperationTracker.invoke(String, Invokable).
AutobuildObjectProvider - Class in org.apache.tapestry5.ioc.internal.services
Checks for the Autobuild annotation and, if so invokes ObjectLocator.autobuild(Class) on it.
AutobuildObjectProvider() - Constructor for class org.apache.tapestry5.ioc.internal.services.AutobuildObjectProvider
 
AvailableValues - Class in org.apache.tapestry5.ioc.util
Used (as part of a UnknownValueException to identify what available values are present.
AvailableValues(String, Collection<?>) - Constructor for class org.apache.tapestry5.ioc.util.AvailableValues
 
AvailableValues(String, Map<?, ?>) - Constructor for class org.apache.tapestry5.ioc.util.AvailableValues
 

B

BaseLocatable - Class in org.apache.tapestry5.ioc
Base implementation of Locatable.
BaseLocatable(Location) - Constructor for class org.apache.tapestry5.ioc.BaseLocatable
 
before(String) - Method in class org.apache.tapestry5.ioc.OrderConstraint
Adds a before:id constraint.
before(String) - Static method in class org.apache.tapestry5.ioc.OrderConstraintBuilder
Adds a before:id constraint.
beforeAll() - Method in class org.apache.tapestry5.ioc.OrderConstraint
Adds a before:* constraint.
beforeAll() - Static method in class org.apache.tapestry5.ioc.OrderConstraintBuilder
Adds a before:* constraint.
begin() - Method in class org.apache.tapestry5.ioc.util.BodyBuilder
Begins a new block.
bind(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
bind(Class<T>, ServiceBuilder<T>) - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
bind(Class<T>, Class<? extends T>) - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
bind(Class<T>) - Method in interface org.apache.tapestry5.ioc.ServiceBinder
Defines a service in terms of an implementation class, without a service interface.
bind(Class<T>, ServiceBuilder<T>) - Method in interface org.apache.tapestry5.ioc.ServiceBinder
Alternative implementation that supports a callback to build the service, rather than instantiating a particular class.
bind(Class<T>, Class<? extends T>) - Method in interface org.apache.tapestry5.ioc.ServiceBinder
Binds the service interface to a service implementation class.
bind(ServiceBinder) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
 
BodyBuilder - Class in org.apache.tapestry5.ioc.util
Utility class for assembling the body used with Javassist when defining a method or constructor.
BodyBuilder() - Constructor for class org.apache.tapestry5.ioc.util.BodyBuilder
 
build(Class<T>, T, MethodAdvice, String) - Method in class org.apache.tapestry5.ioc.internal.services.AspectDecoratorImpl
 
build() - Method in class org.apache.tapestry5.ioc.internal.services.AspectInterceptorBuilderImpl
 
build(Class<T>, List<T>) - Method in class org.apache.tapestry5.ioc.internal.services.ChainBuilderImpl
 
build(Class<T>, T, String, Logger) - Method in class org.apache.tapestry5.ioc.internal.services.LoggingDecoratorImpl
 
build(Logger, Class<S>, Class<F>, List<F>) - Method in class org.apache.tapestry5.ioc.internal.services.PipelineBuilderImpl
 
build(Logger, Class<S>, Class<F>, List<F>, S) - Method in class org.apache.tapestry5.ioc.internal.services.PipelineBuilderImpl
 
build(Object, String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl
 
build(StrategyRegistry<S>) - Method in class org.apache.tapestry5.ioc.internal.services.StrategyBuilderImpl
 
build(Class<S>, Map<Class, S>) - Method in class org.apache.tapestry5.ioc.internal.services.StrategyBuilderImpl
 
build() - Method in class org.apache.tapestry5.ioc.OrderConstraint
Returns all constraints as array of strings.
build() - Method in class org.apache.tapestry5.ioc.RegistryBuilder
Constructs and returns the registry; this may only be done once.
build(Class<T>, T, MethodAdvice, String) - Method in interface org.apache.tapestry5.ioc.services.AspectDecorator
Intercepts method invocations on the delegate and passes them through the provided aspect.
build() - Method in interface org.apache.tapestry5.ioc.services.AspectInterceptorBuilder
Builds and returns the interceptor.
build(Class<T>, List<T>) - Method in interface org.apache.tapestry5.ioc.services.ChainBuilder
Creates a chain instance from a command interface and a list of commands (implementing the interface).
build(Class<T>, T, String, Logger) - Method in interface org.apache.tapestry5.ioc.services.LoggingDecorator
Builds a logging interceptor instance.
build(Logger, Class<S>, Class<F>, List<F>, S) - Method in interface org.apache.tapestry5.ioc.services.PipelineBuilder
Creates a pipeline from the filters and a terminator.
build(Logger, Class<S>, Class<F>, List<F>) - Method in interface org.apache.tapestry5.ioc.services.PipelineBuilder
Creates a pipeline from just the filters.
build(Object, String, Class<T>) - Method in interface org.apache.tapestry5.ioc.services.PropertyShadowBuilder
 
build(StrategyRegistry<S>) - Method in interface org.apache.tapestry5.ioc.services.StrategyBuilder
Given a number of adapters implementing the service interface, builds a "dispatcher" implementations that delegates to the one of the adapters.
build(Class<S>, Map<Class, S>) - Method in interface org.apache.tapestry5.ioc.services.StrategyBuilder
 
build(Map<String, ServiceLifecycle>) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
Provides access to additional service lifecycles.
buildAndStartupRegistry(ModuleDef, Class...) - Static method in class org.apache.tapestry5.ioc.RegistryBuilder
Constructs the registry, adds a ModuleDef and a number of modules (as module classes) to the registry and performs registry startup.
buildAndStartupRegistry(Class...) - Static method in class org.apache.tapestry5.ioc.RegistryBuilder
Constructs the registry, adds a number of modules (as module classes) to the registry and performs registry startup.
buildDefaultRegistry() - Static method in class org.apache.tapestry5.ioc.IOCUtilities
Construct a default Registry, including modules identifed via the Tapestry-Module-Classes Manifest entry.
buildDeferredExecution(int, int, int, boolean, PerthreadManager, RegistryShutdownHub, ThunkCreator) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
 
buildMessage(Object, String) - Static method in class org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl
 
buildRegistry(Class...) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
Builds a Registry for the provided modules; caller should shutdown the Registry when done.
buildService(ServiceResources) - Method in interface org.apache.tapestry5.ioc.ServiceBuilder
Construct the service.
Builtin - Annotation Type in org.apache.tapestry5.ioc.services
Marks services provided by this module that may need to be unambiguously referenced.

C

CachingObjectCreator - Class in org.apache.tapestry5.ioc.internal.services
An ObjectCreator that delegates to another ObjectCreator and caches the result.
CachingObjectCreator(ObjectCreator) - Constructor for class org.apache.tapestry5.ioc.internal.services.CachingObjectCreator
 
calculateParameters(ObjectLocator, InjectionResources, Class[], Type[], Annotation[][], OperationTracker) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
calculateParametersForConstructor(Constructor, ObjectLocator, InjectionResources, OperationTracker) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
calculateParametersForMethod(Method, ObjectLocator, InjectionResources, OperationTracker) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
capitalize(String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Capitalizes a string, converting the first character to uppercase.
CaseInsensitiveMap<V> - Class in org.apache.tapestry5.ioc.util
An mapped collection where the keys are always strings and access to values is case-insensitive.
CaseInsensitiveMap() - Constructor for class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
CaseInsensitiveMap(int) - Constructor for class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
CaseInsensitiveMap(Map<String, ? extends V>) - Constructor for class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
castReference(String, String) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Takes a reference and casts it to the desired type.
ChainBuilder - Interface in org.apache.tapestry5.ioc.services
A service which can assemble an implementation based on a command interface, and an ordered list of objects implementing that interface (the "commands").
ChainBuilderImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ChainBuilderImpl(ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.services.ChainBuilderImpl
 
check() - Method in class org.apache.tapestry5.ioc.internal.util.OneShotLock
Checks to see if the lock has been set (via OneShotLock.lock()).
checkForUpdates() - Method in class org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
 
checkForUpdates() - Method in interface org.apache.tapestry5.services.UpdateListener
Invoked to force the receiver to check for updates to whatever underlying resources it makes use of.
ClassFab - Interface in org.apache.tapestry5.ioc.services
Used when fabricating a new class.
ClassFabImpl - Class in org.apache.tapestry5.ioc.internal.services
Implementation of ClassFab.
ClassFabImpl(CtClassSource, CtClass, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
ClassFabUtils - Class in org.apache.tapestry5.ioc.services
Handy method useful when creating new classes using ClassFab.
ClassFabUtils() - Constructor for class org.apache.tapestry5.ioc.services.ClassFabUtils
 
classFactory - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
ClassFactory - Interface in org.apache.tapestry5.ioc.services
Service used when dynamically creating new classes.
ClassFactoryClassPool - Class in org.apache.tapestry5.ioc.internal.services
Used to ensure that ClassPool.appendClassPath(javassist.ClassPath) is invoked within a synchronized lock, and also handles tricky class loading issues (caused by the creation of classes, and class loaders, at runtime).
ClassFactoryClassPool(ClassLoader) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassFactoryClassPool
 
ClassFactoryImpl - Class in org.apache.tapestry5.ioc.internal.services
Implementation of ClassFactory.
ClassFactoryImpl(ClassLoader) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
ClassFactoryImpl() - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
ClassFactoryImpl(ClassLoader, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
Main constructor where a specific class loader and log is provided.
ClassFactoryImpl(ClassLoader, ClassFactoryClassPool, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
Special constructor used when the class pool is provided externally.
ClassFactoryImpl(ClassLoader, ClassFactoryClassPool, CtClassSource, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
ClassNameLocator - Interface in org.apache.tapestry5.ioc.services
Scans the classpath for top-level classes within particular packages.
ClassNameLocatorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ClassNameLocatorImpl(ClasspathURLConverter) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassNameLocatorImpl
 
ClasspathResource - Class in org.apache.tapestry5.ioc.internal.util
Implementation of Resource for files on the classpath (as defined by a ClassLoader).
ClasspathResource(String) - Constructor for class org.apache.tapestry5.ioc.internal.util.ClasspathResource
 
ClasspathResource(ClassLoader, String) - Constructor for class org.apache.tapestry5.ioc.internal.util.ClasspathResource
 
ClasspathResourceSymbolProvider - Class in org.apache.tapestry5.ioc.internal.services
Makes a Resource on the classpath available as a SymbolProvider
ClasspathResourceSymbolProvider(String) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClasspathResourceSymbolProvider
 
ClasspathURLConverter - Interface in org.apache.tapestry5.ioc.services
Used by ClassNameLocator to convert URLs from one protocol to another.
ClasspathURLConverterImpl - Class in org.apache.tapestry5.ioc.internal.services
Default implementation that returns the URLs unchanged.
ClasspathURLConverterImpl() - Constructor for class org.apache.tapestry5.ioc.internal.services.ClasspathURLConverterImpl
 
ClassPropertyAdapter - Interface in org.apache.tapestry5.ioc.services
Organizes all PropertyAdapters for a particular class.
ClassPropertyAdapterImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ClassPropertyAdapterImpl(Class, List<PropertyDescriptor>) - Constructor for class org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
 
cleanup() - Method in class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
Instructs the hub to notify all its listeners (for the current thread).
cleanup() - Method in interface org.apache.tapestry5.ioc.services.PerthreadManager
Immediately performs a cleanup of the thread, notifying all listeners then discarding the thread locale and the map it stores.
cleanup() - Method in class org.apache.tapestry5.ioc.test.MockTester
Invoked after an individual unit test (i.e., a test method invocation) to discard the mock control.
cleanupThread() - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
cleanupThread() - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
cleanupThread() - Method in interface org.apache.tapestry5.ioc.Registry
Invoked at the end of a request to discard any thread-specific information accumulated during the current request.
clear() - Method in class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Clears all URL and timestamp data stored in the tracker.
clear() - Method in class org.apache.tapestry5.ioc.util.BodyBuilder
Clears the builder, returning it to its initial, empty state.
clear() - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
clear() - Method in class org.apache.tapestry5.ioc.util.IdAllocator
Clears the allocator, resetting it to freshly allocated state.
clear() - Method in class org.apache.tapestry5.ioc.util.Stack
Clears the stack, the same as popping off all elements.
clearCache() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl
Clears the cache of adapters and asks the Introspector to clear its cache.
clearCache() - Method in class org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl
 
clearCache() - Method in interface org.apache.tapestry5.ioc.services.PropertyAccess
Discards all stored property access information, discarding all created class adapters.
clearCache() - Method in interface org.apache.tapestry5.ioc.services.TypeCoercer
Clears cached information stored by the TypeCoercer.
clearCache() - Method in class org.apache.tapestry5.ioc.util.StrategyRegistry
 
clone() - Method in class org.apache.tapestry5.ioc.util.IdAllocator
Creates a clone of this IdAllocator instance, copying the allocator's namespace and key map.
close(Closeable) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
coerce(S) - Method in class org.apache.tapestry5.ioc.internal.services.CompoundCoercion
 
coerce(Object, Class) - Method in class org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl
 
coerce(S) - Method in interface org.apache.tapestry5.ioc.services.Coercion
Converts an input value.
coerce(S, Class<T>) - Method in interface org.apache.tapestry5.ioc.services.TypeCoercer
Performs a coercion from an input type to a desired output type.
Coercion<S,T> - Interface in org.apache.tapestry5.ioc.services
Responsible for converting from one type to another.
CoercionTuple<S,T> - Class in org.apache.tapestry5.ioc.services
An immutable object that represents a mapping from one type to another.
CoercionTuple(Class<S>, Class<T>, Coercion<S, T>) - Constructor for class org.apache.tapestry5.ioc.services.CoercionTuple
Standard constructor, which defaults wrap to true.
CoercionTuple(Class<S>, Class<T>, Coercion<S, T>, boolean) - Constructor for class org.apache.tapestry5.ioc.services.CoercionTuple
Internal-use constructor.
collectEagerLoadServices(Collection<EagerLoadServiceProxy>) - Method in interface org.apache.tapestry5.ioc.internal.Module
Locates services with the EagerLoad annotation and generates proxies for them, then adds them to the proxies list for instantiation.
collectEagerLoadServices(Collection<EagerLoadServiceProxy>) - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
CollectionFactory - Class in org.apache.tapestry5.ioc.internal.util
Static factory methods to ease the creation of new collection types (when using generics).
CollectionFactory() - Constructor for class org.apache.tapestry5.ioc.internal.util.CollectionFactory
 
commit(ClassFab, String, ConstantInjector) - Method in class org.apache.tapestry5.ioc.internal.services.AdvisedMethodInvocationBuilder
Invoked at the end of construction of the interceptor to intercept the method invocation and hook it into the advice.
CompoundCoercion<S,I,T> - Class in org.apache.tapestry5.ioc.internal.services
Combines two coercions to create a coercsion through an intermediate type.
CompoundCoercion(Coercion<S, I>, Coercion<I, T>) - Constructor for class org.apache.tapestry5.ioc.internal.services.CompoundCoercion
 
ConcurrentBarrier - Class in org.apache.tapestry5.ioc.internal.util
A barrier used to execute code in a context where it is guarded by read/write locks.
ConcurrentBarrier() - Constructor for class org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier
 
Configuration<T> - Interface in org.apache.tapestry5.ioc
Object passed into a service contributor method that allows the method provide contributed values to the service's configuration.
ConfigurationType - Enum in org.apache.tapestry5.ioc.internal
Defines the three types of configurations a service may request.
ConstantInjector - Interface in org.apache.tapestry5.ioc.internal.services
Used to inject constants into fields via the constructor.
ConstantInjectorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ConstantInjectorImpl(ClassFab) - Constructor for class org.apache.tapestry5.ioc.internal.services.ConstantInjectorImpl
 
constraints - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
constructCreator(ServiceBuilderResources) - Method in interface org.apache.tapestry5.ioc.internal.ObjectCreatorSource
Provides an ObjectCreator that can be used to ultimately instantiate the core service implementation.
constructCreator(ServiceBuilderResources) - Method in class org.apache.tapestry5.ioc.internal.ReloadableObjectCreatorSource
 
ConstructorServiceCreator - Class in org.apache.tapestry5.ioc.internal
A service creator based on an implementation class' constructor, rather than a service builder method.
ConstructorServiceCreator(ServiceBuilderResources, String, Constructor) - Constructor for class org.apache.tapestry5.ioc.internal.ConstructorServiceCreator
 
contains(String) - Method in interface org.apache.tapestry5.ioc.Messages
Returns true if the bundle contains the named key.
contains(String) - Method in class org.apache.tapestry5.ioc.util.AbstractMessages
 
containsChanges() - Method in class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Re-acquires the last updated timestamp for each URL and returns true if any timestamp has changed.
containsKey(Object) - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
containsSymbols(String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Return true if the input string contains the marker for symbols that must be expanded.
Contribute - Annotation Type in org.apache.tapestry5.ioc.annotations
An annotation that may be placed on a contributor method of a module.
contribute(ModuleBuilderSource, ServiceResources, Configuration) - Method in interface org.apache.tapestry5.ioc.def.ContributionDef
Performs the work needed to contribute into the standard, unordered configuration.
contribute(ModuleBuilderSource, ServiceResources, OrderedConfiguration) - Method in interface org.apache.tapestry5.ioc.def.ContributionDef
Performs the work needed to contribute into the ordered configuration.
contribute(ModuleBuilderSource, ServiceResources, MappedConfiguration) - Method in interface org.apache.tapestry5.ioc.def.ContributionDef
Performs the work needed to contribute into the mapped configuration.
contribute(ModuleBuilderSource, ServiceResources, Configuration) - Method in class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
contribute(ModuleBuilderSource, ServiceResources, OrderedConfiguration) - Method in class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
contribute(ModuleBuilderSource, ServiceResources, MappedConfiguration) - Method in class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
ContributionDef - Interface in org.apache.tapestry5.ioc.def
Contribution to a service configuration.
ContributionDef2 - Interface in org.apache.tapestry5.ioc.def
Extended version of ContributionDef introduced to determine any module method annotated with Contribute as a contributor method.
ContributionDefImpl - Class in org.apache.tapestry5.ioc.internal
 
ContributionDefImpl(String, Method, ClassFactory, Class, Set<Class>) - Constructor for class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
convert(URL) - Method in class org.apache.tapestry5.ioc.internal.services.ClasspathURLConverterImpl
 
convert(URL) - Method in interface org.apache.tapestry5.ioc.services.ClasspathURLConverter
Passed a URL provided by ClassLoader.getResources(String) to check to see if can be converted.
copyClassAnnotationsFromDelegate(Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
copyClassAnnotationsFromDelegate(Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Copies annotations from delegate class to the fabricated class.
copyMethodAnnotationsFromDelegate(Class, Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
copyMethodAnnotationsFromDelegate(Class, Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Copies method annotations from delegate class to the methods of the fabricated class.
create(List<AnnotationProvider>) - Static method in class org.apache.tapestry5.ioc.internal.services.AnnotationProviderChain
Creates an AnnotationProvider from the list of providers.
create(Class<S>, Class<T>, Coercion<S, T>) - Static method in class org.apache.tapestry5.ioc.services.CoercionTuple
Convenience constructor to help with generics.
create(Class<T>, Object...) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Creates a new instance of the object using its default constructor, and initializes it (via TestUtils.set(Object, Object[])).
createAdvisor(ModuleBuilderSource, ServiceResources) - Method in interface org.apache.tapestry5.ioc.AdvisorDef
Creates an object that can provide the service advice (in the default case, by invoking the advise method on the module class or instance).
createAdvisor(ModuleBuilderSource, ServiceResources) - Method in class org.apache.tapestry5.ioc.internal.AdvisorDefImpl
 
createBuilder(Class<T>, T, String) - Method in class org.apache.tapestry5.ioc.internal.services.AspectDecoratorImpl
 
createBuilder(Class<T>, T, String) - Method in interface org.apache.tapestry5.ioc.services.AspectDecorator
Creates a builder that can be used to create the interceptor.
createClass() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
createClass(CtClass) - Method in interface org.apache.tapestry5.ioc.internal.services.CtClassSource
Used after constructing the CtClass fully, to convert it into a Class ready to be instantiated.
createClass(CtClass) - Method in class org.apache.tapestry5.ioc.internal.services.CtClassSourceImpl
 
createClass() - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Invoked last to create the class.
createDecorator(ModuleBuilderSource, ServiceResources) - Method in interface org.apache.tapestry5.ioc.def.DecoratorDef
Creates an object that can perform the decoration (in the default case, by invoking the decorator method on the module class or instance.
createDecorator(ModuleBuilderSource, ServiceResources) - Method in class org.apache.tapestry5.ioc.internal.DecoratorDefImpl
 
createDefaultImplementation(Class<S>) - Method in class org.apache.tapestry5.ioc.internal.services.DefaultImplementationBuilderImpl
 
createDefaultImplementation(Class<S>) - Method in interface org.apache.tapestry5.ioc.services.DefaultImplementationBuilder
Creates a new implementation of the provided interface.
createInjectionResources() - Method in class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
Returns a map (based on injectionResources) that includes (possibly) an additional mapping containing the collected configuration data.
createInstance(Class) - Method in class org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
Invoked when an instance of the class is needed.
createInstance(Class) - Method in class org.apache.tapestry5.ioc.internal.ReloadableObjectCreator
 
createInstance(Class) - Method in class org.apache.tapestry5.ioc.internal.ReloadableServiceImplementationObjectCreator
 
createInterceptor(Object) - Method in class org.apache.tapestry5.ioc.internal.ServiceDecoratorImpl
 
createInterceptor(Object) - Method in interface org.apache.tapestry5.ioc.ServiceDecorator
Creates a new interceptor object implementing the same service interface as the delegate object.
createMemberName(String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Strips leading characters defined by InternalUtils.NAME_PREFIX, then adds the prefix back in.
createObject() - Method in class org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
 
createObject() - Method in class org.apache.tapestry5.ioc.internal.AdvisorStackBuilder
 
createObject() - Method in class org.apache.tapestry5.ioc.internal.ConstructorServiceCreator
 
createObject() - Method in class org.apache.tapestry5.ioc.internal.InterceptorStackBuilder
 
createObject() - Method in class org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator
Passes the resources and the service creator through the ServiceLifecycle.
createObject() - Method in class org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator
 
createObject() - Method in class org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper
We could make this method synchronized, but in the context of creating a service for a proxy, it will already be synchronized (inside the proxy).
createObject() - Method in class org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker
Invoked from the proxy to create the actual service implementation.
createObject() - Method in class org.apache.tapestry5.ioc.internal.services.CachingObjectCreator
 
createObject() - Method in class org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator
Checks to see if the proxy has been shutdown, then invokes ObjectCreator.createObject() if it has not already done so.
createObject() - Method in class org.apache.tapestry5.ioc.internal.services.PerThreadServiceCreator
For each thread, the first call will use the delegate ObjectCreator to create an instance, and later calls will reuse the same per-thread instance.
createObject() - Method in interface org.apache.tapestry5.ioc.ObjectCreator
Create and return the object.
createObjectCreatorProxy(ClassFab, Class<T>, ObjectCreator, String) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Deprecated. Use ClassFactory.createProxy(Class, ObjectCreator, String) instead
createProxy(Class<T>, ObjectCreator, String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
createProxy(Class<T>, Class<? extends T>, ObjectCreator, String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
createProxy(Class<T>, ObjectCreator, String) - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Creates a proxy for an interface.
createProxy(Class<T>, Class<? extends T>, ObjectCreator, String) - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Creates a proxy for an interface.
createService(ServiceResources, ObjectCreator) - Method in class org.apache.tapestry5.ioc.internal.services.PerThreadServiceLifecycle
 
createService(ServiceResources, ObjectCreator) - Method in class org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle
 
createService(ServiceResources, ObjectCreator) - Method in interface org.apache.tapestry5.ioc.ServiceLifecycle
Returns the same creator, or a new one, that encapsulates the creation of the core service implementation.
createServiceCreator(ServiceBuilderResources) - Method in interface org.apache.tapestry5.ioc.def.ServiceDef
Returns an ObjectCreator that can create the core service implementation.
createServiceCreator(ServiceBuilderResources) - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
createThunk(Class<T>, ObjectCreator, String) - Method in class org.apache.tapestry5.ioc.internal.services.ThunkCreatorImpl
 
createThunk(Class<T>, ObjectCreator, String) - Method in interface org.apache.tapestry5.ioc.services.ThunkCreator
Creates a Thunk of the given proxy type.
createValue() - Method in class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
 
createValue() - Method in interface org.apache.tapestry5.ioc.services.PerthreadManager
Creates a value using a unique internal key.
creatorDescription - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
 
CtClassSource - Interface in org.apache.tapestry5.ioc.internal.services
Used when generating new classes on the fly.
CtClassSourceImpl - Class in org.apache.tapestry5.ioc.internal.services
Wrapper around Javassist's ClassPool that manages the creation of new instances of CtClass and converts finished CtClass's into instantiable Classes.
CtClassSourceImpl(ClassFactoryClassPool, ClassLoader) - Constructor for class org.apache.tapestry5.ioc.internal.services.CtClassSourceImpl
 

D

Decorate - Annotation Type in org.apache.tapestry5.ioc.annotations
An annotation that may be placed on a decorator method of a module.
DecoratorDef - Interface in org.apache.tapestry5.ioc.def
Definition of a service decorator, which (by default) is derived from a service decorator method.
DecoratorDef2 - Interface in org.apache.tapestry5.ioc.def
Extended version of DecoratorDef introduced to determine any module method annotated with Decorate as a decorator method.
DecoratorDefImpl - Class in org.apache.tapestry5.ioc.internal
 
DecoratorDefImpl(Method, String[], String[], ClassFactory, String, Class, Set<Class>) - Constructor for class org.apache.tapestry5.ioc.internal.DecoratorDefImpl
 
DEFAULT - Static variable in class org.apache.tapestry5.ioc.ScopeConstants
The default scope is a singleton within the Registry.
DEFAULT_CONVERTER - Static variable in class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
 
DEFAULT_SCOPE - Static variable in class org.apache.tapestry5.ioc.IOCConstants
Deprecated. Use ScopeConstants.DEFAULT instead. To be removed after Tapestry 5.2.
DefaultImplementationBuilder - Interface in org.apache.tapestry5.ioc.services
Creates default implementatons of a class.
DefaultImplementationBuilderImpl - Class in org.apache.tapestry5.ioc.internal.services
 
DefaultImplementationBuilderImpl(ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.services.DefaultImplementationBuilderImpl
 
DefaultModuleDefImpl - Class in org.apache.tapestry5.ioc.internal
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).
DefaultModuleDefImpl(Class<?>, Logger, ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
define(ServiceDef, Status) - Method in interface org.apache.tapestry5.ioc.internal.ServiceActivityTracker
Defines a service in the tracker with an initial status.
define(ServiceDef, Status) - Method in class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl
 
DelegatingInjectionResources - Class in org.apache.tapestry5.ioc.internal.util
Chain of command for InjectionDefaultProvider.
DelegatingInjectionResources(InjectionResources, InjectionResources) - Constructor for class org.apache.tapestry5.ioc.internal.util.DelegatingInjectionResources
 
discardMockControl() - Method in class org.apache.tapestry5.ioc.test.TestBase
Discards any mock objects created during the test.
DummyLock - Class in org.apache.tapestry5.ioc.internal.util
Acts like a Lock but all operations are no-ops.
DummyLock() - Constructor for class org.apache.tapestry5.ioc.internal.util.DummyLock
 
duplicateMethodInClass(MethodSignature, ClassFabImpl) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 

E

EagerLoad - Annotation Type in org.apache.tapestry5.ioc.annotations
Marker annotation placed on a service builder method to indicate that the service should be eagerly loaded: realized as if a service method had been invoked.
eagerLoad() - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
eagerLoad() - Method in interface org.apache.tapestry5.ioc.ServiceBindingOptions
Turns eager loading on for this service.
eagerLoadService() - Method in interface org.apache.tapestry5.ioc.internal.EagerLoadServiceProxy
 
eagerLoadService() - Method in class org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator
Invokes JustInTimeObjectCreator.createObject() to force the creation of the underlying service.
EagerLoadServiceProxy - Interface in org.apache.tapestry5.ioc.internal
Interface implemented by all service proxies.
end() - Method in class org.apache.tapestry5.ioc.util.BodyBuilder
Ends the current block.
entry(Invocation) - Method in class org.apache.tapestry5.ioc.internal.services.MethodLogger
Invoked when a method is first entered
entrySet() - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
equals(Object) - Method in class org.apache.tapestry5.ioc.internal.util.ClasspathResource
 
equals(Object) - Method in class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
equals(Object) - Method in class org.apache.tapestry5.ioc.services.MethodSignature
Returns true if the other object is an instance of MethodSignature with identical values for return type, name, parameter types and exception types.
equals(Object) - Method in class org.apache.tapestry5.ioc.util.TimeInterval
 
ExceptionAnalysis - Interface in org.apache.tapestry5.ioc.services
An analysis of an exception (including nested exceptions).
ExceptionAnalysisImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ExceptionAnalysisImpl(List<ExceptionInfo>) - Constructor for class org.apache.tapestry5.ioc.internal.services.ExceptionAnalysisImpl
 
ExceptionAnalyzer - Interface in org.apache.tapestry5.ioc.services
Analyzes an exception, providing an analysis.
ExceptionAnalyzerImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ExceptionAnalyzerImpl(PropertyAccess) - Constructor for class org.apache.tapestry5.ioc.internal.services.ExceptionAnalyzerImpl
 
ExceptionInfo - Interface in org.apache.tapestry5.ioc.services
Contains information about an analyzed exception.
ExceptionInfoImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ExceptionInfoImpl(Throwable, Map<String, Object>, List<StackTraceElement>) - Constructor for class org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
 
exceptionLogged(Throwable) - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionTrackerImpl
 
exceptionLogged(Throwable) - Method in interface org.apache.tapestry5.ioc.services.ExceptionTracker
Returns true if the indicated exception has already been logged (it is assumed that the exception will be logged if this method returns false).
ExceptionTracker - Interface in org.apache.tapestry5.ioc.services
Used by LoggingDecorator to track which exceptions have been logged during the current request (the ExceptionTracker is perthread).
ExceptionTrackerImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ExceptionTrackerImpl() - Constructor for class org.apache.tapestry5.ioc.internal.services.ExceptionTrackerImpl
 
ExceptionUtils - Class in org.apache.tapestry5.ioc.util
Contains static methods useful for manipulating exceptions.
ExceptionUtils() - Constructor for class org.apache.tapestry5.ioc.util.ExceptionUtils
 
exists() - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
Simple check for whether Resource.toURL() returns null or not.
exists() - Method in interface org.apache.tapestry5.ioc.Resource
Returns true if the resource exists; if a stream to the content of the file may be openned.
exists() - Method in interface org.apache.tapestry5.ioc.services.PerThreadValue
Is a value stored (even null)?
exit(Invocation) - Method in class org.apache.tapestry5.ioc.internal.services.MethodLogger
Invoked when a method exits (possibly returning a value).
expandSymbols(String) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Given an input string that may contain symbols, returns the string with any and all symbols fully expanded.
expandSymbols(String) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
expandSymbols(String) - Method in class org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl
 
expandSymbols(String) - Method in interface org.apache.tapestry5.ioc.services.SymbolSource
Given an input string that may contain symbols, returns the string with any and all symbols fully expanded.
expect(T) - Static method in class org.apache.tapestry5.ioc.test.TestBase
Convienience for EasyMock.expect(Object).
explain(Class<S>, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl
 
explain(Class<S>, Class<T>) - Method in interface org.apache.tapestry5.ioc.services.TypeCoercer
Used primarily inside test suites, this method performs the same steps as TypeCoercer.coerce(Object, Class), but returns a string describing the series of coercision, such as "Object --> String --> Long --> Integer".
extractActualType(Type, Field) - Static method in class org.apache.tapestry5.ioc.internal.util.GenericsUtils
 
extractActualType(Type, Method) - Static method in class org.apache.tapestry5.ioc.internal.util.GenericsUtils
 
extractGenericFieldType(Class, Field) - Static method in class org.apache.tapestry5.ioc.internal.util.GenericsUtils
Analyzes the field in the context of a particular concrete implementation of the class to establish the generic type of a (public) field.
extractGenericReturnType(Class, Method) - Static method in class org.apache.tapestry5.ioc.internal.util.GenericsUtils
Analyzes the method (often defined in a base class) in the context of a particular concrete implementation of the class to establish the generic type of a property.
extraFilterMethod(MethodSignature, Class, Class) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 

F

FactoryDefaults - Annotation Type in org.apache.tapestry5.ioc.services
Used to disambiguate which version of SymbolProvider is being referenced.
fail(Invocation, Throwable) - Method in class org.apache.tapestry5.ioc.internal.services.MethodLogger
Invoked when method invocation instead throws an exception.
failedCoercion(Object, Class, Coercion, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
FieldValueConduit - Interface in org.apache.tapestry5.ioc.services
Used as a replacement for a field.
FilterMethodAnalyzer - Class in org.apache.tapestry5.ioc.internal.services
Used by PipelineBuilderImpl to analyze service interface methods against filter interface methods to find the position of the extra service parameter (in the filter method).
findAdvisorsForService(ServiceDef) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Searches for advisors for a particular service, returning them in order of application.
findAdvisorsForService(ServiceDef) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
findAnnotation(Annotation[], Class<T>) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Finds a specific annotation type within an array of annotations.
findAutobuildConstructor(Class) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Searches a class for the "best" constructor, the public constructor with the most parameters.
findCause(Throwable, Class<T>) - Static method in class org.apache.tapestry5.ioc.util.ExceptionUtils
Locates a particular type of exception, working its way via the cause property of each exception in the exception stack.
findDecoratorsForService(ServiceDef) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Searches for decorators for a particular service.
findDecoratorsForService(ServiceDef) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
findMatchingDecoratorDefs(ServiceDef) - Method in interface org.apache.tapestry5.ioc.internal.Module
Iterates over any decorator definitions defined by the module and returns those that apply to the provided service definition.
findMatchingDecoratorDefs(ServiceDef) - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
findMatchingServiceAdvisors(ServiceDef) - Method in interface org.apache.tapestry5.ioc.internal.Module
Iterates over any advisor definitions defined by the module and returns those that apply to the provided service definition.
findMatchingServiceAdvisors(ServiceDef) - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
findMethod(Class, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
findMethod(Object, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
findMethod(String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
findResource(Class<T>, Type) - Method in class org.apache.tapestry5.ioc.internal.util.DelegatingInjectionResources
 
findResource(Class<T>, Type) - Method in interface org.apache.tapestry5.ioc.internal.util.InjectionResources
Given the field type, provide the matching resource value, or null.
findResource(Class<T>, Type) - Method in class org.apache.tapestry5.ioc.internal.util.MapInjectionResources
 
findResource(Class<T>, Type) - Method in class org.apache.tapestry5.ioc.internal.util.WrongConfigurationTypeGuard
 
findServiceIdsForInterface(Class) - Method in interface org.apache.tapestry5.ioc.internal.Module
Locates the ids of all services that implement the provided service interface, or whose service interface is assignable to the provided service interface (is a super-class or super-interface).
findServiceIdsForInterface(Class) - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
findServiceInterfacePosition(MethodSignature, MethodSignature) - Method in class org.apache.tapestry5.ioc.internal.services.FilterMethodAnalyzer
 
finish() - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
fireCheckForUpdates() - Method in class org.apache.tapestry5.ioc.internal.services.UpdateListenerHubImpl
Notifies all UpdateListeners.
fireCheckForUpdates() - Method in interface org.apache.tapestry5.services.UpdateListenerHub
Invoked periodically to allow services to check if underlying state has changed.
fireRegistryDidShutdown() - Method in class org.apache.tapestry5.ioc.internal.services.RegistryShutdownHubImpl
Fires the RegistryShutdownListener.registryDidShutdown() method on each listener.
flush() - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
forceChange() - Method in class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Needed for testing; changes file timestamps so that a change will be detected by URLChangeTracker.containsChanges().
forClass(Class) - Static method in class org.apache.tapestry5.ioc.internal.util.MessagesImpl
Finds the messages for a given Messages utility class.
forFile(String) - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
 
forFile(String) - Method in interface org.apache.tapestry5.ioc.Resource
Returns a Resource based on a relative path, relative to the folder containing the resource.
forLocale(Locale) - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
 
forLocale(Locale) - Method in interface org.apache.tapestry5.ioc.Resource
Returns a localized version of the resource.
format(Object...) - Method in class org.apache.tapestry5.ioc.internal.util.MessageFormatterImpl
 
format(Object...) - Method in interface org.apache.tapestry5.ioc.MessageFormatter
Formats the message.
format(String, Object...) - Method in interface org.apache.tapestry5.ioc.Messages
Convienience for accessing a formatter and formatting a localized message with arguments.
format(String, Object...) - Method in class org.apache.tapestry5.ioc.util.AbstractMessages
 

G

generateClassName(String) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Generates a unique class name, which will be in the default package.
generateClassName(Class) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Returns a class name derived from the provided interfaceClass.
GenericsUtils - Class in org.apache.tapestry5.ioc.internal.util
Static methods related to the use of JDK 1.5 generics.
GenericsUtils() - Constructor for class org.apache.tapestry5.ioc.internal.util.GenericsUtils
 
get(Object, String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
 
get(Object) - Method in class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
 
get(Object, String) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl
 
get(Object) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
get(Map<K, V>, K) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Gets a value from a map (which may be null).
get(String) - Method in interface org.apache.tapestry5.ioc.Messages
Returns the localized message for the given key.
get(Object, String) - Method in interface org.apache.tapestry5.ioc.services.ClassPropertyAdapter
Reads the value of a property.
get() - Method in interface org.apache.tapestry5.ioc.services.FieldValueConduit
Reads the current value of the field.
get(Object) - Method in interface org.apache.tapestry5.ioc.services.PerthreadManager
Deprecated. use PerthreadManager.createValue() instead
get() - Method in interface org.apache.tapestry5.ioc.services.PerThreadValue
Reads the current per-thread value, or returns null if no value has been stored.
get(T) - Method in interface org.apache.tapestry5.ioc.services.PerThreadValue
Gets the current per-thread value if it exists (even if null), or the defaultValue if no value has been stored.
get(Object, String) - Method in interface org.apache.tapestry5.ioc.services.PropertyAccess
Reads the value of a property.
get(Object) - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Reads the property value.
get(String) - Method in interface org.apache.tapestry5.ioc.services.ServiceLifecycleSource
Used to locate a configuration lifecycle, by name.
get(Object, String) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Reads the content of a private field.
get(String) - Method in class org.apache.tapestry5.ioc.util.AbstractMessages
 
get(Object) - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
get(Class) - Method in class org.apache.tapestry5.ioc.util.StrategyRegistry
Searches for an adapter corresponding to the given input type.
getAdapter(Object) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl
 
getAdapter(Class) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl
 
getAdapter(Object) - Method in interface org.apache.tapestry5.ioc.services.PropertyAccess
Returns the adapter for a particular object instance.
getAdapter(Class) - Method in interface org.apache.tapestry5.ioc.services.PropertyAccess
Returns the adapter used to access properties within the indicated class.
getAdapterType() - Method in class org.apache.tapestry5.ioc.util.StrategyRegistry
 
getAdvice(int) - Method in class org.apache.tapestry5.ioc.internal.services.MethodInfo
 
getAdviceCount() - Method in class org.apache.tapestry5.ioc.internal.services.MethodInfo
 
getAdvisorDefs() - Method in interface org.apache.tapestry5.ioc.def.ModuleDef2
Returns all the service advisor definitions built/provided by this module.
getAdvisorDefs() - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
getAdvisorId() - Method in interface org.apache.tapestry5.ioc.AdvisorDef
Returns the id of the advisor, which is derived from the advisor method name.
getAdvisorId() - Method in class org.apache.tapestry5.ioc.internal.AdvisorDefImpl
 
getAllocatedIds() - Method in class org.apache.tapestry5.ioc.util.IdAllocator
Returns a list of all allocated ids, sorted alphabetically.
getAnnotation(Class<T>) - Method in interface org.apache.tapestry5.ioc.AnnotationProvider
Searches for the specified annotation, returning the matching annotation instance.
getAnnotation(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.NullAnnotationProvider
Always returns null.
getAnnotation(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.services.AccessableObjectAnnotationProvider
 
getAnnotation(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationProviderChain
 
getAnnotation(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getAvailableValues() - Method in exception org.apache.tapestry5.ioc.util.UnknownValueException
 
getBeanType() - Method in class org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
 
getBeanType() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getBeanType() - Method in interface org.apache.tapestry5.ioc.services.ClassPropertyAdapter
Returns the type of bean this adapter provides properties for.
getBeanType() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns the type of bean to which this property belongs.
getBuilderClass() - Method in interface org.apache.tapestry5.ioc.def.ModuleDef
Returns the class that will be instantiated.
getBuilderClass() - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
getByInstance(Object) - Method in class org.apache.tapestry5.ioc.util.StrategyRegistry
Gets an adapter for an object.
getClassAdapter() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getClassAdapter() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns the ClassPropertyAdapter that provides access to other properties defined by the same class.
getClassLoader() - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
getClassLoader() - Method in class org.apache.tapestry5.ioc.RegistryBuilder
 
getClassLoader() - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Returns the class loader used when creating new classes; this is generally the same as the current thread's context class loader (except perhaps during testing).
getClassName() - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
 
getClassName() - Method in interface org.apache.tapestry5.ioc.services.ExceptionInfo
The exception class name.
getCoercion(Class<S>, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl
 
getCoercion() - Method in class org.apache.tapestry5.ioc.services.CoercionTuple
 
getCoercion(Class<S>, Class<T>) - Method in interface org.apache.tapestry5.ioc.services.TypeCoercer
Given a source and target type, computes the coercion that will be used.
getColumn() - Method in class org.apache.tapestry5.ioc.internal.services.StringLocation
Returns 0.
getColumn() - Method in class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
getColumn() - Method in interface org.apache.tapestry5.ioc.Location
The column number within the line if known, or -1 otherwise.
getConstraints() - Method in interface org.apache.tapestry5.ioc.AdvisorDef
Returns ordering constraints for this advisor, to order it relative to other advisors.
getConstraints() - Method in interface org.apache.tapestry5.ioc.def.DecoratorDef
Returns zero or more ordering constraint strings, used to order the decorated relative to the other decorators.
getConstraints() - Method in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
getConstraints() - Method in class org.apache.tapestry5.ioc.Orderable
 
getConstructorLocation(Constructor) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
getConstructorLocation(Constructor) - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Return a string representation for the constructor (including class and parameters) and (if available) file name and line number.
getContribDef() - Method in class org.apache.tapestry5.ioc.internal.MappedConfigurationOverride
 
getContributionDefs() - Method in interface org.apache.tapestry5.ioc.def.ModuleDef
Returns all the contribution definitions built/provided by this module.
getContributionDefs() - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
getContributorDefsForService(ServiceDef) - Method in interface org.apache.tapestry5.ioc.internal.Module
Finds any contributions that are targeted at the indicated service.
getContributorDefsForService(ServiceDef) - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
getCreatedClassCount() - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
getCreatedClassCount() - Method in interface org.apache.tapestry5.ioc.internal.services.CtClassSource
Returns the number of classes created.
getCreatedClassCount() - Method in class org.apache.tapestry5.ioc.internal.services.CtClassSourceImpl
Returns the number of classes (and interfaces) created by this source.
getCreatedClassCount() - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Returns the number of classes (and interfaces) actually created.
getCtClass() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
getCurrentLocale() - Method in class org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator
 
getDeclaringClass() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getDeclaringClass() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
The class in which the property (or public field) is defined.
getDecoratorDefs() - Method in interface org.apache.tapestry5.ioc.def.ModuleDef
Returns all the decorator definitions built/provided by this module.
getDecoratorDefs() - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
getDecoratorId() - Method in interface org.apache.tapestry5.ioc.def.DecoratorDef
Returns the id of the decorator, which is derived from the decorator method name.
getDecoratorId() - Method in class org.apache.tapestry5.ioc.internal.DecoratorDefImpl
 
getDepth() - Method in class org.apache.tapestry5.ioc.util.Stack
Returns the number of items currently in the stack.
getDescription() - Method in interface org.apache.tapestry5.ioc.internal.ObjectCreatorSource
Returns a description of the method or constructor that creates the service.
getDescription() - Method in class org.apache.tapestry5.ioc.internal.ReloadableObjectCreatorSource
 
getExceptionInfos() - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionAnalysisImpl
 
getExceptionInfos() - Method in interface org.apache.tapestry5.ioc.services.ExceptionAnalysis
Returns the analyzed exception info for each exception.
getExceptionTypes() - Method in class org.apache.tapestry5.ioc.services.MethodSignature
Returns the exceptions for this method.
getField() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getField() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns the field if the property is a public field or null if the property is accessed via the read method.
getFile() - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
 
getFile() - Method in interface org.apache.tapestry5.ioc.Resource
Returns the file portion of the Resource path, everything that follows the final forward slash.
getFolder() - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
 
getFolder() - Method in interface org.apache.tapestry5.ioc.Resource
Returns the portion of the path up to the last forward slash; this is the directory or folder portion of the Resource.
getFormatter(String) - Method in interface org.apache.tapestry5.ioc.Messages
Returns a formatter for the message, which can be used to substitute arguments (as per Formatter).
getFormatter(String) - Method in class org.apache.tapestry5.ioc.util.AbstractMessages
 
getId() - Method in class org.apache.tapestry5.ioc.Orderable
 
getImplementationClass() - Method in interface org.apache.tapestry5.ioc.internal.InternalServiceDef
Returns the service implementation class.
getImplementationClass() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
getImplementationClass() - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getImplementationClass() - Method in interface org.apache.tapestry5.ioc.ServiceResources
Returns the service implementation class.
getInterface() - Method in class org.apache.tapestry5.ioc.internal.services.AspectInterceptorBuilderImpl
 
getInterface() - Method in interface org.apache.tapestry5.ioc.MethodAdviceReceiver
Returns the interface for which methods may be advised.
getLine() - Method in class org.apache.tapestry5.ioc.internal.services.StringLocation
 
getLine() - Method in class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
getLine() - Method in interface org.apache.tapestry5.ioc.Location
The line number within the resource, if known, or -1 otherwise.
getLocale() - Method in class org.apache.tapestry5.ioc.internal.services.ThreadLocaleImpl
 
getLocale() - Method in interface org.apache.tapestry5.ioc.services.ThreadLocale
Returns the thread's locale, which will be the JVM's default locale, until ThreadLocale.setLocale(Locale) is invoked.
getLocation() - Method in class org.apache.tapestry5.ioc.BaseLocatable
 
getLocation() - Method in exception org.apache.tapestry5.ioc.internal.util.TapestryException
 
getLocation() - Method in interface org.apache.tapestry5.ioc.Locatable
Returns the location associated with this object for error reporting purposes.
getLogger(Class) - Method in class org.apache.tapestry5.ioc.internal.LoggerSourceImpl
 
getLogger(String) - Method in class org.apache.tapestry5.ioc.internal.LoggerSourceImpl
 
getLogger() - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getLogger() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
getLogger(Class) - Method in interface org.apache.tapestry5.ioc.LoggerSource
Creates or retrieves a log based on Class.
getLogger(String) - Method in interface org.apache.tapestry5.ioc.LoggerSource
Creates or retrieves a log based on name.
getLogger() - Method in class org.apache.tapestry5.ioc.RegistryBuilder
 
getLogger() - Method in interface org.apache.tapestry5.ioc.ServiceResources
Returns a Logger appropriate for logging messages.
getLoggerName() - Method in interface org.apache.tapestry5.ioc.def.ModuleDef
Returns the name used to create a Logger instance.
getLoggerName() - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
getLoggerName() - Method in interface org.apache.tapestry5.ioc.internal.Module
Returns the name used to obtain a logger for the module.
getLoggerName() - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
getMappedConfiguration(ServiceDef, Class<K>, Class<V>) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Builds up a map of key/value pairs by invoking service contribution methods that tharget the service (from any module, unless the service is private).
getMappedConfiguration(ServiceDef, Class<K>, Class<V>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getMappedConfiguration(Class<K>, Class<V>) - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getMappedConfiguration(Class<K>, Class<V>) - Method in interface org.apache.tapestry5.ioc.ServiceBuilderResources
 
getMarkerAnnotations() - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Returns a Set of Annotation classes that are used as service markers.
getMarkerAnnotations() - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getMarkers() - Method in interface org.apache.tapestry5.ioc.def.ServiceDef
Returns an optional set of marker annotations.
getMarkers() - Method in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
getMarkers() - Method in class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
getMarkers() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
getMarkers() - Method in interface org.apache.tapestry5.ioc.Markable
Returns an optional set of marker annotation.
getMessage() - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
 
getMessage() - Method in interface org.apache.tapestry5.ioc.services.ExceptionInfo
The message associated with the exception, possibly null.
getMethod() - Method in class org.apache.tapestry5.ioc.internal.services.MethodInfo
 
getMethodLocation(Method) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
getMethodLocation(Method) - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Converts a method to a Location, which includes information about the source file name and line number.
getMethodName() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
getMethodName() - Method in interface org.apache.tapestry5.ioc.Invocation
Returns the name of the method being invoked.
getMocksControl() - Method in class org.apache.tapestry5.ioc.test.MockTester
 
getMocksControl() - Method in class org.apache.tapestry5.ioc.test.TestBase
Returns the IMocksControl for this thread.
getModuleBuilder() - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
getModuleBuilder() - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getModuleBuilder() - Method in interface org.apache.tapestry5.ioc.ModuleBuilderSource
Returns the instantiated version of the Tapestry IoC module class.
getName() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getName() - Method in class org.apache.tapestry5.ioc.services.MethodSignature
 
getName() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns the name of the property (or public field).
getObject(Class<T>, AnnotationProvider, ObjectLocator, Module) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
As with ObjectLocator.getObject(Class, org.apache.tapestry5.ioc.AnnotationProvider), but handles the Local annotation.
getObject(Class<T>, AnnotationProvider) - Method in class org.apache.tapestry5.ioc.internal.ObjectLocatorImpl
 
getObject(Class<T>, AnnotationProvider, ObjectLocator, Module) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getObject(Class<T>, AnnotationProvider) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getObject(Class<T>, AnnotationProvider) - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
getObject(Class<T>, AnnotationProvider) - Method in interface org.apache.tapestry5.ioc.ObjectLocator
Obtains an object indirectly, using the MasterObjectProvider service.
getOrdered() - Method in class org.apache.tapestry5.ioc.internal.util.IdToDependencyNode
 
getOrdered() - Method in class org.apache.tapestry5.ioc.internal.util.Orderer
 
getOrderedConfiguration(ServiceDef, Class<T>) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Builds up an ordered collection by invoking service contributor methods that target the service (from any module, unless the service is private).
getOrderedConfiguration(ServiceDef, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getOrderedConfiguration(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getOrderedConfiguration(Class<T>) - Method in interface org.apache.tapestry5.ioc.ServiceBuilderResources
 
getParameter(int) - Method in interface org.apache.tapestry5.ioc.Invocation
Returns the indicated parameter (may return null if the parameter is null).
getParameterCount() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
getParameterCount() - Method in interface org.apache.tapestry5.ioc.Invocation
Returns the number of parameters passed to the method.
getParameters() - Method in class org.apache.tapestry5.ioc.internal.services.ConstantInjectorImpl
 
getParameterType(int) - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
getParameterType(int) - Method in interface org.apache.tapestry5.ioc.Invocation
Returns the type of the parameter at the index.
getParameterTypes() - Method in class org.apache.tapestry5.ioc.services.MethodSignature
Returns the parameter types for this method.
getPath() - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
 
getPath() - Method in interface org.apache.tapestry5.ioc.Resource
Return the path (the combination of folder and file).
getPathForClass(Class) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Given a Class instance, convert the name into a path that can be used to locate the underlying class file on the classpath.
getPathForClassNamed(String) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Given a fully qualified class name, converts to a path on the classpath.
getPrimitiveType(String) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
 
getPrimitiveType(Class) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Given a wrapper type, determines the corresponding primitive type.
getProperty(String) - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
 
getProperty(String) - Method in interface org.apache.tapestry5.ioc.services.ExceptionInfo
Returns a specific property of the exception by name.
getPropertyAdapter(String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
 
getPropertyAdapter(String) - Method in interface org.apache.tapestry5.ioc.services.ClassPropertyAdapter
Returns the property adapter with the given name, or null if no such adapter exists.
getPropertyNames() - Method in class org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
 
getPropertyNames() - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
 
getPropertyNames() - Method in interface org.apache.tapestry5.ioc.services.ClassPropertyAdapter
Returns the names of all properties, sorted into alphabetic order.
getPropertyNames() - Method in interface org.apache.tapestry5.ioc.services.ExceptionInfo
Returns the names of the properties of the exception, sorted alphabetically.
getReadMethod() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getReadMethod() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns the method used to read the property, or null if the property is not readable (or is a public field).
getResource() - Method in class org.apache.tapestry5.ioc.internal.services.StringLocation
Returns null; we don't know where the file really is (it's probably a class on the class path).
getResource() - Method in class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
getResource() - Method in interface org.apache.tapestry5.ioc.Location
The resource from which the object tagged with a location was derived.
getResult() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
getResult() - Method in interface org.apache.tapestry5.ioc.Invocation
The return value after Invocation.proceed(), which may be null.
getResultType() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
getResultType() - Method in interface org.apache.tapestry5.ioc.Invocation
Returns the type of the method result, which may be a primitive type (i.e., int.class) or even void (void.class).
getReturnType() - Method in class org.apache.tapestry5.ioc.services.MethodSignature
 
getScope() - Method in class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl.MutableServiceActivity
 
getScope() - Method in interface org.apache.tapestry5.ioc.services.ServiceActivity
The scope of the service (typically "singleton" or "perthread").
getService(String, Class<T>) - Method in interface org.apache.tapestry5.ioc.internal.Module
Locates a service given a service id and the corresponding service interface type.
getService(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
getService(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ObjectLocatorImpl
 
getService(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ObjectLocatorImpl
 
getService(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getService(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getService(String, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
getService(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
getService(String, Class<T>) - Method in interface org.apache.tapestry5.ioc.ObjectLocator
Obtains a service via its unique service id.
getService(Class<T>) - Method in interface org.apache.tapestry5.ioc.ObjectLocator
Locates a service given just a service interface.
getServiceActivity() - Method in class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl
 
getServiceActivity() - Method in interface org.apache.tapestry5.ioc.services.ServiceActivityScoreboard
Returns the status of all services, sorted alphabetically by service id.
getServiceDef(String) - Method in interface org.apache.tapestry5.ioc.def.ModuleDef
Returns a service definition via the service's id.
getServiceDef(String) - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
getServiceDef(String) - Method in interface org.apache.tapestry5.ioc.internal.Module
Returns the service definition for the given service id.
getServiceDef(String) - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
getServiceId() - Method in interface org.apache.tapestry5.ioc.def.ContributionDef
Identifies the service contributed to.
getServiceId() - Method in interface org.apache.tapestry5.ioc.def.ServiceDef
Returns the service id, derived from the method name or the unqualified service interface name.
getServiceId() - Method in class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
getServiceId() - Method in class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl.MutableServiceActivity
 
getServiceId() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
getServiceId() - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getServiceId() - Method in interface org.apache.tapestry5.ioc.ServiceResources
Returns the fully qualified id of the service.
getServiceId() - Method in interface org.apache.tapestry5.ioc.services.ServiceActivity
The unique id for the service.
getServiceIds() - Method in interface org.apache.tapestry5.ioc.def.ModuleDef
Returns the ids of the services built/provided by the module.
getServiceIds() - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
 
getServiceInterface() - Method in interface org.apache.tapestry5.ioc.def.ServiceDef
Returns the service interface associated with this service.
getServiceInterface() - Method in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
getServiceInterface() - Method in class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
getServiceInterface() - Method in class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl.MutableServiceActivity
 
getServiceInterface() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
getServiceInterface() - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getServiceInterface() - Method in interface org.apache.tapestry5.ioc.Markable
Returns the service interface associated with the service.
getServiceInterface() - Method in interface org.apache.tapestry5.ioc.ServiceResources
Returns the service interface implemented by the service.
getServiceInterface() - Method in interface org.apache.tapestry5.ioc.services.ServiceActivity
The interface implemented by the service (this may occasionally be a class, for non-proxied services).
getServiceLifecycle(String) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Returns a service lifecycle by service scope name.
getServiceLifecycle(String) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getServiceLogger(String) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Returns a logger for the service, which consists of the Module's log name suffixed with a period and the service id.
getServiceLogger(String) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getServiceOverrideProvider() - Method in class org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl
 
getServiceOverrideProvider() - Method in interface org.apache.tapestry5.ioc.services.ServiceOverride
Returns a provider based on the configuration; this is wired into the MasterObjectProvider's configuration.
getServiceScope() - Method in interface org.apache.tapestry5.ioc.def.ServiceDef
Returns the lifecycle defined for the service.
getServiceScope() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
getSnapshot() - Method in class org.apache.tapestry5.ioc.util.Stack
Returns a snapshot of the current state of the stack as an array of objects.
getSource() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
getSourceType() - Method in class org.apache.tapestry5.ioc.services.CoercionTuple
 
getStackTrace() - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
 
getStackTrace() - Method in interface org.apache.tapestry5.ioc.services.ExceptionInfo
Returns the stack trace elements.
getStatus() - Method in class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl.MutableServiceActivity
 
getStatus() - Method in interface org.apache.tapestry5.ioc.services.ServiceActivity
Indicates the lifecycle status of the service.
getTarget() - Method in class org.apache.tapestry5.ioc.Orderable
 
getTargetType() - Method in class org.apache.tapestry5.ioc.services.CoercionTuple
 
getThrown(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
getThrown(Class<T>) - Method in interface org.apache.tapestry5.ioc.Invocation
After invoking Invocation.proceed(), used to obtain the thrown (checked) exception, if assignable to the provided type.
getToString() - Method in class org.apache.tapestry5.ioc.services.MethodIterator
Returns true if the method public String toString() is part of the interface.
getTrace() - Method in exception org.apache.tapestry5.ioc.internal.OperationException
 
getTracker() - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getTracker() - Method in interface org.apache.tapestry5.ioc.ServiceResources
Returns an object that can be used to track operations related to constructing, configuring, decorating and initializing the service.
getType() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getType() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns the type of the property.
getTypeCode(Class) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Converts a Class to a JVM type code (the way class information is expressed in a class file).
getTypes() - Method in class org.apache.tapestry5.ioc.util.StrategyRegistry
Returns the registered types for which adapters are available.
getUniqueId() - Method in class org.apache.tapestry5.ioc.services.MethodSignature
Returns a string consisting of the name of the method and its parameter types.
getUnorderedConfiguration(ServiceDef, Class<T>) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Builds up an unordered collection by invoking service contributor methods that target the service (from any module, unless the service is private).
getUnorderedConfiguration(ServiceDef, Class<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
getUnorderedConfiguration(Class<T>) - Method in class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
getUnorderedConfiguration(Class<T>) - Method in interface org.apache.tapestry5.ioc.ServiceBuilderResources
 
getUnwrapMethodName(Class) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Given a primitive type, finds the unwrap method of the corresponding wrapper type.
getValues() - Method in class org.apache.tapestry5.ioc.util.AvailableValues
The values, as strings, in sorted order.
getValueType() - Method in class org.apache.tapestry5.ioc.util.AvailableValues
The type of value, i.e., "component types" or "service ids".
getWrapperType(Class) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Returns the wrapper type for an input type; for most types, this is the type.
getWriteMethod() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
getWriteMethod() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns the method used to update the property, or null if the property is not writeable (or a public field).
GlobPatternMatcher - Class in org.apache.tapestry5.ioc.internal
Used when matching identifiers.
GlobPatternMatcher(String) - Constructor for class org.apache.tapestry5.ioc.internal.GlobPatternMatcher
 

H

hashCode() - Method in class org.apache.tapestry5.ioc.internal.util.ClasspathResource
 
hashCode() - Method in class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
hashCode() - Method in class org.apache.tapestry5.ioc.services.MethodSignature
 
hasNext() - Method in class org.apache.tapestry5.ioc.internal.util.InheritanceSearch
 
hasNext() - Method in class org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator
Returns true if there are more name variants to be returned, false otherwise.
hasNext() - Method in class org.apache.tapestry5.ioc.services.MethodIterator
 

I

IdAllocator - Class in org.apache.tapestry5.ioc.util
Used to "uniquify" names within a given context.
IdAllocator() - Constructor for class org.apache.tapestry5.ioc.util.IdAllocator
Creates a new allocator with no namespace.
IdAllocator(String) - Constructor for class org.apache.tapestry5.ioc.util.IdAllocator
Creates a new allocator with the provided namespace.
IdMatcher - Interface in org.apache.tapestry5.ioc
A matcher of fully qualified ids.
idMatcher - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
IdMatcherImpl - Class in org.apache.tapestry5.ioc.internal
A wrapper around a GlobPatternMatcher used to glob-match service ids.
IdMatcherImpl(String) - Constructor for class org.apache.tapestry5.ioc.internal.IdMatcherImpl
 
IdToDependencyNode<T> - Class in org.apache.tapestry5.ioc.internal.util
Used to order objects into an "execution" order.
IdToDependencyNode(Logger) - Constructor for class org.apache.tapestry5.ioc.internal.util.IdToDependencyNode
 
importClass(Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryClassPool
Returns the nearest super-class of the provided class that can be converted to a CtClass.
importClass(Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
importClass(Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Imports the class to make it referenceable within the factory.
InheritanceSearch - Class in org.apache.tapestry5.ioc.internal.util
Used to search from a particular class up the inheritance hierarchy of extended classes and implemented interfaces.
InheritanceSearch(Class) - Constructor for class org.apache.tapestry5.ioc.internal.util.InheritanceSearch
 
inject(Class<T>, T) - Method in interface org.apache.tapestry5.ioc.internal.services.ConstantInjector
Injects a value.
inject(Class<T>, T) - Method in class org.apache.tapestry5.ioc.internal.services.ConstantInjectorImpl
 
injectIntoFields(Object, ObjectLocator, InjectionResources, OperationTracker) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Injects into the fields (of all visibilities) when the Inject or InjectService annotations are present.
InjectionResources - Interface in org.apache.tapestry5.ioc.internal.util
Provides for the injection of specific types of values as resources as opposed to services or objects obtained from MasterObjectProvider.
instantiate(Class<? extends T>) - Method in class org.apache.tapestry5.ioc.internal.AbstractConfigurationImpl
 
InterceptorStackBuilder - Class in org.apache.tapestry5.ioc.internal
Responsible for constructing the interceptor stack, on demand, by invoking an ordered series of decorators (DecoratorDef (which are converted into ServiceDecorators).
InterceptorStackBuilder(ServiceDef, ObjectCreator, InternalRegistry) - Constructor for class org.apache.tapestry5.ioc.internal.InterceptorStackBuilder
 
InternalRegistry - Interface in org.apache.tapestry5.ioc.internal
Internal view of the module registry, adding additional methods needed by modules.
InternalServiceDef - Interface in org.apache.tapestry5.ioc.internal
 
InternalUtils - Class in org.apache.tapestry5.ioc.internal.util
Utilities used within various internal implementations of the tapestry-ioc module.
InternalUtils() - Constructor for class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
Invocation - Interface in org.apache.tapestry5.ioc
A method invocation passed to a MethodAdvice.
Invokable<T> - Interface in org.apache.tapestry5.ioc
Similiar to Runnable execpt that it returns a value.
invoke(InjectionResources) - Method in class org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter
 
invoke(String, Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.OperationTrackerImpl
 
invoke(String, Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.PerThreadOperationTracker
 
invoke(String, Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.QuietOperationTracker
 
invoke(String, Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
invoke(Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.services.NonParallelExecutor
 
invoke(Class<T>, Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.services.NonParallelExecutor
 
invoke(Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.services.ParallelExecutorImpl
 
invoke(Class<T>, Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.services.ParallelExecutorImpl
 
invoke(Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
 
invoke() - Method in interface org.apache.tapestry5.ioc.Invokable
Called to produce a value.
invoke(String, Invokable<T>) - Method in interface org.apache.tapestry5.ioc.OperationTracker
Executes the operation, returning its value.
invoke(Invokable<T>) - Method in interface org.apache.tapestry5.ioc.services.ParallelExecutor
Submits the invocable object to be executed in a pooled thread.
invoke(Class<T>, Invokable<T>) - Method in interface org.apache.tapestry5.ioc.services.ParallelExecutor
As with ParallelExecutor.invoke(org.apache.tapestry5.ioc.Invokable), but the result is wrapped inside a thunk.
invoke(Invokable<T>) - Method in interface org.apache.tapestry5.ioc.services.PerthreadManager
Returns the result from the invocation, providing a try...finally to cleanup after.
invokeDelegateMethod() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
This method is filled in, in the dynamically generated subclass.
invokePostInjectionMethods(Object, ObjectLocator, InjectionResources, OperationTracker) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
IOCConstants - Class in org.apache.tapestry5.ioc
 
IOCConstants() - Constructor for class org.apache.tapestry5.ioc.IOCConstants
 
IOCSymbols - Class in org.apache.tapestry5.ioc
Configuration symbols used by the IoC container.
IOCSymbols() - Constructor for class org.apache.tapestry5.ioc.IOCSymbols
 
IOCSymbols - Class in org.apache.tapestry5
Deprecated. Use IOCSymbols instead. To be removed after Tapestry 5.2.
IOCSymbols() - Constructor for class org.apache.tapestry5.IOCSymbols
Deprecated.  
IOCTestCase - Class in org.apache.tapestry5.ioc.test
Add factory and trainer methods for the public interfaces of Tapestry IOC.
IOCTestCase() - Constructor for class org.apache.tapestry5.ioc.test.IOCTestCase
 
IOCUtilities - Class in org.apache.tapestry5.ioc
A collection of utility methods for a couple of different areas, including creating the initial Registry.
isAllocated(String) - Method in class org.apache.tapestry5.ioc.util.IdAllocator
Checks to see if a given name has been allocated.
isBlank(String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Returns true if the input is null, or is a zero length string (excluding leading/trailing whitespace).
isCastRequired() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
isCastRequired() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns true if the return type of the read method is not the same as the property type.
isDebugEnabled() - Method in class org.apache.tapestry5.ioc.internal.services.MethodLogger
 
isEagerLoad() - Method in interface org.apache.tapestry5.ioc.def.ServiceDef
Returns true if the service should be eagerly loaded at Registry startup.
isEagerLoad() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
isEmpty() - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
isEmpty() - Method in class org.apache.tapestry5.ioc.util.Stack
Returns true if the stack is empty.
isEmptyCollection(Object) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Returns true if the input is an empty collection.
isFail() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
isFail() - Method in interface org.apache.tapestry5.ioc.Invocation
If true, then the proceeded invocation threw a checked exception.
isField() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
isField() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns true if the property is actually a public field.
isLocalFile(Class) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Determines if the indicated class is stored as a locally accessible file (and not, typically, as a file inside a JAR).
isNonBlank(String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
isOverridingSignatureOf(MethodSignature) - Method in class org.apache.tapestry5.ioc.services.MethodSignature
Returns true if this signature has the same return type, name and parameters types as the method signature passed in, and this signature's exceptions "trump" (are the same as, or super-implementations of, all exceptions thrown by the other method signature).
isPreventDecoration() - Method in interface org.apache.tapestry5.ioc.def.ServiceDef2
Returns true if the service should not be decorated.
isPreventDecoration() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
isPrimitiveType(String) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Given a type name, determines if that is the name of a primitive type.
isRead() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
isRead() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns true if the property is readable (i.e., has a getter method or is a public field).
isSingleton() - Method in class org.apache.tapestry5.ioc.internal.services.PerThreadServiceLifecycle
Returns false; this lifecycle represents a service that will be created many times (by each thread).
isSingleton() - Method in class org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle
 
isSingleton() - Method in interface org.apache.tapestry5.ioc.ServiceLifecycle
Returns true if the lifecycle is a singleton (a service that will only be created once).
isStatic(Method) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Returns true if the method provided is a static method.
isToString(Method) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Returns true if the method is the standard toString() method.
isUpdate() - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
isUpdate() - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Returns true if the property is writeable (i.e., has a setter method or is a public field).
iterator() - Method in class org.apache.tapestry5.ioc.internal.util.InheritanceSearch
 
iterator() - Method in class org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator
So that LNG may be used with the for loop.

J

JDK_1_5 - Static variable in class org.apache.tapestry5.ioc.internal.util.JDKUtils
Is the running JVM JDK 1.5?
JDKUtils - Class in org.apache.tapestry5.ioc.internal.util
Internal utilities for identifying the JDK version, used in the rare cases that we are patching around JDK bugs.
JDKUtils() - Constructor for class org.apache.tapestry5.ioc.internal.util.JDKUtils
 
join(List) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Joins together some number of elements to form a comma separated list.
join(List, String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Joins together some number of elements.
join(String...) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
Combines a series of lines by forming a string with a line separator after each line.
joinSorted(Collection) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Creates a sorted copy of the provided elements, then turns that into a comma separated list.
JustInTimeObjectCreator - Class in org.apache.tapestry5.ioc.internal.services
Invoked from a fabricated service delegate to get or realize (instantiate and configure) the service implementation.
JustInTimeObjectCreator(ServiceActivityTracker, ObjectCreator, String) - Constructor for class org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator
 

K

keys(Map<K, V>) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 

L

lastTerm(String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Searches the string for the final period ('.') character and returns everything after that.
LazyAdvisor - Interface in org.apache.tapestry5.ioc.services
An advisor that identifies methods which can be evaluated lazily and advises them.
LazyAdvisorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
LazyAdvisorImpl(ThunkCreator) - Constructor for class org.apache.tapestry5.ioc.internal.services.LazyAdvisorImpl
 
LifecycleWrappedServiceCreator - Class in org.apache.tapestry5.ioc.internal
Wrapper around a lifecycle, a set of resources for a service, and an underlying ObjectCreator 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).
LifecycleWrappedServiceCreator(ServiceLifecycle, ServiceResources, ObjectCreator) - Constructor for class org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator
 
LocalizedNameGenerator - Class in org.apache.tapestry5.ioc.internal.util
Used in a wide variety of resource searches.
LocalizedNameGenerator(String, Locale) - Constructor for class org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator
 
Locatable - Interface in org.apache.tapestry5.ioc
Interface implemented by objects which carry a location tag.
locateClassNames(String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassNameLocatorImpl
Synchronization should not be necessary, but perhaps the underlying ClassLoader's are sensitive to threading.
locateClassNames(String) - Method in interface org.apache.tapestry5.ioc.services.ClassNameLocator
Searches for all classes under the given package name.
Location - Interface in org.apache.tapestry5.ioc
A kind of tag applied to other objects to identify where they came from, in terms of a file (the resource), a line number, and a column number.
LocationImpl - Class in org.apache.tapestry5.ioc.internal.util
Implementation class for Location.
LocationImpl(Resource) - Constructor for class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
LocationImpl(Resource, int) - Constructor for class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
LocationImpl(Resource, int, int) - Constructor for class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
locationOf(Object) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Sniffs the object to see if it is a Location or Locatable.
lock - Variable in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
lock() - Method in class org.apache.tapestry5.ioc.internal.util.DummyLock
 
lock() - Method in class org.apache.tapestry5.ioc.internal.util.OneShotLock
Checks the lock, then sets it.
lockInterruptibly() - Method in class org.apache.tapestry5.ioc.internal.util.DummyLock
 
logger - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
 
LoggerSource - Interface in org.apache.tapestry5.ioc
A wrapper around SLF4J's LoggerFactory that exists to allow particular projects to "hook" the creation of Logger instances.
LoggerSourceImpl - Class in org.apache.tapestry5.ioc.internal
Simple wrapper around SLF4J's LoggerFactory.
LoggerSourceImpl() - Constructor for class org.apache.tapestry5.ioc.internal.LoggerSourceImpl
 
LoggingAdvice - Class in org.apache.tapestry5.ioc.internal.services
 
LoggingAdvice(Logger, ExceptionTracker) - Constructor for class org.apache.tapestry5.ioc.internal.services.LoggingAdvice
 
LoggingAdvisor - Interface in org.apache.tapestry5.ioc.services
A service used in conjuction with a service advisor method to add logging advice to a service.
LoggingAdvisorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
LoggingAdvisorImpl(ExceptionTracker) - Constructor for class org.apache.tapestry5.ioc.internal.services.LoggingAdvisorImpl
 
LoggingDecorator - Interface in org.apache.tapestry5.ioc.services
Service that can create a logging interceptor that wraps around a service implementation (or interceptor).
LoggingDecoratorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
LoggingDecoratorImpl(AspectDecorator, LoggingAdvisor) - Constructor for class org.apache.tapestry5.ioc.internal.services.LoggingDecoratorImpl
 
loggingInterceptor(String, Class) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 

M

MapInjectionResources - Class in org.apache.tapestry5.ioc.internal.util
InjectionDefaultProvider that operates using a Map from type to value.
MapInjectionResources(Map<Class, Object>) - Constructor for class org.apache.tapestry5.ioc.internal.util.MapInjectionResources
 
MappedConfiguration<K,V> - Interface in org.apache.tapestry5.ioc
Object passed into a service contributor method that allows the method provide contributed values to the service's configuration.
MappedConfigurationOverride<K,V> - Class in org.apache.tapestry5.ioc.internal
 
MappedConfigurationOverride(ContributionDef, Map<K, V>, K, V) - Constructor for class org.apache.tapestry5.ioc.internal.MappedConfigurationOverride
 
MapSymbolProvider - Class in org.apache.tapestry5.ioc.internal.services
Provides symbol values from a Map of symbol names and symbol values (typically provided by a Tapestry IOC service configuration).
MapSymbolProvider(Map<String, String>) - Constructor for class org.apache.tapestry5.ioc.internal.services.MapSymbolProvider
 
Markable - Interface in org.apache.tapestry5.ioc
Interface implemented by objects which need to disambiguate services with marker annotations.
Marker - Annotation Type in org.apache.tapestry5.ioc.annotations
Used to define one or more marker annotations for a service implementation.
MASTER_OBJECT_PROVIDER_SERVICE_ID - Static variable in class org.apache.tapestry5.ioc.IOCConstants
 
MasterObjectProvider - Interface in org.apache.tapestry5.ioc.services
A service that acts as a chain-of-command over a number of ObjectProvider, but allows for the case where no object may be provided.
MasterObjectProviderImpl - Class in org.apache.tapestry5.ioc.internal.services
 
MasterObjectProviderImpl(List<ObjectProvider>, OperationTracker) - Constructor for class org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl
 
Match - Annotation Type in org.apache.tapestry5.ioc.annotations
Optional, but typically used, annotation for service decorator methods, used to define which services the decorator applies to.
matchAndSort(Collection<? extends T>, Predicate<T>) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
matches(ServiceDef) - Method in interface org.apache.tapestry5.ioc.AdvisorDef
Used to determine which services may be advised.
matches(ServiceDef) - Method in interface org.apache.tapestry5.ioc.def.DecoratorDef
Used to determine which services may be decorated by this decorator.
matches(String) - Method in interface org.apache.tapestry5.ioc.IdMatcher
Returns true if the provided input id matches the pattern defined by this matcher instance.
matches(ServiceDef) - Method in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
Returns true if any provided pattern matches the id of the service.
matches(String) - Method in class org.apache.tapestry5.ioc.internal.GlobPatternMatcher
 
matches(String) - Method in class org.apache.tapestry5.ioc.internal.IdMatcherImpl
 
matches(String) - Method in class org.apache.tapestry5.ioc.internal.OrIdMatcher
 
MessageFormatter - Interface in org.apache.tapestry5.ioc
Obtained from a Messages, used to format messages for a specific localized message key.
MessageFormatterImpl - Class in org.apache.tapestry5.ioc.internal.util
 
MessageFormatterImpl(String, Locale) - Constructor for class org.apache.tapestry5.ioc.internal.util.MessageFormatterImpl
 
Messages - Interface in org.apache.tapestry5.ioc
Provides access to a messages catalog, a set of properties files that provide localized messages for a particular locale.
MessagesImpl - Class in org.apache.tapestry5.ioc.internal.util
Implementation of Messages based around a ResourceBundle.
MessagesImpl(Locale, ResourceBundle) - Constructor for class org.apache.tapestry5.ioc.internal.util.MessagesImpl
 
method - Variable in class org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter
 
method - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
MethodAdvice - Interface in org.apache.tapestry5.ioc
For Tapestry IoC, Aspects provide a limited amount of advise, i.e., advising method invocations.
MethodAdviceReceiver - Interface in org.apache.tapestry5.ioc
Interface used with service advisor methods to define advice.
MethodInfo - Class in org.apache.tapestry5.ioc.internal.services
Used by AdvisedMethodInvocationBuilder to track the method being invoked, and the list of MethodAdvice associated with the method.
MethodInfo(Method) - Constructor for class org.apache.tapestry5.ioc.internal.services.MethodInfo
 
MethodIterator - Class in org.apache.tapestry5.ioc.services
Utility used to iterate over the publically visible methods of a class or interface.
MethodIterator(Class) - Constructor for class org.apache.tapestry5.ioc.services.MethodIterator
 
MethodLogger - Class in org.apache.tapestry5.ioc.internal.services
Used by LoggingDecoratorImpl to delegate out logging behavior to a seperate object.
MethodLogger(Logger, ExceptionTracker) - Constructor for class org.apache.tapestry5.ioc.internal.services.MethodLogger
 
MethodSignature - Class in org.apache.tapestry5.ioc.services
A representation of a Method, identifying the name, return type, parameter types and exception types.
MethodSignature(Class, String, Class[], Class[]) - Constructor for class org.apache.tapestry5.ioc.services.MethodSignature
 
MethodSignature(Method) - Constructor for class org.apache.tapestry5.ioc.services.MethodSignature
 
milliseconds() - Method in class org.apache.tapestry5.ioc.util.TimeInterval
 
missingSymbolCloseBrace(String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
missingSymbolCloseBraceInPath(String, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
mockAnnotationProvider() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockClassPropertyAdapter() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockConfiguration() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockContributionDef() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockDecoratorDef() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockLocation() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockLogger() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockMappedConfiguration() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockMasterObjectProvider() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockMessageFormatter() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockMessages() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockModuleDef() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockObjectCreator() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockObjectLocator() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockObjectProvider() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockOrderedConfiguration() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockPerthreadManager() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockPropertyAccess() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockPropertyAdapter() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockResource() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockRunnable() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
Frequently used as a placeholder for an arbitrary service (but its nice and simple).
mockServiceBuilderResources() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockServiceBuilderResources(OperationTracker) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockServiceDecorator() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockServiceDef() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockServiceResources() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockServiceResources(OperationTracker) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockSymbolSource() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
MockTester - Class in org.apache.tapestry5.ioc.test
Contains core logic used by TestBase, allowing for mock objects to be used outside of a TestNG-based test suite.
MockTester() - Constructor for class org.apache.tapestry5.ioc.test.MockTester
 
mockThreadLocale() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
mockTypeCoercer() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
Module - Interface in org.apache.tapestry5.ioc.internal
A module within the Tapestry IoC registry.
MODULE_BUILDER_MANIFEST_ENTRY_NAME - Static variable in class org.apache.tapestry5.ioc.IOCConstants
 
ModuleBuilderSource - Interface in org.apache.tapestry5.ioc
The source for the module instance needed by any service builders, service contributors and service decorators that are mapped to instance methods.
ModuleDef - Interface in org.apache.tapestry5.ioc.def
Defines the contents of a module.
ModuleDef2 - Interface in org.apache.tapestry5.ioc.def
Extended version of ModuleDef introduced in Tapestry 5.1 to allow for service advisors (an improvement on service decorators).
ModuleImpl - Class in org.apache.tapestry5.ioc.internal
 
ModuleImpl(InternalRegistry, ServiceActivityTracker, ModuleDef, ClassFactory, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.ModuleImpl
 

N

newCapture() - Static method in class org.apache.tapestry5.ioc.test.TestBase
A factory method to create EasyMock Capture objects.
newCaseInsensitiveMap() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
 
newCaseInsensitiveMap(Map<String, ? extends V>) - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
 
newClass(Class) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Convieience for creating a new ClassFab instance using a ClassFactory.
newClass(Class) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
newClass(Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
newClass(String, Class) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryImpl
 
newClass(String, Class) - Method in interface org.apache.tapestry5.ioc.internal.services.CtClassSource
Createa a new CtClass instance.
newClass(String, Class) - Method in class org.apache.tapestry5.ioc.internal.services.CtClassSourceImpl
 
newClass(Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Simplified version of ClassFactory.newClass(String, Class) that generates a name based on the service interface name, extends from java.lang.Object, and automatically adds the serviceInterface to the returned ClassFab.
newClass(String, Class) - Method in interface org.apache.tapestry5.ioc.services.ClassFactory
Creates a ClassFab object for the given name; the new class is a subclass of the indicated class.
newConcurrentMap() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Constructs a new concurrent map, which is safe to access via multiple threads.
newCondition() - Method in class org.apache.tapestry5.ioc.internal.util.DummyLock
Returns null.
newInstance(Class<A>, Map<Class, A>) - Static method in class org.apache.tapestry5.ioc.util.StrategyRegistry
Creates a strategy registry for the given adapter type.
newInstance(Class<A>, Map<Class, A>, boolean) - Static method in class org.apache.tapestry5.ioc.util.StrategyRegistry
Creates a strategy registry for the given adapter type.
newIntermediateType() - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
newLinkedList() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Useful for queues.
newList() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Contructs and returns a new generic ArrayList instance.
newList(V...) - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Creates a new, fully modifiable list from an initial set of elements.
newList(Collection<V>) - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Constructs and returns a new ArrayList as a copy of the provided collection.
newMap() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Constructs and returns a generic HashMap instance.
newMap(Map<? extends K, ? extends V>) - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Constructs a new HashMap instance by copying an existing Map instance.
newMock(Class<T>) - Method in class org.apache.tapestry5.ioc.test.MockTester
Creates a new mock object of the indicated type.
newMock(Class<T>) - Method in class org.apache.tapestry5.ioc.test.TestBase
Creates a new mock object of the indicated type.
newResource(String) - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
Factory method provided by subclasses.
newResource(String) - Method in class org.apache.tapestry5.ioc.internal.util.ClasspathResource
 
newSet() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Constructs and returns a generic HashSet instance.
newSet(Collection<V>) - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Contructs a new HashSet and initializes it using the provided collection.
newSet(V...) - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
 
newStack() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
 
newStack(int) - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
 
newThreadSafeList() - Static method in class org.apache.tapestry5.ioc.internal.util.CollectionFactory
Constructs and returns a new CopyOnWriteArrayList.
next() - Method in class org.apache.tapestry5.ioc.internal.util.InheritanceSearch
 
next() - Method in class org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator
Returns the next localized variant.
next() - Method in class org.apache.tapestry5.ioc.services.MethodIterator
Returns the next method (as a MethodSignature, returning null when all are exhausted.
nextUID() - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
 
nextUUID() - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Generates a unique value for the current execution of the application.
noCoercionFound(Class, Class, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
NonParallelExecutor - Class in org.apache.tapestry5.ioc.internal.services
Implementation of ParallelExecutor used when the thread pool is disabled.
NonParallelExecutor() - Constructor for class org.apache.tapestry5.ioc.internal.services.NonParallelExecutor
 
noSuchProperty(Class, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
NotLazy - Annotation Type in org.apache.tapestry5.ioc.annotations
Marks a method as specifically not-lazy, even if other methods in the same interface are being advised as lazy.
NullAnnotationProvider - Class in org.apache.tapestry5.ioc.internal
A null implementation of AnnotationProvider, used when there is not appropriate source of annotations.
NullAnnotationProvider() - Constructor for class org.apache.tapestry5.ioc.internal.NullAnnotationProvider
 

O

ObjectCreator - Interface in org.apache.tapestry5.ioc
Interface used to encapsulate any strategy used defer the creation of some object until just as needed.
ObjectCreatorSource - Interface in org.apache.tapestry5.ioc.internal
An object which can, when passed a ServiceBuilderResources, create a corresponding ObjectCreator.
ObjectLocator - Interface in org.apache.tapestry5.ioc
Defines an object which can provide access to services defined within a Registry, or to objects or object instances available by other means.
ObjectLocatorImpl - Class in org.apache.tapestry5.ioc.internal
Base service locator class used when only the module is known (i.e., when instantiating a module class).
ObjectLocatorImpl(InternalRegistry, Module) - Constructor for class org.apache.tapestry5.ioc.internal.ObjectLocatorImpl
 
ObjectProvider - Interface in org.apache.tapestry5.ioc
Object providers represent an alternate way to locate an object provided somewhere in the Registry.
OneShotLock - Class in org.apache.tapestry5.ioc.internal.util
Logic for handling one shot semantics for classes; classes that include a method (or methods) that "locks down" the instance, to prevent it from being used again in the future.
OneShotLock() - Constructor for class org.apache.tapestry5.ioc.internal.util.OneShotLock
 
onLoad(ClassPool, String) - Method in class org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
 
openStream() - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
Obtains the URL for the Resource and opens the stream, wrapped by a BufferedInputStream.
openStream() - Method in interface org.apache.tapestry5.ioc.Resource
Opens a stream to the content of the resource, or returns null if the resource does not exist.
OperationException - Exception in org.apache.tapestry5.ioc.internal
An exception caught and reported by an OperationTracker; the trace property identifies what operations were active at the time of the exception.
OperationException(Throwable, String[]) - Constructor for exception org.apache.tapestry5.ioc.internal.OperationException
 
OperationTracker - Interface in org.apache.tapestry5.ioc
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.
OperationTrackerImpl - Class in org.apache.tapestry5.ioc.internal
Core implementation that manages a logger and catches and reports exception.
OperationTrackerImpl(Logger) - Constructor for class org.apache.tapestry5.ioc.internal.OperationTrackerImpl
 
OperationTrackingObjectCreator - Class in org.apache.tapestry5.ioc.internal
Makes sure the operations tracker is notified knows that a service is being realized.
OperationTrackingObjectCreator(OperationTracker, String, ObjectCreator) - Constructor for class org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator
 
Order - Annotation Type in org.apache.tapestry5.ioc.annotations
Used with a service decorator method to control the order in which decorations occur.
Orderable<T> - Class in org.apache.tapestry5.ioc
A wrapper that allows objects of a target type to be ordered.
Orderable(String, T, String...) - Constructor for class org.apache.tapestry5.ioc.Orderable
 
OrderConstraint - Class in org.apache.tapestry5.ioc
Represents an order constraints for OrderedConfiguration.
OrderConstraint() - Constructor for class org.apache.tapestry5.ioc.OrderConstraint
 
OrderConstraintBuilder - Class in org.apache.tapestry5.ioc
Constructs order constraints for OrderedConfiguration.
OrderConstraintBuilder() - Constructor for class org.apache.tapestry5.ioc.OrderConstraintBuilder
 
OrderedConfiguration<T> - Interface in org.apache.tapestry5.ioc
Object passed into a service contributor method that allows the method provide contributed values to the service's configuration.
Orderer<T> - Class in org.apache.tapestry5.ioc.internal.util
Used to order objects into an "execution" order.
Orderer(Logger) - Constructor for class org.apache.tapestry5.ioc.internal.util.Orderer
 
org.apache.tapestry5 - package org.apache.tapestry5
 
org.apache.tapestry5.ioc - package org.apache.tapestry5.ioc
 
org.apache.tapestry5.ioc.annotations - package org.apache.tapestry5.ioc.annotations
 
org.apache.tapestry5.ioc.def - package org.apache.tapestry5.ioc.def
 
org.apache.tapestry5.ioc.internal - package org.apache.tapestry5.ioc.internal
 
org.apache.tapestry5.ioc.internal.services - package org.apache.tapestry5.ioc.internal.services
 
org.apache.tapestry5.ioc.internal.util - package org.apache.tapestry5.ioc.internal.util
 
org.apache.tapestry5.ioc.services - package org.apache.tapestry5.ioc.services
 
org.apache.tapestry5.ioc.test - package org.apache.tapestry5.ioc.test
 
org.apache.tapestry5.ioc.util - package org.apache.tapestry5.ioc.util
 
org.apache.tapestry5.services - package org.apache.tapestry5.services
 
OrIdMatcher - Class in org.apache.tapestry5.ioc.internal
A wrapper around a collection of IdMatchers.
OrIdMatcher(Collection<IdMatcher>) - Constructor for class org.apache.tapestry5.ioc.internal.OrIdMatcher
 
override(Orderable<T>) - Method in class org.apache.tapestry5.ioc.internal.util.Orderer
 
override(String, T, String...) - Method in class org.apache.tapestry5.ioc.internal.util.Orderer
 
override(K, V) - Method in class org.apache.tapestry5.ioc.internal.ValidatingMappedConfigurationWrapper
 
override(String, T, String...) - Method in class org.apache.tapestry5.ioc.internal.ValidatingOrderedConfigurationWrapper
 
override(int, Object) - Method in interface org.apache.tapestry5.ioc.Invocation
Replaces a parameter in the invocation.
override(K, V) - Method in interface org.apache.tapestry5.ioc.MappedConfiguration
Overrides an existing contribution by its key.
override(String, T, String...) - Method in interface org.apache.tapestry5.ioc.OrderedConfiguration
Overrides a normally contributed object.
overrideInstance(K, Class<? extends V>) - Method in class org.apache.tapestry5.ioc.internal.ValidatingMappedConfigurationWrapper
 
overrideInstance(String, Class<? extends T>, String...) - Method in class org.apache.tapestry5.ioc.internal.ValidatingOrderedConfigurationWrapper
 
overrideInstance(K, Class<? extends V>) - Method in interface org.apache.tapestry5.ioc.MappedConfiguration
Overrides an existing contribution with a new instance.
overrideInstance(String, Class<? extends T>, String...) - Method in interface org.apache.tapestry5.ioc.OrderedConfiguration
Instantiates an object and adds it as an override.
overrideResult(Object) - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
overrideResult(Object) - Method in interface org.apache.tapestry5.ioc.Invocation
Overrides the result.
overrideThrown(Exception) - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
overrideThrown(Exception) - Method in interface org.apache.tapestry5.ioc.Invocation
Overrides the thrown exception.

P

ParallelExecutor - Interface in org.apache.tapestry5.ioc.services
A service that allows work to occur in parallel using a thread pool.
ParallelExecutorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ParallelExecutorImpl(ExecutorService, ThunkCreator, PerthreadManager) - Constructor for class org.apache.tapestry5.ioc.internal.services.ParallelExecutorImpl
 
peek() - Method in class org.apache.tapestry5.ioc.util.Stack
Returns the top element of the stack without affecting the stack.
performRegistryStartup() - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
It's not unreasonable for an eagerly-loaded service to decide to start a thread, at which point we raise issues about improper publishing of the Registry instance from the RegistryImpl constructor.
performRegistryStartup() - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
performRegistryStartup() - Method in interface org.apache.tapestry5.ioc.Registry
Invoked to eagerly load services marked with the EagerLoad annotation, and to execute all contributions to the Startup service.
PERTHREAD - Static variable in class org.apache.tapestry5.ioc.ScopeConstants
An alternate scope provided with Tapestry; a per-thread instance is created on demand, behind a shared proxy.
PERTHREAD_SCOPE - Static variable in class org.apache.tapestry5.ioc.IOCConstants
Deprecated. Use ScopeConstants.PERTHREAD instead. To be removed after Tapestry 5.2.
PerthreadManager - Interface in org.apache.tapestry5.ioc.services
Manages per-thread data, and provides a way for listeners to know when such data should be cleaned up.
PerthreadManagerImpl - Class in org.apache.tapestry5.ioc.internal.services
 
PerthreadManagerImpl(Logger) - Constructor for class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
 
PerThreadOperationTracker - Class in org.apache.tapestry5.ioc.internal
Manages a per-thread OperationTracker using a ThreadLocal.
PerThreadOperationTracker(Logger) - Constructor for class org.apache.tapestry5.ioc.internal.PerThreadOperationTracker
 
PerThreadServiceCreator - Class in org.apache.tapestry5.ioc.internal.services
Provides per-thread implementations of services.
PerThreadServiceCreator(PerthreadManager, ObjectCreator) - Constructor for class org.apache.tapestry5.ioc.internal.services.PerThreadServiceCreator
 
PerThreadServiceLifecycle - Class in org.apache.tapestry5.ioc.internal.services
Allows a service to exist "per thread" (in each thread).
PerThreadServiceLifecycle(PerthreadManager, ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.services.PerThreadServiceLifecycle
 
PerThreadValue<T> - Interface in org.apache.tapestry5.ioc.services
A wrapper around PerthreadManager.get(Object) and PerthreadManager.put(Object, Object).
PipelineBuilder - Interface in org.apache.tapestry5.ioc.services
Creates a pipeline from a service inteface and an ordered list of filters.
PipelineBuilderImpl - Class in org.apache.tapestry5.ioc.internal.services
 
PipelineBuilderImpl(ClassFactory, DefaultImplementationBuilder) - Constructor for class org.apache.tapestry5.ioc.internal.services.PipelineBuilderImpl
 
pop() - Method in class org.apache.tapestry5.ioc.util.Stack
Pops the top element off the stack and returns it.
preventDecoration() - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
preventDecoration() - Method in interface org.apache.tapestry5.ioc.ServiceBindingOptions
Disallows service decoration for this service.
preventReloading() - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
preventReloading() - Method in interface org.apache.tapestry5.ioc.ServiceBindingOptions
Identifies a service for which live class reloading is not desired.
PreventServiceDecoration - Annotation Type in org.apache.tapestry5.ioc.annotations
Marks a service as not eligible for decoration.
proceed() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
proceed() - Method in interface org.apache.tapestry5.ioc.Invocation
Proceed with the invocation of the advised method.
PropertyAccess - Interface in org.apache.tapestry5.ioc.services
A wrapper around the JavaBean Introspector that allows more manageable access to JavaBean properties of objects.
PropertyAccessImpl - Class in org.apache.tapestry5.ioc.internal.services
 
PropertyAccessImpl() - Constructor for class org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl
 
PropertyAdapter - Interface in org.apache.tapestry5.ioc.services
Provides access to a single property within a class.
PropertyAdapterImpl - Class in org.apache.tapestry5.ioc.internal.services
 
PropertyShadowBuilder - Interface in org.apache.tapestry5.ioc.services
Creates a "shadow" of a property of an object.
PropertyShadowBuilderImpl - Class in org.apache.tapestry5.ioc.internal.services
 
PropertyShadowBuilderImpl(ClassFactory, PropertyAccess) - Constructor for class org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl
 
propertyTypeMismatch(String, Class, Class, Class) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
provide(Class<T>, AnnotationProvider, ObjectLocator) - Method in class org.apache.tapestry5.ioc.internal.services.AutobuildObjectProvider
 
provide(Class<T>, AnnotationProvider, ObjectLocator, boolean) - Method in class org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl
 
provide(Class<T>, AnnotationProvider, ObjectLocator) - Method in class org.apache.tapestry5.ioc.internal.services.SymbolObjectProvider
 
provide(Class<T>, AnnotationProvider, ObjectLocator) - Method in class org.apache.tapestry5.ioc.internal.services.ValueObjectProvider
 
provide(Class<T>, AnnotationProvider, ObjectLocator) - Method in interface org.apache.tapestry5.ioc.ObjectProvider
Provides an object based on an expression.
provide(Class<T>, AnnotationProvider, ObjectLocator, boolean) - Method in interface org.apache.tapestry5.ioc.services.MasterObjectProvider
Provides an object based on an expression.
provideBasicTypeCoercions(Configuration<CoercionTuple>) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
Contributes a set of standard type coercions to the TypeCoercer service: Object to String String to Double String to BigDecimal BigDecimal to Double Double to BigDecimal String to BigInteger BigInteger to Long String to Long Long to Byte Long to Short Long to Integer Double to Long Double to Float Float to Double Long to Double String to Boolean ("false" is always false, other non-blank strings are true) Long to Boolean (true if long value is non zero) Null to Boolean (always false) Collection to Boolean (false if empty) Object[] to List primitive[] to List Object to List (by wrapping as a singleton list) String to File String to TimeInterval TimeInterval to Long Object to Object[] (wrapping the object as an array) Collection to Object[] (via the toArray() method)
providePerthreadScope(MappedConfiguration<String, ServiceLifecycle>) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
Contributes the "perthread" scope.
provideServiceProxy(String) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
provideServiceProxy(String) - Method in interface org.apache.tapestry5.ioc.internal.ServiceProxyProvider
Look up the service and return it's proxy.
proxy(Class<T>, Class<? extends T>, ObjectLocator) - Method in interface org.apache.tapestry5.ioc.internal.InternalRegistry
Creates a just-in-time (and possibly, live reloading) proxy for the indicated class and interface, using the provided locator to autobuild the implementationClass (when necessary).
proxy(Class<T>, Class<? extends T>) - Method in class org.apache.tapestry5.ioc.internal.ObjectLocatorImpl
 
proxy(Class<T>, Class<? extends T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
proxy(Class<T>, Class<? extends T>, ObjectLocator) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
proxy(Class<T>, Class<? extends T>) - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
proxy(Class<T>, Class<? extends T>) - Method in interface org.apache.tapestry5.ioc.ObjectLocator
Creates a proxy.
proxyMethodsToDelegate(Class, String, String) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
 
proxyMethodsToDelegate(Class, String, String) - Method in interface org.apache.tapestry5.ioc.services.ClassFab
Makes the fabricated class implement the provided service interface.
push(E) - Method in class org.apache.tapestry5.ioc.util.Stack
Pushes a new item onto the stack.
put(Object, Object) - Method in class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
 
put(Object, Object) - Method in interface org.apache.tapestry5.ioc.services.PerthreadManager
Deprecated. use PerthreadManager.createValue() instead
put(String, V) - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 

Q

QuietOperationTracker - Class in org.apache.tapestry5.ioc.internal
Minimal implementation used for testing, that does no logging, tracking, or exception catching.
QuietOperationTracker() - Constructor for class org.apache.tapestry5.ioc.internal.QuietOperationTracker
 

R

readFailure(String, Object, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
readNotSupported(Object, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
RecursiveServiceCreationCheckWrapper - Class in org.apache.tapestry5.ioc.internal
Decorator for ObjectCreator that ensures the service is only created once.
RecursiveServiceCreationCheckWrapper(ServiceDef, ObjectCreator, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper
 
recursiveSymbol(String, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
Registry - Interface in org.apache.tapestry5.ioc
Public access to the IoC service registry.
RegistryBuilder - Class in org.apache.tapestry5.ioc
Used to construct the IoC Registry.
RegistryBuilder() - Constructor for class org.apache.tapestry5.ioc.RegistryBuilder
 
RegistryBuilder(ClassLoader) - Constructor for class org.apache.tapestry5.ioc.RegistryBuilder
 
RegistryBuilder(ClassLoader, LoggerSource) - Constructor for class org.apache.tapestry5.ioc.RegistryBuilder
 
registryDidShutdown() - Method in class org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator
Sets the shutdown flag and releases the object and the creator.
registryDidShutdown() - Method in interface org.apache.tapestry5.ioc.services.RegistryShutdownListener
Invoked when the registry shuts down, giving services a chance to perform any final operations.
RegistryImpl - Class in org.apache.tapestry5.ioc.internal
 
RegistryImpl(Collection<ModuleDef>, ClassFactory, LoggerSource) - Constructor for class org.apache.tapestry5.ioc.internal.RegistryImpl
Constructs the registry from a set of module definitions and other resources.
registryShutdown(String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
RegistryShutdownHub - Interface in org.apache.tapestry5.ioc.services
Event hub for notifications when the IOC Registry shuts down.
RegistryShutdownHubImpl - Class in org.apache.tapestry5.ioc.internal.services
 
RegistryShutdownHubImpl(Logger) - Constructor for class org.apache.tapestry5.ioc.internal.services.RegistryShutdownHubImpl
 
RegistryShutdownListener - Interface in org.apache.tapestry5.ioc.services
Event listener interfaces for objects that need to know when the Registry shutsdown.
RegistryStartup - Class in org.apache.tapestry5.ioc.internal.services
Startup service for Tapestry IoC: automatically invoked at registry startup to execute a series of operations, via its ordered configuration of Runnable objects.
RegistryStartup(Logger, List<Runnable>) - Constructor for class org.apache.tapestry5.ioc.internal.services.RegistryStartup
 
RegistryWrapper - Class in org.apache.tapestry5.ioc.internal
A wrapper around InternalRegistry that exists to expand symbols in a service id before invoking ObjectLocator.getService(Class).
RegistryWrapper(InternalRegistry) - Constructor for class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
ReloadableObjectCreator - Class in org.apache.tapestry5.ioc.internal
Reloadable object creator for non-service objects.
ReloadableObjectCreator(ClassLoader, String, Logger, OperationTracker, ObjectLocator) - Constructor for class org.apache.tapestry5.ioc.internal.ReloadableObjectCreator
 
ReloadableObjectCreatorSource - Class in org.apache.tapestry5.ioc.internal
Responsible for creating a ReloadableServiceImplementationObjectCreator for a service implementation.
ReloadableObjectCreatorSource(ClassFactory, Method, Class, Class, boolean) - Constructor for class org.apache.tapestry5.ioc.internal.ReloadableObjectCreatorSource
 
ReloadableServiceImplementationObjectCreator - Class in org.apache.tapestry5.ioc.internal
Returns an ObjectCreator for lazily instantiating a given implementation class (with dependencies).
ReloadableServiceImplementationObjectCreator(ServiceBuilderResources, ClassLoader, String) - Constructor for class org.apache.tapestry5.ioc.internal.ReloadableServiceImplementationObjectCreator
 
ReloadAware - Interface in org.apache.tapestry5.ioc
Optional interface that may be implemented by a service implementation (or even a proxy to give the service implementation more control over its lifecyle.
remove() - Method in class org.apache.tapestry5.ioc.internal.util.InheritanceSearch
 
remove() - Method in class org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator
 
remove(Object) - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
replay() - Method in class org.apache.tapestry5.ioc.test.MockTester
Switches each mock object created by MockTester.newMock(Class) into replay mode (out of the initial training mode).
replay() - Method in class org.apache.tapestry5.ioc.test.TestBase
Switches each mock object created by TestBase.newMock(Class) into replay mode (out of the initial training mode).
requiresProxy() - Method in class org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle
 
requiresProxy() - Method in interface org.apache.tapestry5.ioc.ServiceLifecycle2
If true, then lifecycle requires a proxy, meaning it is only useable with services that properly define a service interface.
Resource - Interface in org.apache.tapestry5.ioc
Represents a resource on the server that may be used for server side processing, or may be exposed to the client side.
resources - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
 
resourcesDefaults - Variable in class org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter
 
ResourceSymbolProvider - Class in org.apache.tapestry5.ioc.internal.services
Makes a Resource available as a SymbolProvider
ResourceSymbolProvider(Resource) - Constructor for class org.apache.tapestry5.ioc.internal.services.ResourceSymbolProvider
 
rethrow() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
rethrow() - Method in interface org.apache.tapestry5.ioc.Invocation
If the invocation failed (with a checked exception), then rethrow the exception wrapped in a RuntimeException.
reverseIterator(List<T>) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
run(String, Runnable) - Method in class org.apache.tapestry5.ioc.internal.OperationTrackerImpl
 
run(String, Runnable) - Method in class org.apache.tapestry5.ioc.internal.PerThreadOperationTracker
 
run(String, Runnable) - Method in class org.apache.tapestry5.ioc.internal.QuietOperationTracker
 
run(String, Runnable) - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
run(Runnable) - Method in class org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl
 
run() - Method in class org.apache.tapestry5.ioc.internal.services.RegistryStartup
Invokes run() on each contributed object.
run(String, Runnable) - Method in interface org.apache.tapestry5.ioc.OperationTracker
Executes the operation.
run(Runnable) - Method in interface org.apache.tapestry5.ioc.services.PerthreadManager
Invokes Runnable.run(), providing a try...finally to cleanup after.

S

Scope - Annotation Type in org.apache.tapestry5.ioc.annotations
An optional annotation that may be placed on a service building method of a module, or on the implementation class (when using service binding).
scope(String) - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
scope(String) - Method in interface org.apache.tapestry5.ioc.ServiceBindingOptions
Sets the scope of the service, overriding the Scope annotation on the service implementation class.
ScopeConstants - Class in org.apache.tapestry5.ioc
Defines constants for built-in scopes (used with the Scope annotation.
ScopeConstants() - Constructor for class org.apache.tapestry5.ioc.ScopeConstants
 
seconds() - Method in class org.apache.tapestry5.ioc.util.TimeInterval
 
SERVICE_CLASS_RELOADING_ENABLED - Static variable in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
SERVICE_CLASS_RELOADING_ENABLED - Static variable in class org.apache.tapestry5.ioc.IOCConstants
Name of a JVM System Property (but not, alas, a configuration symbol) that is used to disable live service reloading entirely (i.e., reverting to Tapestry 5.1 behavior).
ServiceActivity - Interface in org.apache.tapestry5.ioc.services
Provided by the ServiceActivityScoreboard to track a single service's state and activity.
ServiceActivityScoreboard - Interface in org.apache.tapestry5.ioc.services
Provides access to the runtime details about services in the Registry.
ServiceActivityTracker - Interface in org.apache.tapestry5.ioc.internal
Used to update the status of services defined by the ServiceActivityScoreboard.
ServiceActivityTrackerImpl - Class in org.apache.tapestry5.ioc.internal
 
ServiceActivityTrackerImpl() - Constructor for class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl
 
ServiceActivityTrackerImpl.MutableServiceActivity - Class in org.apache.tapestry5.ioc.internal
 
ServiceActivityTrackerImpl.MutableServiceActivity(ServiceDef, Status) - Constructor for class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl.MutableServiceActivity
 
ServiceAdvisor - Interface in org.apache.tapestry5.ioc
Provided by a AdvisorDef to perform the advice (by invoking methods on a MethodAdviceReceiver).
ServiceAdvisorImpl - Class in org.apache.tapestry5.ioc.internal
 
ServiceAdvisorImpl(ModuleBuilderSource, Method, ServiceResources, ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.ServiceAdvisorImpl
 
ServiceBinder - Interface in org.apache.tapestry5.ioc
Allows a module to bind service interfaces to service implementation classes in support of autobuilding services.
ServiceBinderImpl - Class in org.apache.tapestry5.ioc.internal
 
ServiceBinderImpl(ServiceDefAccumulator, Method, ClassFactory, Set<Class>, boolean) - Constructor for class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
ServiceBindingOptions - Interface in org.apache.tapestry5.ioc
Allows additional options for a service to be specified, overriding hard coded defaults or defaults from annotations on the service.
ServiceBuilder<T> - Interface in org.apache.tapestry5.ioc
A callback used to create a service implementation.
ServiceBuilderMethodInvoker - Class in org.apache.tapestry5.ioc.internal
Basic implementation of ObjectCreator that handles invoking a method on the module builder, and figures out the correct parameters to pass into the annotated method.
ServiceBuilderMethodInvoker(ServiceBuilderResources, String, Method) - Constructor for class org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker
 
ServiceBuilderResources - Interface in org.apache.tapestry5.ioc
Extends ServiceResources with additional methods needed only by the service builder method, related to accessing a service's configuration.
serviceBuildFailure(String, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
ServiceDecorator - Interface in org.apache.tapestry5.ioc
A service decorator is derived from a DecoratorDef and is responsible for building an interceptor around an existing implementation (called the "delegate").
ServiceDecoratorImpl - Class in org.apache.tapestry5.ioc.internal
A wrapper around a decorator method.
ServiceDecoratorImpl(Method, ModuleBuilderSource, ServiceResources, ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.ServiceDecoratorImpl
 
ServiceDef - Interface in org.apache.tapestry5.ioc.def
Service definition derived, by default, from a service builder method.
ServiceDef2 - Interface in org.apache.tapestry5.ioc.def
Extension to ServiceDef containing new methods added for Tapestry 5.1.
ServiceDefAccumulator - Interface in org.apache.tapestry5.ioc.internal
Simple interface used when invoking a bind() method on a module class.
ServiceDefImpl - Class in org.apache.tapestry5.ioc.internal
 
ServiceId - Annotation Type in org.apache.tapestry5.ioc.annotations
An optional annotation that may be placed on a service building method of a module, or on the implementation class (when using service binding via the ServiceBinder).
serviceId - Variable in class org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter
 
serviceId - Variable in class org.apache.tapestry5.ioc.internal.AbstractServiceCreator
 
serviceInterface - Variable in class org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter
 
ServiceLifecycle - Interface in org.apache.tapestry5.ioc
Allows certain types of lifecycles to control exactly how services are instantiated.
ServiceLifecycle2 - Interface in org.apache.tapestry5.ioc
Extension to ServiceLifecycle that adds an additional method.
ServiceLifecycleSource - Interface in org.apache.tapestry5.ioc.services
Provides access to user defined lifecycles (beyond the two built-in lifecycles: "singleton" and "primitive").
ServiceMessages - Class in org.apache.tapestry5.ioc.internal.services
 
ServiceOverride - Interface in org.apache.tapestry5.ioc.services
Used to override built in services.
ServiceOverrideImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ServiceOverrideImpl(Map<Class, Object>) - Constructor for class org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl
 
ServiceProxyProvider - Interface in org.apache.tapestry5.ioc.internal
Used in concert with SerializationSupport to convert service tokens back into service proxies.
ServiceResources - Interface in org.apache.tapestry5.ioc
Contains resources that may be provided to a service when it initializes, which includes other services defined in the registry.
ServiceResourcesImpl - Class in org.apache.tapestry5.ioc.internal
Implementation of ServiceBuilderResources.
ServiceResourcesImpl(InternalRegistry, Module, ServiceDef, ClassFactory, Logger) - Constructor for class org.apache.tapestry5.ioc.internal.ServiceResourcesImpl
 
set(Object, String, Object) - Method in class org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
 
set(Object, String, Object) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl
 
set(Object, Object) - Method in class org.apache.tapestry5.ioc.internal.services.PropertyAdapterImpl
 
set(Object, String, Object) - Method in interface org.apache.tapestry5.ioc.services.ClassPropertyAdapter
Updates the value of a property.
set(Object) - Method in interface org.apache.tapestry5.ioc.services.FieldValueConduit
Sets the value of the field
set(T) - Method in interface org.apache.tapestry5.ioc.services.PerThreadValue
Sets the current per-thread value, then returns that value.
set(Object, String, Object) - Method in interface org.apache.tapestry5.ioc.services.PropertyAccess
Updates the value of a property.
set(Object, Object) - Method in interface org.apache.tapestry5.ioc.services.PropertyAdapter
Updates the property value.
set(T, Object...) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Initializes private fields (via reflection).
setAnswer(IAnswer) - Static method in class org.apache.tapestry5.ioc.test.TestBase
Convienience for EasyMock.expectLastCall() with IExpectationSetters.andAnswer(org.easymock.IAnswer).
setLocale(Locale) - Method in class org.apache.tapestry5.ioc.internal.services.ThreadLocaleImpl
 
setLocale(Locale) - Method in interface org.apache.tapestry5.ioc.services.ThreadLocale
Updates the locale for the current thread.
setStatus(String, Status) - Method in interface org.apache.tapestry5.ioc.internal.ServiceActivityTracker
Updates the status for the service.
setStatus(String, Status) - Method in class org.apache.tapestry5.ioc.internal.ServiceActivityTrackerImpl
 
setThrowable(Throwable) - Static method in class org.apache.tapestry5.ioc.test.TestBase
Convienience for EasyMock.expectLastCall() with IExpectationSetters.andThrow(Throwable).
setupDefaultSymbols(MappedConfiguration<String, String>) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
 
setupObjectProviders(OrderedConfiguration<ObjectProvider>, ServiceOverride) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
AnnotationBasedContributions Empty placeholder used to seperate annotation-based ObjectProvider contributions (which come before) from non-annotation based (ServiceOverride here, Alias in tapestry-core) which come after. Value Supports the Value annotation Symbol Supports the Symbol annotations Autobuild Supports the Autobuild annotation ServiceOverride Allows simple service overrides via the ServiceOverride service (and its configuration)
setupStandardSymbolProviders(OrderedConfiguration<SymbolProvider>, SymbolProvider, SymbolProvider) - Static method in class org.apache.tapestry5.ioc.services.TapestryIOCModule
 
showLists(List<T>, List<T>) - Static method in class org.apache.tapestry5.ioc.test.TestUtils
 
shutdown() - Method in class org.apache.tapestry5.ioc.internal.RegistryImpl
 
shutdown() - Method in class org.apache.tapestry5.ioc.internal.RegistryWrapper
 
shutdown() - Method in interface org.apache.tapestry5.ioc.Registry
Shuts down a Registry instance.
shutdownImplementationForReload() - Method in interface org.apache.tapestry5.ioc.ReloadAware
Invoked when Tapestry notices that the implementation class has changed.
shutdownListenerError(Object, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
SingletonServiceLifecycle - Class in org.apache.tapestry5.ioc.internal
The basic implementation of a service lifecycle, which simply uses the ObjectCreator to create an instance of the service when asked.
SingletonServiceLifecycle() - Constructor for class org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle
 
size(Object[]) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Returns the size of an object array, or null if the array is empty.
size(Collection) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
size() - Method in class org.apache.tapestry5.ioc.util.CaseInsensitiveMap
 
sortedKeys(Map) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Extracts the string keys from a map and returns them in sorted order.
Stack<E> - Class in org.apache.tapestry5.ioc.util
A simple, streamlined implementation of Stack.
Stack() - Constructor for class org.apache.tapestry5.ioc.util.Stack
Normal constructor supporting an initial size of 20.
Stack(int) - Constructor for class org.apache.tapestry5.ioc.util.Stack
 
start(ClassPool) - Method in class org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
Does nothing.
Startup - Annotation Type in org.apache.tapestry5.ioc.annotations
An annotation that may be placed on a startup method of a module.
startupFailure(Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
Status - Enum in org.apache.tapestry5.ioc.services
Used in ServiceActivity to identify the state of the service in terms of its overall lifecycle.
StrategyBuilder - Interface in org.apache.tapestry5.ioc.services
A service implementation builder that operates around a StrategyRegistry, implementing a version of the Gang of Four Strategy pattern.
StrategyBuilderImpl - Class in org.apache.tapestry5.ioc.internal.services
 
StrategyBuilderImpl(ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.services.StrategyBuilderImpl
 
StrategyRegistry<A> - Class in org.apache.tapestry5.ioc.util
A key component in implementing the "Gang of Four" Strategy pattern.
StringLocation - Class in org.apache.tapestry5.ioc.internal.services
Implementation of Location used when the underlying resource isn't really known.
StringLocation(String, int) - Constructor for class org.apache.tapestry5.ioc.internal.services.StringLocation
 
stripMemberName(String) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Strips leading "_" and "$" and trailing "_" from the name.
stub_contains(Messages, boolean) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
stub_isDebugEnabled(Logger, boolean) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
SubModule - Annotation Type in org.apache.tapestry5.ioc.annotations
Attached to a module class, this annotation identifies other module classes that should also be added to the Registry.
SymbolObjectProvider - Class in org.apache.tapestry5.ioc.internal.services
Performs an injection based on a Symbol annotation.
SymbolObjectProvider(SymbolSource, TypeCoercer) - Constructor for class org.apache.tapestry5.ioc.internal.services.SymbolObjectProvider
 
SymbolProvider - Interface in org.apache.tapestry5.ioc.services
A provider of values for symbols, used by the SymbolSource service.
SymbolSource - Interface in org.apache.tapestry5.ioc.services
Used to manage symbols, configuration properties whose value is evaluated at runtime.
SymbolSourceImpl - Class in org.apache.tapestry5.ioc.internal.services
 
SymbolSourceImpl(List<SymbolProvider>) - Constructor for class org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl
 
symbolUndefined(String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
symbolUndefinedInPath(String, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
SystemPropertiesSymbolProvider - Class in org.apache.tapestry5.ioc.internal.services
Obtains symbol values from JVM System properties.
SystemPropertiesSymbolProvider() - Constructor for class org.apache.tapestry5.ioc.internal.services.SystemPropertiesSymbolProvider
 

T

TapestryException - Exception in org.apache.tapestry5.ioc.internal.util
Exception class used as a replacement for RuntimeException when the exception is related to a particular location.
TapestryException(String, Object, Throwable) - Constructor for exception org.apache.tapestry5.ioc.internal.util.TapestryException
 
TapestryException(String, Throwable) - Constructor for exception org.apache.tapestry5.ioc.internal.util.TapestryException
 
TapestryException(String, Location, Throwable) - Constructor for exception org.apache.tapestry5.ioc.internal.util.TapestryException
 
TapestryIOCModule - Class in org.apache.tapestry5.ioc.services
Defines the base set of services for the Tapestry IOC container.
TapestryIOCModule() - Constructor for class org.apache.tapestry5.ioc.services.TapestryIOCModule
 
TestBase - Class in org.apache.tapestry5.ioc.test
Manages a set of EasyMock mock objects.
TestBase() - Constructor for class org.apache.tapestry5.ioc.test.TestBase
 
TestUtils - Class in org.apache.tapestry5.ioc.test
Extra assertions on top of the standard set, packaged as a base class for easy referencing in tests.
TestUtils() - Constructor for class org.apache.tapestry5.ioc.test.TestUtils
 
THREAD_POOL_CORE_SIZE - Static variable in class org.apache.tapestry5.ioc.IOCSymbols
The minimum size of the thread pool.
THREAD_POOL_ENABLED - Static variable in class org.apache.tapestry5.ioc.IOCSymbols
By default, the ParallelExecutor service uses a thread pool.
THREAD_POOL_KEEP_ALIVE - Static variable in class org.apache.tapestry5.ioc.IOCSymbols
Time in milliseconds (via TimeInterval) to keep waiting threads alive.
THREAD_POOL_MAX_SIZE - Static variable in class org.apache.tapestry5.ioc.IOCSymbols
Maximium size of the pool before submitted invocations must wait to execute; the default is 20.
threadCleanupError(ThreadCleanupListener, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
ThreadCleanupListener - Interface in org.apache.tapestry5.ioc.services
Listener interface for object that need to know about thread event cleanup.
threadDidCleanup() - Method in interface org.apache.tapestry5.ioc.services.ThreadCleanupListener
Invoked by PerthreadManager service when a thread performs and end-of-request cleanup.
ThreadLocale - Interface in org.apache.tapestry5.ioc.services
Stores the locale for the current thread.
ThreadLocaleImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ThreadLocaleImpl() - Constructor for class org.apache.tapestry5.ioc.internal.services.ThreadLocaleImpl
 
ThunkCreator - Interface in org.apache.tapestry5.ioc.services
A thunk is a delayed calculation.
ThunkCreatorImpl - Class in org.apache.tapestry5.ioc.internal.services
 
ThunkCreatorImpl(ClassFactory) - Constructor for class org.apache.tapestry5.ioc.internal.services.ThunkCreatorImpl
 
TimeInterval - Class in org.apache.tapestry5.ioc.util
Used to represent a period of time, specifically as a configuration value.
TimeInterval(String) - Constructor for class org.apache.tapestry5.ioc.util.TimeInterval
Creates a TimeInterval for a string.
TimeInterval(long) - Constructor for class org.apache.tapestry5.ioc.util.TimeInterval
 
toAdvisorDef2(AdvisorDef) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
toClass(CtClass, ClassLoader, ProtectionDomain) - Method in class org.apache.tapestry5.ioc.internal.services.ClassFactoryClassPool
Overriden to remove a deadlock producing synchronized block.
toContributionDef2(ContributionDef) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
toCtClass(Class) - Method in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
toCtClass(Class) - Method in interface org.apache.tapestry5.ioc.internal.services.CtClassSource
Converts an existing class to a CtClass instance.
toCtClass(String) - Method in interface org.apache.tapestry5.ioc.internal.services.CtClassSource
Converts a class name to a CtClass instance.
toCtClass(Class) - Method in class org.apache.tapestry5.ioc.internal.services.CtClassSourceImpl
 
toCtClass(String) - Method in class org.apache.tapestry5.ioc.internal.services.CtClassSourceImpl
 
toCtClasses(Class[]) - Method in class org.apache.tapestry5.ioc.internal.services.AbstractFab
 
toDecoratorDef2(DecoratorDef) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
toDescription() - Method in class org.apache.tapestry5.ioc.util.TimeInterval
Converts the milliseconds back into a string (compatible with TimeInterval.TimeInterval(String)).
toFileFromFileProtocolURL(URL) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Converts a URL with protocol "file" to a File instance.
toInternalServiceDef(ServiceDef) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
toJavaClassName(Class) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Javassist needs the class name to be as it appears in source code, even for arrays.
toJVMBinaryName(String) - Static method in class org.apache.tapestry5.ioc.services.ClassFabUtils
Translates types from standard Java format to Java VM format.
toList(Enumeration) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Converts an enumeration (of Strings) into a sorted list of Strings.
toMapper(Coercion<S, T>) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Wraps a as a Mapper.
toMessage(Throwable) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Extracts the message from an exception.
toModuleDef2(ModuleDef) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
toServiceDef2(ServiceDef) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
toServiceLifecycle2(ServiceLifecycle) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
toString() - Method in class org.apache.tapestry5.ioc.internal.AbstractMethodInvokingInstrumenter
 
toString() - Method in class org.apache.tapestry5.ioc.internal.AbstractServiceInstrumenter
 
toString() - Method in class org.apache.tapestry5.ioc.internal.ConstructorServiceCreator
 
toString() - Method in class org.apache.tapestry5.ioc.internal.ContributionDefImpl
 
toString() - Method in class org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl
Identifies the module class and a list of service ids within the module.
toString() - Method in class org.apache.tapestry5.ioc.internal.ModuleImpl
 
toString() - Method in class org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker
 
toString() - Method in class org.apache.tapestry5.ioc.internal.ServiceDefImpl
 
toString() - Method in class org.apache.tapestry5.ioc.internal.services.AbstractInvocation
 
toString() - Method in class org.apache.tapestry5.ioc.internal.services.AccessableObjectAnnotationProvider
 
toString() - Method in class org.apache.tapestry5.ioc.internal.services.ClassFabImpl
Returns a representation of the fabricated class, including inheritance, fields, constructors, methods and method bodies.
toString() - Method in class org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
 
toString() - Method in class org.apache.tapestry5.ioc.internal.services.CompoundCoercion
 
toString() - Method in class org.apache.tapestry5.ioc.internal.services.ExceptionAnalysisImpl
 
toString() - Method in class org.apache.tapestry5.ioc.internal.services.StringLocation
 
toString() - Method in class org.apache.tapestry5.ioc.internal.util.ClasspathResource
 
toString() - Method in class org.apache.tapestry5.ioc.internal.util.LocationImpl
 
toString() - Method in exception org.apache.tapestry5.ioc.internal.util.TapestryException
 
toString() - Method in class org.apache.tapestry5.ioc.Orderable
 
toString() - Method in class org.apache.tapestry5.ioc.services.CoercionTuple
 
toString() - Method in class org.apache.tapestry5.ioc.services.MethodSignature
 
toString() - Method in class org.apache.tapestry5.ioc.util.AvailableValues
 
toString() - Method in class org.apache.tapestry5.ioc.util.BodyBuilder
Returns the current contents of the buffer.
toString() - Method in class org.apache.tapestry5.ioc.util.Stack
Describes the stack, listing the element in order of depth (top element first).
toString() - Method in class org.apache.tapestry5.ioc.util.StrategyRegistry
 
toString() - Method in class org.apache.tapestry5.ioc.util.TimeInterval
 
touch(File) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
Touches the file, changing the last modified time to the current time.
toURL() - Method in class org.apache.tapestry5.ioc.internal.util.ClasspathResource
 
toURL() - Method in interface org.apache.tapestry5.ioc.Resource
Returns the URL for the resource, or null if it does not exist.
train_autobuild(ObjectLocator, Class<T>, T) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_coerce(TypeCoercer, S, Class<T>, T) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_contains(Messages, String, boolean) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_createInterceptor(ServiceDecorator, Object, Object) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_createObject(ObjectCreator, Object) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_expandSymbols(SymbolSource, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_expandSymbols(SymbolSource, String, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_forFile(Resource, String, Resource) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_forLocale(Resource, Locale, Resource) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_format(MessageFormatter, String, Object...) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
Have to put the result before the varargs.
train_get(Messages, String, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_get(PerthreadManager, String, Object) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getAnnotation(AnnotationProvider, Class<T>, T) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getLocale(ThreadLocale, Locale) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getLogger(LoggerSource, String, Logger) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getLogger(ServiceResources, Logger) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getMessageFormatter(Messages, String, MessageFormatter) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getPath(Resource, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getService(ObjectLocator, Class<T>, T) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getService(ObjectLocator, String, Class<T>, T) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getServiceId(ServiceDef, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getServiceId(ServiceResources, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getServiceInterface(ServiceDef, Class) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getServiceInterface(ServiceResources, Class) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_getTracker(ServiceResources, OperationTracker) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_isDebugEnabled(Logger, boolean) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_isTraceEnabled(Logger, boolean) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_matches(DecoratorDef, ServiceDef, boolean) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_provide(ObjectProvider, Class<T>, AnnotationProvider, ObjectLocator, T) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_toURL(Resource, URL) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_value(IntermediateType, Class) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
train_valueForSymbol(SymbolSource, String, String) - Method in class org.apache.tapestry5.ioc.test.IOCTestCase
 
tryLock() - Method in class org.apache.tapestry5.ioc.internal.util.DummyLock
 
tryLock(long, TimeUnit) - Method in class org.apache.tapestry5.ioc.internal.util.DummyLock
 
tryWithWrite(Runnable, long, TimeUnit) - Method in class org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier
Try to aquire the exclusive write lock and invoke the Runnable.
TypeCoercer - Interface in org.apache.tapestry5.ioc.services
Makes use of Coercions to convert between an input value (of some specific type) and a desired output type.
TypeCoercerImpl - Class in org.apache.tapestry5.ioc.internal.services
 
TypeCoercerImpl(Collection<CoercionTuple>) - Constructor for class org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl
 

U

unableToAddConstructor(CtClass, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
unableToAddField(String, CtClass, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
unableToAddMethod(MethodSignature, CtClass, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
unableToCreateClass(String, Class, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
unableToLookupClass(String, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
unableToWriteClass(CtClass, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
unknownObjectProvider(String, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
UnknownValueException - Exception in org.apache.tapestry5.ioc.util
Special exception used when a value (typically from a map) is referenced that does not exist.
UnknownValueException(String, AvailableValues) - Constructor for exception org.apache.tapestry5.ioc.util.UnknownValueException
 
UnknownValueException(String, Object, Throwable, AvailableValues) - Constructor for exception org.apache.tapestry5.ioc.util.UnknownValueException
 
unlock() - Method in class org.apache.tapestry5.ioc.internal.util.DummyLock
 
unmatchedServiceMethod(MethodSignature, Class) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
unreachable() - Static method in class org.apache.tapestry5.ioc.test.TestUtils
Invoked from code that should not be reachable.
UpdateListener - Interface in org.apache.tapestry5.services
Interface for objects which can periodically check for updates.
UpdateListenerHub - Interface in org.apache.tapestry5.services
Manages a set of UpdateListeners.
UpdateListenerHubImpl - Class in org.apache.tapestry5.ioc.internal.services
 
UpdateListenerHubImpl() - Constructor for class org.apache.tapestry5.ioc.internal.services.UpdateListenerHubImpl
 
URLChangeTracker - Class in org.apache.tapestry5.ioc.internal.util
Given a (growing) set of URLs, can periodically check to see if any of the underlying resources has changed.
URLChangeTracker() - Constructor for class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Creates a tracker using the default (does nothing) URL converter, with default (millisecond) granularity and folder tracking disabled.
URLChangeTracker(ClasspathURLConverter) - Constructor for class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Creates a new URL change tracker with millisecond-level granularity and folder checking enabled.
URLChangeTracker(ClasspathURLConverter, boolean) - Constructor for class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Creates a new URL change tracker, using either millisecond-level granularity or second-level granularity and folder checking enabled.
URLChangeTracker(ClasspathURLConverter, boolean, boolean) - Constructor for class org.apache.tapestry5.ioc.internal.util.URLChangeTracker
Creates a new URL change tracker, using either millisecond-level granularity or second-level granularity.
UsesConfiguration - Annotation Type in org.apache.tapestry5.ioc.annotations
A documentation-only interface placed on service interfaces for services which have an unordered configuration, to identify the type of contribution.
UsesMappedConfiguration - Annotation Type in org.apache.tapestry5.ioc.annotations
A documentation-only interface placed on service interfaces for services which have a mapped configuration, to identify the type of key (often, a String), and type ofcontribution.
UsesOrderedConfiguration - Annotation Type in org.apache.tapestry5.ioc.annotations
A documentation-only interface placed on service interfaces for services which have an ordered configuration, to identify the type of contribution.

V

validateConstructorForAutobuild(Constructor) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
validateMarkerAnnotation(Class) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
Validates that the marker annotation class had a retention policy of runtime.
validateMarkerAnnotations(Class[]) - Static method in class org.apache.tapestry5.ioc.internal.util.InternalUtils
 
ValidatingConfigurationWrapper<T> - Class in org.apache.tapestry5.ioc.internal
Wraps a Collection as a Configuration and perform validation that collected value are of the correct type.
ValidatingConfigurationWrapper(Class<T>, ObjectLocator, Collection<T>, String) - Constructor for class org.apache.tapestry5.ioc.internal.ValidatingConfigurationWrapper
 
ValidatingMappedConfigurationWrapper<K,V> - Class in org.apache.tapestry5.ioc.internal
A wrapper around a Map that provides the MappedConfiguration 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 other ContributionDef, then a warning is logged

When a warning is logged, the key/value pair is not added to the delegate.

ValidatingMappedConfigurationWrapper(Class<V>, ObjectLocator, Map<K, V>, Map<K, MappedConfigurationOverride<K, V>>, String, ContributionDef, Class<K>, Map<K, ContributionDef>) - Constructor for class org.apache.tapestry5.ioc.internal.ValidatingMappedConfigurationWrapper
 
ValidatingOrderedConfigurationWrapper<T> - Class in org.apache.tapestry5.ioc.internal
Wraps a List as a OrderedConfiguration, implementing validation of values provided to an OrderedConfiguration.
ValidatingOrderedConfigurationWrapper(Class<T>, ObjectLocator, Orderer<T>, Map<String, OrderedConfigurationOverride<T>>, ContributionDef, String) - Constructor for class org.apache.tapestry5.ioc.internal.ValidatingOrderedConfigurationWrapper
 
valueForKey(String) - Method in class org.apache.tapestry5.ioc.internal.util.MessagesImpl
 
valueForKey(String) - Method in class org.apache.tapestry5.ioc.util.AbstractMessages
Invoked to provide the value for a particular key.
valueForSymbol(String) - Method in class org.apache.tapestry5.ioc.internal.services.MapSymbolProvider
 
valueForSymbol(String) - Method in class org.apache.tapestry5.ioc.internal.services.ResourceSymbolProvider
 
valueForSymbol(String) - Method in class org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl
 
valueForSymbol(String) - Method in class org.apache.tapestry5.ioc.internal.services.SystemPropertiesSymbolProvider
 
valueForSymbol(String) - Method in interface org.apache.tapestry5.ioc.services.SymbolProvider
Returns the value for the symbol, or null if this provider can not provide a value.
valueForSymbol(String) - Method in interface org.apache.tapestry5.ioc.services.SymbolSource
Expands the value for a particular symbol.
ValueObjectProvider - Class in org.apache.tapestry5.ioc.internal.services
Provides an object when the Value annotation is present.
ValueObjectProvider(SymbolSource, TypeCoercer) - Constructor for class org.apache.tapestry5.ioc.internal.services.ValueObjectProvider
 
valueOf(String) - Static method in enum org.apache.tapestry5.ioc.internal.ConfigurationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.tapestry5.ioc.services.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.tapestry5.ioc.internal.ConfigurationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.tapestry5.ioc.services.Status
Returns an array containing the constants of this enum type, in the order they are declared.
verify() - Method in class org.apache.tapestry5.ioc.test.MockTester
Verifies that all trained methods have been invoked on all mock objects (created by MockTester.newMock(Class), then switches each mock object back to training mode.
verify() - Method in class org.apache.tapestry5.ioc.test.TestBase
Verifies that all trained methods have been invoked on all mock objects (created by TestBase.newMock(Class), then switches each mock object back to training mode.
visitAnnotationMemberValue(AnnotationMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitArrayMemberValue(ArrayMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitBooleanMemberValue(BooleanMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitByteMemberValue(ByteMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitCharMemberValue(CharMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitClassMemberValue(ClassMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitDoubleMemberValue(DoubleMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitEnumMemberValue(EnumMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitFloatMemberValue(FloatMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitIntegerMemberValue(IntegerMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitLongMemberValue(LongMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitShortMemberValue(ShortMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 
visitStringMemberValue(StringMemberValue) - Method in class org.apache.tapestry5.ioc.internal.services.AnnotationMemberValueVisitor
 

W

withExtension(String) - Method in class org.apache.tapestry5.ioc.internal.util.AbstractResource
 
withExtension(String) - Method in interface org.apache.tapestry5.ioc.Resource
Returns a new Resource with the extension changed (or, if the resource does not have an extension, the extension is added).
withId(String) - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
withId(String) - Method in interface org.apache.tapestry5.ioc.ServiceBindingOptions
Allows a specific service id for the service to be provided, rather than the default (from the service interface).
withMarker(Class<T>...) - Method in class org.apache.tapestry5.ioc.internal.ServiceBinderImpl
 
withMarker(Class<T>...) - Method in interface org.apache.tapestry5.ioc.ServiceBindingOptions
Defines the marker interface(s) for the service, used to connect injections by type at the point of injection with a particular service implementation, based on the intersection of type and marker interface.
withRead(Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier
Invokes the object after acquiring the read lock (if necessary).
withRead(Runnable) - Method in class org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier
As with ConcurrentBarrier.withRead(Invokable), creating an Invokable wrapper around the runnable object.
withWrite(Invokable<T>) - Method in class org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier
Acquires the exclusive write lock before invoking the Invokable.
withWrite(Runnable) - Method in class org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier
As with ConcurrentBarrier.withWrite(Invokable), creating an Invokable wrapper around the runnable object.
writeFailure(String, Object, Throwable) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
writeNotSupported(Object, String) - Static method in class org.apache.tapestry5.ioc.internal.services.ServiceMessages
 
WrongConfigurationTypeGuard - Class in org.apache.tapestry5.ioc.internal.util
Used when invoking a contribute method to guard against a request for the wrong type of configuration interface.
WrongConfigurationTypeGuard(String, Class, Class) - Constructor for class org.apache.tapestry5.ioc.internal.util.WrongConfigurationTypeGuard
 

A B C D E F G H I J K L M N O P Q R S T U V W

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