org.openwms.core.integration.jpa
Class CustomPersistenceUnitManager

java.lang.Object
  extended by org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
      extended by org.openwms.core.integration.jpa.CustomPersistenceUnitManager
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware, org.springframework.context.weaving.LoadTimeWeaverAware, org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager

Deprecated. as OSGi is used since 0.1

@Deprecated
public class CustomPersistenceUnitManager
extends org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager

A CustomPersistenceUnitManager.

This class customizes the default DefaultPersistenceUnitManager implementation and adds support for multiple jar files with Entity classes.

Since:
0.1
Version:
$Revision: 1409 $
Author:
Heiko Scherrer

Field Summary
 
Fields inherited from class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
DEFAULT_PERSISTENCE_XML_LOCATION, ORIGINAL_DEFAULT_PERSISTENCE_UNIT_ROOT_LOCATION
 
Constructor Summary
CustomPersistenceUnitManager()
          Deprecated.  
 
Method Summary
protected  void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
          Deprecated. Add all jar files to the PersistenceUnitInfo.
 
Methods inherited from class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
afterPropertiesSet, getDataSourceLookup, getDefaultDataSource, getLoadTimeWeaver, getPersistenceUnitInfo, getPersistenceUnitPostProcessors, obtainDefaultPersistenceUnitInfo, obtainPersistenceUnitInfo, preparePersistenceUnitInfos, setDataSourceLookup, setDataSources, setDefaultDataSource, setDefaultPersistenceUnitRootLocation, setLoadTimeWeaver, setPersistenceUnitPostProcessors, setPersistenceXmlLocation, setPersistenceXmlLocations, setResourceLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomPersistenceUnitManager

public CustomPersistenceUnitManager()
Deprecated. 
Method Detail

postProcessPersistenceUnitInfo

protected void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
Deprecated. 
Add all jar files to the PersistenceUnitInfo.

Overrides:
postProcessPersistenceUnitInfo in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Parameters:
pui - PersistenceUnitInfo
See Also:
DefaultPersistenceUnitManager.postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo)


Copyright © 2005-2011 openwms.org. All Rights Reserved.