org.jboss.messaging.core.impl.jchannelfactory
Class XMLChannelFactory
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLChannelFactory
public XMLChannelFactory(org.w3c.dom.Element controlConfig,
org.w3c.dom.Element dataConfig)
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.