mirror of https://github.com/bvn13/VoidForum.git
24 lines
593 B
Java
24 lines
593 B
Java
package ru.bvn13.voidforum.support.localization;
|
|
|
|
import lombok.Data;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Scope;
|
|
import org.springframework.context.annotation.ScopedProxyMode;
|
|
import org.springframework.stereotype.Component;
|
|
import ru.bvn13.voidforum.models.support.AppLocale;
|
|
|
|
/**
|
|
* Created by bvn13 on 14.12.2017.
|
|
*/
|
|
@Scope(value = "request", proxyMode = ScopedProxyMode.TARGET_CLASS)
|
|
@Component
|
|
public class SessionStorer {
|
|
|
|
@Getter
|
|
@Setter
|
|
private AppLocale locale;
|
|
|
|
}
|