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:
ApplicationContext
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 interfaceApplicationContext
- Overrides:
getInitParams
in classServletApplicationContext
-
getPlugInConfigObject
Returns the internal plugin config object.- Returns:
- the internal plugin config object
-