|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandFactory
A CommandFactory produces Command
and ApplyChangesCommand
instances.
Method Summary | |
---|---|
ApplyChangesCommand |
createApplyChangesCommand()
Creates an instance |
ApplyChangesCommand |
createApplyChangesCommand(Config config)
Creates an instance with the provided configuration |
ApplyChangesCommand |
createApplyChangesCommand(InputStream config)
Creates an instance with the provided configuration |
Command |
createCommand(String sql)
Creates a Command based on the provided SQL statement |
Command |
createCommand(String sql,
Config config)
Creates a Command based on the provided SQL statement and configuration |
Command |
createCommand(String sql,
InputStream config)
Creates a Command based on the provided SQL statement and configuration |
Method Detail |
---|
Command createCommand(String sql)
sql
- The SQL statement
Command createCommand(String sql, InputStream config)
sql
- The SQL statementmappingModel
- The congiguration as XML file stream
Command createCommand(String sql, Config config)
sql
- The SQL statementconfig
- The congiguration as Config instance
ApplyChangesCommand createApplyChangesCommand()
ApplyChangesCommand createApplyChangesCommand(InputStream config) throws IOException
config
- The provided configuration as a stream over an xml file
IOException
ApplyChangesCommand createApplyChangesCommand(Config config)
config
- The provided configuration as a Config instance
IOException
|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |