Package com.adaptris.core
Interface ChannelLifecycleStrategy
- All Known Implementing Classes:
BlockingChannelLifecycleStrategy,DefaultChannelLifecycleStrategy,NonBlockingChannelStartStrategy
public interface ChannelLifecycleStrategy
Strategy for handling channel lifecycle within a
ChannelList.-
Method Summary
-
Method Details
-
start
Start a list of channels.- Parameters:
channelList- a list of channels that have already been initialised.- Throws:
CoreException- wrapping any underlying exception.
-
init
Initialise a list of channels.- Parameters:
channels- a list of channels that require initialising.- Throws:
CoreException- wrapping any underlying exception.
-
stop
Stop a list of channels.- Parameters:
channels- a list of channels that have previously been started.
-
close
Close a list of channels.- Parameters:
channels- a list of channels.
-