|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.cmi.StubConfig
Used to get information on a remote object. Searches for CMI configuration information association with the remote class.
Distributor
Method Summary | |
static void |
checkClusterStub(java.lang.Class remoteObjClass,
ClusterStub cs)
Check the compatibility between the cluster stub and a remote object class |
static java.lang.Boolean |
clusterEquivAtBind(java.rmi.Remote obj)
Test if the object is a CMI stub |
static java.lang.String |
clusterEquivAtExport(java.rmi.Remote obj)
Test if the object is to be clustered and if it has to be advertised at export(). |
static ClusterStub |
instanciateClusterStub(java.lang.Class remoteObjClass,
ServerStubList stubList)
|
static ClusterStub |
instanciateClusterStub(java.lang.Class remoteObjClass,
StubData stubData)
Create a ClusterStub with only one StubData |
static void |
main(java.lang.String[] args)
For test purposes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.Boolean clusterEquivAtBind(java.rmi.Remote obj) throws StubConfigException
StubConfigException
public static java.lang.String clusterEquivAtExport(java.rmi.Remote obj) throws StubConfigException
obj
- remote object
StubConfigException
- if config errorpublic static void checkClusterStub(java.lang.Class remoteObjClass, ClusterStub cs) throws java.rmi.RemoteException
remoteObjClass
- remote object classcs
- cluster stub
java.rmi.RemoteException
- if the stub aren't compliantpublic static ClusterStub instanciateClusterStub(java.lang.Class remoteObjClass, ServerStubList stubList) throws StubConfigException
remoteObjClass
- remote object classstubList
- stubs list
StubConfigException
- if exception during instanciation of the stub classpublic static ClusterStub instanciateClusterStub(java.lang.Class remoteObjClass, StubData stubData) throws StubConfigException
remoteObjClass
- remote object classstubData
- stub data
StubConfigException
- if exception during instanciation of the stub classpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- program args
java.lang.Exception
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |