|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URLServiceBindingValueSource
A ServiceBindingValueSource
that returns a URL or a String
representation of one.
Typical usage is in file transformation operations, where the content
of a given input
URL or classpath resource is read,
transformed, written to a temp file, and the URL of the temp file returned.
Method Summary | |
---|---|
String |
getResourceServiceBindingValue(ServiceBinding binding,
String input)
Returns a String representation of a URL path to use for the binding value. |
URL |
getURLServiceBindingValue(ServiceBinding binding,
URL input)
Returns the URL to use for the binding value. |
Methods inherited from interface org.jboss.services.binding.ServiceBindingValueSource |
---|
getServiceBindingValue |
Method Detail |
---|
URL getURLServiceBindingValue(ServiceBinding binding, URL input)
binding
- the binding. Cannot be null
input
- the URL to use as input data
null
.String getResourceServiceBindingValue(ServiceBinding binding, String input)
binding
- the binding. Cannot be null
input
- either a String representation of a URL or a value that
can be passed to ClassLoader.getResourceAsStream(String)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |