Skip to content

Commit 0ca4677

Browse files
committed
Remove references of RemoteExporter from the documentation and javadocs
Signed-off-by: cyb3r4nt <[email protected]>
1 parent f7df43c commit 0ca4677

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ JSON-RPC).
1616
* HTTP Server (`HttpServletRequest` \ `HttpServletResponse`)
1717
* Portlet Server (`ResourceRequest` \ `ResourceResponse`)
1818
* Socket Server (`StreamServer`)
19-
* Integration with the Spring Framework (`RemoteExporter`)
19+
* Integration with the Spring Framework
2020
* Streaming client
2121
* HTTP client
2222
* Dynamic client proxies
@@ -66,7 +66,7 @@ that take `InputStream`s and `OutputStream`s. Also in the library is a `JsonRpc
6666
which extends the `JsonRpcClient` to add HTTP support.
6767

6868
## Spring Framework
69-
jsonrpc4j provides a `RemoteExporter` to expose java services as JSON-RPC over HTTP without
69+
jsonrpc4j provides support for exposing java services as JSON-RPC over HTTP without
7070
requiring any additional work on the part of the programmer. The following example explains
7171
how to use the `JsonServiceExporter` within the Spring Framework.
7272

@@ -113,7 +113,9 @@ public class UserServiceImpl
113113
}
114114
```
115115

116-
Configure your service in spring as you would any other RemoteExporter:
116+
Configure your service in Spring as you would do it for any other Beans,
117+
and then add a reference of your service Bean into `JsonServiceExporter`
118+
by specifying the `service` and `serviceInterface` properties:
117119

118120
```xml
119121
<?xml version="1.0" encoding="UTF-8"?>

src/main/java/com/googlecode/jsonrpc4j/spring/JsonServiceExporter.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
import java.io.IOException;
1010

1111
/**
12-
* {@link HttpRequestHandler} that exports services using Json
13-
* according to the JSON-RPC proposal specified at:
14-
* <a href="http://groups.google.com/group/json-rpc">
15-
* http://groups.google.com/group/json-rpc</a>.
12+
* {@link HttpRequestHandler} that exports user services using JSON-RPC over HTTP protocol
1613
*/
1714
public class JsonServiceExporter extends AbstractJsonServiceExporter implements HttpRequestHandler {
1815

src/main/java/com/googlecode/jsonrpc4j/spring/JsonStreamServiceExporter.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111

1212

1313
/**
14-
* {@link org.springframework.remoting.support.RemoteExporter RemoteExporter}
15-
* that exports services using Json according to the JSON-RPC proposal specified
16-
* at:
17-
* <a href="http://groups.google.com/group/json-rpc">
18-
* http://groups.google.com/group/json-rpc</a>.
14+
* Exports user defined services as streaming server, which provides JSON-RPC over sockets.
1915
*/
2016
@SuppressWarnings("unused")
2117
public class JsonStreamServiceExporter extends AbstractJsonServiceExporter implements DisposableBean {

0 commit comments

Comments
 (0)