|
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.CommandGroupImpl
public class CommandGroupImpl
An ConfiguredCommandFactory produces instances of Command and ApplyChangesCommand. This factory is initialized with a configuration that defines the commands it produces.
Field Summary |
---|
Fields inherited from interface org.apache.tuscany.das.rdb.CommandGroup |
---|
FACTORY |
Constructor Summary | |
---|---|
CommandGroupImpl(InputStream stream)
|
Method Summary | |
---|---|
ApplyChangesCommand |
getApplyChangesCommand()
Return the ApplyChangesCommnad for this configured factory |
Command |
getCommand(String name)
Gets the named command from this factory's inventory |
Connection |
getConnection()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandGroupImpl(InputStream stream)
Method Detail |
---|
public ApplyChangesCommand getApplyChangesCommand()
CommandGroup
getApplyChangesCommand
in interface CommandGroup
public Command getCommand(String name)
CommandGroup
getCommand
in interface CommandGroup
name
- The identifying name of the requested command
public void setConnection(Connection connection)
CommandGroup
setConnection
in interface CommandGroup
public Connection getConnection()
public void releaseResources()
CommandGroup
releaseResources
in interface CommandGroup
|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |