public class JChannelFactory extends Object implements ChannelFactory, org.jgroups.ChannelListener, org.jgroups.conf.ProtocolStackConfigurator
| Constructor and Description |
|---|
JChannelFactory(ProtocolStackConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelClosed(org.jgroups.Channel channel) |
void |
channelConnected(org.jgroups.Channel channel) |
void |
channelDisconnected(org.jgroups.Channel channel) |
org.jgroups.Channel |
createChannel(String id)
Creates a JGroups channel
|
List<org.jgroups.conf.ProtocolConfiguration> |
getProtocolStack() |
String |
getProtocolStackString() |
ServerEnvironment |
getServerEnvironment() |
public JChannelFactory(ProtocolStackConfiguration configuration)
public ServerEnvironment getServerEnvironment()
getServerEnvironment in interface ChannelFactorypublic org.jgroups.Channel createChannel(String id) throws Exception
ChannelFactorycreateChannel in interface ChannelFactoryException - if there was a failure setting up the protocol stackpublic String getProtocolStackString()
getProtocolStackString in interface org.jgroups.conf.ProtocolStackConfiguratorProtocolStackConfigurator.getProtocolStackString()public List<org.jgroups.conf.ProtocolConfiguration> getProtocolStack()
getProtocolStack in interface org.jgroups.conf.ProtocolStackConfiguratorProtocolStackConfigurator.getProtocolStack()public void channelConnected(org.jgroups.Channel channel)
channelConnected in interface org.jgroups.ChannelListenerpublic void channelDisconnected(org.jgroups.Channel channel)
channelDisconnected in interface org.jgroups.ChannelListenerpublic void channelClosed(org.jgroups.Channel channel)
channelClosed in interface org.jgroups.ChannelListenerCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.