java.rmi.activation Class Details

Class Activatable

publicabstract class Activatable
                          extends RemoteServer

The Activatable class is the abstract base class you need to subclass to define a class that can have an instance remotely activated (that is, instantiated). The role of Activatable for a remote object is similar in this regard to the role of UnicastRemoteObject for a remote object. Here is a code snippet to show this class being used as a superclass:

public class ActivatableBook extends Activatable
                               implements Borrowable
    {
     // Define class here.
    }

You would make a class that extends Activatable, as opposed to UnicastRemoteObject, if it ...

Get PURE Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.