Skip to content

Commit

Permalink
Remove HttpInvokerServiceExporter class and uses from spring
Browse files Browse the repository at this point in the history
  • Loading branch information
HasiniSama committed Sep 30, 2024
1 parent f1b128b commit 0234936
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 803 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -441,5 +441,12 @@ configure(rootProject) {
}
}
}
}

tasks.named('build').configure {
finalizedBy('publishToMavenLocal')
}

tasks.named('publish').configure {
dependsOn('build')
}
21 changes: 21 additions & 0 deletions gradle/spring-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,29 @@ publishing {
artifact javadocJar
}
}

repositories {
maven {
name 'nexus'
url = System.getenv("NEXUS_REPO_URL") ? System.getenv("NEXUS_REPO_URL") :
"https://maven.wso2.org/nexus/content/repositories/releases"
credentials {
username rootProject.hasProperty("nexus_username") ? nexus_username : System.getenv("NEXUS_USERNAME")
password rootProject.hasProperty("nexus_password") ? nexus_password : System.getenv("NEXUS_PASSWORD")
}
allowInsecureProtocol = false
}
}
}

// Disable publication of test fixture artifacts.
components.java.withVariantsFromConfiguration(configurations.testFixturesApiElements) { skip() }
components.java.withVariantsFromConfiguration(configurations.testFixturesRuntimeElements) { skip() }

tasks.named('build').configure {
finalizedBy('publishToMavenLocal')
}

tasks.named('publish').configure {
dependsOn('build')
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
* @see java.rmi.Remote
* @see java.rmi.RemoteException
* @see org.springframework.remoting.caucho.HessianServiceExporter
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
* @see org.springframework.remoting.rmi.RmiProxyFactoryBean
* @see org.springframework.remoting.rmi.RmiServiceExporter
* @see org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter
*/
public class RemoteInvocation implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@
/**
* Strategy interface for executing a {@link RemoteInvocation} on a target object.
*
* <p>Used by {@link org.springframework.remoting.rmi.RmiServiceExporter} (for RMI invokers)
* and by {@link org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter}.
* <p>Used by {@link org.springframework.remoting.rmi.RmiServiceExporter} (for RMI invokers).
*
* @author Juergen Hoeller
* @since 1.1
* @see DefaultRemoteInvocationFactory
* @see org.springframework.remoting.rmi.RmiServiceExporter#setRemoteInvocationExecutor
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter#setRemoteInvocationExecutor
*/
public interface RemoteInvocationExecutor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
* @since 13.05.2003
* @see HessianClientInterceptor
* @see HessianProxyFactoryBean
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter
* @see org.springframework.remoting.rmi.RmiServiceExporter
* @deprecated as of 5.3 (phasing out serialization-based remoting)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
* @see #setCodebaseUrl
* @see #setRemoteInvocationFactory
* @see #setHttpInvokerRequestExecutor
* @see HttpInvokerServiceExporter
* @see HttpInvokerProxyFactoryBean
* @see java.rmi.server.RMIClassLoader
* @deprecated as of 5.3 (phasing out serialization-based remoting)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
* @see #setServiceUrl
* @see #setCodebaseUrl
* @see HttpInvokerClientInterceptor
* @see HttpInvokerServiceExporter
* @see org.springframework.remoting.rmi.RmiProxyFactoryBean
* @see org.springframework.remoting.caucho.HessianProxyFactoryBean
* @deprecated as of 5.3 (phasing out serialization-based remoting)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
* @since 2.5.1
* @see org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor
* @see org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean
* @deprecated as of Spring Framework 5.1, in favor of {@link HttpInvokerServiceExporter}
*/
@Deprecated
@org.springframework.lang.UsesSunHttpServer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
* DispatcherServlet, indicating that there will never be a view to render.
*
* <p>As of Spring 2.0, Spring's HTTP-based remote exporters, such as
* {@link org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter}
* and {@link org.springframework.remoting.caucho.HessianServiceExporter},
* {@link org.springframework.remoting.caucho.HessianServiceExporter},
* implement this interface rather than the more extensive Controller interface,
* for minimal dependencies on Spring-specific web infrastructure.
*
Expand All @@ -71,7 +70,6 @@
* @see org.springframework.web.servlet.mvc.Controller
* @see org.springframework.web.servlet.mvc.LastModified
* @see org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter
* @see org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter
* @see org.springframework.remoting.caucho.HessianServiceExporter
*/
@FunctionalInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
* HttpRequestHandlerServlet servlet-name as defined in {@code web.xml}.
*
* <p>This can for example be used to expose a single Spring remote exporter,
* such as {@link org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter}
* or {@link org.springframework.remoting.caucho.HessianServiceExporter},
* such as {@link org.springframework.remoting.caucho.HessianServiceExporter},
* per HttpRequestHandlerServlet definition. This is a minimal alternative
* to defining remote exporters as beans in a DispatcherServlet context
* (with advanced mapping and interception facilities being available there).
Expand Down
Loading

0 comments on commit 0234936

Please sign in to comment.