FileDocCategorySizeDatePackage
JmsObjectMessage.javaAPI DocJBoss 4.2.11850Fri Jul 13 21:01:16 BST 2007org.jboss.resource.adapter.jms

JmsObjectMessage

public class JmsObjectMessage extends JmsMessage implements javax.jms.ObjectMessage
A wrapper for a message
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
Constructors Summary
public JmsObjectMessage(javax.jms.ObjectMessage message, JmsSession session)
Create a new wrapper

param
message the message
param
session the session

      super(message, session);
   
Methods Summary
public java.io.SerializablegetObject()

      return ((ObjectMessage) message).getObject();
   
public voidsetObject(java.io.Serializable object)

      ((ObjectMessage) message).setObject(object);