Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » store » jpa » [javadoc | source]
org.apache.activemq.store.jpa
public class: JPAPersistenceAdapter [javadoc | source]
java.lang.Object
   org.apache.activemq.store.jpa.JPAPersistenceAdapter

All Implemented Interfaces:
    PersistenceAdapter

Direct Known Subclasses:
    JPAReferenceStoreAdapter

An implementation of PersistenceAdapter that uses JPA to store it's messages.
Field Summary
 String entityManagerName     
 Properties entityManagerProperties     
 EntityManagerFactory entityManagerFactory     
Method from org.apache.activemq.store.jpa.JPAPersistenceAdapter Summary:
beginEntityManager,   beginTransaction,   checkpoint,   commitEntityManager,   commitTransaction,   createEntityManagerFactory,   createQueueMessageStore,   createTopicMessageStore,   createTransactionStore,   deleteAllMessages,   getDestinations,   getEntityManagerFactory,   getEntityManagerName,   getEntityManagerProperties,   getLastMessageBrokerSequenceId,   getWireFormat,   isUseExternalMessageReferences,   rollbackEntityManager,   rollbackTransaction,   setBrokerName,   setDirectory,   setEntityManagerFactory,   setEntityManagerName,   setEntityManagerProperties,   setUsageManager,   setWireFormat,   size,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.store.jpa.JPAPersistenceAdapter Detail:
 public EntityManager beginEntityManager(ConnectionContext context) 
 public  void beginTransaction(ConnectionContext context) throws IOException 
 public  void checkpoint(boolean sync) throws IOException 
 public  void commitEntityManager(ConnectionContext context,
    EntityManager manager) 
 public  void commitTransaction(ConnectionContext context) throws IOException 
 protected EntityManagerFactory createEntityManagerFactory() 
 public MessageStore createQueueMessageStore(ActiveMQQueue destination) throws IOException 
 public TopicMessageStore createTopicMessageStore(ActiveMQTopic destination) throws IOException 
 public TransactionStore createTransactionStore() throws IOException 
 public  void deleteAllMessages() throws IOException 
 public Set<ActiveMQDestination> getDestinations() 
 public EntityManagerFactory getEntityManagerFactory() 
 public String getEntityManagerName() 
 public Properties getEntityManagerProperties() 
 public long getLastMessageBrokerSequenceId() throws IOException 
 public WireFormat getWireFormat() 
 public boolean isUseExternalMessageReferences() 
 public  void rollbackEntityManager(ConnectionContext context,
    EntityManager manager) 
 public  void rollbackTransaction(ConnectionContext context) throws IOException 
 public  void setBrokerName(String brokerName) 
 public  void setDirectory(File dir) 
 public  void setEntityManagerFactory(EntityManagerFactory entityManagerFactory) 
 public  void setEntityManagerName(String entityManager) 
 public  void setEntityManagerProperties(Properties entityManagerProperties) 
 public  void setUsageManager(SystemUsage usageManager) 
 public  void setWireFormat(WireFormat wireFormat) 
 public long size() 
 public  void start() throws Exception 
 public  void stop() throws Exception