public class ChannelService extends Object implements org.jboss.msc.service.Service<org.jgroups.Channel>, org.jgroups.ChannelListener
| Constructor and Description |
|---|
ChannelService(String id,
org.jboss.msc.value.Value<ChannelFactory> factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelClosed(org.jgroups.Channel channel) |
void |
channelConnected(org.jgroups.Channel channel) |
void |
channelDisconnected(org.jgroups.Channel channel) |
static org.jboss.msc.service.ServiceName |
getServiceName(String id) |
org.jgroups.Channel |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public ChannelService(String id, org.jboss.msc.value.Value<ChannelFactory> factory)
public static org.jboss.msc.service.ServiceName getServiceName(String id)
public org.jgroups.Channel getValue()
getValue in interface org.jboss.msc.value.Value<org.jgroups.Channel>public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<org.jgroups.Channel>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<org.jgroups.Channel>public void channelClosed(org.jgroups.Channel channel)
channelClosed in interface org.jgroups.ChannelListenerpublic void channelConnected(org.jgroups.Channel channel)
channelConnected in interface org.jgroups.ChannelListenerpublic void channelDisconnected(org.jgroups.Channel channel)
channelDisconnected in interface org.jgroups.ChannelListenerCopyright © 2014 JBoss by Red Hat. All rights reserved.