com.sun.management.snmp
Class JdmkEngineFactory

java.lang.Object
  extended by com.sun.management.snmp.JdmkEngineFactory
All Implemented Interfaces:
SnmpEngineFactory

public class JdmkEngineFactory
extends Object
implements SnmpEngineFactory

This SnmpEngineFactory instantiates an SnmpEngine containing :

Since:
Java DMK 5.1

Constructor Summary
JdmkEngineFactory()
           
 
Method Summary
 SnmpEngine createEngine(SnmpEngineParameters p)
          The engine instantiation method.
 SnmpEngine createEngine(SnmpEngineParameters p, InetAddressAcl ipacl)
          The engine instantiation method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdmkEngineFactory

public JdmkEngineFactory()
Method Detail

createEngine

public SnmpEngine createEngine(SnmpEngineParameters p)
The engine instantiation method.

Specified by:
createEngine in interface SnmpEngineFactory
Parameters:
p - The parameters used to instantiate a new engine.
Returns:
The newly created SnmpEngine.
Throws:
IllegalArgumentException - Thrown if one of the configuration file file doesn't exist (User Acl file, security file).

createEngine

public SnmpEngine createEngine(SnmpEngineParameters p,
                               InetAddressAcl ipacl)
The engine instantiation method. This method is called by SnmpV3AdaptorServer.

Specified by:
createEngine in interface SnmpEngineFactory
Parameters:
p - The parameters used to instantiate a new engine.
ipacl - The Ip ACL to pass to the Access Control Model.
Returns:
The newly created SnmpEngine.
Throws:
IllegalArgumentException - Thrown if one of the configuration file file doesn't exist (User Acl file, security file).

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.