Package com.sap.portal.dynamicsystem

Provides an interface for dynamic system resolution, which enables a custom service to resolve a system alias to a system at runtime.

See:
          Description

Interface Summary
IDynamicSystemService The interface for a service that resolves an alias to a system at runtime.
 

Package com.sap.portal.dynamicsystem Description

Provides an interface for dynamic system resolution, which enables a custom service to resolve a system alias to a system at runtime.

Generally, the system to which an iView connects must be specified at design time. With dynamic system resolution, an iView can select at runtime from among several systems, based on the location of the current user, network traffic or any other logic.

An iView that needs to connect to a back-end system contains a reference to a system alias. The iView - via the Connector Gateway or other service - calls the system landscape service method getSystemId in order to resolve the alias to a specific system defined in the Portal Content Directory (PCD). By default, the system landscape service simply queries the PCD for the system that was associated with that alias at design time, and returns the PCD path to that system.

In order to resolve an alias at runtime, you can create a system resolving service for a specific alias. When an iView calls getSystemId to resolve the alias, the system landscape service first checks if a custom service exists for the alias. If one exists, the system landscape service calls the resolving service - instead of querying the PCD - in order to get the corresponding system.

The resolving service - which receives from the system landscape service the alias and the current user - can resolve the alias to any system based on any logic.

The package provides one interface IDynamicSystemService, which the system resolving service must implement.



Copyright 2011 SAP AG Complete Copyright Notice