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 the client.
None. All methods are static.
JServerResultSet, JServerResultSetMetaData
Creates a JServerResultSetMetaData object.
Package | com.sybase.jaguar.server |
Class | JContext |
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)
Creates a JServerResultSet object.
Package | com.sybase.jaguar.server |
Class | JContext |
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)
Retrieves the rows from a java.sql.ResultSet object and forward them to the client.
Package | com.sybase.jaguar.server |
Class | JContext |
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
Retrieves the name of the currently executing component, as displayed in Jaguar Manager.
Package | com.sybase.jaguar.server |
Class | JContext |
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()
Determines the name of the package in which the currently executing component is installed.
Package | com.sybase.jaguar.server |
Class | JContext |
public static String getPackageName()
The name of the EAServer 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 © 2001 Sybase, Inc. All rights reserved. |
![]() |