Package overit.geocall.util
Class EventPublisher
java.lang.Object
overit.geocall.util.EventPublisher
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisher,org.springframework.context.ApplicationEventPublisherAware
@Service
public class EventPublisher
extends Object
implements org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.ApplicationEventPublisher
This class implements the
ApplicationEventPublisher
interface to provide event publishing functionality within the application.
It is marked with the Service annotation
to indicate that it is a Spring-managed service.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishEvent(Object event) voidsetApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationEventPublisher
publishEvent
-
Constructor Details
-
EventPublisher
public EventPublisher()
-
-
Method Details
-
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - Specified by:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-
publishEvent
- Specified by:
publishEventin interfaceorg.springframework.context.ApplicationEventPublisher
-