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 org.opendaylight.controller.config.spi.ModuleFactory;
12 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Constructor;
13 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Field;
14 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.Header;
15 import org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.MethodDefinition;
17 import java.util.Collections;
18 import java.util.List;
20 public class AbstractFactoryTemplate extends GeneralClassTemplate {
22 private static final List<String> IMPLEMENTED_IFCS = Lists
23 .newArrayList(ModuleFactory.class.getCanonicalName());
25 public AbstractFactoryTemplate(Header header, String packageName,
26 String abstractFactoryName,
28 super(header, packageName, abstractFactoryName, Collections
29 .<String> emptyList(), IMPLEMENTED_IFCS, fields, Collections
30 .<MethodDefinition> emptyList(), true, false, Collections
31 .<Constructor> emptyList());