|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceContext
The resource context provides access to instances of root resource classes.
It can be injected using the Context annotation.
| Method Summary | ||
|---|---|---|
|
getResource(java.lang.Class<T> c)
Provides an instance of the given resource class. |
|
| Method Detail |
|---|
<T> T getResource(java.lang.Class<T> c)
throws ContainerException
T - the type of the resource classc - the resource class
ContainerException - if the resource
class cannot be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||