Package com.palantir.ptoss.cinch.core
-
Interface Summary Interface Description BindableModel A model that can have bindings applied to it.Binding Interface for Binding objects.BindingWiring Interface for classes that perform wiring of bindings.ModelUpdate A marker interface to designate that anEnum
is intended to be used as a model update specifier.WiringHarness<T extends java.lang.annotation.Annotation,W> Interface for classes that actually perform a specific wiring. -
Class Summary Class Description BindingContext ABindingContext
holds information about how to bind various parts of a Java Object.Bindings AllBinding
s are called whenModelUpdates.ALL
is called.CallOnUpdate.Wiring Utility class that performs the wiring forCallOnUpdate
annotations.DefaultBindableModel Default implementation ofBindableModel
- should be subclassed by implementations.NopBindableModel ABindableModel
implementation which does nothing.ObjectFieldMethod A simple tuple of an object, a field on that object's class, and a method of that object's class.SimpleBinding An implementation ofBinding
that hides the complicated method signature required of that interface.WeakBindableModel Superclass forBindableModel
instances, this class handles the binding tasks for subclassed models.WeakBindableModelSupport A stand-alone implementation ofBindableModel
. -
Enum Summary Enum Description ModelUpdates Pre-definedModelUpdate
types with special meanings to the framework. -
Exception Summary Exception Description BindingException A runtime exception for when a binding fails to bind or fails to perform. -
Annotation Types Summary Annotation Type Description Bindable Marks the annotated field or type as bindable.CallOnUpdate An annotation to mark that a method should be called when the bound model updates in a specific way.NotBindable Marks the annotated field as not bindable.