org.hornetq.jms.persistence
Interface JMSStorageManager

All Superinterfaces:
org.hornetq.core.server.HornetQComponent
All Known Implementing Classes:
JMSJournalStorageManagerImpl, NullJMSStorageManagerImpl

public interface JMSStorageManager
extends org.hornetq.core.server.HornetQComponent

A JMSPersistence

Author:
Clebert Suconic

Method Summary
 void addJNDI(PersistedType type, String name, String... address)
           
 void deleteConnectionFactory(String connectionFactory)
           
 void deleteDestination(PersistedType type, String name)
           
 void deleteJNDI(PersistedType type, String name)
           
 void deleteJNDI(PersistedType type, String name, String address)
           
 void load()
           
 List<PersistedConnectionFactory> recoverConnectionFactories()
           
 List<PersistedDestination> recoverDestinations()
           
 List<PersistedJNDI> recoverPersistedJNDI()
           
 void storeConnectionFactory(PersistedConnectionFactory connectionFactory)
           
 void storeDestination(PersistedDestination destination)
           
 
Methods inherited from interface org.hornetq.core.server.HornetQComponent
isStarted, start, stop
 

Method Detail

load

void load()
          throws Exception
Throws:
Exception

storeDestination

void storeDestination(PersistedDestination destination)
                      throws Exception
Throws:
Exception

deleteDestination

void deleteDestination(PersistedType type,
                       String name)
                       throws Exception
Throws:
Exception

recoverDestinations

List<PersistedDestination> recoverDestinations()

deleteConnectionFactory

void deleteConnectionFactory(String connectionFactory)
                             throws Exception
Throws:
Exception

storeConnectionFactory

void storeConnectionFactory(PersistedConnectionFactory connectionFactory)
                            throws Exception
Throws:
Exception

recoverConnectionFactories

List<PersistedConnectionFactory> recoverConnectionFactories()

addJNDI

void addJNDI(PersistedType type,
             String name,
             String... address)
             throws Exception
Throws:
Exception

recoverPersistedJNDI

List<PersistedJNDI> recoverPersistedJNDI()
                                         throws Exception
Throws:
Exception

deleteJNDI

void deleteJNDI(PersistedType type,
                String name,
                String address)
                throws Exception
Throws:
Exception

deleteJNDI

void deleteJNDI(PersistedType type,
                String name)
                throws Exception
Throws:
Exception


Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.