2 * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.config.yang.config.actor_system_provider.impl;
11 import org.osgi.framework.BundleContext;
13 public class ActorSystemProviderModule extends AbstractActorSystemProviderModule {
14 private BundleContext bundleContext;
16 public ActorSystemProviderModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
17 super(identifier, dependencyResolver);
20 public ActorSystemProviderModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, ActorSystemProviderModule oldModule, java.lang.AutoCloseable oldInstance) {
21 super(identifier, dependencyResolver, oldModule, oldInstance);
25 public void customValidation() {
26 // add custom validation form module attributes here.
30 public java.lang.AutoCloseable createInstance() {
31 return new ActorSystemProviderImpl(bundleContext);
34 public void setBundleContext(BundleContext bundleContext) {
35 this.bundleContext = bundleContext;