public class StoredIDDataConnectorBeanFactory extends BaseDataConnectorFactoryBean
StoredIDDataConnectors.| Modifier and Type | Field and Description |
|---|---|
private DataSource |
datasource
Datasource used to communicate with database.
|
private String |
generatedAttribute
ID of the attribute generated by the connector.
|
private long |
queryTimeout
SQL query timeout in milliseconds.
|
private byte[] |
salt
Salt used when computing the ID.
|
private String |
sourceAttribute
ID of the attribute whose first value is used when generating the computed ID.
|
| 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, setFailoverDataConnectorIdsgetDependencyIds, getPluginId, setDependencyIds, setPluginIdprivate DataSource datasource
private long queryTimeout
private String generatedAttribute
private String sourceAttribute
private byte[] salt
public Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeangetObjectType in class org.springframework.beans.factory.config.AbstractFactoryBeanpublic 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-2015. All Rights Reserved.