Package com.adaptris.core
Interface ServiceWrapper
-
- All Superinterfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,MessageEventGenerator
,Service
,StateManagedComponent
- All Known Implementing Classes:
AdvancedMessageSplitterService
,BranchingServiceEnabler
,ExceptionHandlingServiceWrapper
,PooledSplitJoinService
,PoolingMessageSplitterService
,RetryingServiceWrapper
,StatelessServiceWrapper
public interface ServiceWrapper extends Service
A marker interface for Services that wrap other services.There are some services that wrap services and yet aren't
ServiceCollection
instances (for instance :StatelessServiceWrapper
orBranchingServiceEnabler
). This marker interface allows us to introduce some custom handling for those services. The primary use here is to manage testing via the UI and usage ofAdaptrisConnection.cloneForTesting()
.Implementing this interface is optional and isn't required for normal Interlok runtime.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Service[]
wrappedServices()
Return all the services that are wrapped by this service.-
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
-
wrappedServices
Service[] wrappedServices()
Return all the services that are wrapped by this service.- Returns:
- an array of wrapped services.
-
-