public class BeanRepository extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,String> |
beanTypes |
protected ErrorDispatcher |
errDispatcher |
protected ClassLoader |
loader |
| Constructor and Description |
|---|
BeanRepository(ClassLoader loader,
ErrorDispatcher err)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBean(org.apache.jasper.compiler.Node.UseBean n,
String s,
String type,
String scope) |
boolean |
checkVariable(String bean) |
Class<?> |
getBeanType(String bean) |
protected ClassLoader loader
protected ErrorDispatcher errDispatcher
public BeanRepository(ClassLoader loader, ErrorDispatcher err)
loader - The class loadererr - The error dispatcher that will be used to report errorspublic void addBean(org.apache.jasper.compiler.Node.UseBean n,
String s,
String type,
String scope)
throws JasperException
JasperExceptionpublic Class<?> getBeanType(String bean) throws JasperException
JasperExceptionpublic boolean checkVariable(String bean)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.