ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/servlet/jsp/JspApplicationContext.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/servlet/jsp/JspApplicationContext.java
Status
scanned
Type
file
Name
JspApplicationContext.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2785 (2.7 KB)
MD5
9b1870826ecfe273a1a8d5240b5f39ea
SHA1
a42429ebc01c28e73feabbfc5192b5be6e2ea79a
SHA256
3fc292dc6e18448c8f188a808701e68749b8883cd19c22735e759171018cdb7c
SHA512

      
    
SHA1_git
72fca7b7727e59d450a7af50243cc6f6af643a6c
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
JspApplicationContext.java | 2.7 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package jakarta.servlet.jsp; import jakarta.el.ELContextListener; import jakarta.el.ELResolver; import jakarta.el.ExpressionFactory; /** * <p> * Stores <i>application</i>-scoped information for the JSP container. * </p> * * @since JSP 2.1 */ public interface JspApplicationContext { /** * Registers an <code>ELContextListener</code> that will be notified whenever a new <code>ELContext</code> is * created. * <p> * At the very least, any <code>ELContext</code> instantiated will have reference to the <code>JspContext</code> * under <code>JspContext.class</code>. * * @param listener The listener to add */ void addELContextListener(ELContextListener listener); /** * <p> * Adds an <code>ELResolver</code> to the chain of EL variable and property management within JSP pages and Tag * files. * </p> * <p> * JSP has a default set of ELResolvers to chain for all EL evaluation: * </p> * <ul> * <li><code>ImplicitObjectELResolver</code></li> * <li><code>ELResolver</code> instances registered with this method</li> * <li><code>MapELResolver</code></li> * <li><code>ListELResolver</code></li> * <li><code>ArrayELResolver</code></li> * <li><code>BeanELResolver</code></li> * <li><code>ScopedAttributeELResolver</code></li> * </ul> * * @param resolver an additional resolver * * @throws IllegalStateException if called after the application's <code>ServletContextListeners</code> have been * initialized. */ void addELResolver(ELResolver resolver); /** * <p> * Returns the JSP container's <code>ExpressionFactory</code> implementation for EL use. * </p> * * @return an <code>ExpressionFactory</code> implementation */ ExpressionFactory getExpressionFactory(); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
39.67
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9