}
private void initEventRegistry() {
EventRegistry eventRegistry = EventRegistryFactory.forObjectContainer(fDb);
EventListener4 updatedListener = new EventListener4() {
public void onEvent(Event4 e, EventArgs args) {
processUpdatedEvent(args);
}
};
EventListener4 creatingListener = new EventListener4() {
public void onEvent(Event4 e, EventArgs args) {
processCreatingEvent(args);
}
};
EventListener4 createdListener = new EventListener4() {
public void onEvent(Event4 e, EventArgs args) {
processCreatedEvent(args);
}
};
//TODO If we don't use this for anything by the time we merge db4o branch
//into HEAD, then delete it
// EventListener4 activatedListener = new EventListener4() {
// public void onEvent(Event4 e, EventArgs args) {
// processActivatedEvent(args);
// }
// };
EventListener4 deletingListener = new EventListener4() {
public void onEvent(Event4 e, EventArgs args) {
processDeletingEvent(args);
}
};
EventListener4 deletedListener = new EventListener4() {
public void onEvent(Event4 e, EventArgs args) {
processDeletedEvent(args);
}
};