|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adfinternal.model.adapter.generic.DCStructureProviderFactory
public final class DCStructureProviderFactory
Singleton class that acts as a factory for MetaDataProviders for the given environment(jdev, worplace, etc). This singleton must have the correct DCDefinitionProviderBuilder installed at designtime environment initialization or prior to DataControlStructureProvider construction. the main benefit provided by this class is a level of indirection between runtime and designtime components of the ADF adapter based framework. The TopLink AbstractAdapter and AbstractDefinition implementations need not know about the designtime details (UI and meta data creation) of the environment to create the DataControlStructureProvider. Also a level of abstraction is provided such that multiple persistence technology flavors (OR, EJB, XML) can be incorporated in via their own DataControlStructure and asssociated provider.
DataControlStructureProvider
,
DataControlStructure
Method Summary | |
---|---|
void |
addProviderBuilder(java.lang.String builderType,
DataControlStructureProvider provider)
To be called during environment initialization or prior to data control creation. |
DataControlStructureProvider |
getProvider(java.lang.String type)
Creates a DataControlStructureProvider based on the DCDefinitionProviderBuilder given by the environment. |
static DCStructureProviderFactory |
instance()
Singleton method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DCStructureProviderFactory instance()
public DataControlStructureProvider getProvider(java.lang.String type)
public void addProviderBuilder(java.lang.String builderType, DataControlStructureProvider provider)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |