API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.rmi.activation. ActivationGroup View Source
Author(s)
Ann Wollrath
Since
1.2
Version
1.48, 05/11/17
Serial
Hierarchy
 Object
      RemoteObject
          RemoteServer
              UnicastRemoteObject
                  ActivationGroup
Implements
 ActivationInstantiator
Subclasses
Description
publicabstract abstract class ActivationGroup
  An ActivationGroup is responsible for creating new instances of "activatable" objects in its group, informing its ActivationMonitor when either: its object's become active or inactive, or the group as a whole becomes inactive.
Constructors
protected ActivationGroup (ActivationGroupID groupID) throws RemoteException
  Constructs an activation group with the given activation group identifier.
Methods
Hide/Show inherited methods
protected void activeObject (ActivationID id, MarshalledObject<Remote> mobj) throws ActivationException UnknownObjectException RemoteException
  This protected method is necessary for subclasses to make the activeObject callback to the group's monitor.
publicabstract void activeObject (ActivationID id, Remote obj) throws ActivationException UnknownObjectException RemoteException
  The group's activeObject method is called when an object is exported (either by Activatable object construction or an explicit call to Activatable.exportObject.
public Object clone () throws CloneNotSupportedException [Inherited From UnicastRemoteObject]
  Returns a clone of the remote object that is distinct from the original.
publicstaticsynchronized ActivationGroup createGroup (ActivationGroupID id, ActivationGroupDesc desc, long incarnation) throws ActivationException
  Create and set the activation group for the current VM.
pack-privatestaticsynchronized ActivationGroup currentGroup () throws ActivationException
  Returns the current group for the VM.
publicstaticsynchronized ActivationGroupID currentGroupID ()
  Returns the current activation group's identifier.
public boolean equals (Object obj) [Inherited From RemoteObject]
  Compares two remote objects for equality.
publicstatic RemoteStub exportObject (Remote obj) throws RemoteException [Inherited From UnicastRemoteObject]
  Exports the remote object to make it available to receive incoming calls using an anonymous port.
publicstatic Remote exportObject (Remote obj, int port) throws RemoteException [Inherited From UnicastRemoteObject]
  Exports the remote object to make it available to receive incoming calls, using the particular supplied port.
publicstatic Remote exportObject (Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException [Inherited From UnicastRemoteObject]
  Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.
publicstatic String getClientHost () throws ServerNotActiveException [Inherited From RemoteServer]
  Returns a string representation of the client host for the remote method invocation being processed in the current thread.
publicstatic PrintStream getLog () [Inherited From RemoteServer]
  Returns stream for the RMI call log.
public RemoteRef getRef () [Inherited From RemoteObject]
  Returns the remote reference for the remote object.
publicstaticsynchronized ActivationSystem getSystem () throws ActivationException
  Returns the activation system for the VM.
public int hashCode () [Inherited From RemoteObject]
  Returns a hashcode for a remote object.
protected void inactiveGroup () throws UnknownGroupException RemoteException
  This protected method is necessary for subclasses to make the inactiveGroup callback to the group's monitor.
public boolean inactiveObject (ActivationID id) throws ActivationException UnknownObjectException RemoteException
  The group's inactiveObject method is called indirectly via a call to the Activatable.inactive method.
pack-privatestaticsynchronized ActivationGroupID internalCurrentGroupID () throws ActivationException
  Returns the activation group identifier for the VM.
publicstatic void setLog (OutputStream out) [Inherited From RemoteServer]
  Log RMI calls to the output stream out.
publicstaticsynchronized void setSystem (ActivationSystem system) throws ActivationException
  Set the activation system for the VM.
public String toString () [Inherited From RemoteObject]
Returns a String that represents the value of this remote object.
publicstatic Remote toStub (Remote obj) throws NoSuchObjectException [Inherited From RemoteObject]
  Returns the stub for the remote object obj passed as a parameter.
publicstatic boolean unexportObject (Remote obj, boolean force) throws NoSuchObjectException [Inherited From UnicastRemoteObject]
  Removes the remote object, obj, from the RMI runtime.
Fields
Hide/Show inherited fields
protectedtransient RemoteRef ref [Inherited From RemoteObject]
The object's remote reference.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar