public class PersistenceComponent extends DefaultComponent implements HibernateConfigurator, PersistenceProviderFactory
| Constructor and Description |
|---|
PersistenceComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo
bundles.
|
int |
getApplicationStartedOrder()
The component notification order for
Component.applicationStarted(org.nuxeo.runtime.model.ComponentContext). |
HibernateConfiguration |
getHibernateConfiguration(String name) |
PersistenceProvider |
newProvider(String name) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, deactivate, getAdapter, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtensionpublic int getApplicationStartedOrder()
ComponentComponent.applicationStarted(org.nuxeo.runtime.model.ComponentContext).
Components are notified in increasing order. Order 1000 is the default order for components that don't care. Order 100 is the repository initialization.
getApplicationStartedOrder in interface ComponentgetApplicationStartedOrder in class DefaultComponentpublic void applicationStarted(ComponentContext context) throws Exception
ComponentapplicationStarted in interface ComponentapplicationStarted in class DefaultComponentExceptionpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution in class DefaultComponentExceptionpublic PersistenceProvider newProvider(String name)
newProvider in interface PersistenceProviderFactorypublic HibernateConfiguration getHibernateConfiguration(String name)
getHibernateConfiguration in interface HibernateConfiguratorCopyright © 2012 Nuxeo SA. All Rights Reserved.