public class RestResourceRegistry extends Object
| Constructor and Description |
|---|
RestResourceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static List<RestResource> |
getResources() |
static int |
getRevision() |
static void |
register(Class<?> clazz)
Register a new resource - N.B.
|
static void |
register(Class<?> clazz,
boolean indexable)
Register a new resource - N.B.
|
public static void register(Class<?> clazz)
clazz - public static void register(Class<?> clazz, boolean indexable)
clazz - indexable - true if this service should also be exposed to any configured index servicepublic static List<RestResource> getResources()
public static int getRevision()
Copyright © 2016. All rights reserved.