public class StoredIDDataConnectorBeanFactory extends BaseDataConnectorFactoryBean
StoredIDDataConnector
s.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, setFailoverDataConnectorIds
getDependencyIds, getPluginId, setDependencyIds, setPluginId
private DataSource datasource
private long queryTimeout
private String generatedAttribute
private String sourceAttribute
private byte[] salt
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-2012. All Rights Reserved.