public abstract class PrimaryObjectSupplier extends Object
If supplier is asked to track changes, it should notify requestor whenever
any of the objects produced by the
get(IObjectDescriptor, Object, IRequestor, boolean, boolean, boolean)
method change. The supplier can do this by performing calls to the
|Constructor and Description|
|Modifier and Type||Method and Description|
This method is called by the dependency injection mechanism to obtain objects corresponding to the object descriptors.
Creates a new reference to the object.
Pause tracking access to the supplier's objects.
Resume tracking access to the supplier's objects.
public abstract void get(IObjectDescriptor descriptors, Object actualValues, IRequestor requestor, boolean initial, boolean track, boolean group)
descriptors- descriptors to the objects requested by the requestor
actualValues- the values of actual arguments computed so far for the descriptors (in/out)
requestor- the requestor originating this request
truetrue if this is the initial request from the requestor
trueif the object suppliers should notify requestor of changes to the returned objects;
trueif the change notifications can be grouped;
public abstract void pauseRecording()
public abstract void resumeRecording()
public WeakReference<Object> makeReference(Object object)
Suppliers may override to provide improved memory management, for instance, by to tracking references with reference queues.
object- the referred object
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.