org.mactor.framework.spec
Class MessageReceiveSpec

java.lang.Object
  extended by org.mactor.framework.spec.SpecNode
      extended by org.mactor.framework.spec.ContainerSpec
          extended by org.mactor.framework.spec.MessageReceiveSpec

public class MessageReceiveSpec
extends ContainerSpec


Field Summary
 
Fields inherited from class org.mactor.framework.spec.SpecNode
name, parentNode
 
Constructor Summary
MessageReceiveSpec()
           
 
Method Summary
 org.dom4j.Element addToElement(org.dom4j.Element parent)
           
 java.lang.String getDescription()
           
 int getMaxMessageCount()
           
 int getMaxTimeoutSeconds()
           
 java.lang.String getMessageSubscribeNodeName()
           
 int getMinMessageCount()
           
 java.lang.String getShortDescription()
           
 java.lang.String getType()
           
 boolean hasResponseNode()
           
 boolean isBlockUntilTimeout()
           
static MessageReceiveSpec loadSpec(org.dom4j.Element element)
           
 void setBlockUntilTimeout(boolean blockUntilTimeout)
           
 void setMaxMessageCount(int maxMessageCount)
           
 void setMaxTimeoutSeconds(int maxTimeoutSeconds)
           
 void setMessageSubscribeNodeName(java.lang.String messageSubscribeNodeName)
           
 void setMinMessageCount(int minMessageCount)
           
 
Methods inherited from class org.mactor.framework.spec.ContainerSpec
addSpecNode, getSpecNodes, loadContainedNodes, writeContainedNodesToElement
 
Methods inherited from class org.mactor.framework.spec.SpecNode
getName, getParentNode, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageReceiveSpec

public MessageReceiveSpec()
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in class SpecNode

hasResponseNode

public boolean hasResponseNode()

getMessageSubscribeNodeName

public java.lang.String getMessageSubscribeNodeName()

getMaxTimeoutSeconds

public int getMaxTimeoutSeconds()

getMaxMessageCount

public int getMaxMessageCount()

getMinMessageCount

public int getMinMessageCount()

isBlockUntilTimeout

public boolean isBlockUntilTimeout()

loadSpec

public static MessageReceiveSpec loadSpec(org.dom4j.Element element)
                                   throws MactorException
Throws:
MactorException

addToElement

public org.dom4j.Element addToElement(org.dom4j.Element parent)
Specified by:
addToElement in class SpecNode

getShortDescription

public java.lang.String getShortDescription()
Specified by:
getShortDescription in class SpecNode

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class SpecNode

setBlockUntilTimeout

public void setBlockUntilTimeout(boolean blockUntilTimeout)

setMaxMessageCount

public void setMaxMessageCount(int maxMessageCount)

setMaxTimeoutSeconds

public void setMaxTimeoutSeconds(int maxTimeoutSeconds)

setMessageSubscribeNodeName

public void setMessageSubscribeNodeName(java.lang.String messageSubscribeNodeName)

setMinMessageCount

public void setMinMessageCount(int minMessageCount)


Copyright © 2008. All Rights Reserved.