|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.jaxws.context.WebServiceContextResourceResolver
public class WebServiceContextResourceResolver
Constructor Summary | |
---|---|
WebServiceContextResourceResolver()
|
Method Summary | ||
---|---|---|
java.io.InputStream |
getAsStream(java.lang.String string)
Resolve a resource given its name and return an InputStream to it. |
|
void |
register()
|
|
|
resolve(java.lang.String string,
java.lang.Class<T> clz)
Resolve a resource given its name and type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebServiceContextResourceResolver()
Method Detail |
---|
@PostConstruct public void register()
public final java.io.InputStream getAsStream(java.lang.String string)
ResourceResolver
getAsStream
in interface ResourceResolver
public final <T> T resolve(java.lang.String string, java.lang.Class<T> clz)
ResourceResolver
resolve
in interface ResourceResolver
string
- name of the resource to resolve.clz
- type of the resource to resolve.
null
if the
resource cannot be resolved.
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |