org.broadleafcommerce.openadmin.server.service.persistence
Class PersistenceManagerFactory
java.lang.Object
org.broadleafcommerce.openadmin.server.service.persistence.PersistenceManagerFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
@Service(value="blPersistenceManagerFactory")
public class PersistenceManagerFactory
- extends Object
- implements org.springframework.context.ApplicationContextAware
- Author:
- Jeff Fischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULTPERSISTENCEMANAGERREF
public static final String DEFAULTPERSISTENCEMANAGERREF
- See Also:
- Constant Field Values
persistenceManagerRef
protected static String persistenceManagerRef
PersistenceManagerFactory
public PersistenceManagerFactory()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getPersistenceManager
public static PersistenceManager getPersistenceManager()
getPersistenceManager
public static PersistenceManager getPersistenceManager(TargetModeType targetModeType)
isPersistenceManagerActive
public static boolean isPersistenceManagerActive()
startPersistenceManager
public static void startPersistenceManager(TargetModeType targetModeType)
endPersistenceManager
public static void endPersistenceManager()
getPersistenceManagerRef
public static String getPersistenceManagerRef()
setPersistenceManagerRef
public static void setPersistenceManagerRef(String persistenceManagerRef)
Copyright © 2013. All Rights Reserved.