org.jboss.jms.client.state
Class ProducerState
java.lang.Object
org.jboss.jms.client.state.HierarchicalStateSupport
org.jboss.jms.client.state.ProducerState
- All Implemented Interfaces:
- HierarchicalState
public class ProducerState
- extends HierarchicalStateSupport
State corresponding to a producer. This state is acessible inside aspects/interceptors.
- Version:
- $Revision: 3183 $
$Id: ProducerState.java 3183 2007-10-09 11:58:41Z timfox $
- Author:
- Tim Fox, Clebert Suconic, Ovidiu Feodoorv
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProducerState
public ProducerState(SessionState parent,
ProducerDelegate delegate,
Destination dest)
getDelegate
public DelegateSupport getDelegate()
setDelegate
public void setDelegate(DelegateSupport delegate)
setParent
public void setParent(HierarchicalState parent)
getParent
public HierarchicalState getParent()
getVersionToUse
public Version getVersionToUse()
synchronizeWith
public void synchronizeWith(HierarchicalState newState)
throws java.lang.Exception
- Description copied from interface:
HierarchicalState
- Update my own state based on the new state.
- Throws:
java.lang.Exception
getDestination
public Destination getDestination()
setDestination
public void setDestination(Destination dest)
isDisableMessageID
public boolean isDisableMessageID()
setDisableMessageID
public void setDisableMessageID(boolean disableMessageID)
isDisableMessageTimestamp
public boolean isDisableMessageTimestamp()
setDisableMessageTimestamp
public void setDisableMessageTimestamp(boolean disableMessageTimestamp)
getPriority
public int getPriority()
setPriority
public void setPriority(int priority)
getTimeToLive
public long getTimeToLive()
setTimeToLive
public void setTimeToLive(long timeToLive)
getDeliveryMode
public int getDeliveryMode()
setDeliveryMode
public void setDeliveryMode(int deliveryMode)
Copyright © 2006 JBoss Inc. All Rights Reserved.