|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.model.ProjectDependencyFactory
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)
Caches the specified Dependable . |
static Dependable |
find(Element source)
Finds Dependable that encapsulates the source object. |
static Dependable |
find(Element source,
Folder owner)
Finds Dependable that encapsulates the source object contained
by the specified owner . |
static Dependable[] |
findAll(Element source)
Returns all Dependable s associated with the given
source . |
static Dependable |
findOrCreate(Element source,
Folder owner)
Finds or creates a Dependable that encapsulates the source object. |
static boolean |
hasFactory(Element source)
Returns true if a factory has been registered with the
given key . |
static void |
registerFactory(DependableRecognizer factory)
Registers a specific DependableRecognizer that is used to
instanciate a dependable object. |
static void |
removeFactory(DependableRecognizer factory)
Removes the factory from the factories registry. |
static void |
uncache(Dependable dependable)
Uncaches the specified Dependable . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void registerFactory(DependableRecognizer factory)
DependableRecognizer
that is used to
instanciate a dependable object.
public static void removeFactory(DependableRecognizer factory)
public static boolean hasFactory(Element source)
true
if a factory has been registered with the
given key
.
public static Dependable findOrCreate(Element source, Folder owner) throws java.lang.IllegalAccessException, java.lang.InstantiationException
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.
java.lang.IllegalAccessException
java.lang.InstantiationException
public static Dependable find(Element source)
Dependable
that encapsulates the source object.
If a DependableRecognizer
is not found, null
is returned.
public static Dependable find(Element source, Folder owner)
Dependable
that encapsulates the source object contained
by the specified owner
.
public static Dependable[] findAll(Element source)
Dependable
s associated with the given
source
.
public static void cache(Dependable dependable)
Dependable
.
public static void uncache(Dependable dependable)
Dependable
.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.