org.jboss.soa.esb.services.persistence
Class MessageStoreFactory

java.lang.Object
  extended by org.jboss.soa.esb.services.persistence.MessageStoreFactory

public abstract class MessageStoreFactory
extends java.lang.Object


Constructor Summary
MessageStoreFactory()
           
 
Method Summary
static MessageStoreFactory getInstance()
           
abstract  MessageStore getMessageStore()
           
abstract  MessageStore getMessageStore(java.net.URI type)
           
abstract  void reset()
          Reload the plugins.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageStoreFactory

public MessageStoreFactory()
Method Detail

getMessageStore

public abstract MessageStore getMessageStore()
Returns:
a default implementation.

getMessageStore

public abstract MessageStore getMessageStore(java.net.URI type)
Parameters:
type - the unique identifier representing the type of this MessageStore.
Returns:
the MessageStore, or null if no suitable store is available.

getInstance

public static MessageStoreFactory getInstance()

reset

public abstract void reset()
Reload the plugins.