|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFCGIProcessFactory
Implementing classes are able to use the FastCGI machinery.
Currently implemented by FastCGIServlet and FastCGIProxy
| Method Summary | |
|---|---|
boolean |
canStartFCGI()
Used for debugging only. |
IFCGIProcess |
createFCGIProcess(java.lang.String[] args,
boolean includeJava,
java.io.File home,
java.util.Map env)
Create a FastCGI Process |
java.lang.String |
getCgiDir()
The full path to the pear dir. |
java.util.HashMap |
getEnvironment()
Get the process environment map used for PHP. |
java.lang.String |
getPearDir()
The full path to the pear dir. |
java.lang.String |
getPhp()
Get the path to the PHP binary. |
java.lang.String |
getPhpConnectionPoolSize()
Get the connection pool size, usually FCGIUtil#PHP_FCGI_CONNECTION_POOL_SIZE |
boolean |
getPhpIncludeJava()
Get the value of the php_include_java option from the WEB-INF/web.xml. |
java.lang.String |
getPhpMaxRequests()
Get the max requests value, usually FCGIUtil.PHP_FCGI_MAX_REQUESTS |
java.lang.String |
getWebInfDir()
The full path to the web-inf dir. |
void |
log(java.lang.String msg)
Log message through preferred log mechanism, for example servlet.log() |
| Method Detail |
|---|
void log(java.lang.String msg)
msg - The message to log
IFCGIProcess createFCGIProcess(java.lang.String[] args,
boolean includeJava,
java.io.File home,
java.util.Map env)
throws java.io.IOException
args - The PHP argumentswebInfDir - The web inf dirpearDir - The bear dircgiDir - The cgi dirincludeJava - automatically include Java.inc in each scripthome - The PHP home dir or nullenv - The process environment
java.io.IOExceptionjava.lang.String getPhpConnectionPoolSize()
java.lang.String getPhpMaxRequests()
FCGIUtil.PHP_FCGI_MAX_REQUESTS
java.lang.String getPhp()
boolean getPhpIncludeJava()
java.util.HashMap getEnvironment()
boolean canStartFCGI()
java.lang.String getCgiDir()
java.lang.String getPearDir()
java.lang.String getWebInfDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||