code: public static void registerChannel(JChannel channel, MBeanServer server, String name)
                      throws Exception {
          registerChannel(channel, server, "jgroups", name, true);
      }
docs: Registers an already created channel with the given MBeanServer. Wraps instance of JChannel
  with DynamicMBean and delegates all calls to the actual JChannel wrapped.
  <p>
  This method will also wrap each protocol in the given channel with DynamicMBean and register
  it as well.
  
  @param channel
  @param server
  @param name
  Has to be a JMX ObjectName of the domain, e.g. DefaultDomain:name=JGroups