Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.persistence
Class PersistenceComponent

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.core.persistence.PersistenceComponent
All Implemented Interfaces:
HibernateConfigurator, PersistenceProviderFactory, Adaptable, Component, Extensible

public class PersistenceComponent
extends DefaultComponent
implements HibernateConfigurator, PersistenceProviderFactory

Author:
"Stephane Lacoin (aka matic) "

Constructor Summary
PersistenceComponent()
           
 
Method Summary
 HibernateConfiguration getHibernateConfiguration(String name)
           
 PersistenceProvider newProvider(String name)
           
 void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterContribution, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceComponent

public PersistenceComponent()
Method Detail

registerContribution

public void registerContribution(Object contribution,
                                 String extensionPoint,
                                 ComponentInstance contributor)
                          throws Exception
Overrides:
registerContribution in class DefaultComponent
Throws:
Exception

newProvider

public PersistenceProvider newProvider(String name)
Specified by:
newProvider in interface PersistenceProviderFactory

getHibernateConfiguration

public HibernateConfiguration getHibernateConfiguration(String name)
Specified by:
getHibernateConfiguration in interface HibernateConfigurator

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.