org.dspace.event
Class ConsumerProfile
java.lang.Object
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: 5844 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
- Returns:
- a new ConsumerProfile; never null.
- Throws:
IllegalArgumentException
ClassNotFoundException
InstantiationException
IllegalAccessException
getConsumer
public Consumer getConsumer()
getFilters
public List<int[]> getFilters()
getName
public String getName()
Copyright © 2011 DuraSpace. All Rights Reserved.