java.rmi.server

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » rmi » java.rmi.server 
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. Another group of classes implements the RMI Transport protocol and HTTP tunneling. @since JDK1.1
Java Source File NameTypeComment
ExportException.javaClass An ExportException is a RemoteException thrown if an attempt to export a remote object fails.
LoaderHandler.javaInterface LoaderHandler is an interface used internally by the RMI runtime in previous implementation versions.
LogStream.javaClass LogStream provides a mechanism for logging errors that are of possible interest to those monitoring a system.
ObjID.javaClass An ObjID is used to identify a remote object exported to an RMI runtime.
Operation.javaClass An Operation contains a description of a Java method. Operation objects were used in JDK1.1 version stubs and skeletons.
RemoteCall.javaInterface RemoteCall is an abstraction used solely by the RMI runtime (in conjunction with stubs and skeletons of remote objects) to carry out a call to a remote object.
RemoteObject.javaClass The RemoteObject class implements the java.lang.Object behavior for remote objects.
RemoteObjectInvocationHandler.javaClass An implementation of the InvocationHandler interface for use with Java Remote Method Invocation (Java RMI).
RemoteRef.javaInterface RemoteRef represents the handle for a remote object.
RemoteServer.javaClass The RemoteServer class is the common superclass to server implementations and provides the framework to support a wide range of remote reference semantics.
RemoteStub.javaClass The RemoteStub class is the common superclass to client stubs and provides the framework to support a wide range of remote reference semantics.
RMIClassLoader.javaClass RMIClassLoader comprises static methods to support dynamic class loading with RMI.
RMIClassLoaderSpi.javaClass RMIClassLoaderSpi is the service provider interface for RMIClassLoader.
RMIClientSocketFactory.javaInterface An RMIClientSocketFactory instance is used by the RMI runtime in order to obtain client sockets for RMI calls.
RMIFailureHandler.javaInterface An RMIFailureHandler can be registered via the RMISocketFactory.setFailureHandler call.
RMIServerSocketFactory.javaInterface An RMIServerSocketFactory instance is used by the RMI runtime in order to obtain server sockets for RMI calls.
RMISocketFactory.javaClass An RMISocketFactory instance is used by the RMI runtime in order to obtain client and server sockets for RMI calls.
ServerCloneException.javaClass A ServerCloneException is thrown if a remote exception occurs during the cloning of a UnicastRemoteObject.

As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism.

ServerNotActiveException.javaClass An ServerNotActiveException is an Exception thrown during a call to RemoteServer.getClientHost if the getClientHost method is called outside of servicing a remote method call.
ServerRef.javaInterface A ServerRef represents the server-side handle for a remote object implementation.
Skeleton.javaInterface The Skeleton interface is used solely by the RMI implementation.

Every version 1.1 (and version 1.1 compatible skeletons generated in 1.2 using rmic -vcompat) skeleton class generated by the rmic stub compiler implements this interface.

SkeletonMismatchException.javaClass This exception is thrown when a call is received that does not match the available skeleton.
SkeletonNotFoundException.javaClass A SkeletonNotFoundException is thrown if the Skeleton corresponding to the remote object being exported is not found.
SocketSecurityException.javaClass An obsolete subclass of ExportException .
UID.javaClass A UID represents an identifier that is unique over time with respect to the host it is generated on, or one of 216 "well-known" identifiers.

The UID.UID() constructor can be used to generate an identifier that is unique over time with respect to the host it is generated on.

UnicastRemoteObject.javaClass Used for exporting a remote object with JRMP and obtaining a stub that communicates to the remote object.

For the constructors and static exportObject methods below, the stub for a remote object being exported is obtained as follows:

  • If the remote object is exported using the UnicastRemoteObject.exportObject(Remote) UnicastRemoteObject.exportObject(Remote) method, a stub class (typically pregenerated from the remote object's class using the rmic tool) is loaded and an instance of that stub class is constructed as follows.
    • A "root class" is determined as follows: if the remote object's class directly implements an interface that extends Remote , then the remote object's class is the root class; otherwise, the root class is the most derived superclass of the remote object's class that directly implements an interface that extends Remote.
    • The name of the stub class to load is determined by concatenating the binary name of the root class with the suffix "_Stub".
    • The stub class is loaded by name using the class loader of the root class.
Unreferenced.javaInterface A remote object implementation should implement the Unreferenced interface to receive notification when there are no more clients that reference that remote object.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.