|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.utils.agent.DynamicXMLToVector
public class DynamicXMLToVector
This class is used for the Persistence of the aProxyTable values. Used for Dynamic Registration of SubAgents.
| Field Summary | |
|---|---|
(package private) static java.lang.String[] |
columnNames
|
(package private) static int |
PROXYCOMMUNITY
|
(package private) static int |
PROXYHOST
|
(package private) static int |
PROXYOID
|
(package private) static int |
PROXYPORTNUMBER
|
(package private) static int |
PROXYRETRIES
|
(package private) static int |
PROXYROWSTATUS
|
(package private) static int |
PROXYTIMEOUT
|
(package private) static int |
PROXYVERSION
|
| Constructor Summary | |
|---|---|
DynamicXMLToVector(java.lang.String dirStr,
java.lang.String fileStr)
Primary constructor with directory name and file Name. |
|
| Method Summary | |
|---|---|
static int |
getColumnId(java.lang.String name)
Getter for the column id for the column name. |
java.lang.String |
getColumnValue(DynamicRegistrationEntry entry,
java.lang.String columnName)
Getter of the column value in the entry for the given column name. |
void |
setFToVPersistence(boolean fToVPersistence)
Setter for FToVPersistence. |
void |
setTableRequestHandler(DynamicRegistration handler)
Setter for the Table Request handler. |
void |
writeIntoFile()
Method to write the entries into the storage file with the specified format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int PROXYOID
static final int PROXYHOST
static final int PROXYPORTNUMBER
static final int PROXYVERSION
static final int PROXYCOMMUNITY
static final int PROXYTIMEOUT
static final int PROXYRETRIES
static final int PROXYROWSTATUS
static final java.lang.String[] columnNames
| Constructor Detail |
|---|
public DynamicXMLToVector(java.lang.String dirStr,
java.lang.String fileStr)
dirStr - The directory Name.fileStr - The file Name.| Method Detail |
|---|
public static int getColumnId(java.lang.String name)
name - The column name.
public java.lang.String getColumnValue(DynamicRegistrationEntry entry,
java.lang.String columnName)
entry - The DynamicRegistrationEntry, the row object.columnName - The column name.
public void writeIntoFile()
writeIntoFile in interface UpdateListenerpublic void setTableRequestHandler(DynamicRegistration handler)
handler - The RequestHandler for the Table which uses this
UpdateListener to update the persistence file.public void setFToVPersistence(boolean fToVPersistence)
fToVPersistence - The FToV Persistence flag.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||