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.
createServerResultSetMetaData() – Creates a JServerResultSetMetaData object.
createServerResultSet(JServerResultSetMetaData) – Creates a JServerResultSet object with row format that matches the specified JServerResultSetMetaData object.
forwardResultSet(ResultSet) – Retrieves the rows from a java.sql.ResultSet object and forward them to the client.
getComponentName() – Retrieves the name of the currently executing component, as displayed in EAServer Manager.
getPackageName() – Determines the name of the package in which the currently executing component is installed.
JServerResultSet, JServerResultSetMetaData
Creates 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)
Creates a JServerResultSet object.
Package |
|
Class |
public static JServerResultSet createServerResultSet ( JServerResultSetMetaData metadata) throws SQLException
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 |
|
Class |
public static void forwardResultSet( ResultSet rs) throws SQLException
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 EAServer Manager.
Package |
|
Class |
public static String getComponentName()
The name of the component, as displayed in EAServer 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 EAServer Manager package where they are installed and the EAServer Manager component name.
getPackageName(), Jaguar.getServerName()
Determines the name of the package in which the currently executing component is installed.
Package |
|
Class |
public static String getPackageName()
The name of the EAServer package, as displayed in EAServer 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 EAServer Manager package where they are installed and the EAServer Manager component name.
getComponentName(), Jaguar.getServerName()
Copyright © 2005. Sybase Inc. All rights reserved. |