Package com.ibm.di.connector
Class DominoAdminPConnector
- java.lang.Object
-
- com.ibm.di.connector.Connector
-
- com.ibm.di.connector.DominoConnector
-
- com.ibm.di.connector.DominoAdminPConnector
-
- All Implemented Interfaces:
ConnectorInterface
,VersionInfoInterface
,java.lang.Runnable
public class DominoAdminPConnector extends DominoConnector
This connector is used for sending Administration Process requests to a Domino server.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.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
Constructors Constructor Description DominoAdminPConnector()
Constructor for the DominoAdminPConnector object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
inner_initialize(java.lang.Object o)
This is an internal method used during connector's initialization.java.lang.Object
querySchema(java.lang.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, getNotesDoc, 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, extractExceptionInformation, 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 java.lang.String myName
The string name of the Component.- See Also:
- Constant Field Values
-
-
Method Detail
-
inner_initialize
protected void inner_initialize(java.lang.Object o) throws java.lang.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 classDominoConnector
- Parameters:
o
- ignored- Throws:
java.lang.Exception
- An exception is thrown if this method fails.
-
querySchema
public java.lang.Object querySchema(java.lang.Object source) throws java.lang.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 interfaceConnectorInterface
- Overrides:
querySchema
in classConnector
- 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:
java.lang.Exception
- if an error while retrieving the schema occurs.- See Also:
Entry
,Vector
-
-