[ http://jira.dspace.org/jira/browse/DS-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10435#action_10435 ]
Larry Stone commented on DS-243: -------------------------------- I prefer this event model to the one in 1.5.2, since I also want to log the referrer and user-agent from of the HTTP request object. The consolidation of classes looks like a win too. > UsageEvent adjustments to support Statistics and Reporting Addons. > ------------------------------------------------------------------ > > Key: DS-243 > URL: http://jira.dspace.org/jira/browse/DS-243 > Project: DSpace 1.x > Issue Type: Improvement > Affects Versions: 1.6.0 > Reporter: Mark Diggory > Fix For: 1.6.0 > > Attachments: dspace-1.6-UsageEvent.patch > > > Here is a set of the adjustments necessary for managing UsageEvents in the > Statistics Addons we are currently working to bring into availability for > DSpace 1.6. Basically they do the following: > 1.) Replace the passing of dso.id and dso.type witht he dso itself so that > implementations can interrogate the object for state. > 2.) Deprecate many of the getters/setters and internal state in favor of > effectively one UsageEvent.fire(...) method. > 3.) invert the calling of the implements AbstractUsageEvent plugin so that > setting so much state is unnecessary > 4.) Consolidate the xmlui and jspui USageEvent classes into on in dspace-api > because there is no longer a need for separate implementations with Cocoon > 2.2 in 1.5.2/1.6 > Mark -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel