/*
 * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id: ObjectMessageTestImpl.java 65045 2012-02-20 18:18:04Z af70133 $
 */

package com.sun.ts.tests.jms.common;
import java.io.Serializable;
import javax.jms.*;

/**
 * Class Declaration.
 * 
 * 
 * @see
 *
 * @author
 * @version   1.2, 09/26/00
 */
public class ObjectMessageTestImpl extends MessageTestImpl implements ObjectMessage {
    private Serializable    object;

    /**
     * Class Constructor.
     * 
     * 
     * @see
     */
    public ObjectMessageTestImpl() {
        super();
    }

    /**
     * Method Declaration.
     * 
     * 
     * @param object
     *
     * @exception JMSException
     *
     * @see
     */
    public void setObject(Serializable object) throws JMSException {
        this.object = object;
    }

    /**
     * Method Declaration.
     * 
     * 
     * @return
     *
     * @exception JMSException
     *
     * @see
     */
    public Serializable getObject() throws JMSException {
        return object;
    }

}
