|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowContextQuotaHandler
@ApplicationScoped public class DefaultWindowContextQuotaHandler
Constructor Summary | |
---|---|
DefaultWindowContextQuotaHandler()
Default constructor required by proxy libs |
|
DefaultWindowContextQuotaHandler(WindowContextConfig windowContextConfig)
Constructor used by the container for creating the WindowContextQuotaHandler based on the given
WindowContextConfig |
Method Summary | |
---|---|
void |
handleQuotaViolation()
Handles a quota violation if #checkQuota returned true and the cleanup couldn't remove an old context |
boolean |
isWindowContextQuotaViolated(int activeWindowContextCount)
Checks if the count of the currently active window-contexts is too high |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultWindowContextQuotaHandler()
@Inject public DefaultWindowContextQuotaHandler(WindowContextConfig windowContextConfig)
WindowContextQuotaHandler
based on the given
WindowContextConfig
windowContextConfig
- current window-context-configMethod Detail |
---|
public boolean isWindowContextQuotaViolated(int activeWindowContextCount)
isWindowContextQuotaViolated
in interface WindowContextQuotaHandler
activeWindowContextCount
- current window-context count
public void handleQuotaViolation()
handleQuotaViolation
in interface WindowContextQuotaHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |