org.opennms.netmgt.poller.remote
Class ServiceMonitorFactoryBean

java.lang.Object
  extended by org.opennms.netmgt.poller.remote.ServiceMonitorFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class ServiceMonitorFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

Author:
Mathew Brozowski

Constructor Summary
ServiceMonitorFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setMonitorClass(Class<?> serviceClass)
           
 void setMonitorParameters(Map<String,Object> serviceParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMonitorFactoryBean

public ServiceMonitorFactoryBean()
Method Detail

setMonitorClass

public void setMonitorClass(Class<?> serviceClass)

setMonitorParameters

public void setMonitorParameters(Map<String,Object> serviceParameters)

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2009. All Rights Reserved.