Show TOC

Accessing the UCDLocate this document in the navigation structure

Use

The UCD JNDI provider implements the following interface: com.sapportals.portal.pcd.gl.IPcdContext

This interface extends javax.naming.DirContext , which is described in JNDI documentation ( http://java.sun.com/products/jndi/Information published on non-SAP site). However, not all PCD API is supported. For example, the createDeltaLink and copy APIs are not supported; the getWhereUsed method returns only UCD objects, and does not return objects from other repositories.

Note

An unsupported API throws the following exception: javax.naming.OperationNotSupportedException

It is possible to access the UCD in one of the following ways:

  • Using the InitialContextFactory class

  • Using URL Support