org.dspace.event
Class ConsumerProfile

java.lang.Object
  extended by org.dspace.event.ConsumerProfile

public class ConsumerProfile
extends Object

An instance of this class contains the configuration profile of a specific, named Consumer, in the context of a specific Dispatcher. This includes the name, the class to instantiate and event filters. Note that all characteristics are "global" and the same for all dispatchers.

Version:
$Revision: 3762 $

Method Summary
 Consumer getConsumer()
           
 List<int[]> getFilters()
           
 String getName()
           
static ConsumerProfile makeConsumerProfile(String name)
          Factory method, create new profile from configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeConsumerProfile

public static ConsumerProfile makeConsumerProfile(String name)
                                           throws IllegalArgumentException,
                                                  ClassNotFoundException,
                                                  InstantiationException,
                                                  IllegalAccessException
Factory method, create new profile from configuration.

Parameters:
name - configuration name of the consumer profile
Throws:
IllegalArgumentException
ClassNotFoundException
InstantiationException
IllegalAccessException

getConsumer

public Consumer getConsumer()

getFilters

public List<int[]> getFilters()

getName

public String getName()


Copyright © 2010 DuraSpace. All Rights Reserved.