|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
RMIRemoteContainerInterf is the interface of RMI remote containers that are used by jac to remotely instantiate objects.
| Method Summary | |
RemoteRef |
bindTo(String name)
Returns a remote reference on the object corresponding to the given name. |
void |
copy(String name,
int index,
String[] fields,
byte[] state,
byte[] collaboration)
Copy a state into a base object. |
byte[] |
getByteCodeFor(String className)
|
int |
instantiates(String name,
String className,
Object[] args,
String[] fields,
byte[] state,
byte[] collaboration)
This method instantiates a className object. |
byte[] |
invoke(int index,
String methodName,
byte[] methodArgs,
byte[] collaboration)
Invoke a method on a base object. |
byte[] |
invokeRoleMethod(int index,
String methodName,
byte[] methodArgs,
byte[] collaboration)
|
| Method Detail |
public int instantiates(String name,
String className,
Object[] args,
String[] fields,
byte[] state,
byte[] collaboration)
throws RemoteException
className - the class name to instantiateargs - initialization arguments for the instantiationfields - the object fields that are part of the statestate - the state to copycollaboration - the collaboration of the client
RemoteException
public void copy(String name,
int index,
String[] fields,
byte[] state,
byte[] collaboration)
throws RemoteException
index - the callee index (see org.objectweb.jac.core.JacObject)fields - the object fields that are part of the statestate - the state to copycollaboration - the collaboration of the client
RemoteException
public byte[] invoke(int index,
String methodName,
byte[] methodArgs,
byte[] collaboration)
throws RemoteException
index - the callee index (see org.objectweb.jac.core.JacObject)methodName - the callee method namemethodArgs - the callee method arguments
RemoteException
public byte[] invokeRoleMethod(int index,
String methodName,
byte[] methodArgs,
byte[] collaboration)
throws RemoteException
RemoteException
public byte[] getByteCodeFor(String className)
throws RemoteException
RemoteException
public RemoteRef bindTo(String name)
throws RemoteException
RemoteException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||