|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceResolver
Resolves resource. A ResourceResolver is used to find references to resources that are being injected into classes
Method Summary | ||
---|---|---|
InputStream |
getAsStream(String name)
Resolve a resource given its name and return an InputStream to it. |
|
|
resolve(String resourceName,
Class<T> resourceType)
Resolve a resource given its name and type. |
Method Detail |
---|
<T> T resolve(String resourceName, Class<T> resourceType)
resourceName
- name of the resource to resolve.resourceType
- type of the resource to resolve.
null
if the
resource cannot be resolved.InputStream getAsStream(String name)
resourceName
- name of the resource to resolve.
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |