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()
.boolean
Returns true.toString()
Methods inherited from class org.apache.tapestry5.internal.bindings.AbstractBinding
getAnnotation, getBindingGenericType, set
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
-
Field Details
-
description
-
-
Constructor Details
-
InvariantBinding
-
-
Method Details
-
isInvariant
Returns true.- Specified by:
isInvariant
in interfaceBinding
- Overrides:
isInvariant
in classAbstractBinding
-
getBindingType
Description copied from class:AbstractBinding
Returns 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:
getBindingType
in interfaceBinding
- Overrides:
getBindingType
in classAbstractBinding
-
toString
-