org.apache.activemq.store
Class PersistenceAdapterFactoryBean

java.lang.Object
  extended by org.apache.activemq.util.ServiceSupport
      extended by org.apache.activemq.broker.LockableServiceSupport
          extended by org.apache.activemq.store.jdbc.DataSourceServiceSupport
              extended by org.apache.activemq.store.journal.JournalPersistenceAdapterFactory
                  extended by org.apache.activemq.store.PersistenceAdapterFactoryBean
All Implemented Interfaces:
BrokerServiceAware, Lockable, Service, PersistenceAdapterFactory, org.springframework.beans.factory.FactoryBean

public class PersistenceAdapterFactoryBean
extends JournalPersistenceAdapterFactory
implements org.springframework.beans.factory.FactoryBean

Creates a default persistence model using the Journal and JDBC


Field Summary
 
Fields inherited from class org.apache.activemq.broker.LockableServiceSupport
brokerService
 
Constructor Summary
PersistenceAdapterFactoryBean()
           
 
Method Summary
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class org.apache.activemq.store.journal.JournalPersistenceAdapterFactory
createDefaultLocker, createJournal, createPersistenceAdapter, doStart, doStop, getAdapter, getJdbcAdapter, getJournal, getJournalArchiveDirectory, getJournalLogFiles, getJournalLogFileSize, getJournalThreadPriority, getStatements, getTaskRunnerFactory, init, isCreateTablesOnStartup, isUseDedicatedTaskRunner, isUseJournal, isUseQuickJournal, setAdapter, setCreateTablesOnStartup, setJdbcAdapter, setJournal, setJournalArchiveDirectory, setJournalLogFiles, setJournalLogFileSize, setJournalThreadPriority, setStatements, setTaskRunnerFactory, setUseDatabaseLock, setUseDedicatedTaskRunner, setUseJournal, setUseQuickJournal
 
Methods inherited from class org.apache.activemq.store.jdbc.DataSourceServiceSupport
createDataSource, getDataDirectory, getDataDirectoryFile, getDataSource, setDataDirectory, setDataDirectoryFile, setDataSource, toString
 
Methods inherited from class org.apache.activemq.broker.LockableServiceSupport
getBrokerService, getLocker, getLockKeepAlivePeriod, getScheduledThreadPoolExecutor, isUseLock, keepLockAlive, postStop, preStart, setBrokerService, setLocker, setLockKeepAlivePeriod, setUseLock, stopBroker
 
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, removeServiceListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceAdapterFactoryBean

public PersistenceAdapterFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.