public interface ServiceExtractor extends ComponentLifecycle
DynamicServiceExecutor
.Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream(AdaptrisMessage m)
Deprecated.
since 3.8.4 use
getService(AdaptrisMessage, AdaptrisMarshaller) instead. |
default Service |
getService(AdaptrisMessage msg,
AdaptrisMarshaller m)
Build a service from the message.
|
close, init, start, stop
@Deprecated @Removal(version="3.11.0") java.io.InputStream getInputStream(AdaptrisMessage m) throws java.lang.Exception
getService(AdaptrisMessage, AdaptrisMarshaller)
instead.InputStream
that can be unmarshalled into a service.m
- the adaptris message.java.lang.Exception
default Service getService(AdaptrisMessage msg, AdaptrisMarshaller m) throws java.lang.Exception
msg
- the messagem
- the marshallerjava.lang.Exception
- if no service could be createdgetInputStream(AdaptrisMessage)
for
expediency but will be removed in 3.11.0. Just extend ServiceExtractorImpl
for future compatibility.