Consistent use of <pre class="code">

Issue: SPR-8108
This commit is contained in:
Juergen Hoeller
2013-05-07 21:31:26 +02:00
parent 1ca943c681
commit 2a44228b98
59 changed files with 87 additions and 90 deletions

View File

@@ -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)) {

View File

@@ -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"));

View File

@@ -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>&lt;scanning xmlns="urn:jboss:scanning:1.0"/&gt;</pre>
* <pre class="code">&lt;scanning xmlns="urn:jboss:scanning:1.0"/&gt;</pre>
*
* <p>Thanks to Ales Justin and Marius Bogoevici for the initial prototype.
*

View File

@@ -31,7 +31,7 @@ import org.springframework.aop.TargetSource;
*
* <p>Example:
*
* <pre>
* <pre class="code">
* &lt;bean id="queueConnectionFactoryTarget" class="org.springframework.jndi.JndiObjectTargetSource"&gt;
* &lt;property name="jndiName" value="JmsQueueConnectionFactory"/&gt;
* &lt;property name="lookupOnStartup" value="false"/&gt;