org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class DefaultWindowContextQuotaHandler

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowContextQuotaHandler
All Implemented Interfaces:
Serializable, WindowContextQuotaHandler

@ApplicationScoped
public class DefaultWindowContextQuotaHandler
extends Object
implements WindowContextQuotaHandler

Author:
Gerhard Petracek
See Also:
Serialized Form

Constructor Summary
DefaultWindowContextQuotaHandler()
           
DefaultWindowContextQuotaHandler(WindowContextConfig windowContextConfig)
           
 
Method Summary
 boolean checkQuota(int activeWindowContextCount)
           
 void handleQuotaViolation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWindowContextQuotaHandler

public DefaultWindowContextQuotaHandler()

DefaultWindowContextQuotaHandler

@Inject
public DefaultWindowContextQuotaHandler(WindowContextConfig windowContextConfig)
Method Detail

checkQuota

public boolean checkQuota(int activeWindowContextCount)
Specified by:
checkQuota in interface WindowContextQuotaHandler

handleQuotaViolation

public void handleQuotaViolation()
Specified by:
handleQuotaViolation in interface WindowContextQuotaHandler


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.