Java Platform 1.2
Beta 4

Uses of Class
java.rmi.RemoteException

Packages that use RemoteException
java.rmi Provides the RMI package.  
java.rmi.activation Provides support for RMI Object Activation.  
java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC).  
java.rmi.registry Provides a class and two interfaces for the RMI registry.  
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. A group of classes are used by the stubs and skeletons generated by the rmic stub compiler.  
 

Uses of RemoteException in java.rmi
 

Subclasses of RemoteException in java.rmi
  AccessException
           
  ConnectException
           
  ConnectIOException
           
  MarshalException
           
  NoSuchObjectException
           
  ServerError
           
  ServerException
           
  ServerRuntimeException
           
  StubNotFoundException
           
  UnexpectedException
           
  UnknownHostException
           
  UnmarshalException
           
 

Methods in java.rmi that throw RemoteException
static Remote Naming.lookup(String name)
          Returns the remote object for the URL.
static void Naming.bind(String name, Remote obj)
          Binds the name to the specified remote object.
static void Naming.unbind(String name)
          Unbind the name.
static void Naming.rebind(String name, Remote obj)
          Rebind the name to a new object; replaces any existing binding.
static String[] Naming.list(String name)
          Returns an array of strings of the URLs in the registry.
 

Uses of RemoteException in java.rmi.activation
 

Subclasses of RemoteException in java.rmi.activation
  ActivateFailedException
          This exception is thrown by the RMI runtime when activation fails during a remote call to an activatable object.
 

Methods in java.rmi.activation that throw RemoteException
 MarshalledObject Activator.activate(ActivationID id, boolean force)
          Activate the object associated with the activation identifier, id.
static Remote Activatable.register(ActivationDesc desc)
          Register an object descriptor for an activatable remote object so that is can be activated on demand.
static boolean Activatable.inactive(ActivationID id)
          Informs the system that the object with the corresponding activation id is currently inactive.
static void Activatable.unregister(ActivationID id)
          Revokes previous registration for the activation descriptor associated with id.
static ActivationID Activatable.exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port)
          This exportObject method may be invoked explicitly by an "activatable" object, that does not extend the Activatable class, in order to both a) register the object's activation descriptor, constructed from the supplied location, and data, with the activation system (so the object can be activated), and b) export the remote object, obj, on a specific port (if port=0, then an anonymous port is chosen).
static ActivationID Activatable.exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          This exportObject method may be invoked explicitly by an "activatable" object, that does not extend the Activatable class, in order to both a) register the object's activation descriptor, constructed from the supplied location, and data, with the activation system (so the object can be activated), and b) export the remote object, obj, on a specific port (if port=0, then an anonymous port is chosen).
static Remote Activatable.exportObject(Remote obj, ActivationID id, int port)
          Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
static Remote Activatable.exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
 ActivationID ActivationSystem.registerObject(ActivationDesc desc)
          The registerObject method is used to register an activation descriptor, desc, and obtain an activation identifier for a activatable remote object.
 void ActivationSystem.unregisterObject(ActivationID id)
          Remove the activation id and associated descriptor previously registered with the ActivationSystem; the object can no longer be activated via the object's activation id.
 ActivationGroupID ActivationSystem.registerGroup(ActivationGroupDesc desc)
          Register the activation group.
 ActivationMonitor ActivationSystem.activeGroup(ActivationGroupID id, ActivationInstantiator group, long incarnation)
          Callback to inform activation system that group is now active.
 void ActivationSystem.unregisterGroup(ActivationGroupID id)
          Remove the activation group.
 void ActivationSystem.shutdown()
          Shutdown the activation system.
 ActivationDesc ActivationSystem.setActivationDesc(ActivationID id, ActivationDesc desc)
          Set the activation descriptor, desc for the object with the activation identifier, id.
 ActivationGroupDesc ActivationSystem.setActivationGroupDesc(ActivationGroupID id, ActivationGroupDesc desc)
          Set the activation group descriptor, desc for the object with the activation group identifier, id.
 ActivationDesc ActivationSystem.getActivationDesc(ActivationID id)
          Returns the activation descriptor, for the object with the activation identifier, id.
 ActivationGroupDesc ActivationSystem.getActivationGroupDesc(ActivationGroupID id)
          Returns the activation group descriptor, for the group with the activation group identifier, id.
 boolean ActivationGroup.inactiveObject(ActivationID id)
          The group's inactiveObject method is called indirectly via a call to the Activatable.inactive method.
abstract  void ActivationGroup.activeObject(ActivationID id, Remote obj)
          The group's activeObject method is called when an object is exported (either by Activatable object construction or an explicit call to Activatable.exportObject.
protected  void ActivationGroup.activeObject(ActivationID id, MarshalledObject mobj)
          This protected method is necessary for subclasses to make the activeObject callback to the group's monitor.
protected  void ActivationGroup.inactiveGroup()
          This protected method is necessary for subclasses to make the inactiveGroup callback to the group's monitor.
 MarshalledObject ActivationInstantiator.newInstance(ActivationID id, ActivationDesc desc)
          The activator calls an instantiator's newInstance method in order to recreate in that group an object with the activation identifier, id, and descriptor, desc.
 void ActivationMonitor.inactiveObject(ActivationID id)
          An activation group calls its monitor's inactiveObject method when an object in its group becomes inactive (deactivates).
 void ActivationMonitor.activeObject(ActivationID id, MarshalledObject obj)
          Informs that an object is now active.
 void ActivationMonitor.inactiveGroup(ActivationGroupID id, long incarnation)
          Informs that the group is now inactive.
 Remote ActivationID.activate(boolean force)
          Activate the object for this id.
 

Constructors in java.rmi.activation that throw RemoteException
Activatable.Activatable(String location, MarshalledObject data, boolean restart, int port)
          Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0)
Activatable.Activatable(String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0)
Activatable.Activatable(ActivationID id, int port)
          Constructor used to activate/export the object on a specified port.
Activatable.Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Constructor used to activate/export the object on a specified port.
ActivationGroup.ActivationGroup(ActivationGroupID groupID)
          Constructs and exports an activation group as a UnicastRemoteObject so that a client can invoke its newInstance method.
 

Uses of RemoteException in java.rmi.dgc
 

Methods in java.rmi.dgc that throw RemoteException
 Lease DGC.dirty(ObjID[] ids, long sequenceNum, Lease lease)
          The dirty call requests leases for the remote object references associated with the object identifiers contained in the array 'ids'.
 void DGC.clean(ObjID[] ids, long sequenceNum, VMID vmid, boolean strong)
          The clean call removes the 'vmid' from the reference list of each remote object indicated in 'id's.
 

Uses of RemoteException in java.rmi.registry
 

Methods in java.rmi.registry that throw RemoteException
 Registry RegistryHandler.registryStub(String host, int port)
          Deprecated. As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's stub.
 Registry RegistryHandler.registryImpl(int port)
          Deprecated. As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's implementation.
 Remote Registry.lookup(String name)
          Returns the remote object associated with the specified name in the registry.
 void Registry.bind(String name, Remote obj)
          Binds the name to the specified remote object.
 void Registry.unbind(String name)
          Unbind the name.
 void Registry.rebind(String name, Remote obj)
          Rebind the name to a new object, replacing any existing binding.
 String[] Registry.list()
          Returns an array of the names in the registry.
static Registry LocateRegistry.getRegistry()
          Returns a reference to the the remote object Registry for the local host on the default registry port of 1099.
static Registry LocateRegistry.getRegistry(int port)
          Returns a reference to the the remote object Registry for the local host on the specified port.
static Registry LocateRegistry.getRegistry(String host)
          Returns a reference to the remote object Registry on the specified host on the default registry port of 1099. If host is null, the local host is used.
static Registry LocateRegistry.getRegistry(String host, int port)
          Returns a reference to the remote object Registry on the specified host and port.
static Registry LocateRegistry.getRegistry(String host, int port, RMIClientSocketFactory csf)
          Returns a locally created remote reference to the remote object Registry on the specified host and port.
static Registry LocateRegistry.createRegistry(int port)
          Creates and exports a Registry on the local host that accepts requests on the specified port.
static Registry LocateRegistry.createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Creates and exports a Registry on the local host that uses custom socket factories for communication with that registry.
 

Uses of RemoteException in java.rmi.server
 

Subclasses of RemoteException in java.rmi.server
  ExportException
           
  SkeletonMismatchException
          This exception is thrown when a call is received that does not match the available skeleton.
  SkeletonNotFoundException
           
  SocketSecurityException
           
 

Methods in java.rmi.server that throw RemoteException
static RemoteStub UnicastRemoteObject.exportObject(Remote obj)
          Export the remote object to make it available to receive incoming calls, using an anonymous port.
static Remote UnicastRemoteObject.exportObject(Remote obj, int port)
          Export the remote object to make it available to receive incoming calls, using the particular supplied port.
static Remote UnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Export the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.
 RemoteCall RemoteRef.newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
          Creates an appropriate call object for a new remote method invocation on this object.
 void RemoteRef.done(RemoteCall call)
          Allows the remote reference to clean up (or reuse) the connection.
 RemoteStub ServerRef.exportObject(Remote obj, Object data)
          Find or create a client stub object for the supplied Remote.
 

Constructors in java.rmi.server that throw RemoteException
UnicastRemoteObject.UnicastRemoteObject()
          Create and export a new UnicastRemoteObject object using an anonymous port.
UnicastRemoteObject.UnicastRemoteObject(int port)
          Create and export a new UnicastRemoteObject object using the particular supplied port.
UnicastRemoteObject.UnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Create and export a new UnicastRemoteObject object using the particular supplied port and socket factories
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.