ADF Designtime

oracle.adf.dt
Class DataControlFactoryManager

java.lang.Object
  extended byoracle.adf.dt.DataControlFactoryManager

public class DataControlFactoryManager
extends java.lang.Object

The DataControlFactoryManager handles registration of DataControlFactory classes. All factory classes have to register with this manager so that the 'create data control' menu is enabled for the nodes associated with a factory. We provide factories for EJB, JavaBean WebService and Toplink. Other factory types may be added by JDeveloper addins.


Method Summary
 DataControlFactory getDataControlFactory(java.lang.Class nodeClass)
          Looks up a factory class for the given node class.
static DataControlFactoryManager getInstance()
           
 void registerDataControlFactory(DataControlFactory factory)
          Registers a new DataControlFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DataControlFactoryManager getInstance()
Returns:
singleton instance of the factory manager.

registerDataControlFactory

public void registerDataControlFactory(DataControlFactory factory)
Registers a new DataControlFactory.

Parameters:
factory - object instance that implements the DataControlFactory interface.

getDataControlFactory

public DataControlFactory getDataControlFactory(java.lang.Class nodeClass)
Looks up a factory class for the given node class. If a node class has an associated factory, the 'create data control' menu is enabled.

Parameters:
nodeClass - - class for the selected node.
Returns:
- DataControlFactory for node class.

ADF Designtime

 

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