Package org.apache.struts.tiles2.util
Class PlugInConfigContextAdapter
java.lang.Object
org.apache.tiles.request.jakarta.servlet.ServletApplicationContext
org.apache.struts.tiles2.util.PlugInConfigContextAdapter
- All Implemented Interfaces:
org.apache.tiles.request.ApplicationContext
public class PlugInConfigContextAdapter
extends org.apache.tiles.request.jakarta.servlet.ServletApplicationContext
Adapts a
PlugInConfig
object to become a ServletContext object,
exposing init parameters methods.-
Constructor Summary
ConstructorDescriptionPlugInConfigContextAdapter
(PlugInConfig plugInConfigObject, ServletContext servletContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the internal plugin config object.Methods inherited from class org.apache.tiles.request.jakarta.servlet.ServletApplicationContext
getApplicationScope, getContext, getResource, getResource, getResources
-
Constructor Details
-
PlugInConfigContextAdapter
Constructor.- Parameters:
plugInConfigObject
- The plugin config object to use.servletContext
- The servlet context to use.
-
-
Method Details
-
getInitParams
- Specified by:
getInitParams
in interfaceorg.apache.tiles.request.ApplicationContext
- Overrides:
getInitParams
in classorg.apache.tiles.request.jakarta.servlet.ServletApplicationContext
-
getPlugInConfigObject
Returns the internal plugin config object.- Returns:
- the internal plugin config object
-