Uses of Interface
org.apache.tapestry5.commons.AnnotationProvider
-
Packages that use AnnotationProvider Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.beanmodel Support classes for theBeanEditor
component.org.apache.tapestry5.beanmodel.internal org.apache.tapestry5.beanmodel.internal.beanmodel org.apache.tapestry5.beanmodel.internal.services org.apache.tapestry5.commons org.apache.tapestry5.commons.internal org.apache.tapestry5.commons.internal.services org.apache.tapestry5.commons.internal.util org.apache.tapestry5.commons.services org.apache.tapestry5.internal [INTERNAL USE ONLY] internal support classes; API subject to change.org.apache.tapestry5.internal.beaneditor [INTERNAL USE ONLY] support classes for theBeanEditor
component; API subject to changeorg.apache.tapestry5.internal.beanvalidator [INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to changeorg.apache.tapestry5.internal.bindings [INTERNAL USE ONLY] support classes for binding; API subject to changeorg.apache.tapestry5.internal.jpa [INTERNAL USE ONLY] support classes for the JPA module; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.structure [INTERNAL USE ONLY] page structure implementation details; API subject to change.org.apache.tapestry5.ioc A code-centric, high-performance, simple Inversion of Control containerorg.apache.tapestry5.ioc.internal [INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.org.apache.tapestry5.ioc.internal.services [INTERNAL USE ONLY] Tapestry IOC service implementation classes; API subject to change.org.apache.tapestry5.ioc.internal.util [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to changeorg.apache.tapestry5.ioc.services Tapestry IOC service interfacesorg.apache.tapestry5.ioc.test org.apache.tapestry5.services Core servicesorg.apache.tapestry5.test Support for testing Tapestry pages -
-
Uses of AnnotationProvider in org.apache.tapestry5
Subinterfaces of AnnotationProvider in org.apache.tapestry5 Modifier and Type Interface Description interface
Binding
A binding is a connection between a component and its container (another component), that allows the embedded component to gain access to resources defined by the container.interface
Binding2
Extension toBinding
that adds a method to access the generic property type.Methods in org.apache.tapestry5 that return AnnotationProvider Modifier and Type Method Description AnnotationProvider
ComponentResources. getAnnotationProvider(java.lang.String parameterName)
Returns an annotation provider, used to obtain annotations related to the parameter. -
Uses of AnnotationProvider in org.apache.tapestry5.beanmodel
Subinterfaces of AnnotationProvider in org.apache.tapestry5.beanmodel Modifier and Type Interface Description interface
PropertyConduit
Used to read or update the value associated with a property.interface
PropertyConduit2
Extension toPropertyConduit
that adds a method to access the generic property type.interface
PropertyModel
Part of aBeanModel
that defines the attributes of a single property of a bean. -
Uses of AnnotationProvider in org.apache.tapestry5.beanmodel.internal
Subinterfaces of AnnotationProvider in org.apache.tapestry5.beanmodel.internal Modifier and Type Interface Description interface
InternalPropertyConduit
Extension toPropertyConduit2
that adds a method to determine the name of the property. -
Uses of AnnotationProvider in org.apache.tapestry5.beanmodel.internal.beanmodel
Classes in org.apache.tapestry5.beanmodel.internal.beanmodel that implement AnnotationProvider Modifier and Type Class Description class
PropertyModelImpl
-
Uses of AnnotationProvider in org.apache.tapestry5.beanmodel.internal.services
Classes in org.apache.tapestry5.beanmodel.internal.services that implement AnnotationProvider Modifier and Type Class Description class
CoercingPropertyConduitWrapper
class
LiteralPropertyConduit
A PropertyConduit for a literal value in an expression, such as a number, or "true", "false" or "null".class
PropertyAdapterImpl
Constructors in org.apache.tapestry5.beanmodel.internal.services with parameters of type AnnotationProvider Constructor Description LiteralPropertyConduit(TypeCoercer typeCoercer, java.lang.Class propertyType, AnnotationProvider annotationProvider, java.lang.String description, java.lang.Object value)
-
Uses of AnnotationProvider in org.apache.tapestry5.commons
Methods in org.apache.tapestry5.commons with parameters of type AnnotationProvider Modifier and Type Method Description <T> T
ObjectLocator. getObject(java.lang.Class<T> objectType, AnnotationProvider annotationProvider)
Obtains an object indirectly, using theMasterObjectProvider
service.<T> T
ObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
Provides an object based on an expression. -
Uses of AnnotationProvider in org.apache.tapestry5.commons.internal
Classes in org.apache.tapestry5.commons.internal that implement AnnotationProvider Modifier and Type Class Description class
NullAnnotationProvider
A null implementation ofAnnotationProvider
, used when there is not appropriate source of annotations. -
Uses of AnnotationProvider in org.apache.tapestry5.commons.internal.services
Classes in org.apache.tapestry5.commons.internal.services that implement AnnotationProvider Modifier and Type Class Description class
AccessableObjectAnnotationProvider
Provides access to annotations of an accessable object such as aMethod
orField
.class
AnnotationProviderChain
Chain of command forAnnotationProvider
.Methods in org.apache.tapestry5.commons.internal.services that return AnnotationProvider Modifier and Type Method Description static AnnotationProvider
AnnotationProviderChain. create(java.util.List<AnnotationProvider> providers)
Creates an AnnotationProvider from the list of providers.Method parameters in org.apache.tapestry5.commons.internal.services with type arguments of type AnnotationProvider Modifier and Type Method Description static AnnotationProvider
AnnotationProviderChain. create(java.util.List<AnnotationProvider> providers)
Creates an AnnotationProvider from the list of providers.Constructors in org.apache.tapestry5.commons.internal.services with parameters of type AnnotationProvider Constructor Description AnnotationProviderChain(AnnotationProvider[] providers)
-
Uses of AnnotationProvider in org.apache.tapestry5.commons.internal.util
Fields in org.apache.tapestry5.commons.internal.util declared as AnnotationProvider Modifier and Type Field Description static AnnotationProvider
InternalCommonsUtils. NULL_ANNOTATION_PROVIDER
Methods in org.apache.tapestry5.commons.internal.util that return AnnotationProvider Modifier and Type Method Description static AnnotationProvider
InternalCommonsUtils. toAnnotationProvider(java.lang.Class element)
static AnnotationProvider
InternalCommonsUtils. toAnnotationProvider(java.lang.reflect.Method element)
-
Uses of AnnotationProvider in org.apache.tapestry5.commons.services
Subinterfaces of AnnotationProvider in org.apache.tapestry5.commons.services Modifier and Type Interface Description interface
PropertyAdapter
Provides access to a single property within a class. -
Uses of AnnotationProvider in org.apache.tapestry5.internal
Classes in org.apache.tapestry5.internal that implement AnnotationProvider Modifier and Type Class Description class
BeanEditContextImpl
-
Uses of AnnotationProvider in org.apache.tapestry5.internal.beaneditor
Methods in org.apache.tapestry5.internal.beaneditor with parameters of type AnnotationProvider Modifier and Type Method Description java.util.List<java.lang.String>
MessagesConstraintGenerator. buildConstraints(java.lang.Class propertyType, AnnotationProvider annotationProvider)
java.util.List<java.lang.String>
PrimitiveFieldConstraintGenerator. buildConstraints(java.lang.Class<?> propertyType, AnnotationProvider annotationProvider)
java.util.List<java.lang.String>
ValidateAnnotationConstraintGenerator. buildConstraints(java.lang.Class propertyType, AnnotationProvider annotationProvider)
-
Uses of AnnotationProvider in org.apache.tapestry5.internal.beanvalidator
Methods in org.apache.tapestry5.internal.beanvalidator with parameters of type AnnotationProvider Modifier and Type Method Description FieldValidator
BeanFieldValidatorDefaultSource. createDefaultValidator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)
-
Uses of AnnotationProvider in org.apache.tapestry5.internal.bindings
Subinterfaces of AnnotationProvider in org.apache.tapestry5.internal.bindings Modifier and Type Interface Description interface
InternalPropBinding
Internal marker interface for PropBindingClasses in org.apache.tapestry5.internal.bindings that implement AnnotationProvider Modifier and Type Class Description class
AbstractBinding
Abstract base class for bindings.class
AssetBinding
class
BlockBinding
class
ComponentBinding
class
InvariantBinding
ExtendsAbstractBinding
with a description and a binding type, with invariant forced to true.class
LiteralBinding
Binding type for literal, immutable values.class
PropBinding
Base class for bindings created by thePropBindingFactory
.class
RenderVariableBinding
-
Uses of AnnotationProvider in org.apache.tapestry5.internal.jpa
Methods in org.apache.tapestry5.internal.jpa with parameters of type AnnotationProvider Modifier and Type Method Description <T> T
EntityManagerObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
-
Uses of AnnotationProvider in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement AnnotationProvider Modifier and Type Class Description class
AttributeExpansionBinding
Wraps aStringProvider
as a read-onlyBinding
.Methods in org.apache.tapestry5.internal.services with parameters of type AnnotationProvider Modifier and Type Method Description java.util.List<java.lang.String>
ValidationConstraintGeneratorImpl. buildConstraints(java.lang.Class propertyType, AnnotationProvider annotationProvider)
FieldTranslator
FieldTranslatorSourceImpl. createDefaultTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)
FieldValidator
FieldValidatorDefaultSourceImpl. createDefaultValidator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)
<T> T
ApplicationMessageCatalogObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
<T> T
AssetObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
Provides the asset.<T> T
ServiceAnnotationObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
-
Uses of AnnotationProvider in org.apache.tapestry5.internal.structure
Methods in org.apache.tapestry5.internal.structure that return AnnotationProvider Modifier and Type Method Description AnnotationProvider
InternalComponentResourcesImpl. getAnnotationProvider(java.lang.String parameterName)
-
Uses of AnnotationProvider in org.apache.tapestry5.ioc
Methods in org.apache.tapestry5.ioc that return AnnotationProvider Modifier and Type Method Description AnnotationProvider
AnnotationAccess. getClassAnnotationProvider()
Returns a provider for annotations on the service class and interface.AnnotationProvider
AnnotationAccess. getMethodAnnotationProvider(java.lang.String methodName, java.lang.Class... parameterTypes)
Returns a provider for annotations of a method of the class. -
Uses of AnnotationProvider in org.apache.tapestry5.ioc.internal
Methods in org.apache.tapestry5.ioc.internal that return AnnotationProvider Modifier and Type Method Description AnnotationProvider
AnnotationAccessImpl. getClassAnnotationProvider()
AnnotationProvider
ServiceDefImpl. getClassAnnotationProvider()
AnnotationProvider
ServiceResourcesImpl. getClassAnnotationProvider()
AnnotationProvider
AnnotationAccessImpl. getMethodAnnotationProvider(java.lang.String methodName, java.lang.Class... parameterTypes)
AnnotationProvider
ServiceDefImpl. getMethodAnnotationProvider(java.lang.String methodName, java.lang.Class... argumentTypes)
AnnotationProvider
ServiceResourcesImpl. getMethodAnnotationProvider(java.lang.String methodName, java.lang.Class... parameterTypes)
Methods in org.apache.tapestry5.ioc.internal with parameters of type AnnotationProvider Modifier and Type Method Description <T> T
InternalRegistry. getObject(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, Module localModule)
As withObjectLocator.getObject(Class, org.apache.tapestry5.commons.AnnotationProvider)
, but handles theLocal
annotation.<T> T
ObjectLocatorImpl. getObject(java.lang.Class<T> objectType, AnnotationProvider annotationProvider)
<T> T
RegistryImpl. getObject(java.lang.Class<T> objectType, AnnotationProvider annotationProvider)
<T> T
RegistryImpl. getObject(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, Module localModule)
<T> T
RegistryWrapper. getObject(java.lang.Class<T> objectType, AnnotationProvider annotationProvider)
-
Uses of AnnotationProvider in org.apache.tapestry5.ioc.internal.services
Methods in org.apache.tapestry5.ioc.internal.services that return AnnotationProvider Modifier and Type Method Description AnnotationProvider
AbtractAspectInterceptorBuilder. getClassAnnotationProvider()
AnnotationProvider
AbtractAspectInterceptorBuilder. getMethodAnnotationProvider(java.lang.String methodName, java.lang.Class... parameterTypes)
Methods in org.apache.tapestry5.ioc.internal.services with parameters of type AnnotationProvider Modifier and Type Method Description <T> T
AutobuildObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
<T> T
MasterObjectProviderImpl. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, boolean required)
<T> T
StaticObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
<T> T
SymbolObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
<T> T
ValueObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
-
Uses of AnnotationProvider in org.apache.tapestry5.ioc.internal.util
Fields in org.apache.tapestry5.ioc.internal.util with type parameters of type AnnotationProvider Modifier and Type Field Description static Mapper<java.lang.Class,AnnotationProvider>
InternalUtils. CLASS_TO_AP_MAPPER
static Mapper<java.lang.reflect.Method,AnnotationProvider>
InternalUtils. METHOD_TO_AP_MAPPER
Methods in org.apache.tapestry5.ioc.internal.util that return AnnotationProvider Modifier and Type Method Description static AnnotationProvider
InternalUtils. toAnnotationProvider(java.lang.Class element)
static AnnotationProvider
InternalUtils. toAnnotationProvider(java.lang.reflect.Method element)
-
Uses of AnnotationProvider in org.apache.tapestry5.ioc.services
Methods in org.apache.tapestry5.ioc.services with parameters of type AnnotationProvider Modifier and Type Method Description <T> T
MasterObjectProvider. provide(java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, boolean required)
Provides an object based on an expression. -
Uses of AnnotationProvider in org.apache.tapestry5.ioc.test
Methods in org.apache.tapestry5.ioc.test that return AnnotationProvider Modifier and Type Method Description protected AnnotationProvider
IOCTestCase. mockAnnotationProvider()
Deprecated.Methods in org.apache.tapestry5.ioc.test with parameters of type AnnotationProvider Modifier and Type Method Description protected <T extends java.lang.annotation.Annotation>
voidIOCTestCase. train_getAnnotation(AnnotationProvider annotationProvider, java.lang.Class<T> annotationClass, T annotation)
Deprecated.protected <T> void
IOCTestCase. train_provide(ObjectProvider provider, java.lang.Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, T object)
Deprecated. -
Uses of AnnotationProvider in org.apache.tapestry5.services
Subinterfaces of AnnotationProvider in org.apache.tapestry5.services Modifier and Type Interface Description interface
BeanEditContext
Defines a context for editing a bean viaBeanEditor
.interface
PropertyEditContext
Defines a context for editing a property of a bean viaBeanEditor
.Methods in org.apache.tapestry5.services with parameters of type AnnotationProvider Modifier and Type Method Description java.util.List<java.lang.String>
ValidationConstraintGenerator. buildConstraints(java.lang.Class<?> propertyType, AnnotationProvider annotationProvider)
For a given property, identify all the approprite validation constraints.FieldTranslator
FieldTranslatorSource. createDefaultTranslator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)
Creates aFieldTranslator
for the given property, or returns null if one can't be constructed.FieldValidator
FieldValidatorDefaultSource. createDefaultValidator(Field field, java.lang.String overrideId, Messages overrideMessages, java.util.Locale locale, java.lang.Class propertyType, AnnotationProvider propertyAnnotations)
Analyzes the property type and property annotations to determine the default set of validations for the property, which are wrapped to form aFieldValidator
for a field. -
Uses of AnnotationProvider in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test with parameters of type AnnotationProvider Modifier and Type Method Description protected void
TapestryTestCase. train_buildConstraints(ValidationConstraintGenerator generator, java.lang.Class propertyType, AnnotationProvider provider, java.lang.String... constraints)
-