com.caucho.quercus.lib
Class JavaModule

java.lang.Object
  extended by com.caucho.quercus.module.AbstractQuercusModule
      extended by com.caucho.quercus.lib.JavaModule
All Implemented Interfaces:
QuercusModule

public class JavaModule
extends AbstractQuercusModule

Java functions


Field Summary
 
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
 
Constructor Summary
JavaModule()
           
 
Method Summary
static java.lang.String get_java_class_name(Env env, Value value)
          Returns the name of the java class.
static java.lang.Object java_class(Env env, java.lang.String className)
          Returns the static class definition of a Java class.
static java.lang.Object java(Env env, java.lang.String className, Value[] args)
          Call the Java constructor and return the wrapped Java object.
 
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions, getLoadedExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaModule

public JavaModule()
Method Detail

java

public static java.lang.Object java(Env env,
                                    java.lang.String className,
                                    Value[] args)
Call the Java constructor and return the wrapped Java object. If constructor is not available, then return static class definition.


java_class

public static java.lang.Object java_class(Env env,
                                          java.lang.String className)
Returns the static class definition of a Java class.


get_java_class_name

public static java.lang.String get_java_class_name(Env env,
                                                   Value value)
Returns the name of the java class.