You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2008/03/26 02:31:25 UTC
[jira] Updated: (SHINDIG-154) Allow data handler to be configured
from within web.xml
[ https://issues.apache.org/jira/browse/SHINDIG-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ross Gardler updated SHINDIG-154:
---------------------------------
Attachment: handlerInjection.diff
Patch to allow handlers to be injected as described.
> Allow data handler to be configured from within web.xml
> -------------------------------------------------------
>
> Key: SHINDIG-154
> URL: https://issues.apache.org/jira/browse/SHINDIG-154
> Project: Shindig
> Issue Type: Improvement
> Components: Gadgets Server - Java
> Reporter: Ross Gardler
> Attachments: handlerInjection.diff
>
>
> Patch to allow OpenSocialDataHandler to be configured with custom handlers from within web.xml. e.g.:
> <!-- Serve social data -->
> <servlet>
> <servlet-name>socialdata</servlet-name>
> <servlet-class>
> org.apache.shindig.social.GadgetDataServlet
> </servlet-class>
> <!--
> If the default handler is used then specific handlers can be injected
> using the peopleService, dataService, activitiesService paramaters.
> -->
> <init-param>
> <param-name>peopleService</param-name>
> <param-value>org.apache.shindig.social.samplecontainer.BasicPeopleService</param-value>
> </init-param>
> <init-param>
> <param-name>dataService</param-name>
> <param-value>org.apache.shindig.social.samplecontainer.BasicDataService</param-value>
> </init-param>
> <init-param>
> <param-name>activitiesService</param-name>
> <param-value>org.apache.shindig.social.samplecontainer.BasicActivitiesService</param-value>
> </init-param>
> <!--
> <init-param>
> Add your custom classes that handle opensocial requests here
> <param-name>handlers</param-name>
> <parame-value>com.muysite.OpenSocialDataHandler</param-value>
> </init-param>
> -->
> </servlet>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.