Babylon 10
The world's best online dictionary

Download it's free

Definition of Activatable

Activatable Definition from Computer & Internet Dictionaries & Glossaries
JDK Doc(JAVA)
- class java.rmi.activation..Activatable 
public abstract class Activatable extends RemoteServer 
Tree:java.lang.Object - java.rmi.server.RemoteObject - java.rmi.server.RemoteServer - java.rmi.activation.Activatable
The Activatable class provides support for remote objects that require persistent access over time and that can be activated by the system.
- Constructor for class java.rmi.activation.Activatable 
protected Activatable (ActivationID  id, int port) throws RemoteException 
Constructor used to activate/export the object on a specified port. An "activatable" remote object must have a constructor that takes two arguments: A concrete subclass of this class must call this constructor when it is via the two parameter constructor described above. As a side-effect of construction, the remote object is "exported" to the RMI runtime (on the specified port) and is available to accept incoming calls from clients.Parameters: id - activation identifier for the object - the port number on which the object is exportedport - the port number on which the object is exportedThrows: RemoteException - if exporting the object to the RMI runtime failsSince: JDK1.2
- Constructor for class java.rmi.activation.Activatable 
protected Activatable (ActivationID  id, int port, RMIClientSocketFactory  csf, RMIServerSocketFactory  ssf) throws RemoteException 
Constructor used to activate/export the object on a specified port. An "activatable" remote object must have a constructor that takes two arguments: A concrete subclass of this class must call this constructor when it is via the two parameter constructor described above. As a side-effect of construction, the remote object is "exported" to the RMI runtime (on the specified port) and is available to accept incoming calls from clients.Parameters: id - activation identifier for the object - the port number on which the object is exportedport - the port number on which the object is exported - the client-side socket factory for making calls to the remote objectcsf - the client-side socket factory for making calls to the remote object - the server-side socket factory for receiving remote callsssf - the server-side socket factory for receiving remote callsThrows: RemoteException - if exporting the object to the RMI runtime failsSince: JDK1.2
- Constructor for class java.rmi.activation.Activatable 
protected Activatable (String  location, MarshalledObject  data, boolean restart, int port) throws ActivationException , RemoteException 
Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) . A concrete subclass of this class must call this constructor to register and export the object during initial construction. As a side-effect of activatable object construction, the remote object is both "registered" with the activation system and "exported" (on an anonymous port if port=0) to the RMI runtime so that it is available to accept incoming calls from clients.Parameters: location - the location for classes for this object - the object's initialization datadata - the object's initialization data - the port on which the object is exported (an anonymous port is used if port=0)port - the port on which the object is exported (an anonymous port is used if port=0) - if true, the object is restarted when the activator is restarted; if false, the object is activated on demand.restart - if true, the object is restarted when the activator is restarted; if false, the object is activated on demand.Throws: ActivationException - if object registration fails. - if either of the following fails: a) registering the object with the activation system or b) exporting the object to the RMI runtime.RemoteException - if either of the following fails: a) registering the object with the activation system or b) exporting the object to the RMI runtime.Since: JDK1.2
- Constructor for class java.rmi.activation.Activatable 
protected Activatable (String  location, MarshalledObject  data, boolean restart, int port, RMIClientSocketFactory  csf, RMIServerSocketFactory  ssf) throws ActivationException , RemoteException 
Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) . A concrete subclass of this class must call this constructor to register and export the object during construction. As a side-effect of activatable object construction, the remote object is both "registered" with the activation system and "exported" (on an anonymous port if port=0) to the RMI runtime so that it is available to accept incoming calls from clients. Note that objects created via this constructor will be activated on demand, not restarted when the activation daemon starts. If an activatable objects requires restart when the activation daemon rmid starts, use the second Activatable constructor form.Parameters: location - the location for classes for this object - the object's initialization datadata - the object's initialization data - if true, the object is restarted when the activator is restarted; if false, the object is activated on demand.restart - if true, the object is restarted when the activator is restarted; if false, the object is activated on demand. - the port on which the object is exported (an anonymous port is used if port=0)port - the port on which the object is exported (an anonymous port is used if port=0) - the client-side socket factory for making calls to the remote objectcsf - the client-side socket factory for making calls to the remote object - the server-side socket factory for receiving remote callsssf - the server-side socket factory for receiving remote callsThrows: ActivationException - if object registration fails. - if either of the following fails: a) registering the object with the activation system or b) exporting the object to the RMI runtime.RemoteException - if either of the following fails: a) registering the object with the activation system or b) exporting the object to the RMI runtime.Since: JDK1.2