Class EventBusRegistrarImpl
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.events.EventBusRegistrarImpl
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,EventBusRegistrar
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
classHasMethodWithSubscribeAnnotation
(Class concreteClass) void
initializeEventBus
(com.google.common.eventbus.EventBus eventBus) Registers triggers with the application's eventBus.Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
EventBusRegistrarImpl
public EventBusRegistrarImpl()
-
-
Method Details
-
initializeEventBus
public void initializeEventBus(com.google.common.eventbus.EventBus eventBus) Description copied from interface:EventBusRegistrar
Registers triggers with the application's eventBus.- Specified by:
initializeEventBus
in interfaceEventBusRegistrar
-
classHasMethodWithSubscribeAnnotation
-