org.nuxeo.ecm.platform.ec.placeful
Class PlacefulServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.ec.placeful.PlacefulServiceImpl
- All Implemented Interfaces:
- PlacefulService, Adaptable, Component, Extensible
public class PlacefulServiceImpl
- extends DefaultComponent
- implements PlacefulService
- Author:
- Ruslan Spivak
Fields inherited from interface org.nuxeo.ecm.platform.ec.placeful.interfaces.PlacefulService |
ID |
Method Summary |
void |
deactivate(ComponentContext context)
Deactivates the component. |
java.util.List<Annotation> |
getAllAnnotations(javax.persistence.EntityManager em,
java.lang.String name)
|
java.util.List<Annotation> |
getAllAnnotations(java.lang.String name)
|
Annotation |
getAnnotation(javax.persistence.EntityManager em,
java.lang.String id,
java.lang.String name)
|
Annotation |
getAnnotation(java.lang.String uuid,
java.lang.String name)
|
java.util.List<Annotation> |
getAnnotationListByParamMap(javax.persistence.EntityManager em,
java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
|
java.util.List<Annotation> |
getAnnotationListByParamMap(java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
|
java.util.Map<java.lang.String,java.lang.String> |
getAnnotationRegistry()
|
HibernateConfiguration |
getOrCreateHibernateConfiguration()
|
PersistenceProvider |
getOrCreatePersistenceProvider()
|
static java.lang.String |
getShortName(java.lang.String className)
|
void |
registerContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
|
void |
removeAnnotation(Annotation annotation)
|
void |
removeAnnotation(javax.persistence.EntityManager em,
Annotation annotation)
|
void |
removeAnnotationListByParamMap(javax.persistence.EntityManager em,
java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
|
void |
removeAnnotationListByParamMap(java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
|
void |
setAnnotation(Annotation annotation)
|
void |
setAnnotation(javax.persistence.EntityManager em,
Annotation annotation)
|
void |
unregisterContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlacefulServiceImpl
public PlacefulServiceImpl()
getOrCreatePersistenceProvider
public PersistenceProvider getOrCreatePersistenceProvider()
getOrCreateHibernateConfiguration
public HibernateConfiguration getOrCreateHibernateConfiguration()
deactivate
public void deactivate(ComponentContext context)
throws java.lang.Exception
- Description copied from interface:
Component
- Deactivates the component.
This method is called by the runtime when a component is deactivated.
- Specified by:
deactivate
in interface Component
- Overrides:
deactivate
in class DefaultComponent
- Parameters:
context
- the runtime context
- Throws:
java.lang.Exception
- if an error occurs during activation
registerContribution
public void registerContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
throws java.lang.Exception
- Overrides:
registerContribution
in class DefaultComponent
- Throws:
java.lang.Exception
unregisterContribution
public void unregisterContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
throws java.lang.Exception
- Overrides:
unregisterContribution
in class DefaultComponent
- Throws:
java.lang.Exception
getAnnotationRegistry
public java.util.Map<java.lang.String,java.lang.String> getAnnotationRegistry()
- Specified by:
getAnnotationRegistry
in interface PlacefulService
getShortName
public static java.lang.String getShortName(java.lang.String className)
getAnnotation
public Annotation getAnnotation(javax.persistence.EntityManager em,
java.lang.String id,
java.lang.String name)
getAllAnnotations
public java.util.List<Annotation> getAllAnnotations(javax.persistence.EntityManager em,
java.lang.String name)
getAllAnnotations
public java.util.List<Annotation> getAllAnnotations(java.lang.String name)
getAnnotation
public Annotation getAnnotation(java.lang.String uuid,
java.lang.String name)
- Specified by:
getAnnotation
in interface PlacefulService
getAnnotationListByParamMap
public java.util.List<Annotation> getAnnotationListByParamMap(javax.persistence.EntityManager em,
java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
getAnnotationListByParamMap
public java.util.List<Annotation> getAnnotationListByParamMap(java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
- Specified by:
getAnnotationListByParamMap
in interface PlacefulService
removeAnnotationListByParamMap
public void removeAnnotationListByParamMap(javax.persistence.EntityManager em,
java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
removeAnnotationListByParamMap
public void removeAnnotationListByParamMap(java.util.Map<java.lang.String,java.lang.Object> paramMap,
java.lang.String name)
- Specified by:
removeAnnotationListByParamMap
in interface PlacefulService
setAnnotation
public void setAnnotation(javax.persistence.EntityManager em,
Annotation annotation)
setAnnotation
public void setAnnotation(Annotation annotation)
- Specified by:
setAnnotation
in interface PlacefulService
removeAnnotation
public void removeAnnotation(javax.persistence.EntityManager em,
Annotation annotation)
removeAnnotation
public void removeAnnotation(Annotation annotation)
- Specified by:
removeAnnotation
in interface PlacefulService
Copyright © 2010 Nuxeo SAS. All Rights Reserved.