|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.simpledb.SimpledbConnector
@Singleton final class SimpledbConnector extends Object
| Nested Class Summary | |
|---|---|
private static class |
SimpledbConnector.SimpledbCredentials
|
| Field Summary | |
|---|---|
private static org.slf4j.Logger |
LOG
|
private def |
bootstrap
|
| Constructor Summary | |
SimpledbConnector()
|
|
| Method Summary | |
|---|---|
com.amazonaws.services.simpledb.AmazonSimpleDB
|
connect(GriffonApplication app, ConfigObject config, String clientName = 'default')
|
ConfigObject
|
createConfig(GriffonApplication app)
|
private def
|
createCredentials(ConfigObject config, String clientName)
|
void
|
disconnect(GriffonApplication app, ConfigObject config, String clientName = 'default')
|
private ConfigObject
|
narrowConfig(ConfigObject config, String clientName)
|
private com.amazonaws.services.simpledb.AmazonSimpleDB
|
startSimpledb(ConfigObject config, String clientName)
|
private void
|
stopSimpledb(ConfigObject config, com.amazonaws.services.simpledb.AmazonSimpleDB client)
|
Object
|
withSimpledb(String clientName = 'default', Closure closure)
|
Object
|
withSimpledb(String clientName = 'default', CallableWithArgs callable)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final org.slf4j.Logger LOG
private def bootstrap
| Constructor Detail |
|---|
SimpledbConnector()
| Method Detail |
|---|
com.amazonaws.services.simpledb.AmazonSimpleDB connect(GriffonApplication app, ConfigObject config, String clientName = 'default')
ConfigObject createConfig(GriffonApplication app)
private def createCredentials(ConfigObject config, String clientName)
void disconnect(GriffonApplication app, ConfigObject config, String clientName = 'default')
private ConfigObject narrowConfig(ConfigObject config, String clientName)
private com.amazonaws.services.simpledb.AmazonSimpleDB startSimpledb(ConfigObject config, String clientName)
private void stopSimpledb(ConfigObject config, com.amazonaws.services.simpledb.AmazonSimpleDB client)
Object withSimpledb(String clientName = 'default', Closure closure)
Object withSimpledb(String clientName = 'default', CallableWithArgs callable)
Groovy Documentation