@ApplicationPath(value="")
public class DRPCApplication
extends javax.ws.rs.core.Application
Constructor and Description |
---|
DRPCApplication()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<Object> |
getSingletons() |
static void |
setup(DRPC drpc,
StormMetricsRegistry metricsRegistry) |
public DRPCApplication()
Constructor. Creates new instance of DRPCResource, DRPCExceptionMapper and AuthorizationExceptionMapper and adds them to a set which can be retrieved later.
public Set<Object> getSingletons()
getSingletons
in class javax.ws.rs.core.Application
public static void setup(DRPC drpc, StormMetricsRegistry metricsRegistry)
Copyright © 2022 The Apache Software Foundation. All rights reserved.