< prev index next >

src/java.corba/share/classes/org/omg/PortableServer/POAPackage/package.html

Print this page

        

*** 43,58 **** <LI>Allow a single servant to support multiple object identities simultaneously. </UL> ! <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>. ! ! <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. ! ! <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 ! 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. <P>All Mapping corresponds to the Chapter 11 of CORBA V2.3.1 specified by OMG document formal/99-10-07.pdf. --- 43,67 ---- <LI>Allow a single servant to support multiple object identities simultaneously. </UL> ! <P>Given an interface <code>My</code> defined in <code>My.idl</code>, the file <code>MyPOA.java</code> ! is generated by the <code>idlj</code> compiler. You must provide ! the implementation for <code>My</code> and it must inherit from <code>MyPOA</code>. ! ! <P><code>MyPOA.java</code> is a stream-based skeleton that extends ! <code>org.omg.PortableServer.Servant</code> and implements the <code>InvokeHandler</code> ! interface and the operations interface associated with the IDL interface the skeleton implements. ! ! <P>The <code>PortableServer</code> module for the Portable Object Adapter (POA) ! defines the native <code>Servant</code> type. In the Java programming language, ! the <code>Servant</code> type is mapped to the Java <code>org.omg.PortableServer.Servant</code> class. ! It serves as the base class for all POA servant implementations ! and provides a number of methods that may 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. <P>All Mapping corresponds to the Chapter 11 of CORBA V2.3.1 specified by OMG document formal/99-10-07.pdf.
< prev index next >