Package gnu.cajo
Class Cajo.Searchable
java.lang.Object
gnu.cajo.Cajo.Searchable
- All Implemented Interfaces:
Invoke
,Serializable
,Remote
- Enclosing class:
Cajo
This internal use only helper class scans an exported object to see if
it has methods matching the client method set. It cannot be
instantiated outside this class, it is made public only because it is
being invoked reflectively.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
object
-
-
Constructor Details
-
Searchable
-
-
Method Details
-
invoke
This method, invoked transparently when any remote server method is called, checks the exported server object's method signatures for a match with the set provided by the client.- Specified by:
invoke
in interfaceInvoke
- Parameters:
method
- The name of the method to be invokedargs
- The arguments to be provided to the method- Returns:
- Boolean.TRUE if all of the requested methods matched, null otherwise
- Throws:
Exception
- For reflection based voilations, most commonly when an exported server class is not public
-