org.jboss.messaging.core.plugin.postoffice.cluster.jchannelfactory
Class XMLJChannelFactory

java.lang.Object
  extended byorg.jboss.messaging.core.plugin.postoffice.cluster.jchannelfactory.XMLJChannelFactory
All Implemented Interfaces:
JChannelFactory

public class XMLJChannelFactory
extends java.lang.Object
implements JChannelFactory

A JChannelFactory 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
XMLJChannelFactory(org.w3c.dom.Element syncConfig, org.w3c.dom.Element asyncConfig)
           
 
Method Summary
 JChannel createASyncChannel()
           
 JChannel createSyncChannel()
           
 org.w3c.dom.Element getAsyncConfig()
           
 org.w3c.dom.Element getSyncConfig()
           
 void setAsyncConfig(org.w3c.dom.Element asyncConfig)
           
 void setSyncConfig(org.w3c.dom.Element syncConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLJChannelFactory

public XMLJChannelFactory(org.w3c.dom.Element syncConfig,
                          org.w3c.dom.Element asyncConfig)
Method Detail

getSyncConfig

public org.w3c.dom.Element getSyncConfig()

setSyncConfig

public void setSyncConfig(org.w3c.dom.Element syncConfig)

getAsyncConfig

public org.w3c.dom.Element getAsyncConfig()

setAsyncConfig

public void setAsyncConfig(org.w3c.dom.Element asyncConfig)

createSyncChannel

public JChannel createSyncChannel()
                           throws java.lang.Exception
Specified by:
createSyncChannel in interface JChannelFactory
Throws:
java.lang.Exception

createASyncChannel

public JChannel createASyncChannel()
                            throws java.lang.Exception
Specified by:
createASyncChannel in interface JChannelFactory
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.