org.jboss.messaging.core.channelfactory.impl
Class XMLChannelFactory

java.lang.Object
  extended by org.jboss.messaging.core.channelfactory.impl.XMLChannelFactory
All Implemented Interfaces:
ChannelFactory

public class XMLChannelFactory
extends java.lang.Object
implements ChannelFactory

A ChannelFactory that will use Elements to create channels.

Version:
$Revision:1909 $ $Id:XMLJChannelFactory.java 1909 2007-01-06 06:08:03Z clebert.suconic@jboss.com $
Author:
Clebert Suconic, Tim Fox

Constructor Summary
XMLChannelFactory(org.w3c.dom.Element controlConfig, org.w3c.dom.Element dataConfig)
           
 
Method Summary
 org.jgroups.Channel createControlChannel()
           
 org.jgroups.Channel createDataChannel()
           
 org.w3c.dom.Element getControlConfig()
           
 org.w3c.dom.Element getDataConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLChannelFactory

public XMLChannelFactory(org.w3c.dom.Element controlConfig,
                         org.w3c.dom.Element dataConfig)
Method Detail

getControlConfig

public org.w3c.dom.Element getControlConfig()

getDataConfig

public org.w3c.dom.Element getDataConfig()

createControlChannel

public org.jgroups.Channel createControlChannel()
                                         throws java.lang.Exception
Specified by:
createControlChannel in interface ChannelFactory
Throws:
java.lang.Exception

createDataChannel

public org.jgroups.Channel createDataChannel()
                                      throws java.lang.Exception
Specified by:
createDataChannel in interface ChannelFactory
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.