/** * Constructor used by the container for creating the {@link WindowContextQuotaHandler} based on the given * {@link WindowContextConfig} * @param windowContextConfig current window-context-config */ @Inject public DefaultWindowContextQuotaHandler(WindowContextConfig windowContextConfig) { this.maxWindowContextCount = windowContextConfig.getMaxWindowContextCount(); }
/** * Constructor used by the container for creating the {@link WindowContextQuotaHandler} based on the given * {@link WindowContextConfig} * @param windowContextConfig current window-context-config */ @Inject public DefaultWindowContextQuotaHandler(WindowContextConfig windowContextConfig) { this.maxWindowContextCount = windowContextConfig.getMaxWindowContextCount(); }
/** * Constructor used by the container for creating the {@link WindowContextQuotaHandler} based on the given * {@link WindowContextConfig} * @param windowContextConfig current window-context-config */ @Inject public DefaultWindowContextQuotaHandler(WindowContextConfig windowContextConfig) { this.maxWindowContextCount = windowContextConfig.getMaxWindowContextCount(); }
/** * {@inheritDoc} */ @Override public int getMaxWindowContextCount() { return CodiUtils.lookupConfigFromEnvironment(null, Integer.class, super.getMaxWindowContextCount()); }
/** * {@inheritDoc} */ @Override public int getMaxWindowContextCount() { return CodiUtils.lookupConfigFromEnvironment(null, Integer.class, super.getMaxWindowContextCount()); }