Class RouterServiceImpl
- java.lang.Object
-
- co.mastermindcms.framework.services.RouterServiceImpl
-
- All Implemented Interfaces:
RouterService
,java.io.Serializable
@Service public class RouterServiceImpl extends java.lang.Object implements RouterService
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private org.springframework.context.ApplicationContext
appContext
private CommonProperties
commonProperties
private org.springframework.session.data.mongo.MongoIndexedSessionRepository
sessionRepository
private UserManagementService
userManagementService
-
Constructor Summary
Constructors Constructor Description RouterServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getBean(java.lang.String beanId)
This method does return bean.java.lang.Object
getRepository(java.lang.String repositoryId)
This method does return repository.java.lang.Object
getSessionBean(java.lang.String beanId)
This method does return bean.private java.lang.Object
getSessionBeanAsObject(java.lang.String beanId)
void
updateSessionBean(java.lang.String beanId, java.lang.Object bean)
This method does update bean.
-
-
-
Field Detail
-
appContext
@Autowired private org.springframework.context.ApplicationContext appContext
-
sessionRepository
@Autowired private org.springframework.session.data.mongo.MongoIndexedSessionRepository sessionRepository
-
commonProperties
@Autowired private CommonProperties commonProperties
-
userManagementService
@Autowired private UserManagementService userManagementService
-
-
Method Detail
-
getRepository
public java.lang.Object getRepository(java.lang.String repositoryId)
Description copied from interface:RouterService
This method does return repository.- Specified by:
getRepository
in interfaceRouterService
- Parameters:
repositoryId
- identification bean, which will be returned- Returns:
- object
-
getBean
public java.lang.Object getBean(java.lang.String beanId)
Description copied from interface:RouterService
This method does return bean.- Specified by:
getBean
in interfaceRouterService
- Parameters:
beanId
- identification bean, which will be returned- Returns:
- object
-
getSessionBean
public java.lang.Object getSessionBean(java.lang.String beanId)
Description copied from interface:RouterService
This method does return bean.- Specified by:
getSessionBean
in interfaceRouterService
- Parameters:
beanId
- identification bean, which will be returned- Returns:
- object
-
getSessionBeanAsObject
private java.lang.Object getSessionBeanAsObject(java.lang.String beanId)
-
updateSessionBean
public void updateSessionBean(java.lang.String beanId, java.lang.Object bean)
Description copied from interface:RouterService
This method does update bean.- Specified by:
updateSessionBean
in interfaceRouterService
- Parameters:
beanId
- identification bean, which will be updatedbean
- identification bean, which will be added in bean attribute
-
-