Class InvariantBinding
java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.bindings.AbstractBinding
org.apache.tapestry5.internal.bindings.InvariantBinding
- All Implemented Interfaces:
Binding,Binding2,AnnotationProvider,Locatable
Extends
AbstractBinding with a description and a binding type, with
invariant forced to true.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the actual class, by invokingBinding.get().booleanReturns true.toString()Methods inherited from class org.apache.tapestry5.internal.bindings.AbstractBinding
getAnnotation, getBindingGenericType, setMethods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
-
Field Details
-
description
-
-
Constructor Details
-
InvariantBinding
-
-
Method Details
-
isInvariant
Returns true.- Specified by:
isInvariantin interfaceBinding- Overrides:
isInvariantin classAbstractBinding
-
getBindingType
Description copied from class:AbstractBindingReturns the actual class, by invokingBinding.get(). Subclasses may override this method to work more efficiently (say, when the binding type is known statically).- Specified by:
getBindingTypein interfaceBinding- Overrides:
getBindingTypein classAbstractBinding
-
toString
-