|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory org.springframework.web.servlet.view.tiles2.SpringBeanPreparerFactory
public class SpringBeanPreparerFactory
Tiles2 org.apache.tiles.preparer.PreparerFactory
implementation
that expects preparer bean names and obtains preparer beans from the
Spring ApplicationContext. The full bean creation process will be in
the control of the Spring application context in this case, allowing
for the use of scoped beans etc.
SimpleSpringPreparerFactory
Constructor Summary | |
---|---|
SpringBeanPreparerFactory()
|
Method Summary | |
---|---|
protected ViewPreparer |
getPreparer(java.lang.String name,
WebApplicationContext context)
Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringBeanPreparerFactory()
Method Detail |
---|
protected ViewPreparer getPreparer(java.lang.String name, WebApplicationContext context) throws TilesException
AbstractSpringPreparerFactory
getPreparer
in class AbstractSpringPreparerFactory
name
- the name of the preparercontext
- the current Spring WebApplicationContext
TilesException
- in case of failure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |