org.sapia.ubik.rmi.server
Class RmiUtils

java.lang.Object
  extended by org.sapia.ubik.rmi.server.RmiUtils

public class RmiUtils
extends java.lang.Object

Author:
yduchesne

Field Summary
static java.lang.String CODE_BASE
           
static boolean CODE_DOWNLOAD
           
static boolean MARSHALLING
           
 
Constructor Summary
RmiUtils()
           
 
Method Summary
static StubInvocationHandler getInvocationHandlerFor(java.lang.Object stub)
           
static boolean isStub(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CODE_BASE

public static final java.lang.String CODE_BASE

MARSHALLING

public static final boolean MARSHALLING

CODE_DOWNLOAD

public static final boolean CODE_DOWNLOAD
Constructor Detail

RmiUtils

public RmiUtils()
Method Detail

isStub

public static boolean isStub(java.lang.Object o)
Returns:
true if the given object is a stub (an instance of the Stub interface).
See Also:
Stub

getInvocationHandlerFor

public static StubInvocationHandler getInvocationHandlerFor(java.lang.Object stub)
Returns:
the StubInvocationHandler corresponding to the given stub, or null if no such stub exists.


Copyright © 2010 Sapia OSS. All Rights Reserved.