com.atlassian.jira.event
Class ListenerFactory

java.lang.Object
  extended by com.atlassian.jira.event.ListenerFactory

public class ListenerFactory
extends Object

The base factory used to create Listeners.


Constructor Summary
ListenerFactory()
           
 
Method Summary
static JiraListener getListener(String clazz, Map params)
          Create an implementation of a Listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerFactory

public ListenerFactory()
Method Detail

getListener

public static JiraListener getListener(String clazz,
                                       Map params)
                                throws ListenerException
Create an implementation of a Listener.

Parameters:
clazz - The fully qualified class of this Listener
params - Init parameters for the listener
Returns:
An implementation of the Listener
Throws:
ListenerException - Thrown if any problems occur instantiating the Listener


Copyright © 2002-2009 Atlassian. All Rights Reserved.