src/share/classes/java/rmi/activation/Activatable.java

Print this page

        

*** 71,81 **** * atomic. Instead, an application should register an activation * descriptor and export a remote object separately, so that exceptions * can be handled properly. * * <p>This method invokes the {@link ! * exportObject(Remote,String,MarshalledObject,boolean,port) * exportObject} method with this object, and the specified location, * data, restart mode, and port. Subsequent calls to {@link #getID} * will return the activation identifier returned from the call to * <code>exportObject</code>. * --- 71,81 ---- * atomic. Instead, an application should register an activation * descriptor and export a remote object separately, so that exceptions * can be handled properly. * * <p>This method invokes the {@link ! * #exportObject(Remote,String,MarshalledObject,boolean,int) * exportObject} method with this object, and the specified location, * data, restart mode, and port. Subsequent calls to {@link #getID} * will return the activation identifier returned from the call to * <code>exportObject</code>. *
*** 118,128 **** * atomic. Instead, an application should register an activation * descriptor and export a remote object separately, so that exceptions * can be handled properly. * * <p>This method invokes the {@link ! * exportObject(Remote,String,MarshalledObject,boolean,port,RMIClientSocketFactory,RMIServerSocketFactory) * exportObject} method with this object, and the specified location, * data, restart mode, port, and client and server socket factories. * Subsequent calls to {@link #getID} will return the activation * identifier returned from the call to <code>exportObject</code>. * --- 118,128 ---- * atomic. Instead, an application should register an activation * descriptor and export a remote object separately, so that exceptions * can be handled properly. * * <p>This method invokes the {@link ! * #exportObject(Remote,String,MarshalledObject,boolean,int,RMIClientSocketFactory,RMIServerSocketFactory) * exportObject} method with this object, and the specified location, * data, restart mode, port, and client and server socket factories. * Subsequent calls to {@link #getID} will return the activation * identifier returned from the call to <code>exportObject</code>. *
*** 310,320 **** * <i>not</i> guaranteed to be atomic. Instead, an application should * register an activation descriptor and export a remote object * separately, so that exceptions can be handled properly. * * <p>This method invokes the {@link ! * exportObject(Remote,String,MarshalledObject,boolean,port,RMIClientSocketFactory,RMIServerSocketFactory) * exportObject} method with the specified object, location, data, * restart mode, and port, and <code>null</code> for both client and * server socket factories, and then returns the resulting activation * identifier. * --- 310,320 ---- * <i>not</i> guaranteed to be atomic. Instead, an application should * register an activation descriptor and export a remote object * separately, so that exceptions can be handled properly. * * <p>This method invokes the {@link ! * #exportObject(Remote,String,MarshalledObject,boolean,int,RMIClientSocketFactory,RMIServerSocketFactory) * exportObject} method with the specified object, location, data, * restart mode, and port, and <code>null</code> for both client and * server socket factories, and then returns the resulting activation * identifier. *