public abstract class ServiceExtractorImpl extends java.lang.Object implements ServiceExtractor
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
ServiceExtractorImpl() |
Modifier and Type | Method and Description |
---|---|
abstract java.io.InputStream |
getInputStream(AdaptrisMessage msg)
Get an
InputStream that can be unmarshalled into a service. |
Service |
getService(AdaptrisMessage msg,
AdaptrisMarshaller m)
Build a service from the message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, init, start, stop
public abstract java.io.InputStream getInputStream(AdaptrisMessage msg) throws java.lang.Exception
ServiceExtractor
InputStream
that can be unmarshalled into a service.getInputStream
in interface ServiceExtractor
msg
- the adaptris message.java.lang.Exception
public Service getService(AdaptrisMessage msg, AdaptrisMarshaller m) throws java.lang.Exception
ServiceExtractor
getService
in interface ServiceExtractor
msg
- the messagem
- the marshallerjava.lang.Exception
- if no service could be created