public class PlacefulServiceImpl extends DefaultComponent implements PlacefulService
ID
Constructor and Description |
---|
PlacefulServiceImpl() |
activate, getAdapter, getLastModified, registerExtension, setLastModified, unregisterExtension
public PersistenceProvider getOrCreatePersistenceProvider()
public HibernateConfiguration getOrCreateHibernateConfiguration()
public void deactivate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextException
- if an error occurs during activationpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public int getApplicationStartedOrder()
Component
Component.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 Component
getApplicationStartedOrder
in class DefaultComponent
public void applicationStarted(ComponentContext context) throws Exception
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
Exception
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
unregisterContribution
in class DefaultComponent
Exception
public Map<String,String> getAnnotationRegistry()
getAnnotationRegistry
in interface PlacefulService
public Annotation getAnnotation(EntityManager em, String id, String name)
public List<Annotation> getAllAnnotations(EntityManager em, String name)
public List<Annotation> getAllAnnotations(String name)
public Annotation getAnnotation(String uuid, String name)
getAnnotation
in interface PlacefulService
public List<Annotation> getAnnotationListByParamMap(EntityManager em, Map<String,Object> paramMap, String name)
public List<Annotation> getAnnotationListByParamMap(Map<String,Object> paramMap, String name)
getAnnotationListByParamMap
in interface PlacefulService
public void removeAnnotationListByParamMap(EntityManager em, Map<String,Object> paramMap, String name)
public void removeAnnotationListByParamMap(Map<String,Object> paramMap, String name)
removeAnnotationListByParamMap
in interface PlacefulService
public void setAnnotation(EntityManager em, Annotation annotation)
public void setAnnotation(Annotation annotation)
setAnnotation
in interface PlacefulService
public void removeAnnotation(EntityManager em, Annotation annotation)
public void removeAnnotation(Annotation annotation)
removeAnnotation
in interface PlacefulService
Copyright © 2013 Nuxeo SA. All Rights Reserved.