Author: jfrederic.clere(a)jboss.com
Date: 2007-07-26 11:03:31 -0400 (Thu, 26 Jul 2007)
New Revision: 57
Modified:
trunk/php/php5servlet/php5servlet.c
Log:
Adjust the name to the new packaging.
Modified: trunk/php/php5servlet/php5servlet.c
===================================================================
--- trunk/php/php5servlet/php5servlet.c 2007-07-20 16:06:36 UTC (rev 56)
+++ trunk/php/php5servlet/php5servlet.c 2007-07-26 15:03:31 UTC (rev 57)
@@ -37,7 +37,7 @@
#include <jni.h>
#define JPHP_IMPLEMENT_CALL(RT, CL, FN) \
- JNIEXPORT RT JNICALL Java_org_apache_catalina_servlets_php_##CL##_##FN
+ JNIEXPORT RT JNICALL Java_org_jboss_web_php_##CL##_##FN
#define JPHP_IMPLEMENT_METHOD(RT, FN) \
static RT method_##FN
@@ -117,7 +117,7 @@
{
NULL,
"log",
- "(Lorg/apache/catalina/servlets/php/Handler;Ljava/lang/String;)V"
+ "(Lorg/jboss/web/php/Handler;Ljava/lang/String;)V"
},
{
NULL,
@@ -137,12 +137,12 @@
{
NULL,
"env",
-
"(Lorg/apache/catalina/servlets/php/ScriptEnvironment;)[Ljava/lang/String;"
+ "(Lorg/jboss/web/php/ScriptEnvironment;)[Ljava/lang/String;"
},
{
NULL,
"cookies",
-
"(Lorg/apache/catalina/servlets/php/ScriptEnvironment;)Ljava/lang/String;"
+ "(Lorg/jboss/web/php/ScriptEnvironment;)Ljava/lang/String;"
},
{
NULL,
@@ -776,7 +776,7 @@
/* Initialize global java.lang.String class */
JPHP_LOAD_CLASS(env, jni_SAPI_class,
- "org/apache/catalina/servlets/php/SAPI",
+ "org/jboss/web/php/SAPI",
JNI_ERR);
while (jni_SAPI_methods[i].n) {
jni_SAPI_methods[i].m = (*env)->GetStaticMethodID(env, jni_SAPI_class,