|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.versioning.VersioningConsumer
public class VersioningConsumer
| Constructor Summary | |
|---|---|
VersioningConsumer()
|
|
| Method Summary | |
|---|---|
void |
consume(Context ctx,
Event event)
Consume an event; events may get filtered at the dispatcher level, hiding it from the consumer. |
void |
end(Context ctx)
Signal that there are no more events queued in this event stream and event processing for the preceding consume calls should be finished up. |
void |
finish(Context ctx)
Finish - free any allocated resources. |
void |
initialize()
Initialize - allocate any resources required to operate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersioningConsumer()
| Method Detail |
|---|
public void initialize()
throws Exception
Consumer
initialize in interface ConsumerException
public void finish(Context ctx)
throws Exception
Consumer
finish in interface ConsumerException
public void consume(Context ctx,
Event event)
throws Exception
Consumer
consume in interface Consumerctx - the execution context objectevent - the content event
Exception
public void end(Context ctx)
throws Exception
Consumer
end in interface ConsumerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||