◆ BltAdaptorManager()
eu.baltrad.beast.adaptor.BltAdaptorManager.BltAdaptorManager |
( |
| ) |
|
|
inline |
◆ afterPropertiesSet()
void eu.baltrad.beast.adaptor.BltAdaptorManager.afterPropertiesSet |
( |
| ) |
throws Exception |
|
inline |
- See also
- org.springframework.beans.factory.InitializingBean.afterPropertiesSet()
◆ createConfiguration()
IAdaptorConfiguration eu.baltrad.beast.adaptor.BltAdaptorManager.createConfiguration |
( |
String | type, |
|
|
String | name ) |
|
inline |
◆ doMapAdaptorRow()
IAdaptor eu.baltrad.beast.adaptor.BltAdaptorManager.doMapAdaptorRow |
( |
ResultSet | rs, |
|
|
int | rownum ) throws SQLException |
|
inlineprotected |
Maps one adaptor row into an adaptor by using the types read function.
- Parameters
-
rs | the result set |
rownum | the row number |
- Returns
- the adaptor if found
- Exceptions
-
SQLException | on any SQL related exception |
◆ getAdaptor()
IAdaptor eu.baltrad.beast.adaptor.BltAdaptorManager.getAdaptor |
( |
String | name | ) |
|
|
inline |
◆ getAdaptorMapper()
RowMapper< IAdaptor > eu.baltrad.beast.adaptor.BltAdaptorManager.getAdaptorMapper |
( |
| ) |
|
|
inlineprotected |
Creates a ParameterizedRowMapper instance for fetching the data from the database tables.
- Returns
- the parameterized row mapper
◆ getAdaptorNames()
List< String > eu.baltrad.beast.adaptor.BltAdaptorManager.getAdaptorNames |
( |
| ) |
|
|
inline |
◆ getAvailableTypes()
List< String > eu.baltrad.beast.adaptor.BltAdaptorManager.getAvailableTypes |
( |
| ) |
|
|
inline |
◆ getRegisteredAdaptors()
List< IAdaptor > eu.baltrad.beast.adaptor.BltAdaptorManager.getRegisteredAdaptors |
( |
| ) |
|
|
inline |
◆ getTypeRegistry()
◆ handle() [1/3]
◆ handle() [2/3]
void eu.baltrad.beast.adaptor.BltAdaptorManager.handle |
( |
IRoutedMessage | message | ) |
|
|
inline |
◆ handle() [3/3]
◆ redefineAdaptorConfiguration()
IAdaptor eu.baltrad.beast.adaptor.BltAdaptorManager.redefineAdaptorConfiguration |
( |
int | adaptor_id, |
|
|
String | type, |
|
|
IAdaptorConfiguration | configuration ) |
|
inlineprotected |
Will reregister the adaptor specific configuration for the new type of adaptor, then the old adaptor specific configuration will be removed.
- Parameters
-
adaptor_id | the adaptor id |
type | the old type of adaptor configuration |
configuration | the new adaptor configuration |
- Returns
- an adaptor
- Exceptions
-
◆ register()
◆ reregister()
◆ setAdaptors()
void eu.baltrad.beast.adaptor.BltAdaptorManager.setAdaptors |
( |
Map< String, IAdaptor > | adaptors | ) |
|
|
inline |
Sets the adaptors.
Mostly used for test purposes otherwise this information is read from the database.
- Parameters
-
◆ setJdbcTemplate()
void eu.baltrad.beast.adaptor.BltAdaptorManager.setJdbcTemplate |
( |
JdbcOperations | template | ) |
|
|
inline |
Sets the jdbc template to be used by this class.
- Parameters
-
◆ setSystemReporter()
void eu.baltrad.beast.adaptor.BltAdaptorManager.setSystemReporter |
( |
ISystemReporter | reporter | ) |
|
|
inline |
Sets the reporter.
- Parameters
-
reporter | the reporter to use, MAY not be null |
◆ setTypes()
Sets the available types.
- Parameters
-
managers | a list of adaptor types that are supported by this manager |
◆ unregister()
void eu.baltrad.beast.adaptor.BltAdaptorManager.unregister |
( |
String | name | ) |
|
|
inline |
◆ updateAdaptorConfiguration()
Updates the adaptor specific configuration.
- Parameters
-
adaptor_id | the adaptor |
configuration | the configuration |
- Returns
- an adaptor
- Exceptions
-
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/adaptor/BltAdaptorManager.java