org.apache.tapestry.portlet
Class PortletApplicationSpecificationInitializer
java.lang.Object
org.apache.tapestry.portlet.PortletApplicationSpecificationInitializer
- All Implemented Interfaces:
- PortletApplicationInitializer
public class PortletApplicationSpecificationInitializer
- extends java.lang.Object
- implements PortletApplicationInitializer
Locates and reads the application specification for the portlet and stores it into
ApplicationGlobals
.
TODO: Merge this code with
ApplicationSpecificationInitializer
, they're very
similar. This would probably be an additional service that would do the lookup based on the
WebActivator
and the WebContext
.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
- See Also:
ApplicationSpecificationInitializer
Method Summary |
void |
initialize(javax.portlet.PortletConfig portletConfig)
|
void |
setContext(org.apache.tapestry.web.WebContext context)
|
void |
setGlobals(org.apache.tapestry.services.ApplicationGlobals globals)
|
void |
setParser(org.apache.tapestry.parse.ISpecificationParser parser)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletApplicationSpecificationInitializer
public PortletApplicationSpecificationInitializer()
initialize
public void initialize(javax.portlet.PortletConfig portletConfig)
- Specified by:
initialize
in interface PortletApplicationInitializer
setContext
public void setContext(org.apache.tapestry.web.WebContext context)
setGlobals
public void setGlobals(org.apache.tapestry.services.ApplicationGlobals globals)
setParser
public void setParser(org.apache.tapestry.parse.ISpecificationParser parser)