fixed javadoc errors

This commit is contained in:
Juergen Hoeller
2008-11-28 13:56:30 +00:00
parent f8c690c542
commit 4f40a6c313
16 changed files with 17 additions and 33 deletions

View File

@@ -13,14 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.expression;
/**
* If a property accessor is built upon the CacheablePropertyAccessor class then once the property
* has been resolved the accessor will return an instance of this PropertyWriterExecutor interface
* that can be cached and repeatedly called to set the value of the property.
* <p>
* They can become stale, and in that case should throw an AccessException - this will cause the
* that can be cached and repeatedly called to set the value of the property.
*
* <p>They can become stale, and in that case should throw an AccessException - this will cause the
* infrastructure to go back to the resolvers to ask for a new one.
*
* @author Andy Clement
@@ -29,12 +30,11 @@ public interface PropertyWriterExecutor {
/**
* Set the value of a property to the supplied new value.
*
* @param context the evaluation context in which the command is being executed
* @param targetObject the target object on which property write is being attempted
* @param newValue the new value for the property
* @throws AccessException if there is a problem setting the property or this executor has become stale
*/
void execute(EvaluationContext evaluationContext, Object targetObject, Object newValue) throws AccessException;
void execute(EvaluationContext context, Object targetObject, Object newValue) throws AccessException;
}

View File

@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.expression;
import org.springframework.expression.spel.standard.StandardTypeLocator;
@@ -21,17 +22,16 @@ import org.springframework.expression.spel.standard.StandardTypeLocator;
* Implementors of this interface are expected to be able to locate types. They may use custom classloaders or the
* and deal with common package prefixes (java.lang, etc) however they wish. See
* {@link StandardTypeLocator} for an example implementation.
*
*
* @author Andy Clement
*/
public interface TypeLocator {
/**
* Find a type by name. The name may or may not be fully qualified (eg. String or java.lang.String)
*
* @param type the type to be located
* @param typename the type to be located
* @return the class object representing that type
* @throw ExpressionException if there is a problem finding it
* @throws EvaluationException if there is a problem finding it
*/
Class<?> findType(String typename) throws EvaluationException;