Package org.exoplatform.addons.crowdin
Class LoginCrowdinJIPTListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState>
org.exoplatform.addons.crowdin.LoginCrowdinJIPTListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.services.listener.ListenerBase<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState>
public class LoginCrowdinJIPTListener
extends org.exoplatform.services.listener.Listener<org.exoplatform.services.security.ConversationRegistry,org.exoplatform.services.security.ConversationState>
This listener is executed each time an user logs in.
It reset the user language to the pseudo-language defined in Crowdin settings for live translation. This language
is passed as a system property (crowdin.jipt).
-
Field Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.services.security.ConversationRegistry, org.exoplatform.services.security.ConversationState> event) Method executed when an user logs inMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.listener.ListenerBase
getName
-
Field Details
-
CROWDIN_JIPT_SYSTEM_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
LoginCrowdinJIPTListener
public LoginCrowdinJIPTListener()
-
-
Method Details