public class PersistenceProviderLoader extends Object
Constructor and Description |
---|
PersistenceProviderLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
loadDefaultProvider()
pre-loads the default persistence provider
|
static List<javax.persistence.spi.PersistenceProvider> |
loadProviderModuleByName(String moduleName)
Loads the specified JPA persistence provider module
|
public static void loadDefaultProvider() throws org.jboss.modules.ModuleLoadException
org.jboss.modules.ModuleLoadException
public static List<javax.persistence.spi.PersistenceProvider> loadProviderModuleByName(String moduleName) throws org.jboss.modules.ModuleLoadException
moduleName
- is the static module to be loadedorg.jboss.modules.ModuleLoadException
Copyright © 2014 JBoss by Red Hat. All rights reserved.