|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.das.rdb.impl.CommandFactoryImpl
public class CommandFactoryImpl
Constructor Summary | |
---|---|
CommandFactoryImpl()
|
Method Summary | |
---|---|
ApplyChangesCommand |
createApplyChangesCommand()
Creates an instance |
ApplyChangesCommand |
createApplyChangesCommand(Config config)
Creates an instance with the provided configuration |
ApplyChangesCommand |
createApplyChangesCommand(InputStream configStream)
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 configStream)
Creates a Command based on the provided SQL statement and configuration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandFactoryImpl()
Method Detail |
---|
public Command createCommand(String sql)
CommandFactory
createCommand
in interface CommandFactory
sql
- The SQL statement
public Command createCommand(String sql, InputStream configStream)
CommandFactory
createCommand
in interface CommandFactory
sql
- The SQL statement
public Command createCommand(String sql, Config config)
CommandFactory
createCommand
in interface CommandFactory
sql
- The SQL statementconfig
- The congiguration as Config instance
public ApplyChangesCommand createApplyChangesCommand()
CommandFactory
createApplyChangesCommand
in interface CommandFactory
public ApplyChangesCommand createApplyChangesCommand(InputStream configStream) throws IOException
CommandFactory
createApplyChangesCommand
in interface CommandFactory
configStream
- The provided configuration as a stream over an xml file
IOException
public ApplyChangesCommand createApplyChangesCommand(Config config)
CommandFactory
createApplyChangesCommand
in interface CommandFactory
config
- The provided configuration as a Config instance
|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |