BeanRepository (Apache Tomcat 7.0.96 API Documentation)

org.apache.jasper.compiler

## Class BeanRepository

- java.lang.Object
- - org.apache.jasper.compiler.BeanRepository

-     public class BeanRepository
      extends java.lang.Object

  Repository of {page, request, session, application}-scoped beans
  Author:
    Mandar Raje, Remy Maucherat

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.HashMap<java.lang.String,java.lang.String>` | `beanTypes`
    `protected ErrorDispatcher` | `errDispatcher`
    `protected java.lang.ClassLoader` | `loader`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BeanRepository(java.lang.ClassLoader loader, ErrorDispatcher err)` Constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addBean(Node.UseBean n, java.lang.String s, java.lang.String type, java.lang.String scope)`
    `boolean` | `checkVariable(java.lang.String bean)`
    `java.lang.Class<?>` | `getBeanType(java.lang.String bean)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### beanTypes

          protected java.util.HashMap<java.lang.String,java.lang.String> beanTypes

    - #### loader

          protected java.lang.ClassLoader loader

    - #### errDispatcher

          protected ErrorDispatcher errDispatcher

  - ### Constructor Detail

    - #### BeanRepository

          public BeanRepository(java.lang.ClassLoader loader,
                        ErrorDispatcher err)

      Constructor.

  - ### Method Detail

    - #### addBean

          public void addBean(Node.UseBean n,
                     java.lang.String s,
                     java.lang.String type,
                     java.lang.String scope)
                       throws JasperException

      Throws:
        `JasperException`

    - #### getBeanType

          public java.lang.Class<?> getBeanType(java.lang.String bean)
                                         throws JasperException

      Throws:
        `JasperException`

    - #### checkVariable

          public boolean checkVariable(java.lang.String bean)

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.