@Deprecated public class AfterSessionCreationListener extends AbstractEventListener<AfterSessionCreationEvent>
SessionContext| Constructor and Description |
|---|
AfterSessionCreationListener()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
executeEvent(AfterSessionCreationEvent event)
Deprecated.
|
protected B2BUnitService<B2BUnitModel,B2BCustomerModel> |
getB2BUnitService()
Deprecated.
|
protected Session |
getSession(JaloSession jaloSession)
Deprecated.
Use SystemService when it becomes availabe from hybris
|
protected SessionService |
getSessionService()
Deprecated.
|
protected UserService |
getUserService()
Deprecated.
|
protected void |
onEvent(AfterSessionCreationEvent event)
Deprecated.
This method is called by
AbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event. |
void |
setB2BUnitService(B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)
Deprecated.
|
void |
setSessionService(SessionService sessionService)
Deprecated.
|
void |
setUserService(UserService userService)
Deprecated.
|
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantServiceprotected void onEvent(AfterSessionCreationEvent event)
AbstractEventListenerAbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event.onEvent in class AbstractEventListener<AfterSessionCreationEvent>event - the event to be processed#onApplicationEvent(ApplicationEvent)@Deprecated protected Session getSession(JaloSession jaloSession)
Session via SessionService ignores NullPointerException thown from
SessionService.getSession(String) assuming that system is initializing when the listener got calledjaloSession - A hybris JaloSessionprotected boolean executeEvent(AfterSessionCreationEvent event)
event - protected UserService getUserService()
public void setUserService(UserService userService)
protected B2BUnitService<B2BUnitModel,B2BCustomerModel> getB2BUnitService()
public void setB2BUnitService(B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)
protected SessionService getSessionService()
public void setSessionService(SessionService sessionService)
Copyright © 2017 SAP SE. All Rights Reserved.