/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code 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
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
//
// Generated by mibgen version 5.0 (06/02/03) when compiling JVM-MANAGEMENT-MIB in standard metadata mode.
//
// java imports
//
// jmx imports
//
// jdmk imports
//
/**
* The class is used for representing SNMP metadata for the "JvmRuntime" group.
* The group is defined with the following oid: 1.3.6.1.4.1.42.2.145.3.163.1.1.4.
*/
implements Serializable, SnmpStandardMetaServer {
/**
* Constructor for the metadata associated to "JvmRuntime".
*/
try {
registerObject(23);
registerObject(22);
registerObject(21);
registerObject(9);
registerObject(20);
registerObject(8);
registerObject(7);
registerObject(6);
registerObject(5);
registerObject(4);
registerObject(3);
registerObject(12);
registerObject(11);
registerObject(2);
registerObject(1);
registerObject(10);
} catch (IllegalAccessException e) {
throw new RuntimeException(e.getMessage());
}
}
/**
* Get the value of a scalar variable
*/
throws SnmpStatusException {
switch((int)var) {
case 23: {
}
case 22: {
}
case 21: {
}
case 9:
case 20: {
}
case 8:
case 7:
case 6:
case 5:
case 4:
case 3:
case 12:
case 11:
case 2:
case 1:
case 10:
default:
break;
}
}
/**
* Set the value of a scalar variable
*/
throws SnmpStatusException {
switch((int)var) {
case 23: {
}
case 22: {
}
case 21: {
}
case 9:
case 20: {
}
case 8:
case 7:
case 6:
case 5:
case 4:
case 3:
case 12:
case 11:
case 2:
case 1:
case 10:
default:
break;
}
}
/**
* Check the value of a scalar variable
*/
throws SnmpStatusException {
switch((int) var) {
case 23: {
}
case 22: {
}
case 21: {
}
case 9:
case 20: {
}
case 8:
case 7:
case 6:
case 5:
case 4:
case 3:
case 12:
case 11:
case 2:
case 1:
case 10:
default:
}
}
/**
* Allow to bind the metadata description to a specific object.
*/
}
// ------------------------------------------------------------
//
// Implements the "get" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
// ------------------------------------------------------------
//
// Implements the "set" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
// ------------------------------------------------------------
//
// Implements the "check" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
/**
* Returns true if "arc" identifies a scalar object.
*/
switch((int)arc) {
case 9:
case 8:
case 7:
case 6:
case 5:
case 4:
case 3:
case 12:
case 11:
case 2:
case 1:
case 10:
return true;
default:
break;
}
return false;
}
/**
* Returns true if "arc" identifies a readable scalar object.
*/
switch((int)arc) {
case 9:
case 8:
case 7:
case 6:
case 5:
case 4:
case 3:
case 12:
case 11:
case 2:
case 1:
case 10:
return true;
default:
break;
}
return false;
}
// ------------------------------------------------------------
//
// Implements the "skipVariable" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
switch((int)var) {
case 12:
case 11:
break;
default:
break;
}
}
/**
* Return the name of the attribute corresponding to the SNMP variable identified by "id".
*/
throws SnmpStatusException {
switch((int)id) {
case 23: {
}
case 22: {
}
case 21: {
}
case 9:
return "JvmRTBootClassPathSupport";
case 20: {
}
case 8:
return "JvmRTManagementSpecVersion";
case 7:
return "JvmRTSpecVersion";
case 6:
return "JvmRTSpecVendor";
case 5:
return "JvmRTSpecName";
case 4:
return "JvmRTVMVersion";
case 3:
return "JvmRTVMVendor";
case 12:
return "JvmRTStartTimeMs";
case 11:
return "JvmRTUptimeMs";
case 2:
return "JvmRTVMName";
case 1:
return "JvmRTName";
case 10:
return "JvmRTInputArgsCount";
default:
break;
}
}
/**
* Returns true if "arc" identifies a table object.
*/
switch((int)arc) {
case 23:
return true;
case 22:
return true;
case 21:
return true;
case 20:
return true;
default:
break;
}
return false;
}
/**
* Returns the table object identified by "arc".
*/
switch((int)arc) {
case 23:
return tableJvmRTLibraryPathTable;
case 22:
return tableJvmRTClassPathTable;
case 21:
return tableJvmRTBootClassPathTable;
case 20:
return tableJvmRTInputArgsTable;
default:
break;
}
return null;
}
/**
* Register the group's SnmpMibTable objects with the meta-data.
*/
tableJvmRTLibraryPathTable = createJvmRTLibraryPathTableMetaNode("JvmRTLibraryPathTable", "JvmRuntime", mib, server);
if ( tableJvmRTLibraryPathTable != null) {
}
tableJvmRTClassPathTable = createJvmRTClassPathTableMetaNode("JvmRTClassPathTable", "JvmRuntime", mib, server);
if ( tableJvmRTClassPathTable != null) {
}
tableJvmRTBootClassPathTable = createJvmRTBootClassPathTableMetaNode("JvmRTBootClassPathTable", "JvmRuntime", mib, server);
if ( tableJvmRTBootClassPathTable != null) {
}
tableJvmRTInputArgsTable = createJvmRTInputArgsTableMetaNode("JvmRTInputArgsTable", "JvmRuntime", mib, server);
if ( tableJvmRTInputArgsTable != null) {
}
}
/**
* Factory method for "JvmRTLibraryPathTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmRTLibraryPathTable")
* @param groupName Name of the group to which this table belong ("JvmRuntime")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmRTLibraryPathTable" table (JvmRTLibraryPathTableMeta)
*
**/
protected JvmRTLibraryPathTableMeta createJvmRTLibraryPathTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
/**
* Factory method for "JvmRTClassPathTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmRTClassPathTable")
* @param groupName Name of the group to which this table belong ("JvmRuntime")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmRTClassPathTable" table (JvmRTClassPathTableMeta)
*
**/
protected JvmRTClassPathTableMeta createJvmRTClassPathTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
/**
* Factory method for "JvmRTBootClassPathTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmRTBootClassPathTable")
* @param groupName Name of the group to which this table belong ("JvmRuntime")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmRTBootClassPathTable" table (JvmRTBootClassPathTableMeta)
*
**/
protected JvmRTBootClassPathTableMeta createJvmRTBootClassPathTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
/**
* Factory method for "JvmRTInputArgsTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmRTInputArgsTable")
* @param groupName Name of the group to which this table belong ("JvmRuntime")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmRTInputArgsTable" table (JvmRTInputArgsTableMeta)
*
**/
protected JvmRTInputArgsTableMeta createJvmRTInputArgsTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
}