JavaGroups
Interface ChannelFactory
- All Known Implementing Classes:
- EnsChannelFactory, IbusChannelFactory, JChannelFactory
- public interface ChannelFactory
A channel factory takes care of creation of channel implementations. Subclasses will create
different implementations.
|
Method Summary |
Channel |
CreateChannel(java.lang.Object properties)
Creates an instance implementing the Channel interface. |
CreateChannel
public Channel CreateChannel(java.lang.Object properties)
throws ChannelException
- Creates an instance implementing the
Channel interface.
- Parameters:
properties - The specification of the protocol stack (underneath the channel).
A null value means use the default properties.- Throws:
- ChannelException - Thrown when the creation of the channel failed, e.g.
the
properties specified were incompatible (e.g. a missing
UDP layer etc.)