Javadoc fixes and pruning of outdated references
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2016 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.
|
||||
@@ -19,20 +19,19 @@ package org.springframework.cache.interceptor;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* Simple key generator. Returns the parameter itself if a single non-null value
|
||||
* is given, otherwise returns a {@link SimpleKey} of the parameters.
|
||||
* Simple key generator. Returns the parameter itself if a single non-null
|
||||
* value is given, otherwise returns a {@link SimpleKey} of the parameters.
|
||||
*
|
||||
* <p>Unlike {@link DefaultKeyGenerator}, no collisions will occur with the keys
|
||||
* generated by this class. The returned {@link SimpleKey} object can be safely
|
||||
* used with a {@link org.springframework.cache.concurrent.ConcurrentMapCache},
|
||||
* however, might not be suitable for all {@link org.springframework.cache.Cache}
|
||||
* <p>No collisions will occur with the keys generated by this class.
|
||||
* The returned {@link SimpleKey} object can be safely used with a
|
||||
* {@link org.springframework.cache.concurrent.ConcurrentMapCache}, however,
|
||||
* might not be suitable for all {@link org.springframework.cache.Cache}
|
||||
* implementations.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Juergen Hoeller
|
||||
* @since 4.0
|
||||
* @see SimpleKey
|
||||
* @see DefaultKeyGenerator
|
||||
* @see org.springframework.cache.annotation.CachingConfigurer
|
||||
*/
|
||||
public class SimpleKeyGenerator implements KeyGenerator {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2008 the original author or authors.
|
||||
* Copyright 2002-2016 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.
|
||||
@@ -24,10 +24,10 @@ import org.springframework.core.NestedRuntimeException;
|
||||
* to transparently expose a plain Java business interface.
|
||||
*
|
||||
* <p>When using conforming proxies, switching the actual remoting protocol
|
||||
* e.g. from Hessian to Burlap does not affect client code. Clients work
|
||||
* with a plain natural Java business interface that the service exposes.
|
||||
* A client object simply receives an implementation for the interface that
|
||||
* it needs via a bean reference, like it does for a local bean as well.
|
||||
* e.g. from Hessian does not affect client code. Clients work with a plain
|
||||
* natural Java business interface that the service exposes. A client object
|
||||
* simply receives an implementation for the interface that it needs via a
|
||||
* bean reference, like it does for a local bean as well.
|
||||
*
|
||||
* <p>A client may catch RemoteAccessException if it wants to, but as
|
||||
* remote access errors are typically unrecoverable, it will probably let
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2016 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,11 +39,11 @@ import org.springframework.beans.factory.FactoryBean;
|
||||
* RemoteExceptions thrown by the RMI stub will automatically get converted to
|
||||
* Spring's unchecked RemoteAccessException.
|
||||
*
|
||||
* <p>The major advantage of RMI, compared to Hessian and Burlap, is serialization.
|
||||
* <p>The major advantage of RMI, compared to Hessian, is serialization.
|
||||
* Effectively, any serializable Java object can be transported without hassle.
|
||||
* Hessian and Burlap have their own (de-)serialization mechanisms, but are
|
||||
* HTTP-based and thus much easier to setup than RMI. Alternatively, consider
|
||||
* Spring's HTTP invoker to combine Java serialization with HTTP-based transport.
|
||||
* Hessian has its own (de-)serialization mechanisms, but is HTTP-based and thus
|
||||
* much easier to setup than RMI. Alternatively, consider Spring's HTTP invoker
|
||||
* to combine Java serialization with HTTP-based transport.
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 13.05.2003
|
||||
@@ -55,7 +55,6 @@ import org.springframework.beans.factory.FactoryBean;
|
||||
* @see java.rmi.RemoteException
|
||||
* @see org.springframework.remoting.RemoteAccessException
|
||||
* @see org.springframework.remoting.caucho.HessianProxyFactoryBean
|
||||
* @see org.springframework.remoting.caucho.BurlapProxyFactoryBean
|
||||
* @see org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean
|
||||
*/
|
||||
public class RmiProxyFactoryBean extends RmiClientInterceptor implements FactoryBean<Object>, BeanClassLoaderAware {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2016 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.
|
||||
@@ -42,11 +42,11 @@ import org.springframework.beans.factory.InitializingBean;
|
||||
* extend {@code java.rmi.Remote} or throw {@code java.rmi.RemoteException}
|
||||
* on all methods, but in and out parameters have to be serializable.
|
||||
*
|
||||
* <p>The major advantage of RMI, compared to Hessian and Burlap, is serialization.
|
||||
* <p>The major advantage of RMI, compared to Hessian, is serialization.
|
||||
* Effectively, any serializable Java object can be transported without hassle.
|
||||
* Hessian and Burlap have their own (de-)serialization mechanisms, but are
|
||||
* HTTP-based and thus much easier to setup than RMI. Alternatively, consider
|
||||
* Spring's HTTP invoker to combine Java serialization with HTTP-based transport.
|
||||
* Hessian has its own (de-)serialization mechanisms, but is HTTP-based and thus
|
||||
* much easier to setup than RMI. Alternatively, consider Spring's HTTP invoker
|
||||
* to combine Java serialization with HTTP-based transport.
|
||||
*
|
||||
* <p>Note: RMI makes a best-effort attempt to obtain the fully qualified host name.
|
||||
* If one cannot be determined, it will fall back and use the IP address. Depending
|
||||
@@ -63,7 +63,6 @@ import org.springframework.beans.factory.InitializingBean;
|
||||
* @see java.rmi.Remote
|
||||
* @see java.rmi.RemoteException
|
||||
* @see org.springframework.remoting.caucho.HessianServiceExporter
|
||||
* @see org.springframework.remoting.caucho.BurlapServiceExporter
|
||||
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter
|
||||
*/
|
||||
public class RmiServiceExporter extends RmiBasedExporter implements InitializingBean, DisposableBean {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2016 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.
|
||||
@@ -122,7 +122,6 @@ public class SimpleHttpServerFactoryBean implements FactoryBean<HttpServer>, Ini
|
||||
* objects as values
|
||||
* @see org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter
|
||||
* @see org.springframework.remoting.caucho.SimpleHessianServiceExporter
|
||||
* @see org.springframework.remoting.caucho.SimpleBurlapServiceExporter
|
||||
*/
|
||||
public void setContexts(Map<String, HttpHandler> contexts) {
|
||||
this.contexts = contexts;
|
||||
|
||||
Reference in New Issue
Block a user