org.objectweb.carol.cmi
Class ClusterObject
java.lang.Object
|
+--org.objectweb.carol.cmi.ClusterObject
- public final class ClusterObject
- extends java.lang.Object
Tell us if an object can be clustered or not.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterObject
public ClusterObject()
getClusterStubClass
public static java.lang.Class getClusterStubClass(java.lang.Class cl)
throws java.lang.ClassNotFoundException
- Returns:
- The cluster stub class corresponding to the parameter class or
null
if this object has no cluster stub class.
java.lang.ClassNotFoundException
getClusterConfigClass
public static java.lang.Class getClusterConfigClass(java.rmi.Remote obj)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
getClusterConfig
public static ClusterConfig getClusterConfig(java.rmi.Remote obj)
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Call getClusterConfig() on a cluster stub instead of this one whenever
possible.
- Returns:
- A ClusterConfig object reflecting the static cluster
configuration of
stub
's class.
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException