public class PersistenceComponent extends DefaultComponent implements HibernateConfigurator, PersistenceProviderFactory
Constructor and Description |
---|
PersistenceComponent() |
Modifier and Type | Method and Description |
---|---|
HibernateConfiguration |
getHibernateConfiguration(String name) |
PersistenceProvider |
newProvider(String name) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterContribution, unregisterExtension
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public PersistenceProvider newProvider(String name)
newProvider
in interface PersistenceProviderFactory
public HibernateConfiguration getHibernateConfiguration(String name)
getHibernateConfiguration
in interface HibernateConfigurator
Copyright © 2011 Nuxeo SA. All Rights Reserved.