Inline Pattern

A complete in-process OSID service — all domains, single JVM, no network hop.

Overview

Inline implementations provide a fully functional OSID manager running entirely within the calling JVM. Sessions are created directly without any network or inter-process overhead. The inline pattern is the right starting point for most applications: fast, easy to test, and straightforward to override.

Extend the abstract inline manager and provide a backing store (in-memory, database, or otherwise). The framework handles session creation and profile introspection; you implement the domain-specific lookup and mutation logic.

Javadoc Reference

jamocha Javadoc

Class Declaration Pattern

public abstract class AbstractInlineOsidObjectManager
extends AbstractOsidObjectManager
implements OsidObjectManager

Constructor Pattern

AbstractInlineOsidObjectManager(OsidRuntimeManager runtime)
ParameterTypeDescription
runtime OsidRuntimeManager the OSID runtime for service lookup and configuration

Static Factory Method Pattern

static OsidObjectManager getInstance(OsidRuntimeManager runtime)
ParameterTypeDescription
runtime OsidRuntimeManager the OSID runtime

Returns OsidObjectManager — a ready-to-use inline manager