Groovy Documentation

org.grails.plugin.platform.test
[Groovy] Class SampleService

java.lang.Object
  org.grails.plugin.platform.test.SampleService

class SampleService

file:
@author Stephane Maldini
date:
02/01/12
section:
DESCRIPTION [Does stuff]
Version:
1.0


Property Summary
static java.lang.Object transactional

 
Constructor Summary
SampleService()

 
Method Summary
void afterInsert(Author author)

void beforeInsertAuthor(Author author)

void beforeInsertBook(EventMessage msg)

java.lang.Object sampleHella(java.lang.Object test)

java.lang.Object sampleHello(java.lang.Object test)

java.lang.Object testEvent()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

transactional

static java.lang.Object transactional


 
Constructor Detail

SampleService

SampleService()


 
Method Detail

afterInsert

@Listener(namespace = 'gorm')
void afterInsert(Author author)


beforeInsertAuthor

@Listener(topic = 'beforeInsert', namespace = 'gorm')
void beforeInsertAuthor(Author author)


beforeInsertBook

@Listener(topic = 'beforeInsert', namespace = 'gorm')
void beforeInsertBook(EventMessage msg)


sampleHella

@Listener(namespace = 'lal', topic='sampleHella')
java.lang.Object sampleHella(java.lang.Object test)


sampleHello

@Listener(namespace = 'lal')
java.lang.Object sampleHello(java.lang.Object test)


testEvent

@Listener(topic = 'sampleHello', namespace = 'platformCore')
java.lang.Object testEvent()


 

Groovy Documentation