Chapter 1 Java Classes and Interfaces
package com.sybase.jaguar.server;
public class JContext extends Object
Instantiates objects that are used to send result sets from a Java component method and provides a method to forward rows from a java.sql.ResultSet to a Jaguar client.
None. All methods are static.
JServerResultSet, JServerResultSetMetaData
Create a JServerResultSetMetaData object.
Package |
|
Class |
public static JServerResultSetMetaData
createServerResultSetMetaData()
throws SQLException
The JServerResultSetMetaData reference can be used to describe result rows to be sent to the client.
createServerResultSet(JServerResultSetMetaData), forwardResultSet(ResultSet)
Create a JServerResultSet object.
Package |
|
Class |
public static JServerResultSet createServerResultSet
( JServerResultSetMetaData metadata)
throws SQLException
metadata
A JServerResultSetMetaData object that has been initialized to describe the result set that will be sent.
createServerResultSetMetaData(), forwardResultSet(ResultSet)
Retrieve the rows from a java.sql.ResultSet object and forward them to the client.
Package |
|
Class |
public static void
forwardResultSet( ResultSet rs)
throws SQLException
rs
A java.sql.ResultSet containing result rows from a JDBC query to a third-tier server.
java.sql.ResultSet
Retrieve the name of the currently executing component, as displayed in Jaguar Manager.
Package |
|
Class |
public static String
getComponentName()
The name of the component, as displayed in Jaguar Manager.
getPackageName() and getComponentName() allow you to determine the name of the currently executing component. Within a server, components are identified by the name of the Jaguar Manager package where they are installed and the Jaguar Manager component name.
getPackageName(), Jaguar.getServerName()
Determine the name of the package in which the currently executing component is installed.
Package |
|
Class |
public static String
getPackageName()
The name of the Jaguar package, as displayed in Jaguar Manager.
getPackageName() and getComponentName() allow you to determine the name of the currently executing component. Within a server, components are uniquely identified by the name of the Jaguar Manager package where they are installed and the Jaguar Manager component name.
getComponentName(), Jaguar.getServerName()
Copyright © 2000 Sybase, Inc. All rights reserved. |
![]() |