Groovy Documentation

griffon.plugins.senseidb
[Groovy] Class SenseidbConnector

java.lang.Object
  griffon.plugins.senseidb.SenseidbConnector
All Implemented Interfaces:
SenseidbProvider

@Singleton
final class SenseidbConnector
extends Object

Authors:
Andres Almiray


Field Summary
private static org.slf4j.Logger LOG

private def bootstrap

 
Constructor Summary
SenseidbConnector()

 
Method Summary
com.senseidb.search.client.SenseiServiceProxy connect(GriffonApplication app, ConfigObject config, String storeName = 'default')

ConfigObject createConfig(GriffonApplication app)

void disconnect(GriffonApplication app, ConfigObject config, String storeName = 'default')

private ConfigObject narrowConfig(ConfigObject config, String storeName)

private com.senseidb.search.client.SenseiServiceProxy startSensei(ConfigObject config)

private void stopSensei(ConfigObject config, com.senseidb.search.client.SenseiServiceProxy store)

Object withSenseidb(String storeName = 'default', Closure closure)

Object withSenseidb(String storeName = 'default', CallableWithArgs callable)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

LOG

private static final org.slf4j.Logger LOG


bootstrap

private def bootstrap


 
Constructor Detail

SenseidbConnector

SenseidbConnector()


 
Method Detail

connect

com.senseidb.search.client.SenseiServiceProxy connect(GriffonApplication app, ConfigObject config, String storeName = 'default')


createConfig

ConfigObject createConfig(GriffonApplication app)


disconnect

void disconnect(GriffonApplication app, ConfigObject config, String storeName = 'default')


narrowConfig

private ConfigObject narrowConfig(ConfigObject config, String storeName)


startSensei

private com.senseidb.search.client.SenseiServiceProxy startSensei(ConfigObject config)


stopSensei

private void stopSensei(ConfigObject config, com.senseidb.search.client.SenseiServiceProxy store)


withSenseidb

Object withSenseidb(String storeName = 'default', Closure closure)


withSenseidb

Object withSenseidb(String storeName = 'default', CallableWithArgs callable)


 

Groovy Documentation