⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lifecyclelistener in tomcat--rosonsandy.htm

📁 这是最详细的对Tomcat4以上版本的解析。
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0055)http://rosonsandy.blogdriver.com/rosonsandy/879907.html -->
<HTML><HEAD><TITLE>LifecycleListener in Tomcat--rosonsandy</TITLE>
<META http-equiv=Content-Type content="text/html; charset=GBK">
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0>
<META 
content="org.apache.catalina.startup.ContextRuleSetLifecycleListener in TomcatBooks  博客 博客动力 blog blogdriver blogger 中国" 
name=description>
<META 
content="rosonsandy org.apache.catalina.startup.ContextRuleSetLifecycleListener in TomcatBooks 博客 博客动力 blog blogdriver blogger 中国" 
name=keywords><LINK 
href="LifecycleListener in Tomcat--rosonsandy.files/diary.css" type=text/css 
rel=stylesheet>
<SCRIPT language=JavaScript 
src="LifecycleListener in Tomcat--rosonsandy.files/UBB.js"></SCRIPT>

<SCRIPT src="LifecycleListener in Tomcat--rosonsandy.files/blog.js" 
type=text/javascript></SCRIPT>

<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV id=container>
<DIV id=header>
<H1 class=title><A 
href="http://rosonsandy.blogdriver.com/rosonsandy/index.html">rosonsandy</A></H1></DIV>
<DIV id=category><A title=上一篇 
href="http://rosonsandy.blogdriver.com/rosonsandy/879859.html">org.apache.catalina.startup.ContextRuleSet</A>- 
-| <A href="http://rosonsandy.blogdriver.com/rosonsandy/index.html">回首页</A> | <A 
href="http://rosonsandy.blogdriver.com/rosonsandy/catalog_2005.html">2005年索引</A> 
| - -<A title=下一篇 
href="http://rosonsandy.blogdriver.com/rosonsandy/880460.html">Books</A></DIV>
<DIV class=entity>
<H2 class=diaryTitle>LifecycleListener in Tomcat- -</H2>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

<P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN 
style="COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: " times="" 
roman?;="" mso-hansi-font-family:="" ?times="" new="" 
roman??="">在tomcat中主要有以下几个:</SPAN></FONT></P>
<P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B 
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">org.apache.catalina.mbeans.</SPAN></B><B 
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: " 
courier="" new?;="" mso-font-kerning:="" 0pt;="" mso-highlight:="" 
white?="">ServerLifecycleListener</SPAN></B><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; FONT-FAMILY: " 
courier="" new?;="" mso-font-kerning:="" 0pt;="" mso-highlight:="" 
white?="">:</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>Implementation of LifecycleListener that instantiates the set of MBeans 
associated with the components of a running instance of Catalina.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""></SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">为</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">Catalina</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">中的各个组件</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">(server,service…)</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">创建</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">Mbean</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">,便于动态管理这些组件。其功能上主要和</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">catalina_home/server/webapps/admin</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">中的</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">web application</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">中结合。涉及到</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">JMX</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">的知识。</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""></SPAN> </P>
<P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B 
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">org.apache.catalina.core.</SPAN></B><B 
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: " 
courier="" new?;="" mso-font-kerning:="" 0pt;="" mso-highlight:="" 
white?="">NamingContextListener</SPAN></B><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">:</SPAN><SPAN lang=EN-US style="COLOR: black"><FONT 
face="Times New Roman" size=3> </FONT></SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Helper 
class used to initialize and populate the JNDI context associated with each 
context and server.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""></SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">NamingContextListener</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">只出现在</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">context</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">和</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">server</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">的</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">listeners</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">中,主要作用是为</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">NamingResource</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">和</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">DirResource</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">创建</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">jndi</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??=""></SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">jndi</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">的查询结构为</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">java:/comp/env</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""></SPAN> </P>
<P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B 
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">org.apache.catalina.mbeans</SPAN></B><B 
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">.<SPAN 
style="BACKGROUND: white; mso-highlight: white">GlobalResourcesLifecycleListener</SPAN></SPAN></B><SPAN 
lang=EN-US style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: " courier="" 
new?;="" mso-font-kerning:="" 0pt?="">:</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">Implementation of LifecycleListener that 
instantiates the set of MBeans associated with global JNDI resources that are 
subject to management.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""></SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">为全局资源创建</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">Mbean</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">,便于管理。只出现在</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">server</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">的</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?="">listerns</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt" 
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:="" 
?courier="" new??="">中。</SPAN><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: " courier="" new?;="" 
mso-font-kerning:="" 0pt?=""></SPAN> </P>
<P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B 
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -