|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Registry
Method Summary | |
---|---|
void |
addJndiResource(String jndiName)
Add a JAX-RS endpoint that exists in JNDI |
void |
addJndiResource(String jndiName,
String basePath)
Add a JAX-RS endpoint that exists in JNDI. |
void |
addPerRequestResource(Class<?> clazz)
Add a JAX-RS endpoint. |
void |
addPerRequestResource(Class<?> clazz,
String basePath)
Add a JAX-RS endpoint. |
void |
addResourceFactory(ResourceFactory ref)
Add a custom resource implementation endpoint. |
void |
addResourceFactory(ResourceFactory ref,
String basePath)
Add a custom resource implementation endpoint. |
void |
addResourceFactory(ResourceFactory ref,
String base,
Class<?> clazz)
ResourceFactory.getScannableClass() is not used, only the clazz parameter and not any implemented interfaces of the clazz parameter. |
void |
addSingletonResource(Object singleton)
Add a JAX-RS endpoint. |
void |
addSingletonResource(Object singleton,
String basePath)
Add a JAX-RS endpoint. |
ResourceInvoker |
getResourceInvoker(HttpRequest request)
|
int |
getSize()
|
void |
removeRegistrations(Class<?> clazz)
|
void |
removeRegistrations(Class<?> clazz,
String base)
|
Method Detail |
---|
void addPerRequestResource(Class<?> clazz)
clazz
- void addPerRequestResource(Class<?> clazz, String basePath)
clazz
- basePath
- prefix path of resourcevoid addSingletonResource(Object singleton)
clazz
- void addSingletonResource(Object singleton, String basePath)
clazz
- basePath
- prefix path of resourcevoid addJndiResource(String jndiName)
clazz
- void addJndiResource(String jndiName, String basePath)
clazz
- basePath
- prefix path of resourcevoid addResourceFactory(ResourceFactory ref)
ref
- void addResourceFactory(ResourceFactory ref, String basePath)
ref
- basePath
- prefix path of resourcevoid addResourceFactory(ResourceFactory ref, String base, Class<?> clazz)
factory
- base
- base URI path for any resources provided by the factory, in addition to rootPathclazz
- specific classoffset
- path segment offset. > 0 means we're within a locator.void removeRegistrations(Class<?> clazz)
void removeRegistrations(Class<?> clazz, String base)
int getSize()
ResourceInvoker getResourceInvoker(HttpRequest request)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |