java.lang.Object
jac.core.dist.RemoteContainer
jac.core.dist.corba.CORBARemoteContainer
- All Implemented Interfaces:
- java.io.Serializable
- public class CORBARemoteContainer
- extends jac.core.dist.RemoteContainer
CORBARemoteContainer is a container for remote objects
that can be accessed with CORBA.
CORBARemoteContainer instances are created by CORBADistd.
- Version:
- 0.8.1
| Methods inherited from class jac.core.dist.RemoteContainer |
bindNewContainer, bindTo, copy, equals, getByteCodeFor, getName, instantiates, invoke, isLocal, isLocal, launchRemoteGUI, resolve, setName, toString |
CORBARemoteContainer
public CORBARemoteContainer(boolean verbose)
- Create a new container.
CORBARemoteContainer
public CORBARemoteContainer(java.lang.String className,
boolean verbose)
- Create a new container.
instantiates
public int instantiates(java.lang.String className,
byte[][] args,
byte[] classes,
java.lang.String[] fields,
byte[][] state)
- This method instantiates a className object.
Clients call it to remotely instantiate an object.
instantiates creates an object and returns its index.
This method is part of the CORBARemoteContainerInterf interface.
copy
public void copy(int index,
java.lang.String[] fields,
byte[][] state)
- Copy a state into a base object.
invoke
public byte[] invoke(int index,
java.lang.String methodName,
byte[][] methodArgs)
- Invoke a method on a base object.
The base object is the remote counterpart of a local object
that has been remotely instantiated by a remote container.
This method is part of the CORBARemoteContainerInterf interface.
getClientStubWrappingChain2
public byte[] getClientStubWrappingChain2(int index)
- Get a client stub wrapping chain for a given object.
This method is part of the CORBADistdInterf interface.
This method is called whenever a daemon receives as a parameter
a reference to a remote object, to get the wrapping chain
(for instance an authentication wrapper, a verbose wrapper, ...)
needed to create a client stub for this remote reference.
CORBARemoteContainer.getClientStubWrappingChain2 has a different
return type than RemoteContainer.getClientStubWrappingChain
(byte[] instead of Vector).
Nevertheless, the latter is supposed to be the super method of the former.
But because polymorphism on return type is not handled in Java,
The method is called getClientStubWrappingChain2 instead of
getClientStubWrappingChain.