- BrokerFacade() {
-
- }
-
- public void setRpcService(final DOMRpcService router) {
- this.rpcService = router;
- }
-
- public void setDomNotificationService(final DOMNotificationService service) {
- this.domNotification = service;
+ private BrokerFacade(DOMRpcService rpcService, DOMDataBroker domDataBroker, DOMNotificationService domNotification,
+ ControllerContext controllerContext) {
+ this.rpcService = Objects.requireNonNull(rpcService);
+ this.domDataBroker = Objects.requireNonNull(domDataBroker);
+ this.domNotification = Objects.requireNonNull(domNotification);
+ this.controllerContext = Objects.requireNonNull(controllerContext);