Complete Contents
Introduction
Chapter 1 About Netscape Application Server Extensions
Chapter 2 About the Netscape Extension Builder
Chapter 3 Introduction to Netscape's Interface Definition Language
Chapter 4 Designing a Netscape Extension
Chapter 5 Generating Output Files
Chapter 6 Completing Method Stubs
Chapter 7 Using Template Streaming
Chapter 8 Managing State and Session Information
Chapter 9 Using Object Pools
Chapter 10 Compiling the Extension Source Code
Chapter 11 Deploying and Managing a Netscape Extension
Chapter 12 Example Extension: HelloWorld
Appendix A C++ Helper Functions
Appendix B Java Helper Static Methods
Appendix C Java Class Decorations
Appendix D Reserved Words
Appendix E The ConnManager.cpp File
Glossary
Previous Next Contents Index


Java Class Decorations

Information in this section applies only to C++ extensions with a Java Access Layer.

Netscape Application Server provides a set of predefined interfaces. As you define your own interface methods in an access module, you can specify any one of these Netscape Application Server-defined interfaces as the value for the Out parameter type. If you define an Out parameter as a Netscape Application Server-defined type, you must set the Java Class decoration for this parameter in any coclass that implements your interface.

In the following table, the lefthand column shows the parameter types you can specify for a method's Out parameter. You specify this value in an access module. The righthand column shows the corresponding decoration you must set in any coclass where you implement the method. You specify decorations in a service module.

Predefined Netscape Application Server Interface
Value to Use for Java Class Decoration
IGXBuffer
com.kivasoft.util.Buffer
IGXCallableStmt
com.kivasoft.data.CallableStmt
IGXColumn
com.kivasoft.data.Column
IGXDataConn
com.kivasoft.data.DataConn
IGXDataConnSet
com.kivasoft.loadq.DataConnSet
IGXEnumObject
com.kivasoft.util.EnumObject
IGXHierQuery
com.kivasoft.datap.HierQuery
IGXHierResultSet
com.kivasoft.datap.HierResultSet
IGXMailbox
com.kivasoft.mailbox.Mailbox
IGXObject
com.kivasoft.types.COM
IGXOrder
com.kivasoft.util.Order
IGXPreparedQuery
com.kivasoft.data.PreparedQuery
IGXQuery
com.kivasoft.data.Query
IGXResultSet
com.kivasoft.data.ResultSet
IGXSequence
com.kivasoft.data.Sequence
IGXSession2
com.kivasoft.session.Session2wrap
IGXState2
com.kivasoft.state.State2
IGXStream
com.kivasoft.util.Stream
IGXStreamBuffer
com.kivasoft.util.StreamBuffer
IGXTable
com.kivasoft.data.Table
IGXTemplateData
com.kivasoft.tmpl.TemplateData
IGXTemplateMap
com.kivasoft.tmpl.TemplateMap
IGXTrans
com.kivasoft.trans.Trans
IGXValList
com.kivasoft.util.ValList

 

Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.