C-2144 In many cases, a J2EE application cannot directly access the file system on the application server. To allow customers to prepare for this Process Commander 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:
java.io.File
java.io.InputStream
java.io.OutputStream
java.io.Reader
java.io.Writer
Consult the PublicAPI JavaDocs for details on these Java classes.
In Web tier deployments of Process Commander, these facilities operate the same as the corresponding java.io facilities.
In e-tier deployments, operation of file access depends on the storage elements in the prconfig.xml file. The format is:
<env name="storage/class/default:/type" value="zzzzz" />
where zzzzz is one of the following:
filesystem
— The regular, physical file
systemresadaptor
— a J2EE resource adapterembedded
— (reserved)datasource
— a database accessed through a JDBC
DatasourceThe physical file system is the default.
PublicAPI |