org.opennms.netmgt.capsd
Class PluginManager

java.lang.Object
  extended by org.opennms.netmgt.capsd.PluginManager
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class PluginManager
extends Object
implements org.springframework.beans.factory.InitializingBean

PluginManager class.

Version:
$Id: $
Author:
ranger

Constructor Summary
PluginManager()
          Constructor for PluginManager.
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 CapsdConfig getCapsdConfig()
          getCapsdConfig
 CapsdProtocolInfo[] getProtocolSpecification(InetAddress address)
          Returns the list of protocol plugins and the associated actions for the named address.
 void setCapsdConfig(CapsdConfig capsdConfig)
          setCapsdConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager

public PluginManager()

Constructor for PluginManager.

Method Detail

getProtocolSpecification

public CapsdProtocolInfo[] getProtocolSpecification(InetAddress address)
Returns the list of protocol plugins and the associated actions for the named address. The currently loaded configuration is used to find, build, and return the protocol information. The returns information has all the necessary element to check the address for capabilities.

Parameters:
address - The address to get protocol information for.
Returns:
The array of protocol information instances for the address.

getCapsdConfig

public CapsdConfig getCapsdConfig()

getCapsdConfig

Returns:
a CapsdConfig object.

setCapsdConfig

public void setCapsdConfig(CapsdConfig capsdConfig)

setCapsdConfig

Parameters:
capsdConfig - a CapsdConfig object.

afterPropertiesSet

public void afterPropertiesSet()
                        throws org.exolab.castor.xml.ValidationException

afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
org.exolab.castor.xml.ValidationException - if any.


Copyright © 2011. All Rights Reserved.