|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.model.DependableFactory
public class DependableFactory
DependableFactory class. Responsible for creating objects an object can depend on. In general, objects depended on are dealt with first by commands such as compilation, deployment, etc..
| Constructor Summary | |
|---|---|
DependableFactory() |
|
| Method Summary | |
|---|---|
void |
cache(Dependable dependable)Caches the specified Dependable. |
Dependable |
find(Element source)Finds Dependable that encapsulates the source object. |
Dependable |
find(Element source, Folder owner)Finds Dependable that encapsulates the source object contained by the specified owner. |
Dependable[] |
findAll(Element source)Returns all Dependables associated with the given source. |
Dependable |
findOrCreate(Element source, Folder owner)Finds or creates a Dependable that encapsulates the source object. |
boolean |
hasFactory(Element source)Returns true if a factory has been registered with the given key. |
void |
registerFactory(DependableRecognizer factory)Registers a specific DependableRecognizer that is used to instanciate a dependable object. |
void |
removeFactory(DependableRecognizer factory)Removes the factory from the factories registry. |
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 |
| Constructor Detail |
|---|
public DependableFactory()
| Method Detail |
|---|
public void registerFactory(DependableRecognizer factory)
DependableRecognizer that is used to instanciate a dependable object.public void removeFactory(DependableRecognizer factory)
public boolean hasFactory(Element source)
true if a factory has been registered with the given key.
public 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.IllegalAccessExceptionjava.lang.InstantiationExceptionpublic Dependable find(Element source)
Dependable that encapsulates the source object. If a DependableRecognizer is not found, null is returned.
public Dependable find(Element source,
Folder owner)
Dependable that encapsulates the source object contained by the specified owner.public Dependable[] findAll(Element source)
Dependables associated with the given source.public void cache(Dependable dependable)
Dependable.public void uncache(Dependable dependable)
Dependable.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||