public class ApplicationPortlet extends java.lang.Object implements javax.portlet.Portlet
tapestry.portlet.PortletApplicationInitializer
service to initialize HiveMind, and the delegate requests to the
tapestry.portlet.ActionRequestServicer
and
tapestry.portlet.RenderRequestServicer
services.Constructor and Description |
---|
ApplicationPortlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
addModuleIfExists(org.apache.hivemind.impl.RegistryBuilder builder,
org.apache.hivemind.ClassResolver resolver,
org.apache.tapestry.web.WebContext context,
java.lang.String path)
Looks for a file in the context; if it exists, it is expected to be a HiveMind module
descriptor, and is added to the builder.
|
protected org.apache.hivemind.Registry |
constructRegistry(javax.portlet.PortletConfig config)
Constructs the Registry.
|
void |
destroy() |
void |
init(javax.portlet.PortletConfig config) |
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
void |
render(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
public ApplicationPortlet()
public void destroy()
destroy
in interface javax.portlet.Portlet
public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException
init
in interface javax.portlet.Portlet
javax.portlet.PortletException
protected org.apache.hivemind.Registry constructRegistry(javax.portlet.PortletConfig config)
Where name is the name of the portlet.
protected void addModuleIfExists(org.apache.hivemind.impl.RegistryBuilder builder, org.apache.hivemind.ClassResolver resolver, org.apache.tapestry.web.WebContext context, java.lang.String path)
public void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws javax.portlet.PortletException, java.io.IOException
processAction
in interface javax.portlet.Portlet
javax.portlet.PortletException
java.io.IOException
public void render(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, java.io.IOException
render
in interface javax.portlet.Portlet
javax.portlet.PortletException
java.io.IOException