@Repository public class ApplicationContextProvider extends Object implements org.springframework.context.ApplicationContextAware
AppContext| Constructor and Description |
|---|
ApplicationContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwarectx - ApplicationContextorg.springframework.beans.BeansExceptionpublic void setEntityManager(javax.persistence.EntityManager entityManager)
throws org.springframework.beans.BeansException
entityManager - EntityManagerorg.springframework.beans.BeansExceptionCopyright © 2019. All rights reserved.