Make the Hibernate parts of the Kernel useable without the ComponentManager

Description

At the moment if you want to do some integration tests involving the Sakai hibernate classes you need to have the ComponentManager up and running. Even if you don't actually start the component manager it tries to start up through calls to the static covers.

The classes should be refactored to have their dependencies injected or where this isn't possible have the class be ApplicationContextAware to that it can fetch it's dependency from the application context.

Activity

Show:

Matthew Buckett October 24, 2012 at 9:07 AM

Fixed in help as it used the SakaiCacheProvider.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created October 24, 2012 at 7:36 AM
Updated July 1, 2014 at 7:47 AM
Resolved October 24, 2012 at 9:07 AM