public interface ScheduledJobThreadInitializer
ScheduledJob
and SystemEvent
sometimes requires additional thread local information be set so that modules
can provide SystemEventConsumer
instances that process correctly.
This is specifically useful in regard to multitenancy. Instances of ScheduledJobThreadInitializer are responsible for
setting this thread local context.Modifier and Type | Method and Description |
---|---|
void |
applyContext(Object contextContainer) |
void |
clearContext() |
void applyContext(Object contextContainer)
void clearContext()
Copyright © 2019. All rights reserved.