|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Registry
Method Summary | |
---|---|
void |
addJndiResource(java.lang.String jndiName)
Add a JAX-RS endpoint that exists in JNDI |
void |
addJndiResource(java.lang.String jndiName,
java.lang.String basePath)
Add a JAX-RS endpoint that exists in JNDI. |
void |
addPerRequestResource(java.lang.Class<?> clazz)
Add a JAX-RS endpoint. |
void |
addPerRequestResource(java.lang.Class<?> clazz,
java.lang.String basePath)
Add a JAX-RS endpoint. |
void |
addResourceFactory(ResourceFactory ref)
Add a custom resource implementation endpoint. |
void |
addResourceFactory(ResourceFactory ref,
java.lang.String basePath)
Add a custom resource implementation endpoint. |
void |
addResourceFactory(ResourceFactory ref,
java.lang.String base,
java.lang.Class<?> clazz)
ResourceFactory.getScannableClass() is not used, only the clazz parameter and not any implemented interfaces of the clazz parameter. |
void |
addSingletonResource(java.lang.Object singleton)
Add a JAX-RS endpoint. |
void |
addSingletonResource(java.lang.Object singleton,
java.lang.String basePath)
Add a JAX-RS endpoint. |
ResourceInvoker |
getResourceInvoker(HttpRequest request)
|
int |
getSize()
|
void |
removeRegistrations(java.lang.Class<?> clazz)
|
void |
removeRegistrations(java.lang.Class<?> clazz,
java.lang.String base)
|
Method Detail |
---|
void addPerRequestResource(java.lang.Class<?> clazz)
clazz
- void addPerRequestResource(java.lang.Class<?> clazz, java.lang.String basePath)
clazz
- basePath
- prefix path of resourcevoid addSingletonResource(java.lang.Object singleton)
clazz
- void addSingletonResource(java.lang.Object singleton, java.lang.String basePath)
clazz
- basePath
- prefix path of resourcevoid addJndiResource(java.lang.String jndiName)
clazz
- void addJndiResource(java.lang.String jndiName, java.lang.String basePath)
clazz
- basePath
- prefix path of resourcevoid addResourceFactory(ResourceFactory ref)
ref
- void addResourceFactory(ResourceFactory ref, java.lang.String basePath)
ref
- basePath
- prefix path of resourcevoid addResourceFactory(ResourceFactory ref, java.lang.String base, java.lang.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(java.lang.Class<?> clazz)
void removeRegistrations(java.lang.Class<?> clazz, java.lang.String base)
int getSize()
ResourceInvoker getResourceInvoker(HttpRequest request)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |