Class XmpPeerFactory
- java.lang.Object
-
- org.opennms.netmgt.protocols.xmp.config.XmpPeerFactory
-
public class XmpPeerFactory extends Object
XmpPeerFactory class.
- Version:
- $Id: $
- Author:
- Jeff Gehlbach, OpenNMS, Jeff Gehlbach, OpenNMS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XmpAgentConfig
getAgentConfig(InetAddress agentInetAddress)
getAgentConfigstatic XmpPeerFactory
getInstance()
getInstancestatic void
init()
Initialize this factorystatic void
reload()
reloadstatic void
setInstance(XmpPeerFactory instance)
setInstance
-
-
-
Method Detail
-
init
public static void init() throws FileNotFoundException, IOException
Initialize this factory- Throws:
IOException
- if any.FileNotFoundException
- if any.
-
reload
public static void reload() throws FileNotFoundException, IOException
reload
- Throws:
FileNotFoundException
- if any.IOException
- if any.
-
getInstance
public static XmpPeerFactory getInstance()
getInstance
- Returns:
- a
XmpPeerFactory
object.
-
setInstance
public static void setInstance(XmpPeerFactory instance)
setInstance
- Parameters:
instance
- aXmpPeerFactory
object.
-
getAgentConfig
public XmpAgentConfig getAgentConfig(InetAddress agentInetAddress)
getAgentConfig
- Parameters:
agentInetAddress
- aInetAddress
object.- Returns:
- a
XmpAgentConfig
object.
-
-