Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
bfeeb3b8
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
bfeeb3b8
编写于
9月 18, 2010
作者:
L
lancea
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6984044: RowSet source needs to rebrand vendor references
Reviewed-by: darcy, ohair
上级
82d31a26
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
20 addition
and
21 deletion
+20
-21
src/share/classes/com/sun/rowset/internal/WebRowSetXmlWriter.java
...e/classes/com/sun/rowset/internal/WebRowSetXmlWriter.java
+1
-1
src/share/classes/com/sun/rowset/providers/RIOptimisticProvider.java
...lasses/com/sun/rowset/providers/RIOptimisticProvider.java
+4
-4
src/share/classes/com/sun/rowset/providers/RIXMLProvider.java
...share/classes/com/sun/rowset/providers/RIXMLProvider.java
+2
-2
src/share/classes/javax/sql/rowset/CachedRowSet.java
src/share/classes/javax/sql/rowset/CachedRowSet.java
+1
-2
src/share/classes/javax/sql/rowset/WebRowSet.java
src/share/classes/javax/sql/rowset/WebRowSet.java
+3
-3
src/share/classes/javax/sql/rowset/rowset.properties
src/share/classes/javax/sql/rowset/rowset.properties
+2
-2
src/share/classes/javax/sql/rowset/spi/SyncFactory.java
src/share/classes/javax/sql/rowset/spi/SyncFactory.java
+3
-3
src/share/classes/javax/sql/rowset/spi/SyncProvider.java
src/share/classes/javax/sql/rowset/spi/SyncProvider.java
+2
-2
src/share/classes/javax/sql/rowset/spi/package.html
src/share/classes/javax/sql/rowset/spi/package.html
+2
-2
未找到文件。
src/share/classes/com/sun/rowset/internal/WebRowSetXmlWriter.java
浏览文件 @
bfeeb3b8
...
...
@@ -248,7 +248,7 @@ public class WebRowSetXmlWriter implements XmlWriter, Serializable {
String
strProvider
=
strProviderInstance
.
substring
(
0
,
(
caller
.
getSyncProvider
()).
toString
().
indexOf
(
"@"
));
propString
(
"sync-provider-name"
,
strProvider
);
propString
(
"sync-provider-vendor"
,
"
Sun Microsystems Inc.
"
);
propString
(
"sync-provider-vendor"
,
"
Oracle Corporation
"
);
propString
(
"sync-provider-version"
,
"1.0"
);
propInteger
(
"sync-provider-grade"
,
caller
.
getSyncProvider
().
getProviderGrade
());
propInteger
(
"data-source-lock"
,
caller
.
getSyncProvider
().
getDataSourceLock
());
...
...
src/share/classes/com/sun/rowset/providers/RIOptimisticProvider.java
浏览文件 @
bfeeb3b8
...
...
@@ -93,14 +93,14 @@ public final class RIOptimisticProvider extends SyncProvider implements Serializ
private
CachedRowSetWriter
writer
;
/**
* The unique provider i
n
dentifier.
* The unique provider identifier.
*/
private
String
providerID
=
"com.sun.rowset.providers.RIOptimisticProvider"
;
/**
* The vendor name of this SyncProvider implementation
*/
private
String
vendorName
=
"
Sun Microsystems Inc.
"
;
private
String
vendorName
=
"
Oracle Corporation
"
;
/**
* The version number of this SyncProvider implementation
...
...
@@ -236,8 +236,8 @@ public final class RIOptimisticProvider extends SyncProvider implements Serializ
}
/**
* Returns the vendor name of the Reference Implemntation Optimistic
* Sync
chronic
ation Provider
* Returns the vendor name of the Reference Implem
e
ntation Optimistic
* Sync
hroniz
ation Provider
*
* @return the <code>String</code> detailing the vendor name of this
* SyncProvider
...
...
src/share/classes/com/sun/rowset/providers/RIXMLProvider.java
浏览文件 @
bfeeb3b8
/*
* Copyright (c) 2003, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 20
10
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -85,7 +85,7 @@ public final class RIXMLProvider extends SyncProvider {
/**
* The vendor name of this SyncProvider implementation.
*/
private
String
vendorName
=
"
Sun Microsystems Inc.
"
;
private
String
vendorName
=
"
Oracle Corporation
"
;
/**
* The version number of this SyncProvider implementation.
...
...
src/share/classes/javax/sql/rowset/CachedRowSet.java
浏览文件 @
bfeeb3b8
...
...
@@ -39,7 +39,7 @@ import javax.sql.rowset.spi.*;
* <code>CachedRowSet</code> must implement.
* <P>
* The reference implementation of the <code>CachedRowSet</code> interface provided
* by
Sun Microsystems
is a standard implementation. Developers may use this implementation
* by
Oracle Corporation
is a standard implementation. Developers may use this implementation
* just as it is, they may extend it, or they may choose to write their own implementations
* of this interface.
* <P>
...
...
@@ -1623,4 +1623,3 @@ public interface CachedRowSet extends RowSet, Joinable {
public
boolean
previousPage
()
throws
SQLException
;
}
src/share/classes/javax/sql/rowset/WebRowSet.java
浏览文件 @
bfeeb3b8
/*
* Copyright (c) 2003, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 20
10
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -115,7 +115,7 @@ import org.xml.sax.*;
* <<font color=red>url</font>>jdbc:thin:oracle<<font color=red>/url</font>>
* <<font color=red>sync-provider</font>>
* <<font color=red>sync-provider-name</font>>.com.rowset.provider.RIOptimisticProvider<<font color=red>/sync-provider-name</font>>
* <<font color=red>sync-provider-vendor</font>>
Sun Microsystems
<<font color=red>/sync-provider-vendor</font>>
* <<font color=red>sync-provider-vendor</font>>
Oracle Corporation
<<font color=red>/sync-provider-vendor</font>>
* <<font color=red>sync-provider-version</font>>1.0<<font color=red>/sync-provider-name</font>>
* <<font color=red>sync-provider-grade</font>>LOW<<font color=red>/sync-provider-grade</font>>
* <<font color=red>data-source-lock</font>>NONE<<font color=red>/data-source-lock</font>>
...
...
@@ -489,7 +489,7 @@ public interface WebRowSet extends CachedRowSet {
* tags and their valid values for a <code>WebRowSet</code> implementation.
*/
public
static
String
PUBLIC_XML_SCHEMA
=
"--//
Sun Microsystems, Inc.
//XSD Schema//EN"
;
"--//
Oracle Corporation
//XSD Schema//EN"
;
/**
* The URL for the XML Schema definition file that defines the XML tags and
...
...
src/share/classes/javax/sql/rowset/rowset.properties
浏览文件 @
bfeeb3b8
...
...
@@ -3,10 +3,10 @@
# Optimistic synchonriztaion provider
rowset.provider.classname.0
=
com.sun.rowset.providers.RIOptimisticProvider
rowset.provider.vendor.0
=
Sun Microsystems Inc
rowset.provider.vendor.0
=
Oracle Corporation
rowset.provider.version.0
=
1.0
# XML Provider using standard XML schema
rowset.provider.classname.1
=
com.sun.rowset.providers.RIXMLProvider
rowset.provider.vendor.1
=
Sun Microsystems Inc.
rowset.provider.vendor.1
=
Oracle Corporation
rowset.provider.version.1
=
1.0
src/share/classes/javax/sql/rowset/spi/SyncFactory.java
浏览文件 @
bfeeb3b8
...
...
@@ -125,12 +125,12 @@ import javax.naming.*;
*
* # Optimistic synchronization provider
* rowset.provider.classname.0=com.sun.rowset.providers.RIOptimisticProvider
* rowset.provider.vendor.0=
Sun Microsystems Inc
* rowset.provider.vendor.0=
Oracle Corporation
* rowset.provider.version.0=1.0
*
* # XML Provider using standard XML schema
* rowset.provider.classname.1=com.sun.rowset.providers.RIXMLProvider
* rowset.provider.vendor.1=
Sun Microsystems Inc.
* rowset.provider.vendor.1=
Oracle Corporation
* rowset.provider.version.1=1.0
* </PRE>
* The <code>SyncFactory</code> checks this file and registers the
...
...
@@ -369,7 +369,7 @@ public class SyncFactory {
try
{
// check if user is supplying his Synchronisation Provider
// Implementation
if not use Sun
's implementation.
// Implementation
if not using Oracle
's implementation.
// properties.load(new FileInputStream(ROWSET_PROPERTIES));
// The rowset.properties needs to be in jdk/jre/lib when
...
...
src/share/classes/javax/sql/rowset/spi/SyncProvider.java
浏览文件 @
bfeeb3b8
...
...
@@ -91,8 +91,8 @@ import javax.sql.*;
* </pre>
* <p>
* A vendor can register a <code>SyncProvider</code> implementation class name
* with
Sun Microsystems, Inc.
by sending email to jdbc@sun.com.
*
Sun
will maintain a database listing the
* with
Oracle Corporation
by sending email to jdbc@sun.com.
*
Oracle
will maintain a database listing the
* available <code>SyncProvider</code> implementations for use with compliant
* <code>RowSet</code> implementations. This database will be similar to the
* one already maintained to list available JDBC drivers.
...
...
src/share/classes/javax/sql/rowset/spi/package.html
浏览文件 @
bfeeb3b8
...
...
@@ -8,7 +8,7 @@
<meta
name=
"GENERATOR"
content=
"Mozilla/4.79 [en] (Windows NT 5.0; U) [Netscape]"
>
<!--
Copyright (c) 2003, 20
06
, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2003, 20
10
, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
...
...
@@ -199,7 +199,7 @@ specification for further details.
Vendors may develop a
<tt>
SyncProvider
</tt>
implementation with any one of the possible
levels of synchronization, thus giving
<code>
RowSet
</code>
objects a choice of
synchronization mechanisms. A vendor can make its implementation available by
registering the fully qualified class name with
Sun Microsystems at
registering the fully qualified class name with
Oracle Corporation at
<code>
jdbc@sun.com
</code>
. This process is discussed in further detail below.
<P>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录