Oracle Data-aware Controls Reference

oracle.dacf.control
Class InfoBusManager

java.lang.Object
  extended byoracle.dacf.control.InfoBusManager

public class InfoBusManager
extends java.lang.Object

The InfoBusManager serves to track active controls. The primary purpose is so that controls can be notified when they are about to be destroy so that they can disconnect from the InfoBus and perform any other cleanup tasks and thus avoid any memory leaks due to zombie objects.


Constructor Summary
protected InfoBusManager()
          InfoBusManager is implemented as a singleton and cannot be instantiated directly.
 
Method Summary
 void addInfoBusManagerListener(InfoBusManagerListener l)
          Register a InfoBusManagerListener with the InfoBusManager
 void fireReleaseResources(java.lang.Object src, java.awt.Container c)
           
protected  InfoBusManagerListener[] getInfoBusManagerListeners()
          Returns all the registered InfoBusManagerListeners
static InfoBusManager getInstance()
          Gets an instance of the InfoBusManager.
 void removeInfoBusManagerListener(InfoBusManagerListener l)
          Rremove a InfoBusManagerListener from the InfoBusManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoBusManager

protected InfoBusManager()
InfoBusManager is implemented as a singleton and cannot be instantiated directly. Clients must use the getInfoBusManager() method to get an instance

See Also:
InfoBusManager#getInfoBusManager()
Method Detail

addInfoBusManagerListener

public void addInfoBusManagerListener(InfoBusManagerListener l)
Register a InfoBusManagerListener with the InfoBusManager


removeInfoBusManagerListener

public void removeInfoBusManagerListener(InfoBusManagerListener l)
Rremove a InfoBusManagerListener from the InfoBusManager


getInstance

public static InfoBusManager getInstance()
Gets an instance of the InfoBusManager.

Returns:
the InfoBusManager

fireReleaseResources

public void fireReleaseResources(java.lang.Object src,
                                 java.awt.Container c)

getInfoBusManagerListeners

protected InfoBusManagerListener[] getInfoBusManagerListeners()
Returns all the registered InfoBusManagerListeners

Returns:
an array of the registered InfoBusManagerListeners.

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.