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 XmpAgentConfiggetAgentConfig(InetAddress agentInetAddress)getAgentConfigstatic XmpPeerFactorygetInstance()getInstancestatic voidinit()Initialize this factorystatic voidreload()reloadstatic voidsetInstance(XmpPeerFactory instance)setInstance
-
-
-
Method Detail
-
init
public static void init() throws FileNotFoundException, IOExceptionInitialize this factory- Throws:
IOException- if any.FileNotFoundException- if any.
-
reload
public static void reload() throws FileNotFoundException, IOExceptionreload
- Throws:
FileNotFoundException- if any.IOException- if any.
-
getInstance
public static XmpPeerFactory getInstance()
getInstance
- Returns:
- a
XmpPeerFactoryobject.
-
setInstance
public static void setInstance(XmpPeerFactory instance)
setInstance
- Parameters:
instance- aXmpPeerFactoryobject.
-
getAgentConfig
public XmpAgentConfig getAgentConfig(InetAddress agentInetAddress)
getAgentConfig
- Parameters:
agentInetAddress- aInetAddressobject.- Returns:
- a
XmpAgentConfigobject.
-
-