Interface Adapter
- All Known Subinterfaces:
- PropertyAdapter,- SearchablePropertyAdapter
- All Known Implementing Classes:
- AbstractPropertyAdapter,- AbstractQueryAdapter,- AbstractTagAdapter,- ActionAdapter,- CellUpdateAdapter,- ExpressionPropertyAdapter,- ExtensibleBinding,- IndirectTagBindingAdapter,- IndirectUDTTagAdapter,- NamedQueryAdapter,- SimpleBoundColorAdapter,- SimpleBoundPropertyAdapter,- SimpleBoundTagAdapter,- SQLPropertyAdapter,- TagHistoryAdapter,- UDTTagAdapter
public interface Adapter
An adapter is essentially a rider on a component that affects or augments the component's normal behavior in some
 way. The two common types of adapters are PropertyAdapters and ActionAdapters. PropertyAdapters are associated with
 one property of the target component, usually setting it to the value of something else.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnect(VisionClientContext appContext) Notifies the adapter that it should connect any listeners that it needs.voidNotifies the adapter that it should disconnect any listeners.Retrieves an array of the interactions that this adapter depends on.The target component is the component that this adapter serves.booleanisValid()Returns true if this adapter's configuration is valid.voidvoidshutdown()Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.voidstartup()Notifies the adapter that it is becoming active, and should start any polling/threaded activities.
- 
Method Details- 
startupvoid startup()Notifies the adapter that it is becoming active, and should start any polling/threaded activities.
- 
shutdownvoid shutdown()Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.
- 
disconnectvoid disconnect()Notifies the adapter that it should disconnect any listeners.
- 
connectNotifies the adapter that it should connect any listeners that it needs. Adapters will remain connected throughout their lifetime, even when they are dormant
- 
getInteractionsInteractionDescriptor[] getInteractions()Retrieves an array of the interactions that this adapter depends on. An interaction descriptor describes an inter-component interaction.
- 
getTargetComponent getTarget()The target component is the component that this adapter serves. This means it is the target of a property adapter or the source of events for an action adapter.
- 
setTarget
- 
isValidboolean isValid()Returns true if this adapter's configuration is valid. This somewhat of a hack, to detect if something has gone wrong with the adapter (due do serialization, we think?)
 
-