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


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

Constructor Detail

PluginManager

public 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()

setCapsdConfig

public void setCapsdConfig(CapsdConfig capsdConfig)

afterPropertiesSet

public void afterPropertiesSet()
                        throws org.exolab.castor.xml.ValidationException
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2009. All Rights Reserved.