From: <sc...@hy...> - 2007-04-14 00:12:42
|
Author: scottmf Date: 2007-04-13 17:12:40 -0700 (Fri, 13 Apr 2007) New Revision: 4130 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=4130 Removed: trunk/plugins/informix/src/org/hyperic/hq/plugin/informix/InformixProductPlugin.java Log: [HHQ-191] removing InformixProductPlugin.java Deleted: trunk/plugins/informix/src/org/hyperic/hq/plugin/informix/InformixProductPlugin.java =================================================================== --- trunk/plugins/informix/src/org/hyperic/hq/plugin/informix/InformixProductPlugin.java 2007-04-14 00:00:12 UTC (rev 4129) +++ trunk/plugins/informix/src/org/hyperic/hq/plugin/informix/InformixProductPlugin.java 2007-04-14 00:12:40 UTC (rev 4130) @@ -1,71 +0,0 @@ -/* - * NOTE: This copyright does *not* cover user programs that use HQ - * program services by normal system calls through the application - * program interfaces provided as part of the Hyperic Plug-in Development - * Kit or the Hyperic Client Development Kit - this is merely considered - * normal use of the program, and does *not* fall under the heading of - * "derived work". - * - * Copyright (C) [2004, 2005, 2006], Hyperic, Inc. - * This file is part of HQ. - * - * HQ is free software; you can redistribute it and/or modify - * it under the terms version 2 of the GNU General Public License as - * published by the Free Software Foundation. This program 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 General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA. - */ - -package org.hyperic.hq.plugin.informix; - -import org.hyperic.hq.product.TypeBuilder; -import org.hyperic.hq.product.TypeInfo; -import org.hyperic.hq.product.ServerTypeInfo; -import org.hyperic.hq.product.GenericPlugin; -import org.hyperic.hq.product.ProductPlugin; - -public class InformixProductPlugin extends ProductPlugin { - - static final String NAME = "informix"; - - static final String SERVER_NAME = "Informix"; - static final String SERVER_DESC = "Database Server"; - static final String INSTANCE = "Instance"; - - static final String VERSION = "10.x"; - - static final String[] SERVICES = { - INSTANCE - }; - - public InformixProductPlugin() { - setName(NAME); - } - - public GenericPlugin getPlugin(String type, TypeInfo entity) - { - if (type.equals(ProductPlugin.TYPE_MEASUREMENT)) { - return new InformixMeasurementPlugin(); - } - - return null; - } - - public TypeInfo[] getTypes() { - TypeBuilder types = new TypeBuilder(SERVER_NAME, SERVER_DESC); - - ServerTypeInfo server; - - server = types.addServer(VERSION); - types.addServices(server, SERVICES); - - return types.getTypes(); - } -} |