|
vSphere Client SDK API Documentation : version 5.5.0.1300321 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyProviderAdapter
Interface defining a property provider to the Data Service.
A PropertyProviderAdapter
is responsible for providing properties for
its advertised types and their properties. It is not a source of objects, the objects
need to be fed in and the adapter returns properties on those objects.
PropertyProviderAdapters must be registered with the
DataServiceExtensionRegistry
in order to be called. However,
when using Spring/OSGI, the adapter's registration is done automatically at the
time the bundle is loaded if the adapter is registered as an osgi-service under the
PropertyProviderAdapter
interface, like this:
Method Summary | |
---|---|
ResultSet |
getProperties(PropertyRequestSpec propertyRequest)
Get the data from the adapter given a set of objects and the propertySpecs corresponding to those objects. |
Method Detail |
---|
ResultSet getProperties(PropertyRequestSpec propertyRequest)
propertyRequest
- PropertyRequestSpec
which contains the objects and the
properties of those objects that are being requested from the adapter.
Each provider should register an unique set of type-property tuple.
Note: if more than one adapter had registered with the same tuple the system will randomly pick an adapter and return results from it.
|
vSphere Client SDK API Documentation : version 5.5.0.1300321 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |