Package com.adaptris.core.services
Class ResolveExpressionService
- java.lang.Object
-
- com.adaptris.core.ServiceImp
-
- com.adaptris.core.services.ResolveExpressionService
-
- All Implemented Interfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,MessageEventGenerator
,Service
,StateManagedComponent
@ComponentProfile(summary="Will perform an expression resolve on any input and put the result into the output.", tag="service,resolve,expression") public class ResolveExpressionService extends ServiceImp
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.ServiceImp
log
-
-
Constructor Summary
Constructors Constructor Description ResolveExpressionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
closeService()
void
doService(AdaptrisMessage message)
Apply the service to the message.DataInputParameter<java.lang.String>
getInput()
DataOutputParameter<java.lang.String>
getOutput()
protected void
initService()
void
prepare()
Prepare for initialisation.void
setInput(DataInputParameter<java.lang.String> input)
void
setOutput(DataOutputParameter<java.lang.String> output)
-
Methods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueId, start, stop
-
-
-
-
Method Detail
-
doService
public void doService(AdaptrisMessage message) throws ServiceException
Description copied from interface:Service
Apply the service to the message.
- Parameters:
message
- theAdaptrisMessage
to process- Throws:
ServiceException
- wrapping any underlyingException
s
-
prepare
public void prepare() throws CoreException
Description copied from interface:ComponentLifecycleExtension
Prepare for initialisation.- Throws:
CoreException
-
closeService
protected void closeService()
- Specified by:
closeService
in classServiceImp
-
initService
protected void initService() throws CoreException
- Specified by:
initService
in classServiceImp
- Throws:
CoreException
-
getInput
public DataInputParameter<java.lang.String> getInput()
-
setInput
public void setInput(DataInputParameter<java.lang.String> input)
-
getOutput
public DataOutputParameter<java.lang.String> getOutput()
-
setOutput
public void setOutput(DataOutputParameter<java.lang.String> output)
-
-