Class EPersonConsumer

java.lang.Object
org.dspace.eperson.EPersonConsumer
All Implemented Interfaces:
Consumer

public class EPersonConsumer extends Object implements Consumer
Class for handling updates to EPersons Recommended filter: EPerson+Create
Author:
Stuart Lewis
  • Field Details

  • Constructor Details

    • EPersonConsumer

      public EPersonConsumer()
  • Method Details

    • initialize

      public void initialize() throws Exception
      Initialise the consumer
      Specified by:
      initialize in interface Consumer
      Throws:
      Exception - if error
    • consume

      public void consume(Context context, Event event) throws Exception
      Consume the event
      Specified by:
      consume in interface Consumer
      Parameters:
      context - The relevant DSpace Context.
      event - Which Event to consume
      Throws:
      Exception - if error
    • end

      public void end(Context ctx) throws Exception
      Handle the end of the event
      Specified by:
      end in interface Consumer
      Parameters:
      ctx - The relevant DSpace Context.
      Throws:
      Exception - if error
    • finish

      public void finish(Context ctx)
      Finish the event
      Specified by:
      finish in interface Consumer
      Parameters:
      ctx - The relevant DSpace Context.