Try OpenEdge Now
skip to main content
Java Open Clients
Proxy Objects and Methods : Proxy methods : Class factory methods : ProcObject
The following method allows AppObjects or SubAppObjects to create ProcObjects that share an AppServer connection with an existing AppObject or SubAppObject:
public ProcObject createPO_ProcObject()
For example, a procedure AccountInfo.p added in ProxyGen as persistent, single-run, or singleton generates this Java method:
public AccountInfo createPO_AccountInfo()
Note that AccountInfo.p cannot be run as single-run or singleton if it has parameters in its main block, and ProxyGen will not allow you to designate a procedure as single-run or singleton if that procedure has parameters in its main block.
For more information on persistent, single-run, and singleton procedures, see OpenEdge Application Server: Developing AppServer Applications.