/** Default constructor, sets up the listener name and the list of events to subscribe to. */ public AutomaticDataMigrationEventListener() { super("automatic-data-migration", new ApplicationReadyEvent()); }
/** Default constructor, sets up the listener name and the list of events to subscribe to. */ public AutomaticDataMigrationEventListener() { super("automatic-data-migration", new ApplicationReadyEvent()); }
@Override public List<Event> getEvents() { return Arrays.asList(new ApplicationReadyEvent()); }
/** * Construct the migrator. */ public NotificationFilterPreferencesMigrator() { super("NotificationFilterPreferencesMigrator", Collections.singletonList(new ApplicationReadyEvent())); }
@Override public List<Event> getEvents() { return Arrays.<Event> asList(new ApplicationReadyEvent(), new WikiReadyEvent()); }
/** * Builds a new {@link DefaultWikiComponentManagerEventListener}. */ public DefaultWikiComponentManagerEventListener() { super(DefaultWikiComponentManagerEventListener.EVENT_LISTENER_NAME, new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent(), new ApplicationReadyEvent(), new WikiReadyEvent()); }
/** * Builds a new {@link DefaultWikiObjectComponentManagerEventListener}. */ public DefaultWikiObjectComponentManagerEventListener() { super(DefaultWikiObjectComponentManagerEventListener.EVENT_LISTENER_NAME, new ApplicationReadyEvent(), new WikiReadyEvent(), new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent()); }