Back Forward Virtual File Interface

Advanced featureIn many cases, a Java EE application cannot directly access the file system on the application server. To allow customers to prepare for this PRPC capability, the PublicAPI contains Java classes that mimic many features of java.io. Together, these are known as the Virtual File Interface.

The com.pega.pegarules.pub.util Package contains these classes:

Consult the PublicAPI JavaDocs for details on these Java classes.

In Web tier deployments of PRPC, these facilities operate the same as the corresponding java.io facilities.

In e-tier deployments, operation of file access depends on the following Dynamic System Setting:

Dynamic System Setting: prconfig/storage/class/default

The prconfig/storage/class/default setting provides the configuration for the storage mechanisms, as well as the mapping between the resource types and those mechanisms.

The following values are valid for this Dynamic System Setting:

Value

Description

filesystem The regular, physical file system (Default)
resadaptor A Java EE resource adapter
embedded (Reserved)
datasource A database accessed through a JDBC Datasource

CautionChange this setting with care. Prconfig Dynamic System Settings can have broad impact on the operation of your system. See How to create or update a prconfig setting.

Definitions PublicAPI

Up Definitions — V