|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.db2.wrapper.SqlqgBaseClass
com.ibm.db2.wrapper.Server
com.ibm.db2.wrapper.FencedServer
com.ibm.db2.wrapper.FencedGenericServer
The FencedGenericServer class is a subclass of the Server class and is the
abstract base class for all nonrelational data source server functionality
that operates in the fenced (untrusted) process space.
This class is responsible for creating remote connections and nicknames.
Usage:
The wrapper must implement a subclass of FencedGenericServer class.
This class is instantiated by the wrapper in the createServer
method of the wrapper-specific subclass of the FencedGenericWrapper
class.
Constructor Summary | |
protected |
FencedGenericServer(java.lang.String name,
FencedGenericWrapper wrapper)
Construct a FencedGenericServer object for the specified wrapper with the specified name. |
Method Summary | |
protected RemoteUser |
createRemoteUser(java.lang.String userName)
Instantiate an appropriate RemoteUser subclass for this data source server. |
Methods inherited from class com.ibm.db2.wrapper.FencedServer |
createRemoteConnection, findConnection, getRemoteConnectionKind |
Methods inherited from class com.ibm.db2.wrapper.Server |
createNickname, destroy, findRemoteUser, getInfo, getName, getType, getVersion, getWrapper, initializeMyServer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected FencedGenericServer(java.lang.String name, FencedGenericWrapper wrapper)
name
- The name of the data source server.wrapper
- The wrapper object that contains the data source server.FencedGenericWrapper
,
FencedServer
Method Detail |
protected RemoteUser createRemoteUser(java.lang.String userName) throws java.lang.Exception
FencedGenericRemoteUser
class.
The wrapper can implement this method in the wrapper-specific
data source server subclass. The wrapper writer must implement this method
if a wrapper-specific subclass of the FencedGenericRemoteUser
class is
implemented.
createRemoteUser
in class Server
userName
- The name of the remote user mapping to be created as
specified in the CREATE USER MAPPING statement.
java.lang.Exception
- if a new RemoteUser instance cannot be created.RemoteUser
|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(C)Copyright IBM Corp. 2002. All rights reserved.
Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.