lessonApplicationContext.xml

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3760: Initial implementation of notifications. Add new delivery method to EventNotification framework. Allow notifications on file upload in Share Resources. Add notifications button on home screen.

  1. … 26 more files in changeset.
LDEV-3617: Make editing class methods transactional. Rename them so simple DAO setters in the service are not transactional too.

  1. … 5 more files in changeset.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.

Attach activity to Hibernate session in completeActivity() method.

  1. … 42 more files in changeset.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.

Attach activity to Hibernate session in completeActivity() method.

  1. … 43 more files in changeset.
LDEV-3514: Use postInterceptor instead of preInterceptor. PreInterceptor apparently runs before Hibernate transaction gets created. When an exception in the proxied method occurs, the transaction is canceled and is not re-created when retry is attempted. This leads to "no session" or "read only transaction on write" errors. PostInterceptor seems to work when the transaction is already created, so retries happen witin its scope.

  1. … 39 more files in changeset.
LDEV-3514: Use postInterceptor instead of preInterceptor. PreInterceptor apparently runs before Hibernate transaction gets created. When an exception in the proxied method occurs, the transaction is canceled and is not re-created when retry is attempted. This leads to "no session" or "read only transaction on write" errors. PostInterceptor seems to work when the transaction is already created, so retries happen witin its scope.

  1. … 39 more files in changeset.
LDEV-3514: Wrap all transactional methods with TransactionRetryInterceptor. Set number of attempts to 3. Remove previous safety mechanism for completeActivity() method.

  1. … 41 more files in changeset.
LDEV-3514: Wrap all transactional methods with TransactionRetryInterceptor. Set number of attempts to 3. Remove previous safety mechanism for completeActivity() method.

  1. … 42 more files in changeset.
LDEV-3332: revert spring-beans schema declaration in application context xml files. export spring meta-inf in jboss-deployment-structure.xml

It is way more elegant approach to fix an issue with spring-beans.xsd loading from internet.

  1. … 77 more files in changeset.
LDEV-3332: fix spring contexts declaration to find spring-beans-4.0.xsd locally at classpath.

Having spring module defined as a set of spring jars (as we do have in Wildfly), it is impossible for spring to resolve xsd schema mapping file 'spring.schemas' correctly. With set of jars, we have 5 instances of this file (with different content) under the same path 'META-INF/spring.schemas'. This ended up in spring not beeing able to map spring-beans-4.0.xsd URL path to local resource location. Finally, this xsd was loaded from internet - and that significantly slowed Wildfly startup.

With this fix LAMS is way (depends on internet connection) faster to start.

  1. … 76 more files in changeset.
LDEV-3293: Rewrite Application Context configuration files for Spring 4.

  1. … 78 more files in changeset.
Merging RAMS and Edit On Fly changes from branch to the head.

  1. … 239 more files in changeset.
LDEV-768: Fixed the problem with the session being closed by changing how the update is done. Previously it used the user object connected to another session - now it looks up the user in the "add user" code, so that it will be part of the same Hibernate session. Given this user is in the cache, it shouldn't add too much time to the call.

  1. … 5 more files in changeset.
Added methods to add a user to the lesson class on the fly

  1. … 6 more files in changeset.
Removed calls managing the learner in lesson cache - it isn't being used currently and the implementation didn't clear out users who closed their browsers without doing a proper exit.

  1. … 4 more files in changeset.
Implementation of jsp based chosen grouping, with the appropriate screen in monitoring.

  1. … 15 more files in changeset.
Clean up grouping code so that the shared code is in lams.jar, and making it so that learner can't trigger the chosen grouping. I18N the grouping screen and added a wait page for the chosen grouping.

  1. … 15 more files in changeset.
Modifying the getOrganisationForUserByRole calls to return just the course and class when specified, rather than the whole organisation tree.

Replaced getActiveLessons with getLesson, to suit the change from listing all the lessons in the learner client to just working with a single lesson.

Moved the logic to cache the lesson learners from learning into the lams.jar (in the LessonService).

Replaced getAllLessonsWDDX, getLessonData with getLessonDetails. Suits the change from listing all the lessons in the monitoring client to just working with a single lesson.

  1. … 13 more files in changeset.
Converted to use JNDI datasource. Moved some workspace code back into lams_common so that lams_common isn't dependent on another project

    • -0
    • +25
    ./lessonApplicationContext.xml
  1. … 9 more files in changeset.