org.openwms.core.integration.jpa
Class CustomPersistenceUnitPostProcessor

java.lang.Object
  extended by org.openwms.core.integration.jpa.CustomPersistenceUnitPostProcessor
All Implemented Interfaces:
org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor

Deprecated. as OSGi is used since 0.1

@Deprecated
public class CustomPersistenceUnitPostProcessor
extends Object
implements org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor

A CustomPersistenceUnitPostProcessor.

An extension of the default Spring implementation.

Since:
0.1
Version:
$Revision: 1409 $
Author:
Heiko Scherrer
See Also:
PersistenceUnitPostProcessor

Field Summary
static String DEFAULT_PERSISTENCE_JAR_FILES
          Deprecated. Default location of the persistence jar file: "classpath*:OpenWMS*".
 
Constructor Summary
CustomPersistenceUnitPostProcessor()
          Deprecated.  
 
Method Summary
 void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
          Deprecated.  
 void setPersistenceJarFiles(String[] persistenceJarFiles)
          Deprecated. Specify multiple locations of persistence.xml files to load.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PERSISTENCE_JAR_FILES

public static final String DEFAULT_PERSISTENCE_JAR_FILES
Deprecated. 
Default location of the persistence jar file: "classpath*:OpenWMS*".

See Also:
Constant Field Values
Constructor Detail

CustomPersistenceUnitPostProcessor

public CustomPersistenceUnitPostProcessor()
Deprecated. 
Method Detail

setPersistenceJarFiles

public void setPersistenceJarFiles(String[] persistenceJarFiles)
Deprecated. 
Specify multiple locations of persistence.xml files to load. These locations can be specified as Spring resource locations and/or as a location patterns.

Default is "classpath*:META-INF/persistence.xml".

Parameters:
persistenceJarFiles - An array of Spring resources identifying the location of the persistence.xml files to read

postProcessPersistenceUnitInfo

public void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
Deprecated. 
Specified by:
postProcessPersistenceUnitInfo in interface org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
Parameters:
pui - PersistenceUnitInfo
See Also:
PersistenceUnitPostProcessor.postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo)


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