Class DRPCApplication

java.lang.Object
javax.ws.rs.core.Application
org.apache.storm.daemon.drpc.webapp.DRPCApplication

@ApplicationPath("") public class DRPCApplication extends javax.ws.rs.core.Application
  • Constructor Details

    • DRPCApplication

      public DRPCApplication()
      Constructor. Creates new instance of DRPCResource, DRPCExceptionMapper and AuthorizationExceptionMapper and adds them to a set which can be retrieved later.
  • Method Details

    • getSingletons

      public Set<Object> getSingletons()
      Overrides:
      getSingletons in class javax.ws.rs.core.Application
    • setup

      public static void setup(DRPC drpc, StormMetricsRegistry metricsRegistry)