com.adaptrex.core.persistence.jpa
Class JpaPersistenceManager

java.lang.Object
  extended by com.adaptrex.core.persistence.jpa.JpaPersistenceManager
All Implemented Interfaces:
AdaptrexPersistenceManager

public class JpaPersistenceManager
extends Object
implements AdaptrexPersistenceManager

Author:
adaptrex

Constructor Summary
JpaPersistenceManager(AdaptrexConfig config)
           
 
Method Summary
 AdaptrexPersistence getPersistence()
           
 AdaptrexPersistence getPersistence(String factoryName)
           
static List<InputStream> loadResources(String name, ClassLoader classLoader)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaPersistenceManager

public JpaPersistenceManager(AdaptrexConfig config)
                      throws IOException
Throws:
IOException
Method Detail

getPersistence

public AdaptrexPersistence getPersistence(String factoryName)
Specified by:
getPersistence in interface AdaptrexPersistenceManager

getPersistence

public AdaptrexPersistence getPersistence()
Specified by:
getPersistence in interface AdaptrexPersistenceManager

shutdown

public void shutdown()
Specified by:
shutdown in interface AdaptrexPersistenceManager

loadResources

public static List<InputStream> loadResources(String name,
                                              ClassLoader classLoader)
                                       throws IOException
Throws:
IOException


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.