Package com.adaptris.core
Interface ConnectedService
- All Superinterfaces:
AdaptrisComponent,ComponentLifecycle,ComponentLifecycleExtension,ConfigComment,MessageEventGenerator,Service,StateManagedComponent
- All Known Implementing Classes:
AbstractJdbcSequenceNumberService,AcknowledgeService,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,RetryMessagesService,RetryOnceStandaloneProducer,RetryServiceImp,SingleKeyCacheService,SingleKeyValueCacheImpl,StandaloneProducer,StandaloneRequestor,StaticIdentitySequenceNumberService,StoreMessageForRetryService
An interface that represents a
Service that contains a connection.-
Method Summary
Modifier and TypeMethodDescriptionReturns theAdaptrisConnectionto use.voidSets theAdaptrisConnectionto use.Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueIdMethods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stopMethods inherited from interface com.adaptris.core.ComponentLifecycleExtension
prepareMethods inherited from interface com.adaptris.core.ConfigComment
getComments, setCommentsMethods inherited from interface com.adaptris.core.MessageEventGenerator
createName, createQualifier, isTrackingEndpointMethods inherited from interface com.adaptris.core.Service
continueOnFailure, doService, enabled, isBranching, setUniqueIdMethods inherited from interface com.adaptris.core.StateManagedComponent
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
-
Method Details
-
setConnection
Sets theAdaptrisConnectionto use.- Parameters:
c- theAdaptrisConnectionto use
-
getConnection
AdaptrisConnection getConnection()Returns theAdaptrisConnectionto use.- Returns:
- the
AdaptrisConnection
-