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

java.lang.Object
  extended by org.jboss.messaging.core.impl.jchannelfactory.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

Constructor Summary
XMLChannelFactory(org.w3c.dom.Element controlConfig, org.w3c.dom.Element dataConfig)
           
 
Method Summary
 Channel createControlChannel()
           
 Channel createDataChannel()
           
 org.w3c.dom.Element getControlConfig()
           
 org.w3c.dom.Element getDataConfig()
           
 void setControlConfig(org.w3c.dom.Element controlConfig)
           
 void setDataConfig(org.w3c.dom.Element dataConfig)
           
 
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()

setControlConfig

public void setControlConfig(org.w3c.dom.Element controlConfig)

getDataConfig

public org.w3c.dom.Element getDataConfig()

setDataConfig

public void setDataConfig(org.w3c.dom.Element dataConfig)

createControlChannel

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

createDataChannel

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


Copyright © 2006 JBoss Inc. All Rights Reserved.