|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.model.DependableFactory
public final class DependableFactory
A factory to discover and create Dependencies to Element
s.
The factory offers the following services:
Element
(the parent), this factory can create and return one or more DiscoveredDependable
objects, each of which represent dependable end-points within that Element.Dependable
object for that Element.Dependable
it can return its serialized HashStructure
form.The DependableFactory.Params
context adapter can be used to pass additional parameters to the factory via the Context
, including its parent.
Nested Class Summary | |
---|---|
static class |
DependableFactory.Params |
Method Summary | |
---|---|
Dependable |
createDependable(Context context) Creates a Dependable for selected Element in the context. |
java.lang.Iterable<DiscoveredDependable> |
discover(Context context) Gets all possible DiscoveredDependable node under a parent for forming dependencies originating from another element. |
static DependableFactory |
getInstance() Get the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DependableFactory getInstance()
public Dependable createDependable(Context context)
Context
should contain the following:For example, if a dependency is from ProjectA to ProjectB, then origin would ProjectA, Element would be the ProjectB, parent would be the Workspace
for ProjectB.
public java.lang.Iterable<DiscoveredDependable> discover(Context context)
DiscoveredDependable
node under a parent for forming dependencies originating from another element.
The Context
should contain the following:
element - the root element under which dependables are to be discovered. parent - the containing folder or owner of the Element.
origin - the source from where the dependency is originating.
Use the DependableFactory.Params
context adapter to set parameters in the Context.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |