锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品久久久久无码AV片软件,久久亚洲国产精品一区二区,亚洲欧洲精品成人久久曰http://www.tkk7.com/liuzheng/category/25539.htmlzh-cnTue, 29 Apr 2008 06:06:42 GMTTue, 29 Apr 2008 06:06:42 GMT60Spring浜嬪姟閰嶇疆絎旇(瀹炵幇涓嶅悓Service闂磋皟鐢ㄤ簨鍔? http://www.tkk7.com/liuzheng/articles/197097.html鍒橀摦 鍒橀摦 Tue, 29 Apr 2008 03:58:00 GMThttp://www.tkk7.com/liuzheng/articles/197097.htmlhttp://www.tkk7.com/liuzheng/comments/197097.htmlhttp://www.tkk7.com/liuzheng/articles/197097.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/197097.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/197097.html涓銆佸叧閿厤緗ず渚嬶細(xì)
<bean id="sessionFactory"
        class
="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
        
<property name="dataSource">
            
<ref local="dataSource" />
        
</property>
    
        
<!-- bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"/-->
    
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
        
<property name="sessionFactory">
            
<ref local="sessionFactory" />
        
</property>
    
</bean>

    
<!-- Hibernate Transaction Interceptor Definition -->
    
<bean id="hibernateTransactionInterceptor"
        class
="org.springframework.transaction.interceptor.TransactionInterceptor"
        parent
="transactionIntercetorTemplate">
        
<property name="transactionManager">
            
<bean id="hibernateTransactionManager"
                class
="org.springframework.orm.hibernate3.HibernateTransactionManager">
                
<property name="sessionFactory">
                    
<ref bean="sessionFactory" />
                
</property>
            
</bean>
        
</property>
    
</bean>

    
<!-- Transction Intercetor's Template -->
    
<bean id="transactionIntercetorTemplate" abstract="true">
        
<property name="transactionAttributes">
            
<props>
                
<prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
                
<prop key="is*">PROPAGATION_REQUIRED,readOnly</prop>
                
<prop key="check*">PROPAGATION_REQUIRED,readOnly</prop>
                
<prop key="insert*">PROPAGATION_REQUIRED</prop>
                
<prop key="update*">PROPAGATION_REQUIRED</prop>
                
<prop key="delete*">PROPAGATION_REQUIRED,-BussException</prop>
                
<prop key="*">PROPAGATION_REQUIRED</prop>
            
</props>
        
</property>
    
</bean>

    
<!-- 瀹氫箟鑷姩浠g悊鐢熸垚鍣?/span>-->
    
<bean id="autoProxyCreator"
        class
="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
        
<property name="interceptorNames">
            
<list>
                
<idref bean="hibernateTransactionInterceptor" />
                
<idref bean="jdbcTransactionInterceptor" />
            
</list>
        
</property>
        
<property name="beanNames">
            
<value>*Service</value> 
            
<!--list>
                <idref bean="bookService" />                                        
            </list
-->
            
<!--娣誨姞Service bean-->
        
</property>
    
</bean>
    
<bean id="hibernateDaoTemplate" abstract="true">
        
<property name="sessionFactory">
            
<ref bean="sessionFactory" />
        
</property>
    
</bean>
    
<!-- Dao 瀹氫箟 -->
    
<bean id="imageDao" class="com.fbyssssite.dao.ImageDao"
        parent
="hibernateDaoTemplate" />
    <bean id="imageFolderDao" class="com.fbyssssite.dao.ImageFolderDao"
        parent
="hibernateDaoTemplate" />
    
<!-- Service 瀹氫箟 -->
    
<bean id="imageService" class="com.fbyssssite.bo.ImageService" autowire="byName">
        
<property name="dao" ref="imageDao"></property>
    
</bean>    
    <bean id="imageFolderService" class="com.fbyssssite.bo.ImageFolderService" autowire="byName">
        
<property name="dao" ref="imageFolderDao"></property>
    
</bean>    

浜屻佹祴璇曚唬鐮侊細(xì)  

public void delete(Object entity,IBaseUser user) throws BussException {
   
super.delete(entity, user);
   ImageFolder folder 
= (ImageFolder)entity;
   String folderId 
= folder.getId();   
   IImageService imageService  
= ServiceFactory.getImageService();
   imageService.deleteAllInFolder(folderId,user);   
  }

  
public void deleteAllInFolder(String id,IBaseUser sysUser) throws BussException {(鏉ユ簮:www.iocblog.net)
   log.info(
"鍒犻櫎鍥劇墖澶?"+id+"'涓殑鍥劇墖...");
   
throw new BussException(1,"涓存椂嫻嬭瘯錛氭祴璇曚簨鍔℃槸鍚︾敓鏁堢殑寮傚父銆傛祴璇曞畬姣曞悗鍒犻櫎姝よ鍙ャ?/span>",log);
   
/*
   StringBuffer sql = new StringBuffer("delete ");
   sql.append("from ");
   sql.append(getEntityClassName());
   SqlBuilder sqlBuilder  = SqlBuilder.getInstance();
   sqlBuilder.appendWhereCondition(sql, "folderId='"+id+"'");
   bulkUpdate(sql.toString(), sysUser);
   
*/
   
  }


涓夈佹祴璇曟晥鏋滐細(xì)
鎶涘嚭BussException涔嬪悗錛宨mageFolder瀹炰綋騫舵病鏈夎鍒犻櫎錛岃屾槸鍥炴粴浜嗐?br /> 鍥涖佹敞鎰忎簨欏癸細(xì)
1.鍏朵腑鐨?nbsp;BussException鏄竴涓狢heckedException(緇ф壙鑷狤xception)錛岃繖閲屼笉榪囨槸涓涓緥瀛愶紝濡傛灉鍏朵粬鏂規(guī)硶闇瑕佸悓鏍風(fēng)殑鏂瑰紡澶勭悊浜嬪姟錛屼篃瑕佸姞涓?BussException錛屽惁鍒欎笉鑳藉洖婊氾紱濡傛灉鏄竴涓猆nCheckedException錛屽氨涓嶉渶瑕佸湪榪欓噷閰嶇疆錛岄粯璁ゅ氨浼?xì)鍥炴粴銆?br /> 2.濡傛灉閲囩敤MySQL錛宻how table status鍙互鏌ョ湅琛ㄧ殑ENGINE綾誨瀷錛孧yISAM鏄笉鏀寔浜嬪姟鐨勶紝濡傛灉闇瑕佷簨鍔★紝搴旇鏀規(guī)垚InnoDB:alter table [tablename] engine = InnoDB;



]]>
Spring 浜嬪姟鐨勫鐞嗭紙杞級http://www.tkk7.com/liuzheng/articles/192163.html鍒橀摦 鍒橀摦 Fri, 11 Apr 2008 05:24:00 GMThttp://www.tkk7.com/liuzheng/articles/192163.htmlhttp://www.tkk7.com/liuzheng/comments/192163.htmlhttp://www.tkk7.com/liuzheng/articles/192163.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/192163.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/192163.html闃呰鍏ㄦ枃

]]>
Spring--綆鍗曚嬌鐢╭uartz瀹炵幇瀹氭椂浣滀笟 錛堣漿錛?/title><link>http://www.tkk7.com/liuzheng/articles/179946.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Thu, 14 Feb 2008 08:11:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/179946.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/179946.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/179946.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/179946.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/179946.html</trackback:ping><description><![CDATA[ 瀹氭椂鎵瑰鐞嗕綔涓氭槸J2EE浼佷笟搴旂敤閲屽緢閲嶈鐨勪竴鐜紝鐢ㄦ潵鍦ㄦ櫄闂磋繘琛岃儲鍔℃寕璐︼紝鏁版嵁杞瓨錛屾柊闂昏仈鎾瓑絳夋搷浣溿? <p>    鑰屽湪Spring閲岋紝宸茬粡寰堝ソ鐨勯泦鎴愪簡Quartz錛岀畝鍗曞埌鍍忛厤cron涓鏍鳳紝鍦▁ml鏂囦歡閲岄潰閰嶄竴涓嬫椂闂村氨鍙互鑷姩鎵ц錛屼笉闇瑕佸啓涓琛屼唬鐮併係pring瀵筈uartz澶у垁闃旀枾鐨勭畝鍖栧牚縐拌寖渚嬶紝Quartz欏圭洰緇勪篃璁稿彲浠ュ涔?fàn)涓涓嬨?/p> <pre>    <bean id="methodInvokingJobDetail"<br />         class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"><br />         <property name="targetObject"><ref bean="financeDAO"/></property><br />         <property name="targetMethod"><value>confirmOrder</value></property><br />     </bean></pre> <pre><br />     <bean id="cronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"><br />         <property name="jobDetail"><br />             <ref bean="methodInvokingJobDetail"/><br />         </property><br />         <property name="cronExpression"><br />             <value>0 0 6,12,20 * * ?</value><br />         </property><br />     </bean></pre> <pre>    <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"><br />         <property name="triggers"><br />             <list><ref local="cronTrigger"/></list><br />         </property><br />     </bean></pre> <p>涓婇潰榪欐閰嶇疆鏂囦歡瑙勫畾浜嗗湪鏃╀笂6鐐瑰拰鏅氫笂8鐐規(guī)墽琛宖inanceDAO瀵硅薄鐨刢onfirmOrder()鏂規(guī)硶.<br /> </p> <p><br /> 闄勶細(xì)cronExpression閰嶇疆璇存槑</p> <p> <table cellspacing="8"> <tbody> <tr> <th align="left">瀛楁</th> <th align="left"> </th> <th align="left">鍏佽鍊?/th> <th align="left"> </th> <th align="left">鍏佽鐨勭壒孌婂瓧絎?/th> </tr> <tr> <td align="left"><code>縐?/code></td> <td align="left">  </td> <td align="left"><code>0-59</code></td> <td align="left">  </td> <td align="left"><code>, - * /</code></td> </tr> <tr> <td align="left"><code>鍒?/code></td> <td align="left">  </td> <td align="left"><code>0-59</code></td> <td align="left">  </td> <td align="left"><code>, - * /</code></td> </tr> <tr> <td align="left"><code>灝忔椂</code></td> <td align="left">  </td> <td align="left"><code>0-23</code></td> <td align="left">  </td> <td align="left"><code>, - * /</code></td> </tr> <tr> <td align="left"><code>鏃ユ湡</code></td> <td align="left">  </td> <td align="left"><code>1-31</code></td> <td align="left">  </td> <td align="left"><code>, - * ? / L W C</code></td> </tr> <tr> <td align="left"><code>鏈堜喚</code></td> <td align="left">  </td> <td align="left"><code>1-12 鎴栬?JAN-DEC</code></td> <td align="left">  </td> <td align="left"><code>, - * /</code></td> </tr> <tr> <td align="left"><code>鏄熸湡</code></td> <td align="left">  </td> <td align="left"><code>1-7 鎴栬?SUN-SAT</code></td> <td align="left">  </td> <td align="left"><code>, - * ? / L C #</code></td> </tr> <tr> <td align="left"><code>騫達(dá)紙鍙夛級</code></td> <td align="left">  </td> <td align="left"><code>鐣欑┖, 1970-2099</code></td> <td align="left">  </td> <td align="left"><code>, - * /</code></td> </tr> </tbody> </table> </p> <img src ="http://www.tkk7.com/liuzheng/aggbug/179946.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2008-02-14 16:11 <a href="http://www.tkk7.com/liuzheng/articles/179946.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>spring2.0涓柊鏍囩鐨勪嬌鐢紙杞級http://www.tkk7.com/liuzheng/articles/179945.html鍒橀摦 鍒橀摦 Thu, 14 Feb 2008 08:09:00 GMThttp://www.tkk7.com/liuzheng/articles/179945.htmlhttp://www.tkk7.com/liuzheng/comments/179945.htmlhttp://www.tkk7.com/liuzheng/articles/179945.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/179945.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/179945.html 鍙栦唬浜嗕箣鍓嶉氳繃FieldRetrevingFactoryBean鑾峰彇bean闈欐佸父閲忕殑FactoryBean錛?br />

鑰佺殑鐢ㄦ硶
[code]<bean id="..." class="...">
  <property name="isolation">
    <bean id="java.sql.Connection.TRANSACTION_SERIALIZABLE"
    class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean" />
  </property>
</bean>[/code]

鏂扮敤娉?br /> [code]<bean id="..." class="...">
    <property name="isolation">
        <util:constant static-field="java.sql.Connection.TRANSACTION_SERIALIZABLE"/>
    </property>
</bean>[/code]

2,<util:property-path/>
鍙栦唬浜嗕箣鍓嶉氳繃PropertyPathFactoryBean鏉ユ寚瀹氬睘鎬ц礬寰勮幏鍙栧睘鎬у肩殑FactoryBean錛?br />
鑰佺殑鐢ㄦ硶
[code]
<bean id="testBean" class="org.springframework.beans.TestBean" singleton="false">
  <property name="age" value="10"/>
  <property name="spouse">
    <bean class="org.springframework.beans.TestBean">
      <property name="age" value="11"/>
    </bean>
  </property>
</bean>

<bean id="testBean.age" class="org.springframework.beans.factory.config.PropertyPathFactoryBean"/>[/code]


鏂扮殑鐢ㄦ硶
[code]
<bean id="testBean" class="org.springframework.beans.TestBean" singleton="false">
  <property name="age" value="10"/>
  <property name="spouse">
    <bean class="org.springframework.beans.TestBean">
      <property name="age" value="11"/>
    </bean>
  </property>
</bean>

<util:property-path id="name" path="testBean.age"/>
[/code]


3,<util:properties/>
鏇夸唬浜嗕箣鍓嶉氳繃PropertiesFactoryBean鏉ヨ幏鍙杙roperties閰嶅埗鏂囦歡鏁版嵁鐨凢actoryBean!


鑰佺敤娉?br /> [code]<bean id="jdbcConfiguration" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
  <property name="location" value="classpath:com/foo/jdbc-production.properties"/>
</bean>[/code]


鏂扮敤娉?br /> [code]<util:properties id="jdbcConfiguration" location="classpath:com/foo/jdbc-production.properties"/>[/code]

4,<util:list/>
鏇夸唬浜嗕箣鍓嶉氳繃<list><value></value></list>鐨勫唴緗厤鍒舵柟寮忥紝璁╁涓猙ean璋冪敤鍚屼竴list鎴愪負(fù)鍙兘錛?br />
鑰佺殑鐢ㄦ硶
[code]<bean id="emails" class="org.springframework.beans.factory.config.ListFactoryBean">
  <property name="sourceList">
      <list>
        <value>pechorin@hero.org</value>
        <value>raskolnikov@slums.org</value>
        <value>stavrogin@gov.org</value>
        <value>porfiry@gov.org</value>
      </list>
  </property>
</bean>[/code]

鏂扮殑鐢ㄦ硶
[code]<util:list id="emails" list-class="java.util.LinkedList">
    <value>pechorin@hero.org</value>
    <value>raskolnikov@slums.org</value>
    <value>stavrogin@gov.org</value>
    <value>porfiry@gov.org</value>
</util:list>[/code]

5,<util:map/>
鏇夸唬浜嗕箣鍓嶉傜敤<map><entry key=""><value></value></entry></map>鐨勯厤緗柟寮忥紝璁╁涓猙ean璋冪敤鍚屼竴map鎴愪負(fù)鍙兘錛?br />
鑰佺殑鐢ㄦ硶
[code]<bean id="emails" class="org.springframework.beans.factory.config.MapFactoryBean">
  <property name="sourceMap">
      <map>
        <entry key="pechorin" value="pechorin@hero.org"/>
        <entry key="raskolnikov" value="raskolnikov@slums.org"/>
        <entry key="stavrogin" value="stavrogin@gov.org"/>
        <entry key="porfiry" value="porfiry@gov.org"/>
      </list>
  </property>
</bean>[/code]

鏂扮殑鐢ㄦ硶
[code]<util:map id="emails" map-class="java.util.TreeMap">
    <entry key="pechorin" value="pechorin@hero.org"/>
    <entry key="raskolnikov" value="raskolnikov@slums.org"/>
    <entry key="stavrogin" value="stavrogin@gov.org"/>
    <entry key="porfiry" value="porfiry@gov.org"/>
</util:map>[/code]


6,<util:set/>
鏇夸唬浜嗕箣鍓嶉傜敤<set><value></value></set>鐨勯厤緗柟寮忥紝
璁╁涓猙ean璋冪敤鍚屼竴set鎴愪負(fù)鍙兘錛?br />
鑰佺殑鐢ㄦ硶
[code]<bean id="emails" class="org.springframework.beans.factory.config.SetFactoryBean">
  <property name="sourceSet">
      <set>
        <value>pechorin@hero.org</value>
        <value>raskolnikov@slums.org</value>
        <value>stavrogin@gov.org</value>
        <value>porfiry@gov.org</value>
      </set>
  </property>
</bean>[/code]


鏂扮殑鐢ㄦ硶
[code]<util:set id="emails" set-class="java.util.TreeSet">
    <value>pechorin@hero.org</value>
    <value>raskolnikov@slums.org</value>
    <value>stavrogin@gov.org</value>
    <value>porfiry@gov.org</value>
</util:set>[/code]

7,<jee:jndi-lookup/>
鏇夸唬浜嗕箣鍓嶄嬌鐢↗ndiObjectFactoryBean鎸囧畾閰嶅埗鑾峰彇瀹瑰櫒JNDI璧勬簮鐨凢actoryBean!

鑰佺殑鐢ㄦ硶
[code]<bean id="simple" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="jdbc/MyDataSource"/>
    <property name="cache" value="true"/>
    <property name="resourceRef" value="true"/>
    <property name="lookupOnStartup" value="false"/>
    <property name="expectedType" value="com.myapp.DefaultFoo"/>
    <property name="proxyInterface" value="com.myapp.Foo"/>
</bean>
[/code]

鏂扮敤娉?br /> [code]<jee:jndi-lookup id="simple"
             jndi-name="jdbc/MyDataSource"
             cache="true"
             resource-ref="true"
             lookup-on-startup="false"
             expected-type="com.myapp.DefaultFoo"
             proxy-interface="com.myapp.Foo"/>[/code]

8,<jee:local-slsb/>
鏇夸唬浜嗕箣鍓嶄嬌鐢↙ocalStatelessSessionProxyFactoryBean鏉ヨ幏鍙栨棤鐘舵佷細(xì)璇滲EAN鐨凢actoryBean!

鑰佺殑鐢ㄦ硶
[code]<bean id="complexRemoteEjb"
      class="org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean">
  <property name="jndiName" value="ejb/MyRemoteBean"/>
  <property name="businessInterface" value="com.foo.service.RentalService"/>
  <property name="cacheHome" value="true"/>
  <property name="lookupHomeOnStartup" value="true"/>
  <property name="resourceRef" value="true"/>
  <property name="homeInterface" value="com.foo.service.RentalService"/>
  <property name="refreshHomeOnConnectFailure" value="true"/>
</bean>[/code]

鏂扮殑鐢ㄦ硶
[code]<jee:remote-slsb id="complexRemoteEjb"
    jndi-name="ejb/MyRemoteBean"
    business-interface="com.foo.service.RentalService"
    cache-home="true"
    lookup-home-on-startup="true"
    resource-ref="true"
    home-interface="com.foo.service.RentalService"
    refresh-home-on-connect-failure="true">[/code]

 

]]>
spring webservice 瀵歸儴緗瞱ebservice鐨刉SDL 鐨勮瑙?/title><link>http://www.tkk7.com/liuzheng/articles/172536.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Thu, 03 Jan 2008 09:55:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/172536.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/172536.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/172536.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/172536.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/172536.html</trackback:ping><description><![CDATA[spring webservice 鍙互鑷姩鐢熸垚WSDL鏂囦歡, <br /> <bean id="<span style="color: red">Hr</span>"<br />   class="org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition"><br />   <description><br />    This bean definition represents a WSDL definition that is<br />    generated at runtime, based on the builder defined below. It<br />    can be retrieved by going to /<span style="color: #00ccff">Hr</span>/<span style="color: red">Hr</span>.wsdl (i.e. the bean<br />    name corresponds to the filename).<br />   </description><br />   <property name="builder"><br />    <description><br />     The builder creates a WSDL from the 'echo.xsd' schema.<br />     It detects all elements that ends with 'Request', finds<br />     corresponding 'Response' messages, and creates an<br />     operation based on that. All operations are put in a<br />     portType with name 'Echo', and binding and service are<br />     created.<br />    </description><br />    <bean<br />     class="org.springframework.ws.wsdl.wsdl11.builder.XsdBasedSoap11Wsdl4jDefinitionBuilder"><br />     <property name="schema" value="/WEB-INF/person.xsd" /><br />     <property name="portTypeName" value="<span style="color: #339966">Info</span>" /><br />     <property name="locationUri"<br />      value="http://localhost:8080/<span style="color: #00ccff">Hr</span>/webservices" /><br />    </bean><br />   </property><br />  </bean><br /> <br /> <br /> 钃濊壊琛ㄧずeclipse涓垱寤虹殑鏍圭洰褰曚篃灝辨槸web鐨勬牴鐩綍錛屽彧鑳戒負(fù)web鐨勬牴鐩綍<br /> 綰㈣壊琛ㄧず鍦ㄦ牴鐩綍涓嬬殑瀛愮洰褰曚腑鍙互璁塊棶鍒扮敓鎴愮殑WSDL鏂囦歡鐨勮礬寰勶紝鍙互闅忎究鍙?br /> 緇胯壊琛ㄧずportType鍚嶅瓧錛屽彲浠ラ殢渚垮彇 <img src ="http://www.tkk7.com/liuzheng/aggbug/172536.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2008-01-03 17:55 <a href="http://www.tkk7.com/liuzheng/articles/172536.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>spring鐨勫弬鏁扮殑娉ㄥ叆http://www.tkk7.com/liuzheng/articles/170325.html鍒橀摦 鍒橀摦 Tue, 25 Dec 2007 07:19:00 GMThttp://www.tkk7.com/liuzheng/articles/170325.htmlhttp://www.tkk7.com/liuzheng/comments/170325.htmlhttp://www.tkk7.com/liuzheng/articles/170325.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/170325.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/170325.html<value/>鍏冪礌閫氳繃瀛楃涓叉潵鎸囧畾灞炴ф垨鏋勯犲櫒鍙傛暟鐨勫箋侸avaBean PropertyEditor灝嗙敤浜庢妸瀛楃涓蹭粠java.lang.String綾誨瀷杞寲涓哄疄闄呯殑灞炴ф垨鍙傛暟綾誨瀷銆?br /> 鎵浠ュ彲浠ユ斁蹇冪殑浣跨敤<value/>娉ㄥ叆int絳夐潪String綾誨瀷

]]>
鏈夊叧spring涓殑factorybean鐨勬繁鍒葷悊瑙?/title><link>http://www.tkk7.com/liuzheng/articles/170318.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Tue, 25 Dec 2007 07:01:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/170318.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/170318.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/170318.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/170318.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/170318.html</trackback:ping><description><![CDATA[<p>Interface to be implemented by objects used within a BeanFactory that are themselves factories. If a bean implements this interface, it is used as a factory, not directly as a bean. <p><strong>NB: A bean that implements this interface cannot be used as a normal bean.</strong> A FactoryBean is defined in a bean style, but the object exposed for bean references is always the object that it creates. <p>FactoryBeans can support singletons and prototypes, and can either create objects lazily on demand or eagerly on startup. <p>This interface is heavily used within the framework, for example for the AOP ProxyFactoryBean or JndiObjectFactoryBean. It can be used for application components, but this is not common outside of infrastructure code.</p> <br /> 鍙互鑷繁鍒涘緩FactoryBean錛岃繖涓椂鍊欑殑綾誨氨瑕佸綋鍋氬伐鍘傜被鏉ヤ嬌鐢ㄣ傚湪spring鐨勯厤緗枃浠朵腑<ref local="factoryBean"/>璋冪敤鐨勬槸getObject()鏂規(guī)硶錛岃繑鍥炴槸object瀵硅薄銆?br /> <br /> <br /> <img src ="http://www.tkk7.com/liuzheng/aggbug/170318.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-12-25 15:01 <a href="http://www.tkk7.com/liuzheng/articles/170318.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Spring涓殑閲嶈鏂規(guī)硶錛欱eanPostProcessorhttp://www.tkk7.com/liuzheng/articles/144251.html鍒橀摦 鍒橀摦 Tue, 11 Sep 2007 06:05:00 GMThttp://www.tkk7.com/liuzheng/articles/144251.htmlhttp://www.tkk7.com/liuzheng/comments/144251.htmlhttp://www.tkk7.com/liuzheng/articles/144251.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/144251.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/144251.html
瀹炵幇BeanPostProcessor鎺ュ彛灝卞彲浠ュ湪bean琚垱閫犲拰琚粐鍏ョ殑鏃跺欐敼鍙樺畠鐨勫睘鎬?br />

DefaultAdvisorAutoProxyCreator鑷姩浠g悊姝f槸鍒╃敤姝ゆ帴鍙e畬鎴愯嚜鍔ㄤ唬鐞嗙殑錛屽綋鎵鏈夌殑bean瀹氫箟濂戒簡鍚庯紝鎵鏈夌殑advisor渚夸細(xì)鍒╃敤BeanPostProcessor鍔犺澆鍒板搴旂殑鍒囧叆鐐圭殑綾諱腑

]]>
Spring 涓殑浜嬪姟綆$悊瀛︿範(fàn)蹇冨緱http://www.tkk7.com/liuzheng/articles/144052.html鍒橀摦 鍒橀摦 Mon, 10 Sep 2007 09:18:00 GMThttp://www.tkk7.com/liuzheng/articles/144052.htmlhttp://www.tkk7.com/liuzheng/comments/144052.htmlhttp://www.tkk7.com/liuzheng/articles/144052.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/144052.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/144052.htmlSpring 涓殑浜嬪姟綆$悊瀛︿範(fàn)蹇冨緱


鍙互浣跨敤<bean id="autoproxy"class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator">
   …
</bean>

榪涜鑷姩浠g悊錛屼絾鏄繖閲岃娉ㄦ剰鐨勬槸鑷姩浠g悊閽堝鐨勬槸advisor錛宎dvisor鏄敱advice鍜宲ointcut錛坕nterceptor涔熸槸advice鐨勪竴縐嶏級鎵緇勬垚鐨勶紝鎵浠ュ崟鐙殑interceptor涓嶈兘浣跨敤錛屼篃灝辨槸璇碩ransactionInterceptor涓嶈兘浣跨敤銆?br /> 鎵浠ュ簲璇ュ緩绔媋dvisor錛屽湪浜嬪姟綆$悊涓篃灝辨槸TransactionAttributeSourceAdvisor銆?br />
TransactionAttributeSourceAdvisor涓渶瑕侀厤緗甌ransactionInterceptor銆?br /> 閰嶇疆紺轟緥濡備笅錛?br /> <bean id="transactionAdvisor"
class="org.springframework.transaction.interceptor.
TransactionAttributeSourceAdvisor">
<property name="transactionInterceptor">
<ref bean="transactionInterceptor"/>
</property>
</bean>

TransactionInterceptor鐨勯厤緗涓嬶細(xì)
<bean id="transactionInterceptor"
class="org.springframework.transaction.interceptor.
TransactionInterceptor">
<property name="transactionManager">
<ref bean="transactionManager"/>
</property>
<property name="transactionAttributeSource">
<ref bean="transactionAttributeSource"/>
</property>
</bean>

鍏朵腑transactionManager鐨勯厤緗牴鎹墍浣跨敤鐨勫瓨鍌ㄦ柟娉曚笉鍚岃屼笉鍚岋細(xì)

浣跨敤jdbc鐨勯厤緗涓嬶細(xì)
<bean id="transactionManager" class="org.springframework.jdbc.
datasource.DataSourceTransactionManager">
<property name="dataSource">
<ref bean="dataSource"/>
</property>
</bean>

 浣跨敤hibernate鐨勯厤緗涓嬶細(xì)
<bean id="transactionManager" class="org.springframework.
orm.hibernate.HibernateTransactionManager">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
</bean>

鑰宼ransactionAttributeSource鏄竴涓帴鍙o紝涓鑸嬌鐢∟ameMatchTransactionAttributeSource瀹炵幇姝ゆ帴鍙?br /> <bean id="transactionAttributeSource"
class="org.springframework.transaction.interceptor.
NameMatchTransactionAttributeSource">
<property name="properties">
<props>
<prop key="get*">PROPAGATION_SUPPORTS</prop>
</props>
</property>
</bean>
娉ㄦ剰鍏朵腑鐨刾roperties灞炴ф槸涓涓猲ame/attribute 鐨刴ap鍏朵腑name鏄拡瀵歸渶瑕佽繘琛岀殑浜嬪姟綆$悊鐨勬柟娉昦ttribute鏄簨鍔$鐞嗙殑灞炴х敱TransactionAttribute鍐沖畾
鑰孴ransactionAttribute鎵╁睍鐨勪簨鍔″畾涔夊熀鏈被TransactionDefinition錛屽湪榪欎釜鍩烘湰綾諱笂闈㈠姞涓婁簡boolean rollbackOn(Throwable ex)鏂規(guī)硶
鎵浠?lt;prop key="get*">PROPAGATION_SUPPORTS</prop>鐨刟ttribute榪樺彲浠ユ坊鍔狅細(xì)
濡?lt;prop key="get*">PROPAGATION_SUPPORTS錛?code>ISOLATION_SERIALIZABLE 錛宺eadonly</prop>



浠ヤ笂鏄粠瀹忚鍒板井瑙傜殑鍒嗘瀽錛?br /> 浠ヤ笅鏄粠寰鍒板畯瑙傜殑鍒嗘瀽錛?br />
1銆傝緗簨鍔$鐞嗗睘鎬?br /> <bean id="transactionAttributeSource"
class="org.springframework.transaction.interceptor.
NameMatchTransactionAttributeSource">
<property name="properties">
<props>
<prop key="get*v>PROPAGATION_SUPPORTS</prop>
</props>
</property>
</bean>  
2銆傝緗簨鍔$鐞嗗櫒錛屾牴鎹墍浣跨敤鐨勫瓨鍌ㄦ柟娉曚笉鍚岃屼笉鍚岋細(xì)浠ibernate涓轟緥

<bean id="transactionManager" class="org.springframework.
orm.hibernate.HibernateTransactionManager">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
</bean>

3銆傝緗甶nterceptor
<bean id="transactionInterceptor"
class="org.springframework.transaction.interceptor.
TransactionInterceptor">
<property name="transactionManager">
<ref bean="transactionManager"/>
</property>
<property name="transactionAttributeSource">
<ref bean="transactionAttributeSource"/>
</property>
</bean>

4銆傛渶鍚庤緗產(chǎn)dvisor錛?br /> <bean id="transactionAdvisor"
class="org.springframework.transaction.interceptor.
TransactionAttributeSourceAdvisor">
<property name="transactionInterceptor">
<ref bean="transactionInterceptor"/>
</property>
</bean>
鎵浠ュ氨鍙互閫氳繃鑷姩浠g悊榪涜浠g悊浜嗭紝
娉ㄦ剰榪欓噷鐨刟dvisor榪樻槸鏈塸ointcut鐨勶紝pointcut鍦ㄤ簨鍔$鐞嗕腑璁劇疆浜嗭紝渚嬪錛?br /> <props>
<prop key="get*">PROPAGATION_SUPPORTS</prop>
</props>
榪樻湁鐢變簬Spring鏈韓鐨勬鏋剁殑鍘熷洜錛屽鏋滃湪Log4j涓殑璋冭瘯綰у埆涓篸ebug鐨勮瘽錛岄偅涔堣緗產(chǎn)dvisor鏃跺氨涓嶈兘浣跨敤property鏂規(guī)硶錛岃岃浣跨敤constructor-arg鏂規(guī)硶





浣跨敤MethodMapTransactionAttributeSource鍙互瀵圭壒瀹氱殑綾葷殑鏂規(guī)硶榪涜浜嬪姟綆$悊
璁劇疆property------setMethodMap
Set a name/attribute map, consisting of "FQCN.method" method names (e.g. "com.mycompany.mycode.MyClass.myMethod") and TransactionAttribute instances (or Strings to be converted to TransactionAttribute instances).

]]>
Spring 涓厤緗暟鎹簮http://www.tkk7.com/liuzheng/articles/143746.html鍒橀摦 鍒橀摦 Sun, 09 Sep 2007 03:54:00 GMThttp://www.tkk7.com/liuzheng/articles/143746.htmlhttp://www.tkk7.com/liuzheng/comments/143746.htmlhttp://www.tkk7.com/liuzheng/articles/143746.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/143746.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/143746.html   class="org.springframework.jndi.JndiObjectFactoryBean"
  abstract="false" singleton="true" lazy-init="default"
  autowire="default" dependency-check="default">
  <property name="jndiName">
   <value>java:comp/env/XXXX</value>
  </property>
 </bean>

]]>
Spring 涓殑鐗規(guī)畩advice-intruduction advicehttp://www.tkk7.com/liuzheng/articles/143317.html鍒橀摦 鍒橀摦 Fri, 07 Sep 2007 01:46:00 GMThttp://www.tkk7.com/liuzheng/articles/143317.htmlhttp://www.tkk7.com/liuzheng/comments/143317.htmlhttp://www.tkk7.com/liuzheng/articles/143317.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/143317.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/143317.html
  • intruduction advice榪欓噷娌℃湁MethodMatcher鎺ュ彛,鍥犳涔熷氨娌℃湁 Pointcut鎺ュ彛涓庡紩鍏ラ氱煡鐩稿叧鑱斻傝繖閲屽彧榪涜綾昏繃婊ゃ?
  • 涓嶥efaultPointcutAdvisor涓嶅悓錛岀敱浜嶥efaultPointcutAdvisor鏈塒ointcut錛屽彲浠ュ湪class涓綰у拰method涓綰т笂榪涜鎺у埗銆?
  • 涓鑸嬌鐢―elegatingIntroductionInterceptor 浣滀負(fù)鎷︽埅鍣紝闇瑕佺紪鍐欐嫤鎴殑綾誨繀欏葷戶鎵緿elegatingIntroductionInterceptor  ,鍦ㄨ繖涓戶鎵夸簡DelegatingIntroductionInterceptor 鐨勭被涓笉鍐嶄嬌鐢∕ethodInvocation鐨刾rocess()鏂規(guī)硶錛屼嬌鐢╯uper.invoke(methodinvocation),榪欐牱鍋氱殑鍘熷洜鏄埗綾籇elegatingIntroductionInterceptor 鑳藉鍐沖畾浠涔坈lass璐熻矗澶勭悊鏂規(guī)硶鐨勮皟鐢?
  • advisor涓鑸嬌鐢ㄧ戶鎵夸簡DefaultIntroductionAdvisor 鐨勭被錛屽垱寤虹殑綆鍗曟柟娉曞氨鏄埄鐢?code>DefaultIntroductionAdvisor(DynamicIntroductionAdvice advice, Class clazz)榪欎釜鏋勯犲嚱鏁般?/code>
  • 鍦╝ppplicationcontext-config.xml涓氨鍙渶瑕佸姞鍏?lt;bean id="" class=""></bean>灝卞彲浠ヤ簡錛屼笉闇瑕佽繘琛屽叾瀹冮厤緗?
  •  



    ]]>
    Spring api鍙傝?/title><link>http://www.tkk7.com/liuzheng/articles/143312.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Fri, 07 Sep 2007 01:22:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/143312.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/143312.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/143312.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/143312.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/143312.html</trackback:ping><description><![CDATA[<a >http://www.redsaga.com/spring_ref/2.0/html/</a> <img src ="http://www.tkk7.com/liuzheng/aggbug/143312.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-09-07 09:22 <a href="http://www.tkk7.com/liuzheng/articles/143312.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Spring AOP APIshttp://www.tkk7.com/liuzheng/articles/143311.html鍒橀摦 鍒橀摦 Fri, 07 Sep 2007 01:19:00 GMThttp://www.tkk7.com/liuzheng/articles/143311.htmlhttp://www.tkk7.com/liuzheng/comments/143311.htmlhttp://www.tkk7.com/liuzheng/articles/143311.html#Feedback0http://www.tkk7.com/liuzheng/comments/commentRss/143311.htmlhttp://www.tkk7.com/liuzheng/services/trackbacks/143311.html闃呰鍏ㄦ枃

    ]]>
    Spring瀛︿範(fàn)蹇冨緱錛堜簲錛?/title><link>http://www.tkk7.com/liuzheng/articles/142935.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Wed, 05 Sep 2007 08:50:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/142935.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/142935.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/142935.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/142935.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/142935.html</trackback:ping><description><![CDATA[  <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt">Spring</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀛︿範(fàn)蹇冨緱錛堜簲錛?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1.<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀵?/span><span lang="EN-US" style="font-size: 14pt">advice</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">緇嗙矑搴︾殑鎺у埗錛屽彲浠ラ氳繃</span><span lang="EN-US" style="font-size: 14pt">pointcut</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">綾繪潵鎺у埗銆?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2.<span style="font: 7pt 'Times New Roman'">       </span></span></span><span lang="EN-US" style="font-size: 14pt">advisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏄?/span><span lang="EN-US" style="font-size: 14pt">advice</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍜?/span><span lang="EN-US" style="font-size: 14pt">pointcut</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勯泦鍚堜綋銆?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">3.<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎺у埗鏂規(guī)硶濡備笅錛?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 42pt; text-indent: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">a)<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹氫箟</span><span lang="EN-US" style="font-size: 14pt">Pointcut</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓殑</span><span lang="EN-US" style="font-size: 14pt">ClassFilter</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹炵幇綾誨拰</span><span lang="EN-US" style="font-size: 14pt">MethodMatcher</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹炵幇綾伙紝瀹屾垚瀵?/span><span lang="EN-US" style="font-size: 14pt">class</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍜?/span><span lang="EN-US" style="font-size: 14pt">method</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏂規(guī)硶鐨?/span><span lang="EN-US" style="font-size: 14pt">advice</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勬帶鍒訛紝鍏朵腑</span><span lang="EN-US" style="font-size: 14pt">MethodMatcher</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓殑</span><span lang="EN-US" style="font-size: 14pt; mso-bidi-font-weight: bold">matches</span><span lang="EN-US" style="font-size: 14pt">(Method method, Class targetClass)</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏂規(guī)硶鏄</span><span lang="EN-US" style="font-size: 14pt">class</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍜?/span><span lang="EN-US" style="font-size: 14pt">method</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勫弻閲嶅茍闆嗘帶鍒?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 42pt; text-indent: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">b)<span style="font: 7pt 'Times New Roman'">      </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹氫箟鏂扮殑</span><span lang="EN-US" style="font-size: 14pt">Pointcut</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹炵幇綾伙紝騫跺皢</span><span lang="EN-US" style="font-size: 14pt">ClassFilter</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹炵幇綾誨拰</span><span lang="EN-US" style="font-size: 14pt">MethodMatcher</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹炵幇綾昏祴鍊?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 42pt; text-indent: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">c)<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹氫箟鏂扮殑</span><span lang="EN-US" style="font-size: 14pt">advisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">騫朵笖瀹炵幇</span><span lang="EN-US" style="font-size: 14pt">PointcutAdvisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎺ュ彛</span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 42pt; text-indent: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">d)<span style="font: 7pt 'Times New Roman'">      </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍦ㄥ畾涔夌殑</span><span lang="EN-US" style="font-size: 14pt">advisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓嬌鐢?/span><span lang="EN-US" style="font-size: 14pt">PointcutAdvisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鎺ュ彛涓殑</span><span lang="EN-US" style="font-size: 14pt">getPointcut()</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍜?/span><span lang="EN-US" style="font-size: 14pt">getAdvice()</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">灝?/span><span lang="EN-US" style="font-size: 14pt">Pointcut</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勫疄鐜扮被鍜岄渶瑕佺殑</span><span lang="EN-US" style="font-size: 14pt">advice</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪涜浼犻?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 42pt; text-indent: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">e)<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏈鍚庡湪</span><span lang="EN-US" style="font-size: 14pt">application-context.xml</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓皢</span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"><bean id="XXXX"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt">class="org.springframework.aop.framework.ProxyFactoryBean"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"><span style="mso-tab-count: 1">      </span><property name="InterceptorNames"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"><span style="mso-tab-count: 2">           </span><list><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"><span style="mso-tab-count: 3">                 </span><idref local="</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹氫箟鏂扮殑</span><span lang="EN-US" style="font-size: 14pt">advisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨?/span><span lang="EN-US" style="font-size: 14pt">id"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"><span style="mso-tab-count: 2">           </span></list><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"><span style="mso-tab-count: 1">      </span><property><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"></bean><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"><bean id="</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹氫箟鏂扮殑</span><span lang="EN-US" style="font-size: 14pt">advisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨?/span><span lang="EN-US" style="font-size: 14pt">id" class="</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀹氫箟鏂扮殑</span><span lang="EN-US" style="font-size: 14pt">advisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勭被</span><span lang="EN-US" style="font-size: 14pt"><span style="mso-tab-count: 1">     </span>" ><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: 21pt"><span lang="EN-US" style="font-size: 14pt"></bean><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">4.<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓轟簡浣跨敤闈欐佺殑</span><span lang="EN-US" style="font-size: 14pt">Pointcut</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛屽彲浠ヤ嬌鐢?/span><span lang="EN-US" style="font-size: 14pt">StaticMethodMatcherPointcut</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛岃繖鏃跺?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt; mso-bidi-font-weight: bold">public</span><span lang="EN-US" style="font-size: 14pt"> <span style="mso-bidi-font-weight: bold">final</span> <span style="mso-bidi-font-weight: bold">boolean</span> isRuntime()<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><span style="mso-spacerun: yes">    </span>{<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><span style="mso-spacerun: yes">        </span><span style="mso-bidi-font-weight: bold">return</span> <span style="mso-bidi-font-weight: bold">false</span>;<o:p></o:p></span></p> <p class="MsoNormal" style="text-indent: 28.5pt"><span lang="EN-US" style="font-size: 14pt">}<o:p></o:p></span></p> <p class="MsoNormal" style="text-indent: 28.5pt"><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">渚夸笉鑳戒慨鏀逛簡銆備篃灝辨槸闈欐佺殑</span><span lang="EN-US" style="font-size: 14pt">Pointcut<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">5.<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏇寸畝鍗曠殑鏄嬌鐢?/span><span lang="EN-US" style="font-size: 14pt">NameMatchMethodPointcutAdvisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛岃繖閲屼竴涓?/span><span lang="EN-US" style="font-size: 14pt">advisor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍙湁涓涓?/span><span lang="EN-US" style="font-size: 14pt">advice<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><o:p> </o:p></span></p> v <img src ="http://www.tkk7.com/liuzheng/aggbug/142935.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-09-05 16:50 <a href="http://www.tkk7.com/liuzheng/articles/142935.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Spring瀛︿範(fàn)蹇冨緱錛堝洓錛?/title><link>http://www.tkk7.com/liuzheng/articles/142823.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Wed, 05 Sep 2007 02:21:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/142823.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/142823.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/142823.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/142823.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/142823.html</trackback:ping><description><![CDATA[<p> </p>   <p> </p>   <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt">Spring</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀛︿範(fàn)蹇冨緱錛堝洓錛?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1.<span style="font: 7pt 'Times New Roman'">       </span></span></span><span lang="EN-US" style="font-size: 14pt">Spring</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀵?/span><span lang="EN-US" style="font-size: 14pt">Struts</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪炴帴錛氫負(fù)浜嗗湪</span><span lang="EN-US" style="font-size: 14pt">Struts</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓嬌鐢?/span><span lang="EN-US" style="font-size: 14pt">Spring ,</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">闇瑕佸湪</span><span lang="EN-US" style="font-size: 14pt">Struts</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨?/span><span lang="EN-US" style="font-size: 14pt">congfig</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓姞鍏?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><plug-in className="org.springframework.web.struts.ContextLoaderPlugIn"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><span style="mso-spacerun: yes">        </span><set-property property="contextConfigLocation" <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><span style="mso-spacerun: yes">            </span>value="/WEB-INF/applicationContext.xml"/><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><span style="mso-spacerun: yes">    </span></plug-in><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2.<span style="font: 7pt 'Times New Roman'">       </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀵逛簬</span><span lang="EN-US" style="font-size: 14pt">action</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨?/span><span lang="EN-US" style="font-size: 14pt">Spring</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勫簲鐢ㄦ湁涓ょ鏂規(guī)硶錛?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 42pt; text-indent: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">a)<span style="font: 7pt 'Times New Roman'">       </span></span></span><span lang="EN-US" style="font-size: 14pt">Extends ActionSupport</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛屼嬌鐢ㄥ叾涓殑</span><span lang="EN-US" style="font-size: 14pt">getWebApplicationContext()</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">寰楀埌</span><span lang="EN-US" style="font-size: 14pt">ApplicationContext</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛屽湪閫氳繃</span><span lang="EN-US" style="font-size: 14pt">getBean()</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏂規(guī)硶寰楀埌鎵闇瑕佺殑綾伙紝涓嶈繃榪欐牱鐨勮瘽</span><span lang="EN-US" style="font-size: 14pt">Struts</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">灝卞拰</span><span lang="EN-US" style="font-size: 14pt">Spring</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鑰﹀悎鍦ㄤ竴璧蜂簡銆?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 42pt; text-indent: -21pt; mso-list: l0 level2 lfo1; tab-stops: list 42.0pt"><span lang="EN-US" style="font-size: 14pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">b)<span style="font: 7pt 'Times New Roman'">      </span></span></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">閲嶆柊</span><span lang="EN-US" style="font-size: 14pt">Delegating actions </span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛氬湪</span><span lang="EN-US" style="font-size: 14pt">Struts</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨?/span><span lang="EN-US" style="font-size: 14pt">congfig</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪涜閰嶇疆錛?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"><action path="/XXXX"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt">type="org.springframework.web.struts.DelegatingActionProxy"/><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐒跺悗鍦?/span><span lang="EN-US" style="font-size: 14pt">Spring</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓繘琛?/span><span lang="EN-US" style="font-size: 14pt">bean</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勯厤緗細(xì)</span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"><bean name="/XXXX"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><v:shapetype id="_x0000_t61" path="m,l0@8@12@24,0@9,,21600@6,21600@15@27@7,21600,21600,21600,21600@9@18@30,21600@8,21600,0@7,0@21@33@6,xe" adj="1350,25920" o:spt="61" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="sum 10800 0 #0"></v:f><v:f eqn="sum 10800 0 #1"></v:f><v:f eqn="sum #0 0 #1"></v:f><v:f eqn="sum @0 @1 0"></v:f><v:f eqn="sum 21600 0 #0"></v:f><v:f eqn="sum 21600 0 #1"></v:f><v:f eqn="if @0 3600 12600"></v:f><v:f eqn="if @0 9000 18000"></v:f><v:f eqn="if @1 3600 12600"></v:f><v:f eqn="if @1 9000 18000"></v:f><v:f eqn="if @2 0 #0"></v:f><v:f eqn="if @3 @10 0"></v:f><v:f eqn="if #0 0 @11"></v:f><v:f eqn="if @2 @6 #0"></v:f><v:f eqn="if @3 @6 @13"></v:f><v:f eqn="if @5 @6 @14"></v:f><v:f eqn="if @2 #0 21600"></v:f><v:f eqn="if @3 21600 @16"></v:f><v:f eqn="if @4 21600 @17"></v:f><v:f eqn="if @2 #0 @6"></v:f><v:f eqn="if @3 @19 @6"></v:f><v:f eqn="if #1 @6 @20"></v:f><v:f eqn="if @2 @8 #1"></v:f><v:f eqn="if @3 @22 @8"></v:f><v:f eqn="if #0 @8 @23"></v:f><v:f eqn="if @2 21600 #1"></v:f><v:f eqn="if @3 21600 @25"></v:f><v:f eqn="if @5 21600 @26"></v:f><v:f eqn="if @2 #1 @8"></v:f><v:f eqn="if @3 @8 @28"></v:f><v:f eqn="if @4 @8 @29"></v:f><v:f eqn="if @2 #1 0"></v:f><v:f eqn="if @3 @31 0"></v:f><v:f eqn="if #1 0 @32"></v:f><v:f eqn="val #0"></v:f><v:f eqn="val #1"></v:f></v:formulas><v:path o:connectlocs="10800,0;0,10800;10800,21600;21600,10800;@34,@35" o:connecttype="custom"></v:path><v:handles><v:h position="#0,#1"></v:h></v:handles></v:shapetype><v:shape id="_x0000_s1027" style="margin-top: 6pt; z-index: 2; left: 0px; margin-left: 201.6pt; width: 1in; position: absolute; height: 117pt; text-align: left; mso-position-horizontal: absolute; mso-position-vertical: absolute" adj="-6795,14520" type="#_x0000_t61"><v:textbox> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr> <td> <div> <p class="MsoNormal"><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪欓噷涓洪渶瑕佺敤鍒扮殑</span><span lang="EN-US">class</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛岄氳繃</span><span lang="EN-US">Ioc</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏉ヨ繘琛岄厤緗?/span> </p> </div> </td> </tr> </tbody> </table> </v:textbox></v:shape><v:rect id="_x0000_s1026" style="margin-top: 29.4pt; z-index: -2; left: 0px; margin-left: 21.6pt; width: 159pt; position: absolute; height: 101.4pt; text-align: left; mso-position-horizontal: absolute; mso-position-vertical: absolute" strokecolor="blue"></v:rect><span lang="EN-US" style="font-size: 14pt">class="XXXXXXXX"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"><property name="YYYY"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"><ref bean="YYYY"/><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"></property><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"></bean><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"><bean id="YYYY" class="YYYYYY"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"></bean><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">褰撶劧涔熷彲浠ュ湪</span><span lang="EN-US" style="font-size: 14pt">struts</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">涓姞鍏?/span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"><controller processorClass=<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt">"org.springframework.web.struts.DelegatingRequestProcessor"/><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪欐牱灝卞彧闇瑕佸啓</span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 21pt"><span lang="EN-US" style="font-size: 14pt"><action path="/XXXX"/></span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">灝卞彲浠ヤ簡錛?/span><span lang="EN-US" style="font-size: 14pt">DelegatingRequestProcessor</span><span style="font-size: 14pt; font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鑳藉鑷姩鍒嗘淳</span><span lang="EN-US" style="font-size: 14pt"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="font-size: 14pt"><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p> <img src ="http://www.tkk7.com/liuzheng/aggbug/142823.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-09-05 10:21 <a href="http://www.tkk7.com/liuzheng/articles/142823.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Spring瀛︿範(fàn)蹇冨緱錛堜笁錛?/title><link>http://www.tkk7.com/liuzheng/articles/142697.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Tue, 04 Sep 2007 09:27:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/142697.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/142697.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/142697.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/142697.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/142697.html</trackback:ping><description><![CDATA[鍦ˋround advice 鐨刬nvoke鏂規(guī)硶涓紝瀵硅薄MethodInvocation寰堥噸瑕侊紝getArgument錛堬級鏂規(guī)硶鍙互寰楀埌鎷︽埅璋冪敤鏂規(guī)硶鐨勫弬鏁幫紝濡傦細(xì)methodinvocation.getArgument()[]<br /> <br /> isAssignableForm鍙互瀵逛袱涓狢lass榪涜姣旇緝錛屾瘮濡傦細(xì)XXX.class.isAssignableFrom(methodinvocation.getMethod().getDeclaringClass())<br /> 鍦˙efore advice鐨刾ublic void before(Method m, Object[] args, Object target) throws Throwable {}涓彲浠ョ敤浠ヤ笅鏂規(guī)硶榪涜姣旇緝錛歵arget instanceof XXX <img src ="http://www.tkk7.com/liuzheng/aggbug/142697.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-09-04 17:27 <a href="http://www.tkk7.com/liuzheng/articles/142697.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Spring瀛︿範(fàn)蹇冨緱錛堜簩錛?/title><link>http://www.tkk7.com/liuzheng/articles/142648.html</link><dc:creator>鍒橀摦 </dc:creator><author>鍒橀摦 </author><pubDate>Tue, 04 Sep 2007 07:59:00 GMT</pubDate><guid>http://www.tkk7.com/liuzheng/articles/142648.html</guid><wfw:comment>http://www.tkk7.com/liuzheng/comments/142648.html</wfw:comment><comments>http://www.tkk7.com/liuzheng/articles/142648.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/liuzheng/comments/commentRss/142648.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/liuzheng/services/trackbacks/142648.html</trackback:ping><description><![CDATA[  <p class="MsoNormal"><span lang="EN-US">Spring</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">瀛︿範(fàn)蹇冨緱錛堜簩錛?/span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1.<span style="font: 7pt 'Times New Roman'">         </span></span></span><span lang="EN-US">advice</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏈夊洓縐嶏細(xì)</span><span lang="EN-US">Before advice </span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛?/span><span lang="EN-US">After advice </span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛?/span><span lang="EN-US">Around advice ,Throws advice</span></p> <p class="MsoNormal" style="margin-left: 21pt; text-indent: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2.<span style="font: 7pt 'Times New Roman'">         </span></span></span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪欏洓縐?/span><span lang="EN-US">advice</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍒嗗埆闇瑕佺戶鎵跨殑鎺ュ彛涓?/span></p> <table class="MsoNormalTable" style="border-right: medium none; border-top: medium none; border-left: medium none; width: 100%; border-bottom: medium none; border-collapse: collapse; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" cellspacing="0" cellpadding="0" width="100%" border="1"> <tbody> <tr style="height: 22.8pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes"> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; background: #a6a6a6; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 22.42%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 22.8pt; mso-border-alt: solid windowtext .5pt" valign="top" width="22%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">Advice type</span></p> </td> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; background: #a6a6a6; padding-bottom: 0cm; border-left: medium none; width: 77.58%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 22.8pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" valign="top" width="77%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">Interface</span></p> </td> </tr> <tr style="height: 22.25pt; mso-yfti-irow: 1"> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 22.42%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 22.25pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="22%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">Throws advice</span></p> </td> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 77.58%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 22.25pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="77%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">org.aopalliance.intercept.MethodInterceptor</span></p> </td> </tr> <tr style="height: 29.55pt; mso-yfti-irow: 2"> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 22.42%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 29.55pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="22%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">Before advice</span></p> </td> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 77.58%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 29.55pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="77%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">org.springframework.aop.BeforeAdvice</span></p> </td> </tr> <tr style="height: 29.15pt; mso-yfti-irow: 3"> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 22.42%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 29.15pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="22%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">After advice</span></p> </td> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 77.58%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 29.15pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="77%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">org.springframework.aop.AfterReturningAdvice</span></p> </td> </tr> <tr style="height: 29.4pt; mso-yfti-irow: 4; mso-yfti-lastrow: yes"> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 22.42%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 29.4pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="22%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">Throws advice</span></p> </td> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 77.58%; padding-top: 0cm; border-bottom: windowtext 1pt solid; height: 29.4pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" valign="top" width="77%"> <p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US">org.springframework.aop.ThrowsAdvice</span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><span lang="EN-US">3</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛?/span><span lang="EN-US">Around advice</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍜?/span><span lang="EN-US">Before advice</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鐨勫尯鍒槸</span><span lang="EN-US">Before advice</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鏄彧瑕佹病鏈夊紓甯革紝鐩爣鏂規(guī)硶涓瀹氫細(xì)琚皟鐢紝鐒惰?/span><span lang="EN-US">Around advice</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">錛屽彧鏈夊綋璋冪敤</span><span lang="EN-US">MethodInvocation.proceed()</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">鍚庣洰鏍囨柟娉曟墠鑳借璋冪敤銆傝屼笖</span><span lang="EN-US">Around advice</span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">榪樺彲浠ヨ繑鍥炴兂榪斿洖鐨勫鹼細(xì)濡?/span><span lang="EN-US">Object obj=invocation.proceed();</span></p><img src ="http://www.tkk7.com/liuzheng/aggbug/142648.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/liuzheng/" target="_blank">鍒橀摦 </a> 2007-09-04 15:59 <a href="http://www.tkk7.com/liuzheng/articles/142648.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://k4h3.com" target="_blank">国产色爽免费视频</a>| <a href="http://ttooyuyu.com" target="_blank">中文字幕免费不卡二区</a>| <a href="http://www-070755.com" target="_blank">亚洲性无码一区二区三区</a>| <a href="http://wuaiav.com" target="_blank">亚洲日产2021三区</a>| <a href="http://477077.com" target="_blank">亚洲国产美女视频</a>| <a href="http://www6yg6yg.com" target="_blank">亚洲国产精品人久久电影</a>| <a href="http://dfcnpc.com" target="_blank">亚洲毛片无码专区亚洲乱</a>| <a href="http://wwwse09.com" target="_blank">亚洲最大黄色网址</a>| <a href="http://fzgjw.com" target="_blank">国产成人亚洲精品</a>| <a href="http://znboxcdn107.com" target="_blank">亚洲一区二区三区丝袜</a>| <a href="http://class3g.com" target="_blank">亚洲国产精品无码第一区二区三区</a>| <a href="http://s4lm0x.com" target="_blank">亚洲午夜精品一区二区麻豆</a>| <a href="http://qmoread.com" target="_blank">mm1313亚洲国产精品无码试看</a>| <a href="http://iciap.com" target="_blank">美女黄频免费网站</a>| <a href="http://shaolingtongluo.com" target="_blank">免费人成网站永久</a>| <a href="http://tha2008.com" target="_blank">中国精品一级毛片免费播放</a>| <a href="http://taoh2510.com" target="_blank">久久久久久久99精品免费观看 </a>| <a href="http://jomashopcn.com" target="_blank">久久亚洲中文字幕精品一区</a>| <a href="http://ddtase.com" target="_blank">激情综合色五月丁香六月亚洲</a>| <a href="http://shcxsoft.com" target="_blank">久久久久一级精品亚洲国产成人综合AV区</a>| <a href="http://h588888.com" target="_blank">亚洲午夜激情视频</a>| <a href="http://koukoub.com" target="_blank">亚洲av无码av制服另类专区</a>| <a href="http://0149545.com" target="_blank">亚洲最大中文字幕</a>| <a href="http://www-qwh.com" target="_blank">亚洲国产区男人本色</a>| <a href="http://shandonghj.com" target="_blank">免费福利资源站在线视频</a>| <a href="http://hucgjc.com" target="_blank">国产一级在线免费观看</a>| <a href="http://ocn888.com" target="_blank">日韩精品久久久久久免费</a>| <a href="http://xixidhw.com" target="_blank">99久久久精品免费观看国产</a>| <a href="http://8hnbuk14.com" target="_blank">夫妻免费无码V看片</a>| <a href="http://maomi90.com" target="_blank">亚洲国产V高清在线观看</a>| <a href="http://sztsa.com" target="_blank">亚洲动漫精品无码av天堂</a>| <a href="http://sdhgjscl.com" target="_blank">久久久久亚洲AV无码专区首JN</a>| <a href="http://pencilinside.com" target="_blank">亚洲国产高清美女在线观看</a>| <a href="http://thinkchating.com" target="_blank">亚洲熟妇无码av另类vr影视</a>| <a href="http://t66p.com" target="_blank">人人爽人人爽人人片av免费</a>| <a href="http://qdhengjun.com" target="_blank">免费污视频在线观看</a>| <a href="http://3fsf.com" target="_blank">成人免费午间影院在线观看</a>| <a href="http://lijieedu.com" target="_blank">亚洲精品久久久www</a>| <a href="http://831055.com" target="_blank">亚洲综合在线成人一区</a>| <a href="http://2886868.com" target="_blank">亚洲AV无码一区二区三区牲色</a>| <a href="http://wwwdf221.com" target="_blank">久草免费福利在线</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>