Oracle9iAS Portal Developer Kit

register_provider procedure

Contained in package wwpro_api_provider.

Oracle Portal calls this procedure when a provider is registered. It allows providers to do provider-level initializations.

The registration may be via the Oracle Portal UI or API function wwpro_api_provider_registry.register_provider.

procedure register_provider

(

p_provider_id in integer

);

Any user can use this procedure.

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_provider_id

A unique identifier for the provider.

Datatype: in integer

Exceptions:

  • If invalid information about the provider is returned, PROVIDER_VALIDATION_EXCEPTION is raised.

  • If the provider cannot be located, PROVIDER_NOT_FOUND_EXCEPTION is raised.
  • If the provider cannot be executed, PROVIDER_EXECUTION_EXCEPTION is raised.
  • If the provider does not reside on the local node, PROVIDER_NOT_LOCAL_EXCEPTION is raised.

Examples:

Calling code:

wwpro_api_provider.register_provider

(

p_provider_id =>1348

);

Call to the provider:

provider_owner.example_provider.register_provider

(

p_provider_id =>1348

);

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio