net.sf.bus.spi
Class ChannelConfig
java.lang.Object
|
+--net.sf.bus.spi.ChannelConfig
- public class ChannelConfig
- extends java.lang.Object
Represents the configuration for a channel, created either from the xml configuration file located from
the classpath, or programmatically and added to the MessageBusConfig
.
A ChannelConfig is initialized with all default values to represent a channel that dispatches
events in a synchronous manner within the existing VM.
- Version:
- $Revision: 1.1 $
- Author:
- James Higginbotham
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChannelConfig
public ChannelConfig()
getChannelName
public java.lang.String getChannelName()
setChannelName
public void setChannelName(java.lang.String newChannelName)
getChannelType
public java.lang.String getChannelType()
setChannelType
public void setChannelType(java.lang.String newChannelType)
getChannelParams
public java.util.HashMap getChannelParams()
setChannelParams
public void setChannelParams(java.util.HashMap newChannelParams)
addChannelParam
public void addChannelParam(java.lang.String name,
java.lang.String value)
getDispatcherClass
public java.lang.String getDispatcherClass()
setDispatcherClass
public void setDispatcherClass(java.lang.String newDispatcherClass)
getDispatcherParams
public java.util.HashMap getDispatcherParams()
setDispatcherParams
public void setDispatcherParams(java.util.HashMap newDispatcherParams)
addDispatcherParam
public void addDispatcherParam(java.lang.String name,
java.lang.String value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
This code may be freely distributed and modified under the terms of the GNU Lesser General Public Licence..