JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
AbstractEventBus
- Class in
org.grails.events.bus
Abstract event bus impl
AbstractEventBus.1
- Class in
org.grails.events.bus
AbstractEventBus.1()
- Constructor in
AbstractEventBus.1
AbstractEventBus.EventTriggerTransactionSynchronization
- Class in
org.grails.events.bus
AbstractEventBus.NotificationTrigger
- Class in
org.grails.events.bus
AbstractEventBus()
- Constructor in
AbstractEventBus
AbstractSubscription
- Class in
org.grails.events.registry
Abstract subscription
AbstractSubscription(java.lang.CharSequence, Map<CharSequence, Collection<Subscription>>)
- Constructor in
AbstractSubscription
accept(T)
- Method in
Consumer
Execute the logic of the action, accepting the given parameter.
actor
- Property in
ActorEventBus
ActorEventBus
- Class in
org.grails.events.gpars
A event bus that uses GPars actors
ActorEventBus()
- Constructor in
ActorEventBus
afterCommit()
- Method in
AbstractEventBus.EventTriggerTransactionSynchronization
afterCompletion(int)
- Method in
AbstractEventBus.EventTriggerTransactionSynchronization
afterPropertiesSet()
- Method in
EventBusFactoryBean
afterPropertiesSet()
- Method in
GormDispatcherRegistrar
AnnotatedSubscriber
- Trait in
org.grails.events.transform
Registers subscribed methods.
applicationContext
- Property in
EventBusFactoryBean
applicationContext
- Property in
SpringEventBus
APPLIED_MARKER
- Field in
PublisherTransform
APPLIED_MARKER
- Field in
SubscriberTransform
B
beforeCommit(boolean)
- Method in
AbstractEventBus.EventTriggerTransactionSynchronization
build()
- Method in
EventBusBuilder
Returns:
Tries to auto discover and build the event bus
buildClosureSubscription(java.lang.CharSequence, groovy.lang.Closure)
- Method in
AbstractEventBus
buildClosureSubscription(java.lang.CharSequence, groovy.lang.Closure)
- Method in
RxEventBus
buildDelegatingMethodCall(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.expr.MethodCallExpression, org.codehaus.groovy.ast.stmt.BlockStatement)
- Method in
PublisherTransform
buildNotificationCallable(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Method in
AbstractEventBus
Build a new trigger to set off notifications
buildNotificationCallable(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Method in
ActorEventBus
buildNotificationCallable(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Method in
ExecutorEventBus
buildNotificationCallable(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Method in
RxEventBus
buildNotificationCallable(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Method in
SpringEventBus
buildNotificationCallable(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Method in
SynchronousEventBus
buildNotificationTrigger(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Method in
AbstractEventBus
Build a new trigger to set off notifications
buildSubscriberSubscription(java.lang.CharSequence, grails.events.subscriber.Subscriber)
- Method in
AbstractEventBus
buildSubscriberSubscription(java.lang.CharSequence, grails.events.subscriber.Subscriber)
- Method in
RxEventBus
buildTrigger(grails.events.Event, groovy.lang.Closure)
- Method in
ClosureSubscription
buildTrigger(grails.events.Event, groovy.lang.Closure)
- Method in
EventSubscriberSubscription
buildTrigger(grails.events.Event, groovy.lang.Closure)
- Method in
Subscription
Returns:
Builds a trigger
Bus
- Interface in
reactor.bus
Basic unit of event handling in Reactor.
C
call(java.lang.Object)
- Method in
MethodSubscriber
call(T)
- Method in
Subscriber
Calls the event subscriber
callSpread(groovy.lang.Closure, java.lang.Object)
- Method in
ClosureEventTrigger
cancel()
- Method in
AbstractSubscription
cancel()
- Method in
Subscription
Returns:
Cancel the registration
clearEventConsumers(java.lang.Object)
- Method in
Events
Clears event consumers for the given key
close()
- Method in
ActorEventBus
ClosureEventTrigger
- Class in
org.grails.events
Triggers an event
ClosureEventTrigger(Event<T>, groovy.lang.Closure, groovy.lang.Closure)
- Constructor in
ClosureEventTrigger
ClosureSubscription
- Class in
org.grails.events.registry
A subscription via a Closure
ClosureSubscription(java.lang.CharSequence, Map<CharSequence, Collection<Subscription>>, groovy.lang.Closure)
- Constructor in
ClosureSubscription
Consumer
- Annotation Type in
reactor.spring.context.annotation
deprecated:
No longer necessary, remove from your class
conversionService
- Property in
MethodSubscriber
createDefaultEventBus()
- Method in
EventBusBuilder
createDefaultEventBus()
- Method in
EventBusFactoryBean
D
data
- Property in
Event
The data of the event
datastores
- Property in
GormDispatcherRegistrar
description
- Property in
EventBusGrailsPlugin
dispatch(org.grails.datastore.mapping.engine.event.AbstractPersistenceEvent)
- Method in
GormAnnotatedListener
Dispatch the event to this listener
documentation
- Property in
EventBusGrailsPlugin
E
enhanceClassNode(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode)
- Method in
PublisherTransform
error()
- Method in
Events
Returns:
The id of the event to notify in the case of an error
error()
- Method in
Publisher
Returns:
The id of the event to notify in the case of an error
Event
- Class in
reactor.bus
deprecated:
Here for compatibility only.
event
- Property in
AbstractEventBus.NotificationTrigger
event
- Property in
ClosureEventTrigger
Event(java.lang.String, T)
- Constructor in
Event
event
- Property in
EventSubscriberTrigger
event
- Property in
EventWithReply
EVENT_SUFFIX
- Field in
SpringEventTranslator
EventBus
- Class in
reactor.bus
deprecated:
Here for compatibility only.
eventBus
- Property in
EventBus
eventBus
- Property in
EventBusFactoryBean
eventBus
- Property in
Events
eventBus(ObjectProvider<ApplicationContext>)
- Method in
EventsAutoConfiguration
eventBus
- Field in
GormDispatcherRegistrar
eventBus
- Field in
GormEventDispatcher
EventBusAware
- Trait in
grails.events.bus
Trait for classes aware of the event bus
EventBusBuilder
- Class in
grails.events.bus
Tries to build the default event bus
EventBusBuilder()
- Constructor in
EventBusBuilder
EventBusFactoryBean
- Class in
org.grails.events.bus.spring
Factory bean for usage within Spring
EventBusFactoryBean()
- Constructor in
EventBusFactoryBean
EventBusGrailsPlugin
- Class in
org.grails.plugins.events
A plugin that integrates Reactor into Grails
EventBusGrailsPlugin()
- Constructor in
EventBusGrailsPlugin
EventEmitter
- Interface in
grails.events.emitter
An emitter sends events
eventFor(Map<String, Object>, T, Closure<Throwable>)
- Method in
Events
Creates an
Event
for the given headers, data and error consumer
eventIdForMethodName(java.lang.String)
- Method in
EventIdUtils
EventIdUtils
- Class in
org.grails.events
EventIdUtils()
- Constructor in
EventIdUtils
eventKey
- Property in
AbstractSubscription
EventPublisher
- Trait in
grails.events
A trait that can be implemented to make a class an event publisher
Events
- Annotation Type in
grails.events.annotation
Allows the definition of common event settings at the class level
EventsAutoConfiguration
- Class in
org.grails.plugins.events
EnableAutoConfiguration for Events.
EventSubscriber
- Interface in
grails.events.subscriber
An interface for subscribers that accept the Event as an argument
EventSubscriberSubscription
- Class in
org.grails.events.registry
An event subscription for an Subscriber
EventSubscriberSubscription(java.lang.CharSequence, Map<CharSequence, Collection<Subscription>>, grails.events.subscriber.Subscriber)
- Constructor in
EventSubscriberSubscription
EventSubscriberTrigger
- Class in
org.grails.events
Simple trigger for an Subscriber
EventSubscriberTrigger(grails.events.Event, grails.events.subscriber.Subscriber)
- Constructor in
EventSubscriberTrigger
EventTrigger
- Interface in
grails.events.trigger
Encapsulates the execution of an event
EventTriggerTransactionSynchronization(org.grails.events.bus.AbstractEventBus.NotificationTrigger, org.springframework.transaction.event.TransactionPhase)
- Constructor in
AbstractEventBus.EventTriggerTransactionSynchronization
EventWithReply
- Class in
org.grails.events.rxjava3
An event with a reply
EventWithReply(grails.events.Event, groovy.lang.Closure)
- Constructor in
EventWithReply
executor
- Property in
ExecutorEventBus
ExecutorEventBus
- Class in
org.grails.events.bus
An event bus that uses an java.util.concurrent.Executor
ExecutorEventBus(java.util.concurrent.Executor)
- Constructor in
ExecutorEventBus
F
from(java.lang.String, Map<String, Object>, T)
- Method in
Event
Wrap the given object with an
Event
.
G
GDM_EVENT_PACKAGE
- Field in
SpringEventTranslator
getAnnotationType()
- Method in
PublisherTransform
getAnnotationType()
- Method in
SubscriberTransform
getAppliedMarker()
- Method in
PublisherTransform
getAppliedMarker()
- Method in
SubscriberTransform
getEvent()
- Method in
EventTrigger
Returns:
The event being triggered
getEventBus()
- Method in
EventBusAware
Returns:
Retrieves the event bus
getObject()
- Method in
EventBusFactoryBean
getObject()
- Method in
GormDispatcherRegistrar
getObject()
- Method in
Selector
Get the object being used for comparisons and equals checks.
getObjectType()
- Method in
EventBusFactoryBean
getObjectType()
- Method in
GormDispatcherRegistrar
getOrder()
- Method in
PublisherTransform
getRenamedMethodPrefix()
- Method in
PublisherTransform
getReplyTo()
- Method in
Event
Get the key to send replies to.
getSource()
- Method in
SpringEventBusEvent
getSubscribedEvents()
- Method in
GormAnnotatedSubscriber
getSubscribedMethods()
- Method in
AnnotatedSubscriber
getSubscriber()
- Method in
ClosureEventTrigger
getSubscriber()
- Method in
EventTrigger
Returns:
The event listener
getTraitClass()
- Method in
SubscriberTransform
GormAnnotatedListener
- Trait in
org.grails.events.gorm
Marks a class as a synchronous listener of GORM events
GormAnnotatedSubscriber
- Trait in
org.grails.events.gorm
The events subscribed to
GormDispatcherRegistrar
- Class in
org.grails.events.gorm
Handles registering of GORM event listeners for
GormAnnotatedSubscriber
instances
GormDispatcherRegistrar(grails.events.bus.EventBus)
- Constructor in
GormDispatcherRegistrar
gormDispatchEventRegistrar(grails.events.bus.EventBus)
- Method in
EventsAutoConfiguration
GormEventDispatcher
- Class in
org.grails.events.gorm
Dispatches GORM events to the EventBus
GormEventDispatcher(grails.events.bus.EventBus, org.grails.datastore.mapping.core.Datastore, Set<Class<? extends AbstractPersistenceEvent>>, List<GormAnnotatedListener>)
- Constructor in
GormEventDispatcher
grailsVersion
- Property in
EventBusGrailsPlugin
H
hasEventSubscribers
- Field in
GormEventDispatcher
hasListeners
- Field in
GormEventDispatcher
I
id
- Property in
Event
The id of the event
isActive()
- Method in
AbstractEventBus
isActive()
- Method in
ActorEventBus
isActive()
- Method in
EventBus
Returns:
Whether the event bus is active or has been shutdown
isCancelled()
- Method in
AbstractSubscription
isCancelled()
- Method in
Subscription
Returns:
Whether it is cancelled
isSingleton()
- Method in
EventBusFactoryBean
isSingleton()
- Method in
GormDispatcherRegistrar
issueManagement
- Property in
EventBusGrailsPlugin
isValidAnnotation(org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.AnnotatedNode)
- Method in
SubscriberTransform
J
K
L
license
- Property in
EventBusGrailsPlugin
listenedForEvents
- Field in
GormEventDispatcher
Listener
- Annotation Type in
grails.events.annotation.gorm
A Listener is like a
Subscriber
for GORM events, but is dispatched synchronously
listener
- Property in
ClosureSubscription
listeners
- Field in
GormEventDispatcher
M
matches(T)
- Method in
Selector
Indicates whether this Selector matches the
key
.
method
- Property in
MethodSubscriber
MethodEventSubscriber
- Class in
grails.events.subscriber
A method subscribers for methods that accept an event argument
MethodEventSubscriber(java.lang.Object, java.lang.reflect.Method)
- Constructor in
MethodEventSubscriber
MethodSubscriber
- Class in
grails.events.subscriber
Invokes a method to trigger an event
MethodSubscriber(java.lang.Object, java.lang.reflect.Method)
- Constructor in
MethodSubscriber
N
namespace()
- Method in
Events
Returns:
The namespace of the events
notificationTrigger
- Property in
AbstractEventBus.EventTriggerTransactionSynchronization
NotificationTrigger(grails.events.Event, Collection<Subscription>, groovy.lang.Closure)
- Constructor in
AbstractEventBus.NotificationTrigger
notify(grails.events.Event, org.springframework.transaction.event.TransactionPhase)
- Method in
AbstractEventBus
notify(java.lang.Object, T)
- Method in
Bus
Notify this component that an
Event
is ready to be processed.
notify(java.lang.Object, java.lang.Object)
- Method in
EventBus
notify(grails.events.Event, org.springframework.transaction.event.TransactionPhase)
- Method in
EventEmitter
Notify of an event
notify(grails.events.Event, org.springframework.transaction.event.TransactionPhase)
- Method in
EventPublisher
See Also:
EventEmitter.notify
notify(java.lang.Object, Closure<E>)
- Method in
Events
O
on(java.lang.CharSequence, groovy.lang.Closure)
- Method in
AbstractEventBus
on(reactor.bus.selector.Selector, Consumer<V>)
- Method in
Bus
Register a
Consumer
to be triggered when a notification matches the given
Selector
.
on(reactor.bus.selector.Selector, reactor.fn.Consumer)
- Method in
EventBus
on(reactor.bus.selector.Selector, Consumer<E>)
- Method in
Events
Register a
Consumer
to be triggered when a notification matches the given Selector.
on(java.lang.CharSequence, groovy.lang.Closure)
- Method in
Subjects
Listen for an event
onApplicationEvent(org.springframework.context.ApplicationEvent)
- Method in
SpringEventTranslator
onPersistenceEvent(org.grails.datastore.mapping.engine.event.AbstractPersistenceEvent)
- Method in
GormEventDispatcher
P
parameterLength
- Property in
MethodSubscriber
parameters
- Property in
Event
The parameters for the event
parameterTypes
- Property in
MethodSubscriber
phase()
- Method in
Events
Returns:
The transaction phase to subscribe on
phase()
- Method in
Publisher
Returns:
The transaction phase to subscribe on
POSITION
- Field in
PublisherTransform
The position of the transform.
proceed()
- Method in
ClosureEventTrigger
proceed()
- Method in
EventSubscriberTrigger
proceed()
- Method in
EventTrigger
Returns:
Proceed to trigger the event
publish(grails.events.Event, org.springframework.transaction.event.TransactionPhase)
- Method in
AbstractEventBus
publish(grails.events.Event, org.springframework.transaction.event.TransactionPhase)
- Method in
EventEmitter
Synonym for
notify(Event, org.springframework.transaction.event.TransactionPhase)
publish(grails.events.Event)
- Method in
EventPublisher
See Also:
EventEmitter.publish
Publisher
- Annotation Type in
grails.events.annotation
Transforms a method so the return value is emitted as an event
PublisherTransform
- Class in
org.grails.events.transform
A transform that transforms a method publishing the result to the given event
PublisherTransform()
- Constructor in
PublisherTransform
Q
R
registerMethods()
- Method in
AnnotatedSubscriber
Registration
- Interface in
reactor.bus.registry
deprecated:
Here for compatibility only.
reply
- Property in
AbstractEventBus.NotificationTrigger
reply
- Property in
ClosureEventTrigger
reply
- Property in
EventWithReply
replyTo
- Property in
SpringEventBusEvent
respondsToKey(java.lang.Object)
- Method in
Bus
Are there any
Subscription
s with
Selectors
that match the given
key
.
respondsToKey(java.lang.Object)
- Method in
EventBus
run()
- Method in
AbstractEventBus.1
RxEventBus
- Class in
org.grails.events.rxjava3
An EventBus implementation that uses RxJava
RxEventBus(rx.Scheduler)
- Constructor in
RxEventBus
S
scheduler
- Property in
RxEventBus
scm
- Property in
EventBusGrailsPlugin
Selector
- Annotation Type in
reactor.spring.context.annotation
deprecated:
Use
Subscriber
instead
sendAndReceive(grails.events.Event, groovy.lang.Closure)
- Method in
AbstractEventBus
sendAndReceive(java.lang.CharSequence, java.lang.Object, groovy.lang.Closure)
- Method in
EventEmitter
Send and event and receive a reply.
sendAndReceive(java.lang.CharSequence, java.lang.Object, groovy.lang.Closure)
- Method in
EventPublisher
See Also:
EventEmitter.sendAndReceive
sendAndReceive(java.lang.Object, groovy.lang.Closure)
- Method in
Events
Service
- Trait in
grails.artefact
A trait implemented for services that implement events
setApplicationContext(org.springframework.context.ApplicationContext)
- Method in
SpringEventTranslator
setReplyTo(java.lang.Object)
- Method in
Event
Set the
key
that interested parties should send replies to.
setTargetEventBus(grails.events.bus.EventBus)
- Method in
EventBusAware
Sets the target event bus to use
SPRING_PACKAGE
- Field in
SpringEventTranslator
SpringEventBus
- Class in
org.grails.events.spring
An event bus that uses the Spring Event Publisher
SpringEventBus(org.springframework.context.ConfigurableApplicationContext)
- Constructor in
SpringEventBus
SpringEventBusEvent
- Class in
org.grails.events.spring
An event issues by the
SpringEventBus
SpringEventBusEvent(grails.events.Event, groovy.lang.Closure)
- Constructor in
SpringEventBusEvent
Create a new ApplicationEvent.
SpringEventTranslator
- Class in
org.grails.events.spring
Translates Spring Events into Reactor events
springEventTranslator(grails.events.bus.EventBus)
- Method in
EventsAutoConfiguration
SpringEventTranslator(grails.events.bus.EventBus)
- Constructor in
SpringEventTranslator
Subjects
- Interface in
grails.events.subscriber
An event subscriber
subjects
- Field in
RxEventBus
subscribe(java.lang.CharSequence, grails.events.subscriber.Subscriber)
- Method in
AbstractEventBus
subscribe(java.lang.CharSequence, grails.events.subscriber.Subscriber)
- Method in
Subjects
Listen for an event
subscribedEvents
- Field in
GormEventDispatcher
Subscriber
- Interface in
grails.events.subscriber
Functional interface for event listeners
subscriber
- Property in
EventSubscriberSubscription
subscriber
- Property in
EventSubscriberTrigger
subscriberClosure
- Property in
ClosureEventTrigger
subscribers
- Property in
GormDispatcherRegistrar
SubscriberTransform
- Class in
org.grails.events.transform
An AST transformation that adds the
AnnotatedSubscriber
SubscriberTransform()
- Constructor in
SubscriberTransform
Subscription
- Interface in
reactor.bus.registry
deprecated:
Here for compatibility only.
subscriptions
- Field in
AbstractEventBus
subscriptions
- Property in
AbstractEventBus.NotificationTrigger
supports(org.grails.datastore.mapping.engine.event.AbstractPersistenceEvent)
- Method in
GormAnnotatedListener
Whether the listener supports the given event
supportsEventType(Class<? extends ApplicationEvent>)
- Method in
GormEventDispatcher
supportsSourceType(Class<?>)
- Method in
GormEventDispatcher
SynchronousEventBus
- Class in
org.grails.events.bus
A default synchronous event bus for testing
SynchronousEventBus()
- Constructor in
SynchronousEventBus
T
target
- Property in
MethodSubscriber
transactionPhase
- Property in
AbstractEventBus.EventTriggerTransactionSynchronization
U
unsubscribeAll(java.lang.CharSequence)
- Method in
AbstractEventBus
unsubscribeAll(java.lang.CharSequence)
- Method in
Subjects
Clear all listeners for the given event
V
value()
- Method in
Listener
Returns:
The types this listener listens for
value()
- Method in
Publisher
Returns:
The id of the event
value()
- Method in
Selector
Returns:
The id of the event
value()
- Method in
Subscriber
Returns:
The id of the event
visit(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.AnnotatedNode)
- Method in
SubscriberTransform
W
X
Y
Z
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation