org.jboss.messaging.core.impl.message
Class SimpleMessageStore

java.lang.Object
  extended by org.jboss.messaging.core.impl.message.SimpleMessageStore
All Implemented Interfaces:
MessageStore, MessagingComponent

public class SimpleMessageStore
extends java.lang.Object
implements MessageStore

A MessageStore implementation.

Version:
$Revision: 2202 $ $Id: SimpleMessageStore.java 2202 2007-02-08 10:50:26Z timfox $
Author:
Ovidiu Feodorov, Tim Fox

Constructor Summary
SimpleMessageStore()
           
 
Method Summary
 void clear()
           
 MessageReference reference(long messageID)
           
 MessageReference reference(Message m)
           
 void start()
           
 void stop()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleMessageStore

public SimpleMessageStore()
Method Detail

reference

public MessageReference reference(Message m)
Specified by:
reference in interface MessageStore

reference

public MessageReference reference(long messageID)
Specified by:
reference in interface MessageStore

clear

public void clear()
Specified by:
clear in interface MessageStore

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface MessagingComponent
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface MessagingComponent
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006 JBoss Inc. All Rights Reserved.