Skip to content

Commit

Permalink
Merge pull request kitodo#6289 from effective-webwork/3-7-media-provider
Browse files Browse the repository at this point in the history
[3.7] Change scope of class `MediaProvider` to `SessionScope`
  • Loading branch information
solth authored Nov 7, 2024
2 parents 281c3e8 + 025d92d commit d677e13
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@

package org.kitodo.production.forms.dataeditor;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.context.SessionScoped;
import javax.faces.context.FacesContext;
import javax.faces.event.PhaseId;
import javax.inject.Named;
Expand All @@ -28,11 +29,11 @@


/**
* Application scoped media provider bean.
* Session scoped media provider bean.
*/
@ApplicationScoped
@SessionScoped
@Named
public class MediaProvider {
public class MediaProvider implements Serializable {

private static final Logger logger = LogManager.getLogger(MediaProvider.class);

Expand Down

0 comments on commit d677e13

Please sign in to comment.