|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.beans.infomining.CMBInfoMiningBean | +--com.ibm.mm.beans.infomining.CMBConnectedMiningBean
The CMBConnectedMiningBean class is the abstract superclass of the information mining beans that require a connection to the server.
It provides connection handling support to subclasses.
Constructor Summary | |
protected |
CMBConnectedMiningBean()
Creates a new CMBConnectedMiningBean. |
Method Summary | |
com.ibm.mm.beans.CMBConnection |
getConnection()
Returns the current connection object of this information mining bean. |
protected boolean |
isConnected()
Returns true if there is an open server connection. |
void |
onCMBConnectionReply(com.ibm.mm.beans.CMBConnectionReplyEvent evt)
Invoked when connection status changed. |
void |
setConnection(com.ibm.mm.beans.CMBConnection connection)
Sets the connection object for this information mining bean. |
protected void |
validateConnection()
Ensures that this information mining bean has an open connection. |
Methods inherited from class com.ibm.mm.beans.infomining.CMBInfoMiningBean |
addCMBExceptionListener, addCMBTraceListener, isTraceEnabled, removeCMBExceptionListener, removeCMBTraceListener, setTraceEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected CMBConnectedMiningBean()
Class CMBConnectedMiningBean can be extended directly to create a bean that is able communicate with the server.
Method Detail |
protected void validateConnection() throws com.ibm.mm.beans.CMBNoConnectionException
com.ibm.mm.beans.CMBNoConnectionException
- if there is no open connection to the server.isConnected()
public void setConnection(com.ibm.mm.beans.CMBConnection connection)
connection
- the connection to be setpublic com.ibm.mm.beans.CMBConnection getConnection()
null
if the connection object has not yet been receivedprotected boolean isConnected()
true
if there is an open server connection.true
if there is an open server connection, otherwise false
validateConnection()
public void onCMBConnectionReply(com.ibm.mm.beans.CMBConnectionReplyEvent evt)
onCMBConnectionReply
in interface com.ibm.mm.beans.CMBConnectionReplyListener
evt
- event details
|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |