OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.BrokerProcessor
Implementsosid.OsidProcessor
Used Byosid.provisioning.rules.BrokerProcessorAdminSession
osid.provisioning.rules.BrokerProcessorList
osid.provisioning.rules.BrokerProcessorLookupSession
Description

A BrokerProcessor manages the operation of a Broker.

MethodisLeasing
Description

Tests if this broker provides leases. A lease is a temporary provision that expires or must be returned.

Returnboolean true if this is a leasing broker, false if the brokered provisions are permanent
Compliancemandatory This method must be implemented.
MethodhasFixedLeaseDuration
Description

Tests if leases from this broker have fixed durations.

Returnboolean true if leases have fixed durations, false otherwise
ErrorsILLEGAL_STATE isLeasing() is false
Compliancemandatory This method must be implemented.
MethodgetFixedLeaseDuration
Description

Gets the fixed lease duration.

Returnosid.calendaring.Duration the fixed lease duration
ErrorsILLEGAL_STATE hasFixedLeaseDuration() is false
Compliancemandatory This method must be implemented.
MethodmustReturnProvisions
Description

Tests if provisions from this broker must be returned.

Returnboolean true if this broker requires provision return, false otherwise
ErrorsILLEGAL_STATE isLeasing() is false
Compliancemandatory This method must be implemented.
MethodallowsProvisionExchange
Description

Tests if this broker allows exchanging of provisions.

Returnboolean true if provision exchange is permitted, false otherwise
Compliancemandatory This method must be implemented.
MethodallowsCompoundRequests
Description

Tests if this broker allows compound requests using RequestTransactions.

Returnboolean true if compound requests are permitted, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBrokerProcessorRecord
Description

Gets the broker processor record corresponding to the given BrokerProcessor record Type. This method ie used to retrieve an object implementing the requested record. The brokerProcessorRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(brokerProcessorRecordType) is true.

Parametersosid.type.TypebrokerProcessorRecordType the type of broker processor record to retrieve
Returnosid.provisioning.rules.records.BrokerProcessorRecord the broker processor record
ErrorsNULL_ARGUMENT brokerProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(brokerProcessorRecordType) is false
Compliancemandatory This method must be implemented.