Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.classpath.tools.rmi.registry
Class RegistryImpl_Stub  view RegistryImpl_Stub download RegistryImpl_Stub.java

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteStub
          extended bygnu.classpath.tools.rmi.registry.RegistryImpl_Stub
All Implemented Interfaces:
java.rmi.registry.Registry, java.rmi.Remote, java.io.Serializable

public final class RegistryImpl_Stub
extends java.rmi.server.RemoteStub
implements java.rmi.registry.Registry

This class delegates its method calls to the remote RMI object, referenced by java.rmi.server.RemoteRef. It is normally generated with rmic.


Field Summary
private static java.lang.String exception_message
          The explaining message for .
private static java.lang.reflect.Method met_bind
           
private static java.lang.reflect.Method met_list
           
private static java.lang.reflect.Method met_lookup
           
private static java.lang.reflect.Method met_rebind
           
private static java.lang.reflect.Method met_unbind
           
private static java.lang.Object[] NO_ARGS
           
private static long serialVersionUID
          Use serialVersionUID for interoperability
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface java.rmi.registry.Registry
REGISTRY_PORT
 
Constructor Summary
RegistryImpl_Stub(java.rmi.server.RemoteRef reference)
          Create the instance for _RegistryImpl_Stub that forwards method calls to the remote object.
 
Method Summary
 void bind(java.lang.String p0, java.rmi.Remote p1)
           
 java.lang.String[] list()
           
 java.rmi.Remote lookup(java.lang.String p0)
          Find and return the reference to the object that was previously bound to the registry by this name.
 void rebind(java.lang.String p0, java.rmi.Remote p1)
           
 void unbind(java.lang.String p0)
           
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Use serialVersionUID for interoperability

See Also:
Constant Field Values

exception_message

private static final java.lang.String exception_message
The explaining message for .

See Also:
Constant Field Values

met_list

private static final java.lang.reflect.Method met_list

met_rebind

private static final java.lang.reflect.Method met_rebind

met_unbind

private static final java.lang.reflect.Method met_unbind

met_lookup

private static final java.lang.reflect.Method met_lookup

met_bind

private static final java.lang.reflect.Method met_bind

NO_ARGS

private static final java.lang.Object[] NO_ARGS
Constructor Detail

RegistryImpl_Stub

public RegistryImpl_Stub(java.rmi.server.RemoteRef reference)
Create the instance for _RegistryImpl_Stub that forwards method calls to the remote object.

Method Detail

list

public java.lang.String[] list()
                        throws java.rmi.RemoteException,
                               java.rmi.AccessException
Specified by:
list in interface java.rmi.registry.Registry

rebind

public void rebind(java.lang.String p0,
                   java.rmi.Remote p1)
            throws java.rmi.RemoteException,
                   java.rmi.AccessException
Specified by:
rebind in interface java.rmi.registry.Registry

unbind

public void unbind(java.lang.String p0)
            throws java.rmi.RemoteException,
                   java.rmi.NotBoundException,
                   java.rmi.AccessException
Specified by:
unbind in interface java.rmi.registry.Registry

lookup

public java.rmi.Remote lookup(java.lang.String p0)
                       throws java.rmi.RemoteException,
                              java.rmi.NotBoundException,
                              java.rmi.AccessException
Description copied from interface: java.rmi.registry.Registry
Find and return the reference to the object that was previously bound to the registry by this name. For remote objects, this method returns the stub instances, containing the code for remote invocations. Since jdk 1.5 this method does not longer require the stub class (nameImpl_Stub) to be present. If such class is not found, the stub is replaced by the dynamically constructed proxy class. No attempt to find and load the stubs is made if the system property java.rmi.server.ignoreStubClasses is set to true (set to reduce the starting time if the stubs are surely not present and exclusively 1.2 RMI is used).

Specified by:
lookup in interface java.rmi.registry.Registry

bind

public void bind(java.lang.String p0,
                 java.rmi.Remote p1)
          throws java.rmi.RemoteException,
                 java.rmi.AlreadyBoundException,
                 java.rmi.AccessException
Specified by:
bind in interface java.rmi.registry.Registry