# Uses of Interface
org.apache.cayenne.di.Binder

Packages that use Binder
Package
Description
org.apache.cayenne.configuration.rop.client
org.apache.cayenne.configuration.server
org.apache.cayenne.di

- ## Uses of Binder in org.apache.cayenne.configuration.rop.client

  Methods in org.apache.cayenne.configuration.rop.client with parameters of type Binder
  Modifier and Type
  Method
  Description
  `void`
  ClientModule.`configure(Binder binder)`

- ## Uses of Binder in org.apache.cayenne.configuration.server

  Methods in org.apache.cayenne.configuration.server with parameters of type Binder
  Modifier and Type
  Method
  Description
  `void`
  ServerModule.`configure(Binder binder)`
  `static ListBuilder<DbAdapterDetector>`
  ServerModule.`contributeAdapterDetectors(Binder binder)`
  Provides access to a DI collection builder for `DbAdapterDetector`'s that allows downstream modules to "contribute" their own adapter detectors.
  `static ListBuilder<ExtendedType>`
  ServerModule.`contributeDefaultTypes(Binder binder)`
  Provides access to a DI collection builder for default adapter-agnostic `ExtendedType`'s that allows downstream modules to "contribute" their own types.
  `static ListBuilder<DataChannelFilter>`
  ServerModule.`contributeDomainFilters(Binder binder)`
  Deprecated.
  since 4.1 use `ServerModule.contributeDomainQueryFilters(Binder)` and `ServerModule.contributeDomainSyncFilters(Binder)`
  `static ListBuilder<Object>`
  ServerModule.`contributeDomainListeners(Binder binder)`
  Provides access to a DI collection builder for lifecycle events listeners.
  `static ListBuilder<DataChannelQueryFilter>`
  ServerModule.`contributeDomainQueryFilters(Binder binder)`
  Provides access to a DI collection builder for `DataChannelQueryFilter`'s that allows downstream modules to "contribute" their own DataDomain query filters
  `static ListBuilder<DataChannelSyncFilter>`
  ServerModule.`contributeDomainSyncFilters(Binder binder)`
  Provides access to a DI collection builder for `DataChannelSyncFilter`'s that allows downstream modules to "contribute" their own DataDomain sync filters
  `static MapBuilder<PkGenerator>`
  ServerModule.`contributePkGenerators(Binder binder)`
  Provides access to a DI map builder for `PkGenerator`'s that allows downstream modules to "contribute" their own pk generators.
  `static ListBuilder<String>`
  ServerModule.`contributeProjectLocations(Binder binder)`
  Provides access to a DI collection builder for String locations that allows downstream modules to "contribute" their own Cayenne project locations.
  `static MapBuilder<String>`
  ServerModule.`contributeProperties(Binder binder)`
  Provides access to a DI map builder for runtime properties that allows downstream modules to "contribute" their own properties.
  `static ListBuilder<ExtendedTypeFactory>`
  ServerModule.`contributeTypeFactories(Binder binder)`
  Provides access to a DI collection builder for `ExtendedTypeFactory`'s that allows downstream modules to "contribute" their own factories.
  `static ListBuilder<ExtendedType>`
  ServerModule.`contributeUserTypes(Binder binder)`
  Provides access to a DI collection builder for `ExtendedType`'s that allows downstream modules to "contribute" their own types.
  `static ListBuilder<ValueObjectType>`
  ServerModule.`contributeValueObjectTypes(Binder binder)`
  `static void`
  ServerModule.`setSnapshotCacheSize(Binder binder, int size)`
  Sets max size of snapshot cache, in pre 4.0 version this was set in the Modeler.
  `static void`
  ServerModule.`useExternalTransactions(Binder binder, boolean useExternal)`
  Sets transaction management to either external or internal transactions.

- ## Uses of Binder in org.apache.cayenne.di

  Methods in org.apache.cayenne.di with parameters of type Binder
  Modifier and Type
  Method
  Description
  `void`
  Module.`configure(Binder binder)`