public class DefaultPageInjectorFactory extends Object implements IPageInjectorCalculator
| Constructor and Description |
|---|
DefaultPageInjectorFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyInjector |
calculateInjector(PropertyInfo pi)
Tries to find an injector to inject a value for the specified property.
|
void |
calculatePageInjectors(Map<String,PropertyInjector> registrationMap,
Class<? extends UrlPage> pageClass)
Checks all properties of a page and returns a list of Injectors to use to inject values into
those properties, if needed.
|
void |
registerFactory(int urgency,
IPagePropertyFactory injector) |
public void registerFactory(int urgency,
IPagePropertyFactory injector)
public void calculatePageInjectors(Map<String,PropertyInjector> registrationMap, Class<? extends UrlPage> pageClass)
calculatePageInjectors in interface IPageInjectorCalculator@Nullable protected PropertyInjector calculateInjector(PropertyInfo pi)
pi - Copyright © 2017 etc.to. All rights reserved.