org.apache.myfaces.extensions.cdi.jsf.impl.security
Class SecurityAwareViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by javax.faces.application.ViewHandlerWrapper
          extended by org.apache.myfaces.extensions.cdi.jsf.impl.security.SecurityAwareViewHandler
All Implemented Interfaces:
Deactivatable

public class SecurityAwareViewHandler
extends javax.faces.application.ViewHandlerWrapper
implements Deactivatable

ATTENTION: add all new methods to CodiViewHandler

Author:
Gerhard Petracek

Field Summary
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
SecurityAwareViewHandler(javax.faces.application.ViewHandler wrapped)
          Constructor for wrapping the given ViewHandler
 
Method Summary
 javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context, String viewId)
          
 javax.faces.application.ViewHandler getWrapped()
          
 boolean isActivated()
          
 
Methods inherited from class javax.faces.application.ViewHandlerWrapper
calculateCharacterEncoding, calculateLocale, calculateRenderKitId, getActionURL, getResourceURL, initView, renderView, restoreView, writeState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityAwareViewHandler

public SecurityAwareViewHandler(javax.faces.application.ViewHandler wrapped)
Constructor for wrapping the given ViewHandler

Parameters:
wrapped - view-handler which should be wrapped
Method Detail

getWrapped

public javax.faces.application.ViewHandler getWrapped()

Specified by:
getWrapped in class javax.faces.application.ViewHandlerWrapper

createView

public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context,
                                                   String viewId)

Overrides:
createView in class javax.faces.application.ViewHandlerWrapper

isActivated

public boolean isActivated()

Specified by:
isActivated in interface Deactivatable


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