ALMA Computing Group

EventConsumerHelper.java

Go to the documentation of this file.
00001 /* 00002 * ALMA - Atacama Large Millimiter Array 00003 * (c) Associated Universities Inc., 2002 00004 * (c) European Southern Observatory, 2002 00005 * Copyright by ESO (in the framework of the ALMA collaboration), 00006 * All rights reserved 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00021 * MA 02111-1307 USA 00022 * 00023 * EventConsumerHelper.java 00024 * 00025 * Created on April 11, 2003, 3:09 PM 00026 */ 00027 00028 package alma.demo.EventConsumerImpl; 00029 00030 import java.util.logging.Logger; 00031 00032 import alma.acs.component.ComponentLifecycle; 00033 import alma.acs.container.ComponentHelper; 00034 00035 import alma.demo.ConsumerCompOperations; 00036 import alma.demo.ConsumerCompPOATie; 00037 00042 public class EventConsumerHelper extends ComponentHelper 00043 { 00044 public EventConsumerHelper(Logger containerLogger) 00045 { 00046 super(containerLogger); 00047 } 00048 00054 protected ComponentLifecycle _createComponentImpl() 00055 { 00056 return new EventConsumerImpl(); 00057 } 00058 00063 protected Class _getPOATieClass() 00064 { 00065 return ConsumerCompPOATie.class; 00066 } 00067 00074 protected Class _getOperationsInterface() 00075 { 00076 return ConsumerCompOperations.class; 00077 } 00078 }