com.ibm.di.connector
Class DominoAdminPConnector

java.lang.Object
  extended by com.ibm.di.connector.Connector
      extended by com.ibm.di.connector.DominoConnector
          extended by com.ibm.di.connector.DominoAdminPConnector
All Implemented Interfaces:
ConnectorInterface, VersionInfoInterface, Runnable

public class DominoAdminPConnector
extends DominoConnector

This connector is used for sending Administration Process requests to a Domino server.


Field Summary
protected static String myName
          The string name of the Component.
 
Fields inherited from class com.ibm.di.connector.DominoConnector
selection
 
Fields inherited from class com.ibm.di.connector.Connector
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER
 
Constructor Summary
DominoAdminPConnector()
          Constructor for the DominoAdminPConnector object
 
Method Summary
protected  void inner_initialize(Object o)
          This is an internal method used during connector's initialization.
 Object querySchema(Object source)
          This function translates to whatever means a connector has to discover schema for a connection.
 
Methods inherited from class com.ibm.di.connector.DominoConnector
addValue, buildEntry, deleteEntry, findEntry, getDominoDatabase, getDominoSession, getDominoView, getNextEntry, getVersion, initialize, initLocalThread, inner_findEntry, isConvertable, modDocument, modEntry, modEntry, putEntry, queryDatabases, queryViews, run, selectEntries, setCurrent, terminate, termLocalThread
 
Methods inherited from class com.ibm.di.connector.Connector
addFindEntry, allModes, clearFindEntries, debug, debugMode, findEntry, getBoolean, getClassInstance, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getLog, getMaxDuplicateEntries, getModes, getModes, getName, getNextClient, getNextFindEntry, getParam, getParser, getProperty, getPushbackEntry, getRawConnectorConfiguration, getRSInterface, getUI, hasConfigValue, hasParser, initParser, isDeltaSupported, isExceptionFatal, isIOException, logError, logmsg, pushback, queryOperations, queryReply, queryTables, reconnect, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setDebugMode, setLog, setMaxDuplicateEntries, setModes, setModes, setName, setParam, setParser, setProperty, setRSInterface, terminateServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.di.connector.ConnectorInterface
getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, pushback, queryOperations, queryReply, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer
 

Field Detail

myName

protected static final String myName
The string name of the Component.

See Also:
Constant Field Values
Constructor Detail

DominoAdminPConnector

public DominoAdminPConnector()
Constructor for the DominoAdminPConnector object

Method Detail

inner_initialize

protected void inner_initialize(Object o)
                         throws Exception
This is an internal method used during connector's initialization. It is created in order to have only one thread accessing the Domino database

Overrides:
inner_initialize in class DominoConnector
Parameters:
o - ignored
Throws:
Exception - An exception is thrown if this method fails.

querySchema

public Object querySchema(Object source)
                   throws Exception
This function translates to whatever means a connector has to discover schema for a connection. The connector may implement this, in which case a Vector of Entry objects is returned for each column/attribute it discovered. For a database connector this would typically be column names and their attributes.

Each Entry in the Vector returned should contain the following attributes:

Name Value
name The name of the column/attribute/field ....
syntax The syntax or expected value type
size If specified this will give the user a hint as to how long the field may be

Specified by:
querySchema in interface ConnectorInterface
Overrides:
querySchema in class Connector
Parameters:
source - The object on which to discover schema. This may be an Entry or a string value
Returns:
A Vector of com.ibm.di.entry.Entry objects describing each entity
Throws:
Exception - if an error while retrieving the schema occurs.
See Also:
Entry, Vector