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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setup
(DRPC drpc, StormMetricsRegistry metricsRegistry) Methods inherited from class javax.ws.rs.core.Application
getClasses, getProperties
-
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
- Overrides:
getSingletons
in classjavax.ws.rs.core.Application
-
setup
-