@WebListener public class TenantRequestContextListener extends AbstractRequestContextListener
RequestContextListener
that ensures the correct initialization of Tenant
s when
working with non-container managed threads on all supported Cloud platforms.RequestContextListener.DefaultPriorities
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_TENANT |
naturalOrdering, reverseOrdering
Constructor and Description |
---|
TenantRequestContextListener() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Returns the priority that defines the order in which listeners are invoked.
|
contextDestroyed, contextInitialized, requestContextDestroyed, requestContextInitialized
public static final String PROPERTY_TENANT
public int getPriority()
RequestContextListener
0
as default.Copyright © 2018 SAP SE. All rights reserved.