public interface ConnectorPersistentStoreAware
Connector
implements this marker interface, then the Connector
Manager will call the setter when it instantiates it, supplying a
ConnectorPersistentStore
object, which encapsulates how a connector
can persist and use information about documents or any other information.
Note: The Connector Manager calls setDatabaseAccess
after the Connector has been instantiated by Spring, but before calling
Connector.login()
. If the Connector
bean configuration
specifies dependency-check="all"
or if setDatabaseAccess
has been annotated @Required
, the bean configuration must
specify a default value, such as <null/>
, to satisfy the dependency
during bean construction.
Modifier and Type | Method and Description |
---|---|
void |
setDatabaseAccess(ConnectorPersistentStore databaseAccess) |
void setDatabaseAccess(ConnectorPersistentStore databaseAccess)