/* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2002 * Copyright by ESO (in the framework of the ALMA collaboration), * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */ package alma.jconttest.DummyComponentImpl; import java.util.logging.Logger; import alma.acs.component.ComponentLifecycle; import alma.acs.container.ComponentHelper; import alma.jconttest.DummyComponentOperations; import alma.jconttest.DummyComponentPOATie; import alma.jconttest.DummyComponentImpl.DummyComponentImpl; /** * Component helper class. * Generated for convenience, but can be modified by the component developer. * Must therefore be treated like any other Java class (CVS, ...). * <p> * To create an entry for your component in the Configuration Database, * copy the line below into a new entry in the file $ACS_CDB/MACI/Components/Components.xml * and modify the instance name of the component and the container: * <p> * Name="DUMMYCOMPONENT1" Code="alma.jconttest.DummyComponentImpl.DummyComponentHelper" Type="IDL:alma/jconttest/DummyComponent:1.0" Container="frodoContainer" * <p> * @author alma-component-helper-generator-tool */ public class DummyComponentHelper extends ComponentHelper { // todo maybe this should be generated by comphelpgen? public static final String DUMMYCOMPONENT_CORBATYPE = "IDL:alma/jconttest/DummyComponent:1.0"; /** * Constructor * @param containerLogger logger used only by the parent class. */ public DummyComponentHelper(Logger containerLogger) { super(containerLogger); } /** * @see alma.acs.container.ComponentHelper#_createComponentImpl() */ protected ComponentLifecycle _createComponentImpl() { return new DummyComponentImpl(); } /** * @see alma.acs.container.ComponentHelper#_getPOATieClass() */ protected Class<DummyComponentPOATie> _getPOATieClass() { return DummyComponentPOATie.class; } /** * @see alma.acs.container.ComponentHelper#getOperationsInterface() */ protected Class<DummyComponentOperations> _getOperationsInterface() { return DummyComponentOperations.class; } }