com.sun.management.snmp
Class JdmkEngineFactory
java.lang.Object
com.sun.management.snmp.JdmkEngineFactory
- All Implemented Interfaces:
- SnmpEngineFactory
public class JdmkEngineFactory
- extends Object
- implements SnmpEngineFactory
This SnmpEngineFactory
instantiates an SnmpEngine
containing :
- Message Processing Sub System + V1, V2 et V3 Message Processing Models
- Security Sub System + User based Security Model (Id 3)
- Access Control Sub System + Ip Acl + User based Access Control Model. See
IpAcl
and UserAcl
.
- Since:
- Java DMK 5.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdmkEngineFactory
public JdmkEngineFactory()
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).
Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.