Permalink
Browse files

Merge branch 'seas-sandbox' of github.com:linkedin/sensei into seas-s…

…andbox
  • Loading branch information...
zhuang committed May 16, 2013
2 parents d498dd7 + e3ff0e7 commit e35c7cdceb86cac886ebe9128f38acde8826274a
@@ -671,7 +671,14 @@ public void destroy() {
super.destroy();
}
}
-
+
+ /**
+ * This class is a hack to allow the servlet to export the broker components
+ * to outside services. Since this components are instantiated here as part
+ * of the servlet initialization, it is a workaround to expose it through a
+ * placed holder instance injected via ServletContext by the builder of this
+ * servlet and its container.
+ */
public static class SenseiBrokerExport {
public AbstractSenseiClientServlet servlet;
public ClusterClient clusterClient;

0 comments on commit e35c7cd

Please sign in to comment.