Consistent use of <pre class="code">
Issue: SPR-8108
This commit is contained in:
@@ -74,15 +74,12 @@ class AnnotationDrivenCacheBeanDefinitionParser implements BeanDefinitionParser
|
||||
|
||||
/**
|
||||
* Registers a
|
||||
* <pre>
|
||||
* <pre class="code">
|
||||
* <bean id="cacheAspect" class="org.springframework.cache.aspectj.AnnotationCacheAspect" factory-method="aspectOf">
|
||||
* <property name="cacheManager" ref="cacheManager"/>
|
||||
* <property name="keyGenerator" ref="keyGenerator"/>
|
||||
* </bean>
|
||||
*
|
||||
* </pre>
|
||||
* @param element
|
||||
* @param parserContext
|
||||
*/
|
||||
private void registerCacheAspect(Element element, ParserContext parserContext) {
|
||||
if (!parserContext.getRegistry().containsBeanDefinition(CACHE_ASPECT_BEAN_NAME)) {
|
||||
|
||||
@@ -54,7 +54,7 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* <p>Usage example:
|
||||
*
|
||||
* <pre>
|
||||
* <pre class="code">
|
||||
* GenericApplicationContext ctx = new GenericApplicationContext();
|
||||
* XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(ctx);
|
||||
* xmlReader.loadBeanDefinitions(new ClassPathResource("applicationContext.xml"));
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.util.ClassUtils;
|
||||
* <p><b>NOTE:</b> On JBoss 6.0, to avoid the container loading the classes before the
|
||||
* application actually starts, one needs to add a <tt>WEB-INF/jboss-scanning.xml</tt>
|
||||
* file to the application archive - with the following content:
|
||||
* <pre><scanning xmlns="urn:jboss:scanning:1.0"/></pre>
|
||||
* <pre class="code"><scanning xmlns="urn:jboss:scanning:1.0"/></pre>
|
||||
*
|
||||
* <p>Thanks to Ales Justin and Marius Bogoevici for the initial prototype.
|
||||
*
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.aop.TargetSource;
|
||||
*
|
||||
* <p>Example:
|
||||
*
|
||||
* <pre>
|
||||
* <pre class="code">
|
||||
* <bean id="queueConnectionFactoryTarget" class="org.springframework.jndi.JndiObjectTargetSource">
|
||||
* <property name="jndiName" value="JmsQueueConnectionFactory"/>
|
||||
* <property name="lookupOnStartup" value="false"/>
|
||||
|
||||
Reference in New Issue
Block a user