Class DefaultBrowserModelFactory
- java.lang.Object
-
- de.hybris.platform.cockpit.model.browser.impl.DefaultBrowserModelFactory
-
- All Implemented Interfaces:
BrowserModelFactory,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class DefaultBrowserModelFactory extends java.lang.Object implements BrowserModelFactory
-
-
Field Summary
-
Fields inherited from interface de.hybris.platform.cockpit.model.browser.BrowserModelFactory
BEAN_ID
-
-
Constructor Summary
Constructors Constructor Description DefaultBrowserModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrowserModelcreateBrowserModel(java.lang.String name)voidinitBrowserModelsMappings()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
createBrowserModel
public BrowserModel createBrowserModel(java.lang.String name)
- Specified by:
createBrowserModelin interfaceBrowserModelFactory- Returns:
- browser model assigned to this name or default one if none is found
-
initBrowserModelsMappings
public void initBrowserModelsMappings()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
-