@ComponentProfile(summary="Extract the service to execute from a URL (file/http etc)", since="3.8.4") public class ServiceFromUrl extends ServiceExtractorImpl
DynamicServiceExecutor
In the adapter configuration file this class is aliased as dynamic-service-from-url which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
ServiceFromUrl() |
ServiceFromUrl(java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream(AdaptrisMessage m)
Get an
InputStream that can be unmarshalled into a service. |
java.lang.String |
getUrl() |
void |
setUrl(java.lang.String url) |
getService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, init, start, stop
public ServiceFromUrl()
public ServiceFromUrl(java.lang.String url)
public java.io.InputStream getInputStream(AdaptrisMessage m) throws java.lang.Exception
ServiceExtractor
InputStream
that can be unmarshalled into a service.getInputStream
in interface ServiceExtractor
getInputStream
in class ServiceExtractorImpl
m
- the adaptris message.java.lang.Exception
public java.lang.String getUrl()
public void setUrl(java.lang.String url)