Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.model
Class ProjectDependencyFactory

java.lang.Object
  extended by oracle.jdeveloper.model.ProjectDependencyFactory

Deprecated. Use DependableFactory instead.

@Deprecated
public final class ProjectDependencyFactory
extends java.lang.Object

ProjectDependencyFactory class. Responsible for creating objects a project can depend on. In general, objects a project depends on are dealt with first by commands such as compilation, deployment, etc..


Method Summary
static void cache(Dependable dependable)
          Deprecated. Caches the specified Dependable.
static Dependable find(Element source)
          Deprecated. Finds Dependable that encapsulates the source object.
static Dependable find(Element source, Folder owner)
          Deprecated. Finds Dependable that encapsulates the source object contained by the specified owner.
static Dependable[] findAll(Element source)
          Deprecated. Returns all Dependables associated with the given source.
static Dependable findOrCreate(Element source, Folder owner)
          Deprecated. Finds or creates a Dependable that encapsulates the source object.
static boolean hasFactory(Element source)
          Deprecated. Returns true if a factory has been registered with the given key.
static void registerFactory(DependableRecognizer factory)
          Deprecated.  
static void removeFactory(DependableRecognizer factory)
          Deprecated.  
static void uncache(Dependable dependable)
          Deprecated. Uncaches the specified Dependable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerFactory

@Deprecated
public static void registerFactory(DependableRecognizer factory)
Deprecated. 

Registers a specific DependableRecognizer that is used to instantiate a dependable object.


removeFactory

@Deprecated
public static void removeFactory(DependableRecognizer factory)
Deprecated. 

Removes the factory from the factories registry.


hasFactory

public static boolean hasFactory(Element source)
Deprecated. 
Returns true if a factory has been registered with the given key.


findOrCreate

public static Dependable findOrCreate(Element source,
                                      Folder owner)
                               throws java.lang.IllegalAccessException,
                                      java.lang.InstantiationException
Deprecated. 
Finds or creates a Dependable that encapsulates the source object. The owner is the folder containing the source. If the source object is null or a DependableRecognizer is not found, null is returned.

Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException

find

public static Dependable find(Element source)
Deprecated. 
Finds Dependable that encapsulates the source object. If a DependableRecognizer is not found, null is returned.


find

public static Dependable find(Element source,
                              Folder owner)
Deprecated. 
Finds Dependable that encapsulates the source object contained by the specified owner.


findAll

public static Dependable[] findAll(Element source)
Deprecated. 
Returns all Dependables associated with the given source.


cache

public static void cache(Dependable dependable)
Deprecated. 
Caches the specified Dependable.


uncache

public static void uncache(Dependable dependable)
Deprecated. 
Uncaches the specified Dependable.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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