Class BroadleafApplicationEventPublisherImpl
java.lang.Object
org.broadleafcommerce.common.event.BroadleafApplicationEventPublisherImpl
- All Implemented Interfaces:
BroadleafApplicationEventPublisher
@Service("blApplicationEventPublisher")
public class BroadleafApplicationEventPublisherImpl
extends Object
implements BroadleafApplicationEventPublisher
- Author:
- Nick Crum ncrum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
publishEvent
(org.springframework.context.ApplicationEvent applicationEvent) Publishes theApplicationEvent
on the ApplicationContext in a synchronized or unsynchronized context.void
publishEventUnsynchronized
(org.springframework.context.ApplicationEvent applicationEvent) Publishes theApplicationEvent
on the ApplicationContext in an unsynchronized context.
-
Field Details
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
BroadleafApplicationEventPublisherImpl
public BroadleafApplicationEventPublisherImpl()
-
-
Method Details
-
publishEvent
public void publishEvent(org.springframework.context.ApplicationEvent applicationEvent) Description copied from interface:BroadleafApplicationEventPublisher
Publishes theApplicationEvent
on the ApplicationContext in a synchronized or unsynchronized context.- Specified by:
publishEvent
in interfaceBroadleafApplicationEventPublisher
-
publishEventUnsynchronized
public void publishEventUnsynchronized(org.springframework.context.ApplicationEvent applicationEvent) Description copied from interface:BroadleafApplicationEventPublisher
Publishes theApplicationEvent
on the ApplicationContext in an unsynchronized context.- Specified by:
publishEventUnsynchronized
in interfaceBroadleafApplicationEventPublisher
-