
com.dev9.mvnwatcher.event.DirectoryEventModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of watcher-maven-plugin Show documentation
Show all versions of watcher-maven-plugin Show documentation
Maven Plugin to watch file system changes and automatically restart builds
The newest version!
package com.dev9.mvnwatcher.event;
import com.google.common.eventbus.EventBus;
import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
import com.google.inject.name.Names;
/**
* Created by IntelliJ IDEA.
* User: bbejeck
* Date: 2/25/12
* Time: 9:30 PM
*/
public class DirectoryEventModule extends AbstractModule {
@Override
protected void configure() {
bind(EventBus.class).in(Singleton.class);
bind(String.class).annotatedWith(Names.named("START_PATH")).toInstance("test-files");
bind(DirectoryEventWatcher.class).toProvider(DirectoryEventWatcherProvider.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy