Package org.apache.activemq.store
Class PersistenceAdapterFactoryBean
- java.lang.Object
-
- org.apache.activemq.util.ServiceSupport
-
- org.apache.activemq.broker.LockableServiceSupport
-
- org.apache.activemq.store.jdbc.DataSourceServiceSupport
-
- org.apache.activemq.store.journal.JournalPersistenceAdapterFactory
-
- 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, clockDaemon
-
-
Constructor Summary
Constructors Constructor Description PersistenceAdapterFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getObject()
Class
getObjectType()
boolean
isSingleton()
-
Methods inherited from class org.apache.activemq.store.journal.JournalPersistenceAdapterFactory
createDefaultLocker, createJournal, createPersistenceAdapter, doStart, doStop, getAdapter, getCheckpointInterval, getJdbcAdapter, getJournal, getJournalArchiveDirectory, getJournalLogFiles, getJournalLogFileSize, getJournalThreadPriority, getStatements, getTaskRunnerFactory, init, isCreateTablesOnStartup, isUseDedicatedTaskRunner, isUseJournal, isUseQuickJournal, setAdapter, setCheckpointInterval, setCreateTablesOnStartup, setJdbcAdapter, setJournal, setJournalArchiveDirectory, setJournalLogFiles, setJournalLogFileSize, setJournalThreadPriority, setStatements, setTaskRunnerFactory, setUseDatabaseLock, setUseDedicatedTaskRunner, setUseJournal, setUseQuickJournal
-
Methods inherited from class org.apache.activemq.store.jdbc.DataSourceServiceSupport
closeDataSource, createDataSource, createDataSource, getDataDirectory, getDataDirectoryFile, getDataSource, setDataDirectory, setDataDirectoryFile, setDataSource, shutdownDefaultDataSource, toString
-
Methods inherited from class org.apache.activemq.broker.LockableServiceSupport
getBrokerService, getLocker, getLockKeepAlivePeriod, getScheduledThreadPoolExecutor, isStopOnError, isUseLock, keepLockAlive, postStop, preStart, setBrokerService, setLocker, setLockKeepAlivePeriod, setScheduledThreadPoolExecutor, setStopOnError, setUseLock, stopBroker
-
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, removeServiceListener, start, stop
-
-
-
-
Method Detail
-
getObject
public Object getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
- Throws:
Exception
-
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
-