Progress
Language Reference
EXPORT( ) Method
Creates and modifies a Progress AppServer’s export list, which specifies the remote procedures that a client application can execute in the current AppServer session.
Return Type: LOGICAL Applies To: SESSION System Handle
list
A comma-separated list of procedure names and name-patterns. EXPORT( ) ignores white space (blank, tab, and newline) at the beginning and end of an entry. The only wildcard EXPORT( ) supports is the asterisk (*). For more information on wildcards, see the reference entry for the MATCHES function.
The EXPORT( ) method applies only to Progress AppServers. That is, if the REMOTE attribute of the SESSION handle is FALSE, EXPORT( ) does nothing and returns FALSE.
The EXPORT( ) method can be called repeatedly within the context of the Progress AppServer instance. Each time EXPORT( ) is called, the Progress AppServer instance adds the procedures in list to its export list. If you do not specify list, the EXPORT( ) method resets the export list to empty.
The EXPORT( ) method performs pattern matching by comparing two procedure names character-by-character, taking wildcards into account. Procedure names must match exactly. Case (uppercase and lowercase) is significant.
If the EXPORT( ) method is never called, a client application can call any procedure in the Progress AppServer’s PROPATH. Once EXPORT( ) is called in the context of a Progress AppServer, a client application can call only the procedures in the export list.
Typically, the Connect procedure or Startup procedure of a Progress AppServer calls the EXPORT( ) method, depending on the operating mode. For example, where you might call it from the Connect procedure on a state-reset or state-aware AppServer, you would probably call it from the Startup procedure on a stateless AppServer. For more information on Connect procedures, see the reference entry for the CONNECT( ) Method (AppServer) in this manual. For more information on both types of procedures and the Progress AppServer, see Building Distributed Applications Using the Progress AppServer .
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |