public class StoredIDDataConnectorBeanFactory extends BaseDataConnectorFactoryBean
StoredIDDataConnector
s.Constructor and Description |
---|
StoredIDDataConnectorBeanFactory() |
Modifier and Type | Method and Description |
---|---|
protected Object |
createInstance() |
DataSource |
getDatasource()
Gets the datasource used to communicate with database.
|
String |
getGeneratedAttribute()
Gets the ID of the attribute generated by the connector.
|
Class |
getObjectType() |
long |
getQueryTimeout()
Gets the timeout, in milliseconds, of the SQL query.
|
byte[] |
getSalt()
Gets the salt used when computing the ID.
|
String |
getSourceAttribute()
Gets the ID of the attribute whose first value is used when generating the computed ID.
|
void |
setDatasource(DataSource source)
Sets the datasource used to communicate with database.
|
void |
setGeneratedAttribute(String id)
Sets the ID of the attribute generated by the connector.
|
void |
setQueryTimeout(long timeout)
Sets the timeout, in milliseconds, of the SQL query.
|
void |
setSalt(byte[] salt)
Sets the salt used when computing the ID.
|
void |
setSourceAttribute(String id)
Sets the ID of the attribute whose first value is used when generating the computed ID.
|
getFailoverDataConnectorId, populateDataConnector, setFailoverDataConnectorIds
getDependencyIds, getPluginId, setDependencyIds, setPluginId
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
public DataSource getDatasource()
public void setDatasource(DataSource source)
source
- datasource used to communicate with databasepublic long getQueryTimeout()
public void setQueryTimeout(long timeout)
timeout
- timeout, in milliseconds, of the SQL query.public String getGeneratedAttribute()
public void setGeneratedAttribute(String id)
id
- ID of the attribute generated by the connectorpublic String getSourceAttribute()
public void setSourceAttribute(String id)
id
- ID of the attribute whose first value is used when generating the computed IDpublic byte[] getSalt()
public void setSalt(byte[] salt)
salt
- salt used when computing the IDCopyright © 1999–2014. All rights reserved.