com.adventnet.adaptors.snmp
Class VaclTableMBean

java.lang.Object
  extended by com.adventnet.adaptors.snmp.VaclTableMBean

public class VaclTableMBean
extends java.lang.Object

Handles all requests under VaclTable group


Field Summary
(package private)  java.lang.String fileDir
           
(package private)  VaclTable vaclTable
           
 
Constructor Summary
VaclTableMBean(VaclTable table)
          Constructor with the VaclTable reference.
 
Method Summary
 java.lang.String[] getIndexNames()
          To get the index column names of the table
 java.util.Vector getTableVector()
          Method to retrieve the Vector of VaclEntries.
 javax.jmx.openmbean.TabularData getVaclTable()
          Method to retrieve this Table.
 void setFToVDir(java.lang.String agentDir)
           
 void setTableVector(java.util.Vector vec)
          Method to populate this Table with the Vector.
 void setVaclTable(javax.jmx.openmbean.TabularData data)
          Method to set the Table data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileDir

java.lang.String fileDir

vaclTable

VaclTable vaclTable
Constructor Detail

VaclTableMBean

public VaclTableMBean(VaclTable table)
Constructor with the VaclTable reference.

Parameters:
table - The VaclTable to be managed by this MBean.
Method Detail

getIndexNames

public java.lang.String[] getIndexNames()
To get the index column names of the table

Returns:
The indexNames of this Table as a String[]

setTableVector

public void setTableVector(java.util.Vector vec)
Method to populate this Table with the Vector.

Parameters:
vec - the Vector of VaclEntry instances.

getTableVector

public java.util.Vector getTableVector()
Method to retrieve the Vector of VaclEntries.

Returns:
The Vector of VaclEntries.

setFToVDir

public void setFToVDir(java.lang.String agentDir)

getVaclTable

public javax.jmx.openmbean.TabularData getVaclTable()
Method to retrieve this Table.

Returns:
The TabularData contining the VaclTable informations.

setVaclTable

public void setVaclTable(javax.jmx.openmbean.TabularData data)
                  throws java.lang.Exception
Method to set the Table data.

Parameters:
data - The TabularData to be set
Throws:
java.lang.Exception - This wraps all the exceptions thrown during this process.