Hi Jeff,
You can set the persistence provider to null in the
below constructor.
Best regards,
Frank
Jeff Ramin wrote:
Hi folks.
I don't need managed object persistence in the agent that I'm writing;
is there a way to indicate this with the persistenceProvider argument
to the AgentConfigManager constructor?:
public AgentConfigManager(org.snmp4j.smi.OctetString agentsOwnEngineID,
org.snmp4j.MessageDispatcher messageDispatcher,
VACM vacm,
MOServer[] moServers,
org.snmp4j.util.WorkerPool workerPool,
MOInputFactory configurationFactory,
MOPersistenceProvider persistenceProvider,
EngineBootsProvider engineBootsProvider)
For my purposes, it's fine if the agent starts with a clean slate whenever
it starts, and I don't want to deal with specifying a file for persistence.
Thanks.
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j