43 <LI>Allow a single servant to support multiple object identities simultaneously. |
43 <LI>Allow a single servant to support multiple object identities simultaneously. |
44 </UL> |
44 </UL> |
45 |
45 |
46 |
46 |
47 |
47 |
48 <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>. |
48 <P>Given an interface <code>My</code> defined in <code>My.idl</code>, the file <code>MyPOA.java</code> |
|
49 is generated by the <code>idlj</code> compiler. You must provide |
|
50 the implementation for <code>My</code> and it must inherit from <code>MyPOA</code>. |
49 |
51 |
50 <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. |
52 <P><code>MyPOA.java</code> is a stream-based skeleton that extends |
|
53 <code>org.omg.PortableServer.Servant</code> and implements the <code>InvokeHandler</code> |
|
54 interface and the operations interface associated with the IDL interface the skeleton implements. |
51 |
55 |
52 <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 |
56 <P>The <code>PortableServer</code> module for the Portable Object Adapter (POA) |
53 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. |
57 defines the native <code>Servant</code> type. In the Java programming language, |
54 |
58 the <code>Servant</code> type is mapped to the Java <code>org.omg.PortableServer.Servant</code> class. |
|
59 It serves as the base class for all POA servant implementations |
|
60 and provides a number of methods that may be invoked by the application programmer, |
|
61 as well as methods which are invoked by the POA itself |
|
62 and may be overridden by the user to control aspects of servant behavior. |
55 |
63 |
56 |
64 |
57 <P>All Mapping corresponds to the Chapter 11 of |
65 |
|
66 <P>All Mapping corresponds to the Chapter 11 of |
58 CORBA V2.3.1 specified by OMG document formal/99-10-07.pdf. |
67 CORBA V2.3.1 specified by OMG document formal/99-10-07.pdf. |
59 The exception to this is the <code>id</code> attribute, which is added in ptc/00-08-06, |
68 The exception to this is the <code>id</code> attribute, which is added in ptc/00-08-06, |
60 section 11.3.8.26. |
69 section 11.3.8.26. |
61 |
70 |
62 <H3>Package Specification</H3> |
71 <H3>Package Specification</H3> |
63 |
72 |
64 <P>For a precise list of supported sections of official specifications with which |
73 <P>For a precise list of supported sections of official specifications with which |
65 the Java[tm] Platform, Standard Edition 6, ORB complies, see <A |
74 the Java[tm] Platform, Standard Edition 6, ORB complies, see <A |
66 HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA |
75 HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA |
67 support in Java[tm] SE 6</A>. |
76 support in Java[tm] SE 6</A>. |
68 |
77 |
69 @since 1.4 |
78 @since 1.4 |
70 <br> |
79 <br> |
71 @serial exclude |
80 @serial exclude |