Front one OSID service with a different OSID interface, translating between domains.
An adapter wraps a source OSID manager and exposes it through a target OSID interface. Sessions on the source are translated into sessions on the target, and objects are wrapped or transformed as needed. Adapters let you reuse an existing implementation behind a different OSID contract without rewriting business logic.
A common use is bridging a generic resource service to a domain-specific OSID, or presenting a legacy system through a current OSID specification.
net.okapia.osid.jamocha.adapter.spi
| Parameter | Type | Description |
|---|---|---|
source |
SourceOsidObjectManager |
the underlying manager being adapted |
| Parameter | Type | Description |
|---|---|---|
source |
SourceOsidObjectManager |
the manager to adapt |
Returns OsidObjectManager — the adapted manager