OSID Logo
OSID Specifications
osid package
Version 3.0.0
Release Candidate Preview
Interfaceosid.OsidManager
Implementsosid.OsidProfile
Description

The OsidManager is the top level interface for all OSID managers. An OSID manager is instantiated through the OsidRuntimeManager and represents an instance of a service. An OSID manager is responsible for implementing a profile for a service and creating sessions that, in general, correspond to the profile. An application need only create a single OsidManager per service and implementors must ensure the OsidManager is thread-safe . The OsidSessions spawned from an OSID manager are dedicated to single processing threads. The OsidManager defines methods in common throughout all OSID managers which implement this interface.

Methodinitialize
Description

Initializes this manager. A manager is initialized once at the time of creation.

Parametersosid.OsidRuntimeManagerruntimethe runtime environment
ErrorsCONFIGURATION_ERRORan error with implementation configuration
ILLEGAL_STATEthis manager has already been initialized by the OsidRuntime
NULL_ARGUMENT runtime is null
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
Provider Notes

In addition to loading its runtime configuration an implementation may create shared resources such as connection pools to be shared among all sessions of this service and released when this manager is closed. Providers must thread-protect any data stored in the manager.

To maximize interoperability, providers should not honor a second call to initialize() and must set an ILLEGAL_STATE error.

MethodrollbackService
Description

Rolls back this service to a point in time.

ParameterstimestamprollbackTimethe requested time
Returnosid.journaling.JournalEntrythe journal entry corresponding to the actual state of this service
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNIMPLEMENTED supportsJournalRollback() is false
CompliancemandatoryThis method must be implemented.
MethodchangeBranch
Description

Changes the service branch.

Parametersosid.id.IdbranchIdthe new service branch
ErrorsNOT_FOUND branchId not found
NULL_ARGUMENT branchId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNIMPLEMENTED supportsJournalBranching() is false
CompliancemandatoryThis method must be implemented.