Package org.apache.tapestry5
Interface Binding2
-
- All Superinterfaces:
AnnotationProvider,Binding
- All Known Subinterfaces:
InternalPropBinding
- All Known Implementing Classes:
AbstractBinding,AssetBinding,AttributeExpansionBinding,BlockBinding,ComponentBinding,InvariantBinding,LiteralBinding,PropBinding,RenderVariableBinding
public interface Binding2 extends Binding
Extension toBindingthat adds a method to access the generic property type.BindingFactoryinstances should ideally return Binding2 objects, not Binding. This is only primarily of interest toComponentResources.- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.reflect.TypegetBindingGenericType()Returns the generic type of the binding-
Methods inherited from interface org.apache.tapestry5.commons.AnnotationProvider
getAnnotation
-
Methods inherited from interface org.apache.tapestry5.Binding
get, getBindingType, isInvariant, set
-
-
-
-
Method Detail
-
getBindingGenericType
java.lang.reflect.Type getBindingGenericType()
Returns the generic type of the binding- See Also:
Method.getGenericReturnType(),Field.getGenericType()
-
-