|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.tiles.preparer.BasicPreparerFactory
public class BasicPreparerFactory
Default implementation of the PreparerFactory.
This factory provides no contextual configuration. It
simply instantiates the named preparerInstance and returns it.
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,ViewPreparer> |
preparers
Maps a preparer name to the instantiated preparer. |
| Constructor Summary | |
|---|---|
BasicPreparerFactory()
Constructor. |
|
| Method Summary | |
|---|---|
protected ViewPreparer |
createPreparer(java.lang.String name)
Creates a view preparer for the given name. |
ViewPreparer |
getPreparer(java.lang.String name,
TilesRequestContext context)
Create a new instance of the named preparerInstance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<java.lang.String,ViewPreparer> preparers
| Constructor Detail |
|---|
public BasicPreparerFactory()
| Method Detail |
|---|
public ViewPreparer getPreparer(java.lang.String name,
TilesRequestContext context)
throws TilesException
getPreparer in interface PreparerFactoryname - the named preparerInstancecontext - current context
TilesException - If something goes wrong during preparer creation.
protected ViewPreparer createPreparer(java.lang.String name)
throws TilesException
name - The name of the preparer.
TilesException - If something goes wrong during instantiation, or
if the created object is not an instance of ViewPreparer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||