breeze-client / BaseAdapter
Interface: BaseAdapter
Defined in: src/config/config.ts:76
What every Breeze adapter implements: the model library, data service, URI builder and (deprecated) ajax adapters all extend this interface.
Extended by
Properties
checkForRecomposition?
optionalcheckForRecomposition?: (context) =>void
Defined in: src/config/config.ts:96
Optional. Called each time any adapter is initialized after this one first was, with { interfaceName, instance, isDefault }, so that this adapter can pick up a new dependency. The data service adapters use it to re-resolve their ajax adapter when a new default ajax adapter is initialized.
Parameters
context
any
Returns
void
name
name:
string
Defined in: src/config/config.ts:84
The name the adapter is registered under, such as 'webApi' or 'backingStore'. Names are matched without regard to case. registerAdapter reads it from a throwaway instance and throws if it is empty.
Methods
initialize()
initialize():
void
Defined in: src/config/config.ts:90
Called by Breeze each time the adapter is initialized: when it is first created, and again whenever it is initialized by name or registered again, for example by configureBreeze. Resolve anything the adapter depends on here, not in the constructor.
Returns
void