IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

com.ibm.db2.wrapper
Class UnfencedNickname

java.lang.Object
  extended bycom.ibm.db2.wrapper.SqlqgBaseClass
      extended bycom.ibm.db2.wrapper.Nickname
          extended bycom.ibm.db2.wrapper.UnfencedNickname
Direct Known Subclasses:
UnfencedGenericNickname

public class UnfencedNickname
extends Nickname

The UnfencedNickname class represents a nickname in the unfenced (trusted) process space. This class is responsible for validating information from the CREATE NICKNAME and ALTER NICKNAME statements.

Usage:
Do not use this class directly. Instantiating or subclassing the UnfencedNickname class directly results in incorrect wrapper behavior. Subclass the UnfencedGenericNickname class.

Since:
IBM DB2 Information Integrator Version 8.2

Method Summary
protected  NicknameInfo verifyMyAlterNicknameInfo(NicknameInfo nicknameInfo)
          Validate the nickname information that is specified in ALTER NICKNAME statements.
 
Methods inherited from class com.ibm.db2.wrapper.Nickname
destroy, getInfo, getLocalName, getLocalSchema, getServer, getWrapper, initializeMyNickname, verifyMyRegisterNicknameInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

verifyMyAlterNicknameInfo

protected NicknameInfo verifyMyAlterNicknameInfo(NicknameInfo nicknameInfo)
                                          throws java.lang.Exception
Validate the nickname information that is specified in ALTER NICKNAME statements. By default, this method allows only reserved options and does not return additional information. The wrapper can implement this method in the wrapper-specific nickname subclass. This method must be implemented if the wrapper-specific nickname or column options are supported. Because the verifyMyAlterNicknameInfo method is part of the trusted process space, this method cannot interact with the remote data source.

Parameters:
nicknameInfo - An object that contains the information that is provided in an ALTER NICKNAME statement.
Returns:
An object with the information that is added by the nickname.
Throws:
java.lang.Exception - if the verification process fails.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
NicknameInfo

IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

(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.