0N/A/*
2362N/A * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/Apackage sun.management.snmp.jvminstr;
0N/A
0N/A// java imports
0N/A//
0N/Aimport java.io.Serializable;
0N/A
0N/A// jmx imports
0N/A//
0N/Aimport javax.management.MBeanServer;
0N/Aimport com.sun.jmx.snmp.SnmpOid;
0N/Aimport com.sun.jmx.snmp.SnmpStatusException;
0N/A
0N/A// jdmk imports
0N/A//
0N/Aimport com.sun.jmx.snmp.agent.SnmpMib;
0N/Aimport com.sun.jmx.snmp.agent.SnmpStandardObjectServer;
0N/A
0N/Aimport sun.management.snmp.jvmmib.JvmMemoryMeta;
0N/Aimport sun.management.snmp.jvmmib.JvmMemManagerTableMeta;
0N/Aimport sun.management.snmp.jvmmib.JvmMemGCTableMeta;
0N/Aimport sun.management.snmp.jvmmib.JvmMemPoolTableMeta;
0N/Aimport sun.management.snmp.jvmmib.JvmMemMgrPoolRelTableMeta;
0N/Aimport sun.management.snmp.util.MibLogger;
0N/A
0N/A/**
0N/A * The class is used for representing SNMP metadata for the "JvmMemory" group.
0N/A */
0N/Apublic class JvmMemoryMetaImpl extends JvmMemoryMeta {
0N/A /**
0N/A * Constructor for the metadata associated to "JvmMemory".
0N/A */
0N/A public JvmMemoryMetaImpl(SnmpMib myMib, SnmpStandardObjectServer objserv) {
0N/A super(myMib,objserv);
0N/A }
0N/A
0N/A /**
0N/A * Factory method for "JvmMemManagerTable" table metadata class.
0N/A *
0N/A * You can redefine this method if you need to replace the default
0N/A * generated metadata class with your own customized class.
0N/A *
0N/A * @param tableName Name of the table object ("JvmMemManagerTable")
0N/A * @param groupName Name of the group to which this table belong
0N/A * ("JvmMemory")
0N/A * @param mib The SnmpMib object in which this table is registered
0N/A * @param server MBeanServer for this table entries (may be null)
0N/A *
0N/A * @return An instance of the metadata class generated for the
0N/A * "JvmMemManagerTable" table (JvmMemManagerTableMeta)
0N/A *
0N/A **/
0N/A protected JvmMemManagerTableMeta createJvmMemManagerTableMetaNode(
0N/A String tableName, String groupName, SnmpMib mib, MBeanServer server) {
0N/A return new JvmMemManagerTableMetaImpl(mib, objectserver);
0N/A }
0N/A
0N/A
0N/A /**
0N/A * Factory method for "JvmMemGCTable" table metadata class.
0N/A *
0N/A * You can redefine this method if you need to replace the default
0N/A * generated metadata class with your own customized class.
0N/A *
0N/A * @param tableName Name of the table object ("JvmMemGCTable")
0N/A * @param groupName Name of the group to which this table belong
0N/A * ("JvmMemory")
0N/A * @param mib The SnmpMib object in which this table is registered
0N/A * @param server MBeanServer for this table entries (may be null)
0N/A *
0N/A * @return An instance of the metadata class generated for the
0N/A * "JvmMemGCTable" table (JvmMemGCTableMeta)
0N/A *
0N/A **/
0N/A protected JvmMemGCTableMeta createJvmMemGCTableMetaNode(String tableName,
0N/A String groupName, SnmpMib mib, MBeanServer server) {
0N/A return new JvmMemGCTableMetaImpl(mib, objectserver);
0N/A }
0N/A
0N/A
0N/A /**
0N/A * Factory method for "JvmMemPoolTable" table metadata class.
0N/A *
0N/A * You can redefine this method if you need to replace the default
0N/A * generated metadata class with your own customized class.
0N/A *
0N/A * @param tableName Name of the table object ("JvmMemPoolTable")
0N/A * @param groupName Name of the group to which this table belong
0N/A * ("JvmMemory")
0N/A * @param mib The SnmpMib object in which this table is registered
0N/A * @param server MBeanServer for this table entries (may be null)
0N/A *
0N/A * @return An instance of the metadata class generated for the
0N/A * "JvmMemPoolTable" table (JvmMemPoolTableMeta)
0N/A *
0N/A **/
0N/A protected JvmMemPoolTableMeta
0N/A createJvmMemPoolTableMetaNode(String tableName, String groupName,
0N/A SnmpMib mib, MBeanServer server) {
0N/A return new JvmMemPoolTableMetaImpl(mib, objectserver);
0N/A }
0N/A
0N/A /**
0N/A * Factory method for "JvmMemMgrPoolRelTable" table metadata class.
0N/A *
0N/A * You can redefine this method if you need to replace the default
0N/A * generated metadata class with your own customized class.
0N/A *
0N/A * @param tableName Name of the table object ("JvmMemMgrPoolRelTable")
0N/A * @param groupName Name of the group to which this table belong
0N/A * ("JvmMemory")
0N/A * @param mib The SnmpMib object in which this table is registered
0N/A * @param server MBeanServer for this table entries (may be null)
0N/A *
0N/A * @return An instance of the metadata class generated for the
0N/A * "JvmMemMgrPoolRelTable" table (JvmMemMgrPoolRelTableMeta)
0N/A *
0N/A **/
0N/A protected JvmMemMgrPoolRelTableMeta
0N/A createJvmMemMgrPoolRelTableMetaNode(String tableName,
0N/A String groupName,
0N/A SnmpMib mib, MBeanServer server) {
0N/A return new JvmMemMgrPoolRelTableMetaImpl(mib, objectserver);
0N/A }
0N/A
0N/A}