org.opennms.netmgt.config
Class DefaultServiceMonitorLocator

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

public class DefaultServiceMonitorLocator
extends java.lang.Object
implements ServiceMonitorLocator, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DefaultServiceMonitorLocator(java.lang.String serviceName, java.lang.Class<? extends ServiceMonitor> serviceClass)
           
 
Method Summary
 java.lang.String getServiceLocatorKey()
           
 ServiceMonitor getServiceMonitor()
           
 java.lang.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(java.lang.String serviceName,
                                    java.lang.Class<? extends ServiceMonitor> serviceClass)
Method Detail

getServiceMonitor

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

getServiceName

public java.lang.String getServiceName()
Specified by:
getServiceName in interface ServiceMonitorLocator

getServiceLocatorKey

public java.lang.String getServiceLocatorKey()
Specified by:
getServiceLocatorKey in interface ServiceMonitorLocator


Copyright © 2007. All Rights Reserved.