org.opennms.netmgt.config
Class DefaultServiceMonitorLocator

java.lang.Object
  extended by org.opennms.netmgt.config.DefaultServiceMonitorLocator
All Implemented Interfaces:
Serializable, ServiceMonitorLocator

public class DefaultServiceMonitorLocator
extends Object
implements ServiceMonitorLocator, Serializable

See Also:
Serialized Form

Constructor Summary
DefaultServiceMonitorLocator(String serviceName, Class<? extends ServiceMonitor> serviceClass)
           
 
Method Summary
 String getServiceLocatorKey()
           
 ServiceMonitor getServiceMonitor()
           
 String getServiceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceMonitorLocator

public DefaultServiceMonitorLocator(String serviceName,
                                    Class<? extends ServiceMonitor> serviceClass)
Method Detail

getServiceMonitor

public ServiceMonitor getServiceMonitor()
Specified by:
getServiceMonitor in interface ServiceMonitorLocator

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface ServiceMonitorLocator

getServiceLocatorKey

public String getServiceLocatorKey()
Specified by:
getServiceLocatorKey in interface ServiceMonitorLocator


Copyright © 2009. All Rights Reserved.