org.opennms.netmgt.notifd
Class ClassExecutor

java.lang.Object
  extended by org.opennms.netmgt.notifd.ClassExecutor
All Implemented Interfaces:
ExecutorStrategy

public class ClassExecutor
extends Object
implements ExecutorStrategy

Implementation of Executor strategy that instantiates a Java class.

Author:
David Hustace , OpenNMS

Constructor Summary
ClassExecutor()
           
 
Method Summary
 int execute(String className, List<Argument> arguments)
          This method calls the send method of the specified class in
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassExecutor

public ClassExecutor()
Method Detail

execute

public int execute(String className,
                   List<Argument> arguments)
This method calls the send method of the specified class in

Specified by:
execute in interface ExecutorStrategy
Parameters:
className. -
Java - className of the notification sender plug-in
arguments - a list of Argument objects that need to be passed to the class
Returns:
int, the return code of the send method of the plug-in


Copyright © 2009. All Rights Reserved.