|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandGroup
A CommandGroup represents a set of Command
and single
ApplyChangesCommand
that are created from a common config file.
Field Summary | |
---|---|
static CommandGroupFactory |
FACTORY
|
Method Summary | |
---|---|
ApplyChangesCommand |
getApplyChangesCommand()
Return the ApplyChangesCommnad for this configured factory |
Command |
getCommand(String name)
Gets the named command from this factory's inventory |
void |
releaseResources()
If the CommandGroup is managing connections then this method must be called when the client is done with the instance. |
void |
setConnection(Connection connection)
Set the default connection for all command in the group |
Field Detail |
---|
static final CommandGroupFactory FACTORY
Method Detail |
---|
ApplyChangesCommand getApplyChangesCommand()
Command getCommand(String name)
name
- The identifying name of the requested command
void setConnection(Connection connection)
connection
- void releaseResources()
|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |