oracle.adf.dt
Class DataControlFactoryManager
java.lang.Object
oracle.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
Copyright © 1997, 2004, Oracle. All rights reserved.