1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/share/classes/org/omg/PortableServer/POAPackage/package.html Wed Apr 27 01:21:28 2016 +0800 1.3 @@ -0,0 +1,74 @@ 1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 1.5 +<html> 1.6 +<head> 1.7 +<!-- 1.8 + 1.9 + Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved. 1.10 + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.11 + 1.12 + This code is free software; you can redistribute it and/or modify it 1.13 + under the terms of the GNU General Public License version 2 only, as 1.14 + published by the Free Software Foundation. Oracle designates this 1.15 + particular file as subject to the "Classpath" exception as provided 1.16 + by Oracle in the LICENSE file that accompanied this code. 1.17 + 1.18 + This code is distributed in the hope that it will be useful, but WITHOUT 1.19 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.20 + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.21 + version 2 for more details (a copy is included in the LICENSE file that 1.22 + accompanied this code). 1.23 + 1.24 + You should have received a copy of the GNU General Public License version 1.25 + 2 along with this work; if not, write to the Free Software Foundation, 1.26 + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.27 + 1.28 + Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.29 + or visit www.oracle.com if you need additional information or have any 1.30 + questions. 1.31 + 1.32 + 1.33 +--> 1.34 + 1.35 +</head> 1.36 +<body bgcolor="white"> 1.37 + 1.38 +<P>Allows programmers to construct object implementations that are portable 1.39 +between different ORB products. 1.40 + 1.41 +<P>The Portable Object Adaptor (POA) is designed to meet the following goals: 1.42 +<P> 1.43 +<UL> 1.44 +<LI>Allow programmers to construct object implementations that are portable between different ORB products. 1.45 +<LI>Provide support for objects with persistent identities. 1.46 +<LI>Provide support for transparent activation of objects. 1.47 +<LI>Allow a single servant to support multiple object identities simultaneously. 1.48 +</UL> 1.49 + 1.50 + 1.51 + 1.52 +<P>Given an interface <tt>My</tt> defined in <tt>My.idl</tt>, the file <tt>MyPOA.java</tt> is generated by the <tt>idlj</tt> compiler. You must provide the implementation for <tt>My</tt> and it must inherit from <tt>MyPOA</tt>. 1.53 + 1.54 +<P><TT>MyPOA.java</TT> is a stream-based skeleton that extends <tt>org.omg.PortableServer.Servant</tt> and implements the <tt>InvokeHandler</tt> interface and the operations interface associated with the IDL interface the skeleton implements. 1.55 + 1.56 +<P>The <TT>PortableServer</TT> module for the Portable Object Adapter (POA) defines the native <tt>Servant</tt> type. In the Java programming language, the <tt>Servant</tt> type is mapped to the Java <TT>org.omg.PortableServer.Servant</TT> class. It serves as the base class for all POA servant implementations and provides a number of methods that may 1.57 +be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. 1.58 + 1.59 + 1.60 + 1.61 +<P>All Mapping corresponds to the Chapter 11 of 1.62 + CORBA V2.3.1 specified by OMG document formal/99-10-07.pdf. 1.63 + The exception to this is the <code>id</code> attribute, which is added in ptc/00-08-06, 1.64 + section 11.3.8.26. 1.65 + 1.66 +<H3>Package Specification</H3> 1.67 + 1.68 +<P>For a precise list of supported sections of official specifications with which 1.69 +the Java[tm] Platform, Standard Edition 6, ORB complies, see <A 1.70 +HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA 1.71 +support in Java[tm] SE 6</A>. 1.72 +<p> 1.73 +@since 1.4 1.74 +<br> 1.75 +@serial exclude 1.76 +</body> 1.77 +</html>