Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Summary

Instantiating an OSID Provider

OSID Providers are instantiated through the runtime using the osid.OsidRuntimeManager interface. You can think of the OsidRuntime as a service bus from which OSID Providers can be accessed. The three pieces of information getManager() requires are:

  • OSID: this is an enumerated list of OSID Packages defined in osid.OSID
  • implementation name: the name of the OSID Provider implementation (in Java, this is the class name of the OsidManager)
  • version: the OSID Specification version required by the OSID Consumer (not the implementation version)

If successful, the OsidManager for the requested OSID will be returned. The OsidManager represents the principal service endpoint into the OSID Provider.

OsidManagers & OsidSessions

OSIDs are sliced into small clusters of functionality. These slices appear as sub-interfaces (not to be confused with sub packages) called OsidSessions. OsidSessions do the heavy lifting and are accessed through OsidManagers. 

See Also

  • No labels