com.google.inject.Inject



API Populatity

43 Client projects

Project: com.google

Project Graylog2/graylog2-server in file ...org.graylog2.initializers.IndexerSetupService.java (2014-09-23)
@@ -20,6 +20,7 @@ import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.ObjectMapper;
 import com.google.common.base.Splitter;
 import com.google.common.util.concurrent.AbstractIdleService;
+import com.google.inject.Inject;
 import com.google.inject.Singleton;
 import com.ning.http.client.AsyncHttpClient;
 import com.ning.http.client.ListenableFuture;
@@ -55,6 +56,7 @@ public class IndexerSetupService extends AbstractIdleService {
     private final BufferSynchronizerService bufferSynchronizerService;
     private final AsyncHttpClient httpClient;
 
+    @Inject
     public IndexerSetupService(final Node node,
                                final Configuration configuration,
                                final BufferSynchronizerService bufferSynchronizerService,
Project druid-io/druid in file ...ruid.coordination.CuratorDataSegmentAnnouncer.java (2013-08-01)
@@ -22,6 +22,7 @@ package com.metamx.druid.coordination;
 import com.fasterxml.jackson.core.JsonProcessingException;
 import com.fasterxml.jackson.databind.ObjectMapper;
 import com.google.common.base.Throwables;
+import com.google.inject.Inject;
 import com.metamx.common.lifecycle.LifecycleStart;
 import com.metamx.common.lifecycle.LifecycleStop;
 import com.metamx.common.logger.Logger;
@@ -46,6 +47,7 @@ public class CuratorDataSegmentAnnouncer implements DataSegmentAnnouncer
 
   private volatile boolean started = false;
 
+  @Inject
   public CuratorDataSegmentAnnouncer(
       DruidServerMetadata server,
       ZkPathsConfig config,
Project druid-io/druid in file ...ain.java.com.metamx.druid.http.RedirectFilter.java (2013-06-17)
@@ -19,6 +19,7 @@
 
 package com.metamx.druid.http;
 
+import com.google.inject.Inject;
 import com.metamx.common.logger.Logger;
 
 import javax.servlet.Filter;
@@ -40,6 +41,7 @@ public class RedirectFilter implements Filter
 
   private final RedirectInfo redirectInfo;
 
+  @Inject
   public RedirectFilter(
       RedirectInfo redirectInfo
   )