use of net.solarnetwork.central.user.event.biz.dao.DaoUserEventHookBiz in project solarnetwork-central by SolarNetwork.
the class UserEventHookBizConfig method userEventHookBiz.
@Bean
public UserEventHookBiz userEventHookBiz() {
DaoUserEventHookBiz biz = new DaoUserEventHookBiz(userNodeEventHookConfiguationDao);
biz.setDatumEventProducers(datumAppEventProducers);
biz.setNodeEventHookServices(userNodeEventHookServices);
ResourceBundleMessageSource msgSource = new ResourceBundleMessageSource();
msgSource.setBasenames("net.solarnetwork.central.user.event.biz.UserEventHook");
biz.setMessageSource(msgSource);
return biz;
}
use of net.solarnetwork.central.user.event.biz.dao.DaoUserEventHookBiz in project solarnetwork-central by SolarNetwork.
the class DaoUserEventHookBizTests method setup.
@Before
public void setup() {
nodeEventHookConfigurationDao = EasyMock.createMock(UserNodeEventHookConfigurationDao.class);
biz = new DaoUserEventHookBiz(nodeEventHookConfigurationDao);
ResourceBundleMessageSource ms = new ResourceBundleMessageSource();
ms.setBasename("net/solarnetwork/central/user/event/biz/dao/test/test-messages-01");
biz.setMessageSource(ms);
methodMocks = new ArrayList<>(4);
}
Aggregations