Arbortext Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Sub-Process > Writing Arbortext PE アプリケーションs in ACL
Writing Arbortext PE アプリケーションs in ACL
An Arbortext PE アプリケーション written in ACL is an ACL subroutine which takes no parameters. The Arbortext PE Request Manager processes requests for ACL applications by passing requests whose f parameters have the value acl to the Request Function com.arbortext.e3.FunctionAcl. The request function allocates an Arbortext PE サブプロセス and passes the request to the Arbortext PE アプリケーション Context The Arbortext PE サブプロセス Application Context). The Arbortext PE アプリケーション context allocates request and response objects, as for a Java application, and stores references to them in global variables. Then it calls the ACL function indicated by the query’s function parameter. The function must have been defined in a .acl file in a custom\init directory or in an .acl file in a custom\scripts directory which is loaded from custom\init. For example, to invoke the ACL function test::abc, the HTTP query would include the parameter function=test::abc.
The ACL Arbortext PE アプリケーション is called without any parameters. It obtains request and sets response information by invoking methods in the packages PEAppRequest and PEAppResponse, which access the request and response objects allocated by the Arbortext PE アプリケーション Context.
The return value of the ACL Arbortext PE アプリケーション function is ignored. Whether it succeeds or produces an error response, everything to be returned to the client must be stored in the response object.
Unlike Java Arbortext PE アプリケーションs, ACL applications have no initialization or termination components.
これは役に立ちましたか?