2 * Copyright (c) 2013 Cisco 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
8 package org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl;
10 import com.google.common.collect.Lists;
11 import java.util.Collections;
12 import java.util.List;
13 import org.opendaylight.controller.config.spi.ModuleFactory;
14 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Constructor;
15 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Field;
16 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Header;
17 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.MethodDefinition;
19 public class AbstractFactoryTemplate extends GeneralClassTemplate {
21 private static final List<String> IMPLEMENTED_IFCS = Lists
22 .newArrayList(ModuleFactory.class.getCanonicalName());
24 public AbstractFactoryTemplate(Header header, String packageName,
25 String abstractFactoryName,
27 super(header, packageName, abstractFactoryName, Collections
28 .<String> emptyList(), IMPLEMENTED_IFCS, fields, Collections
29 .<MethodDefinition> emptyList(), true, false, Collections
30 .<Constructor> emptyList());