Class ServiceExtractorImpl
- java.lang.Object
-
- com.adaptris.core.services.dynamic.ServiceExtractorImpl
-
- All Implemented Interfaces:
ComponentLifecycle
,ServiceExtractor
- Direct Known Subclasses:
DefaultServiceExtractor
,ExtractorWithConnection
,MimeServiceExtractor
,ServiceFromDataInputParameter
,ServiceFromUrl
public abstract class ServiceExtractorImpl extends java.lang.Object implements ServiceExtractor
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description ServiceExtractorImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.io.InputStream
getInputStream(AdaptrisMessage msg)
Service
getService(AdaptrisMessage msg, AdaptrisMarshaller m)
Build a service from the message.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
-
-
-
Method Detail
-
getInputStream
public abstract java.io.InputStream getInputStream(AdaptrisMessage msg) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getService
public Service getService(AdaptrisMessage msg, AdaptrisMarshaller m) throws java.lang.Exception
Description copied from interface:ServiceExtractor
Build a service from the message.- Specified by:
getService
in interfaceServiceExtractor
- Parameters:
msg
- the messagem
- the marshaller- Returns:
- a service
- Throws:
java.lang.Exception
- if no service could be created
-
-