OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.MyProvisionNotificationSession
Implementsosid.OsidSession
Used Byosid.provisioning.ProvisioningManager
osid.provisioning.ProvisioningProxyManager
Description

This session defines methods to receive notifications on adds/changes to Provision objects in this Distributor for resources related to the authenticated agent.This also includes existing provisions that may appear or disappear due to changes in the Distributor hierarchy, This session is intended for consumers needing to synchronize their state with this service without the use of polling. Notifications are cancelled when this session is closed.

MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

Returnosid.id.Id the Distributor Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetDistributor
Description

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributor the distributor
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanRegisterForProvisionNotifications
Description

Tests if this user can register for Provision notifications. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer notification operations.

Returnboolean false if notification methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodregisterForNewProvisions
Description

Register for notifications of new provisions for resources related to the authenticated agent. ProvisionReceiver.newProvision() is invoked when a new Provision appears in this distributor.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewProvisionsForPool
Description

Register for notifications of new provisions for the given pool Id for resources related to the authenticated agent. ProvisionReceiver.newProvision() is invoked when a new Provision is created.

Parametersosid.id.IdpoolId the Id of the pool to monitor
ErrorsNULL_ARGUMENT poolId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewProvisionsForQueue
Description

Register for notifications of new provisions for the given queue Id for resources related to the authenticated agent. ProvisionReceiver.newProvision() is invoked when a new Provision is created.

Parametersosid.id.IdqueueId the Id of the queue to monitor
ErrorsNULL_ARGUMENT queueId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewProvisionsForBroker
Description

Register for notifications of new provisions for the given broker Id for resources related to the authenticated agent. ProvisionReceiver.newProvision() is invoked when a new Provision is created.

Parametersosid.id.IdbrokerId the Id of the broker to monitor
ErrorsNULL_ARGUMENT brokerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedProvisions
Description

Registers for notification of updated provisions for resources related to the authenticated agent. ProvisionReceiver.changedProvision() is invoked when a provision in this distributor is changed.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedProvisionsForPool
Description

Register for notifications of updated provisions for the given pool Id for resources related to the authenticated agent. ProvisionReceiver.changedProvision() is invoked when a provision in this distributor is changed.

Parametersosid.id.IdpoolId the Id of the pool to monitor
ErrorsNULL_ARGUMENT poolId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedProvisionsForQueue
Description

Register for notifications of updated provisions for the given queue Id for resources related to the authenticated agent. ProvisionReceiver.changedProvision() is invoked when a provision in this distributor is changed.

Parametersosid.id.IdqueueId the Id of the queue to monitor
ErrorsNULL_ARGUMENT queueId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedProvisionsForBroker
Description

Register for notifications of updated provisions for the given broker Id for resources related to the authenticated agent. ProvisionReceiver.changedProvision() is invoked when a provision in this distributor is changed.

Parametersosid.id.IdbrokerId the Id of the broker to monitor
ErrorsNULL_ARGUMENT brokerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedProvisions
Description

Registers for notification of deleted provisions for resources related to the authenticated agent. ProvisionReceiver.deletedProvision() is invoked when a provision is deleted or removed from this distributor.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedProvisionsForPool
Description

Register for notifications of deleted provisions for the given pool Id for resources related to the authenticated agent. ProvisionReceiver.deletedProvision() is invoked when a provision in this distributor is removed or deleted.

Parametersosid.id.IdpoolId the Id of the pool to monitor
ErrorsNULL_ARGUMENT poolId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedProvisionsForQueue
Description

Register for notifications of deleted provisions for the given queue Id for resources related to the authenticated agent. ProvisionReceiver.deletedProvision() is invoked when a provision in this distributor is removed or deleted.

Parametersosid.id.IdqueueId the Id of the queue to monitor
ErrorsNULL_ARGUMENT queueId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedProvisionsForBroker
Description

Register for notifications of deleted provisions for the given broker Id for resources related to the authenticated agent. ProvisionReceiver.deletedProvision() is invoked when a provision in this distributor is removed or deleted.

Parametersosid.id.IdbrokerId the Id of the vroker to monitor
ErrorsNULL_ARGUMENT queueId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.