2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 2017 Amdocs
8 * =============================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * ============LICENSE_END=========================================================
24 package org.opendaylight.yang.gen.v1.org.onap.appc.provider.impl.rev140523;
26 import org.onap.appc.provider.AppcProvider;
29 * This was generated code. It was generated into the source tree because it has to be manually modified.
32 public class AppcProviderModule extends
33 org.opendaylight.yang.gen.v1.org.onap.appc.provider.impl.rev140523.AbstractAppcProviderModule {
37 * @param dependencyResolver
39 @SuppressWarnings("javadoc")
40 public AppcProviderModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
41 org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
42 super(identifier, dependencyResolver);
47 * @param dependencyResolver
51 @SuppressWarnings("javadoc")
52 public AppcProviderModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
53 org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
54 org.opendaylight.yang.gen.v1.org.onap.appc.provider.impl.rev140523.AppcProviderModule oldModule,
55 java.lang.AutoCloseable oldInstance) {
56 super(identifier, dependencyResolver, oldModule, oldInstance);
60 * @see org.opendaylight.yang.gen.v1.org.onap.appc.provider.impl.rev140523.AbstractAppcProviderModule#customValidation()
63 public void customValidation() {
64 // add custom validation form module attributes here.
68 * This method is manually updated to actually invoke the provider implementation
70 * @see org.opendaylight.yang.gen.v1.org.onap.appc.provider.impl.rev140523.AbstractAppcProviderModule#createInstance()
73 public java.lang.AutoCloseable createInstance() {
75 final AppcProvider provider =
76 new AppcProvider(getDataBrokerDependency(), getNotificationServiceDependency(), getRpcRegistryDependency());
77 return new AutoCloseable() {
80 public void close() throws Exception {