public class SpringViewClassProvider extends Object implements ViewClassProvider
ViewClassProvider.| Constructor and Description |
|---|
SpringViewClassProvider(org.springframework.context.ApplicationContext applicationContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Class<? extends com.vaadin.navigator.View>> |
getViewClass(String viewName)
Get the view class which corresponds to the given view name.
|
void |
init()
Init the provider, detecting all the View classes bound to the available View type beans.
|
public SpringViewClassProvider(org.springframework.context.ApplicationContext applicationContext)
applicationContext - ApplicationContext (not null)public void init()
public Optional<Class<? extends com.vaadin.navigator.View>> getViewClass(String viewName)
ViewClassProvidergetViewClass in interface ViewClassProviderviewName - View nameCopyright © 2019 The Holon Platform. All rights reserved.