Class EPersonConsumer

  • All Implemented Interfaces:
    Consumer

    public class EPersonConsumer
    extends Object
    implements Consumer
    Class for handling updates to EPersons Recommended filter: EPerson+Create
    Version:
    $Revision$
    Author:
    Stuart Lewis
    • Constructor Detail

      • EPersonConsumer

        public EPersonConsumer()
    • Method Detail

      • 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.