Refactor BaseUsageSession to avoid casts to UsageSessionService implementation (UsageSessionServiceAdaptor)
Description
SAK-13833 refactored BaseUsageSession from a non-static inner class in UsageSessionServiceAdaptor to a top-level class. As is the standard Eclipse refactoring behavior, the "hidden" reference from the former to the latter was retained by introducing an instance member of the same type. We'd like to refactor this dependency to bind to the service interface (UsageSessionService) rather than the implementation, as has been done with MySession, MyLittleSession, and SessionManager/SessionComponent () (and other Sakai services, e.g. ). Unfortunately, the dependencies on UsageSessionServiceAdaptor are fairly wide-spread within BaseUsageSession.
Environment
None
Test Plan
None
Activity
David Horwitz February 14, 2010 at 8:07 AM
[Bulk Change] MAINT TEAM REVIEW: this appears to be an abandoned issue, if this is still being pursued please ensure information is up to date and that its assigned to the developer/team working on it.
SAK-13833 refactored BaseUsageSession from a non-static inner class in UsageSessionServiceAdaptor to a top-level class. As is the standard Eclipse refactoring behavior, the "hidden" reference from the former to the latter was retained by introducing an instance member of the same type. We'd like to refactor this dependency to bind to the service interface (UsageSessionService) rather than the implementation, as has been done with MySession, MyLittleSession, and SessionManager/SessionComponent () (and other Sakai services, e.g. ). Unfortunately, the dependencies on UsageSessionServiceAdaptor are fairly wide-spread within BaseUsageSession.