|
IBM Information Integrator for Content V8.2 APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A DKIKFService provides the access to the information mining functions. Depending on which type of application you want, you can create a service object using one of the following implementations:
com.ibm.mm.sdk.client.DKIKFServiceFed
com.ibm.mm.sdk.server.DKIKFServiceFed
com.ibm.mm.sdk.cs.DKIKFServiceFed
Method Summary | |
void |
connect(java.lang.String service_name,
java.lang.String user_name,
java.lang.String authentication,
java.lang.String connect_string)
Connects to the named service with user name, authentication, and connect string information. |
void |
disconnect()
Disconnects from the service. |
DKIKFLibrary |
getLibrary()
Returns a library object for this service. |
DKIKFServerTask |
getServerTask()
Returns the currently registered server task object of this service. |
boolean |
isConnected()
Returns the status of connecting to the service. |
java.io.Serializable |
runServerTask(java.io.Serializable argument)
Starts the server task by calling its runServerTask
method in the server context. |
void |
setServerTask(DKIKFServerTask serverTask)
Registers the specified server task object in the server runtime. |
Methods inherited from interface com.ibm.mm.sdk.common.dkService |
addExtension, connection, destroy, getExtension, listExtensionNames, removeExtension, serviceCategory, serviceId, serviceName, serviceType, setServiceName, setUserName, userName |
Method Detail |
public void connect(java.lang.String service_name, java.lang.String user_name, java.lang.String authentication, java.lang.String connect_string) throws DKException, java.lang.Exception
connect
in interface dkService
service_name
- name of the service.user_name
- user name.authentication
- authentification of the user.connect_string
- optional connection string.public void disconnect() throws DKException, java.lang.Exception
disconnect
in interface dkService
public boolean isConnected() throws java.lang.Exception
isConnected
in interface dkService
public DKIKFLibrary getLibrary()
public void setServerTask(DKIKFServerTask serverTask)
serverTask
- a server taskgetServerTask()
,
runServerTask(Serializable)
public DKIKFServerTask getServerTask()
null
if not setsetServerTask(DKIKFServerTask)
,
runServerTask(Serializable)
public java.io.Serializable runServerTask(java.io.Serializable argument) throws DKIKFServerTaskNotSetException, DKIKFServerTaskException
runServerTask
method in the server context.argument
- the server task argumentssetServerTask(DKIKFServerTask)
,
getServerTask()
|
IBM Information Integrator for Content V8.2 APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |