org.apache.openejb.jee
Class FacesConfigProtectedViews

java.lang.Object
  extended by org.apache.openejb.jee.FacesConfigProtectedViews

public class FacesConfigProtectedViews
extends Object

Any view that matches any of the url-patterns in this element may only be reached from another JSF view in the same web application. Because the runtime is aware of which views are protected, any navigation from an unprotected view to a protected view is automatically subject to protection.

Java class for faces-config-protected-viewsType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-protected-viewsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="url-pattern" type="{http://xmlns.jcp.org/xml/ns/javaee}url-patternType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<UrlPattern> urlPattern
           
 
Constructor Summary
FacesConfigProtectedViews()
           
 
Method Summary
 List<UrlPattern> getUrlPattern()
          Gets the value of the urlPattern property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urlPattern

protected List<UrlPattern> urlPattern
Constructor Detail

FacesConfigProtectedViews

public FacesConfigProtectedViews()
Method Detail

getUrlPattern

public List<UrlPattern> getUrlPattern()
Gets the value of the urlPattern property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the urlPattern property.

For example, to add a new item, do as follows:

    getUrlPattern().add(newItem);
 

Objects of the following type(s) are allowed in the list UrlPattern



Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.