polishing
This commit is contained in:
parent
3f6e4282d6
commit
54285ea57c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2007 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -39,10 +39,6 @@ import org.springframework.util.ClassUtils;
|
|||
* This class may also serve as base class for a custom TransactionAttributeSource,
|
||||
* or get customized through {@link TransactionAnnotationParser} strategies.
|
||||
*
|
||||
* <p>This is a direct alternative to
|
||||
* {@link org.springframework.transaction.interceptor.AttributesTransactionAttributeSource},
|
||||
* which is able to read in source-level attributes via Commons Attributes.
|
||||
*
|
||||
* @author Colin Sampaleanu
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.2
|
||||
|
|
@ -151,15 +147,4 @@ public class AnnotationTransactionAttributeSource extends AbstractFallbackTransa
|
|||
return this.publicMethodsOnly;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object other) {
|
||||
return (this == other || other instanceof AnnotationTransactionAttributeSource);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return AnnotationTransactionAttributeSource.class.hashCode();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2005 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -38,7 +38,7 @@ public interface ViewResolver {
|
|||
/**
|
||||
* Resolve the given view by name.
|
||||
* <p>Note: To allow for ViewResolver chaining, a ViewResolver should
|
||||
* return <code>null</code> if a view with the given name is not defined in it.
|
||||
* return <code>null</code> if a view with the given name is not defined in it.
|
||||
* However, this is not required: Some ViewResolvers will always attempt
|
||||
* to build View objects with the given name, unable to return <code>null</code>
|
||||
* (rather throwing an exception when View creation failed).
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ import org.springframework.web.context.ServletContextAware;
|
|||
* <a href="http://tiles.apache.org">http://tiles.apache.org</a>
|
||||
* for more information about Tiles, which basically is a templating
|
||||
* mechanism for JSP-based web applications.
|
||||
* <b>Note: Spring 3.0 requires Tiles 2.1.2 or above.</b>
|
||||
*
|
||||
* <p>The TilesConfigurer simply configures a TilesContainer using a set of files
|
||||
* containing definitions, to be accessed by {@link TilesView} instances. This is a
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ import org.springframework.web.util.WebUtils;
|
|||
*
|
||||
* <p>This class builds on Tiles2, which requires JSP 2.0.
|
||||
* JSTL support is integrated out of the box due to JSTL's inclusion in JSP 2.0.
|
||||
* <b>Note: Spring 3.0 requires Tiles 2.1.2 or above.</b>
|
||||
*
|
||||
* <p>Depends on a TilesContainer which must be available in
|
||||
* the ServletContext. This container is typically set up via a
|
||||
|
|
|
|||
Loading…
Reference in New Issue