public class BasicPreparerFactory extends Object implements PreparerFactory
PreparerFactory.
This factory provides no contextual configuration. It
simply instantiates the named preparerInstance and returns it.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ViewPreparer> |
preparers
Maps a preparer name to the instantiated preparer.
|
| Constructor and Description |
|---|
BasicPreparerFactory()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ViewPreparer |
createPreparer(String name)
Creates a view preparer for the given name.
|
ViewPreparer |
getPreparer(String name,
Request context)
Create a new instance of the named preparerInstance.
|
protected Map<String,ViewPreparer> preparers
public ViewPreparer getPreparer(String name, Request context)
getPreparer in interface PreparerFactoryname - the named preparerInstancecontext - current contextprotected ViewPreparer createPreparer(String name)
name - The name of the preparer.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.