public abstract class ExtendedObjectSupplier extends Object
If the supplier is asked to track changes, it should notify requestor whenever any of
the objects produced by the get(IObjectDescriptor, IRequestor, boolean, boolean)
method change. The supplier can do this by performing calls to the IRequestor.resolveArguments(boolean)
and IRequestor.execute()
.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_CONTEXT_KEY
An OSGi service property used to indicate the context key this function should be registered
in.
|
static String |
SERVICE_NAME
The OSGi service name for an object provider service.
|
Constructor and Description |
---|
ExtendedObjectSupplier()
Constructs a new instance of an extended object supplier.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
get(IObjectDescriptor descriptor,
IRequestor requestor,
boolean track,
boolean group)
This method is called by the dependency injection mechanism to obtain an object corresponding
to the object descriptor.
|
public static final String SERVICE_NAME
public static final String SERVICE_CONTEXT_KEY
public ExtendedObjectSupplier()
public abstract Object get(IObjectDescriptor descriptor, IRequestor requestor, boolean track, boolean group)
descriptor
- descriptor of the object requested by the requestorrequestor
- the originator of this requesttrack
- true
if the object suppliers should notify requestor of
changes to the returned objects; false
otherwisegroup
- true
if the change notifications can be grouped;
false
otherwise
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.