Package com.adaptris.core
Interface ConnectedService
-
- All Superinterfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,MessageEventGenerator
,Service
,StateManagedComponent
- All Known Implementing Classes:
AbstractJdbcSequenceNumberService
,AddToCacheService
,AddValueToCache
,AggregatingFtpConsumeService
,AggregatingJmsConsumeService
,BasicMessageSplitterService
,CacheServiceBase
,CacheServiceImpl
,CheckAndRetrieve
,CheckCacheService
,ClearCacheService
,GetAndCacheOauthToken
,GetValueFromCache
,JdbcBatchingDataCaptureService
,JdbcDataCaptureService
,JdbcDataCaptureServiceImpl
,JdbcDataQueryService
,JdbcIteratingDataCaptureServiceImpl
,JdbcMapInsert
,JdbcMapUpsert
,JdbcRawDataCaptureService
,JdbcService
,JdbcServiceList
,JdbcServiceWithParameters
,JmxOperationCallService
,JmxOperationServiceImpl
,JmxWaitService
,MetadataIdentitySequenceNumberService
,RemoveFromCacheService
,RemoveKeyFromCache
,RetrieveFromCacheService
,RetryOnceStandaloneProducer
,SingleKeyCacheService
,SingleKeyValueCacheImpl
,StandaloneProducer
,StandaloneRequestor
,StaticIdentitySequenceNumberService
public interface ConnectedService extends Service
An interface that represents aService
that contains a connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdaptrisConnection
getConnection()
Returns theAdaptrisConnection
to use.void
setConnection(AdaptrisConnection c)
Sets theAdaptrisConnection
to use.-
Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueId
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
Methods inherited from interface com.adaptris.core.ComponentLifecycleExtension
prepare
-
Methods inherited from interface com.adaptris.core.MessageEventGenerator
createName, createQualifier, isTrackingEndpoint
-
Methods inherited from interface com.adaptris.core.Service
continueOnFailure, doService, isBranching, setUniqueId
-
Methods inherited from interface com.adaptris.core.StateManagedComponent
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
-
-
-
-
Method Detail
-
setConnection
void setConnection(AdaptrisConnection c)
Sets theAdaptrisConnection
to use.- Parameters:
c
- theAdaptrisConnection
to use
-
getConnection
AdaptrisConnection getConnection()
Returns theAdaptrisConnection
to use.- Returns:
- the
AdaptrisConnection
-
-