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 TypeMethodDescriptionvoidpublishEvent(org.springframework.context.ApplicationEvent applicationEvent) Publishes theApplicationEventon the ApplicationContext in a synchronized or unsynchronized context.voidpublishEventUnsynchronized(org.springframework.context.ApplicationEvent applicationEvent) Publishes theApplicationEventon 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:BroadleafApplicationEventPublisherPublishes theApplicationEventon the ApplicationContext in a synchronized or unsynchronized context.- Specified by:
publishEventin interfaceBroadleafApplicationEventPublisher
-
publishEventUnsynchronized
public void publishEventUnsynchronized(org.springframework.context.ApplicationEvent applicationEvent) Description copied from interface:BroadleafApplicationEventPublisherPublishes theApplicationEventon the ApplicationContext in an unsynchronized context.- Specified by:
publishEventUnsynchronizedin interfaceBroadleafApplicationEventPublisher
-