org.apache.tapestry5.internal.bindings
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, AnnotationProvider, Locatable
public abstract class InvariantBinding
- extends AbstractBinding
Extends AbstractBinding
with a description and a binding type, with
invariant forced to true.
Methods inherited from interface org.apache.tapestry5.Binding |
get |
description
protected final String description
InvariantBinding
public InvariantBinding(Location location,
Class bindingType,
String description)
isInvariant
public boolean isInvariant()
- Returns true.
- Specified by:
isInvariant
in interface Binding
- Overrides:
isInvariant
in class AbstractBinding
getBindingType
public Class getBindingType()
- Description copied from class:
AbstractBinding
- Returns the actual class, by invoking
Binding.get()
. Subclasses may override this method to work more
efficiently (say, when the binding type is known statically).
- Specified by:
getBindingType
in interface Binding
- Overrides:
getBindingType
in class AbstractBinding
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 The Apache Software Foundation.