org.apache.wiki.rpc
Class RPCManager
java.lang.Object
org.apache.wiki.rpc.RPCManager
- Direct Known Subclasses:
- JSONRPCManager
public class RPCManager
- extends Object
A base class for managing RPC calls.
- Since:
- 2.5.4
Constructor Summary |
protected |
RPCManager()
Private constructor to prevent initialization. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RPCManager
protected RPCManager()
- Private constructor to prevent initialization.
getId
public static String getId(RPCCallable c)
- Gets an unique RPC ID for a callable object. This is required because a plugin
does not know how many times it is already been invoked.
The id returned contains only upper and lower ASCII characters and digits, and
it always starts with an ASCII character. Therefore the id is suitable as a
programming language construct directly (e.g. object name).
- Parameters:
c
- An RPCCallable
- Returns:
- An unique id for the callable.
Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.