NamingResources 类:
该类掌握和管理J2EE企业命名定义的命名资源及其相关的JNDI上下文。该类签名如下:
public class NamingResources implements Serializable
域:
1:
/**
* The property change support for this component.
*/
protected PropertyChangeSupport support = new PropertyChangeSupport(this);
2:
/**
* The transaction for this webapp.
*/
private ContextTransaction transaction = null;
..........
该类主要提供了Tomcat相关资源的添加(add)、查找(fide)、删除(remove)等方法。