question: @ Override public synchronized void connectionNotification ( String eventName , Object source ) { if ( connectionAllowed ( eventName ) ) { if ( eventName . compareTo ( "trainingSet" ) == 0 ) { m_trainingProvider = source ; } else if ( eventName . compareTo ( "testSet" ) == 0 ) { m_testProvider = source ; } else if ( eventName . compareTo ( "dataSet" ) == 0 ) { m_dataProvider = source ; } else if ( eventName . compareTo ( "instance" ) == 0 ) { m_instanceProvider = source ; } m_connectedFormat = null ; } }
target:  Notify this object that it has been registered as a listener with a source with respect to the supplied event name