|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.module.AbstractQuercusModule
com.caucho.quercus.lib.ResinModule
public class ResinModule
| Field Summary | |
|---|---|
static int |
XA_STATUS_ACTIVE
|
static int |
XA_STATUS_COMMITTED
|
static int |
XA_STATUS_COMMITTING
|
static int |
XA_STATUS_MARKED_ROLLBACK
|
static int |
XA_STATUS_NO_TRANSACTION
|
static int |
XA_STATUS_PREPARED
|
static int |
XA_STATUS_PREPARING
|
static int |
XA_STATUS_ROLLEDBACK
|
static int |
XA_STATUS_ROLLING_BACK
|
static int |
XA_STATUS_UNKNOWN
|
| Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER |
| Constructor Summary | |
|---|---|
ResinModule()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
java_bean(java.lang.String name)
Returns the matchding webbeans. |
static java.lang.Object |
jndi_lookup(java.lang.String name)
Perform a jndi lookup to retrieve an object. |
ArrayValue |
mbean_explode(java.lang.String name)
Explode an object name into an array with key value pairs that correspond to the keys and values in the object name. |
static java.lang.String |
mbean_implode(ArrayValue exploded)
Implode an array into an object name. |
static Value |
resin_string_to_binary(Env env,
java.lang.String string,
java.lang.String encoding)
Converts a string into its binary representation, according to the given encoding, if given, or the script encoding if not given. |
static Value |
resin_var_dump(Env env,
Value[] args)
Prints a debug version of the variable |
static java.lang.String |
resin_version()
Returns the version of the Resin server software. |
static boolean |
xa_begin(Env env)
Starts a new distributed transaction. |
static boolean |
xa_commit(Env env)
Commits the current transaction. |
static boolean |
xa_rollback_only(Env env)
Sets the rollback_only status for the current transaction. |
static boolean |
xa_rollback(Env env)
Complets the current transaction by rolling it back. |
static boolean |
xa_set_timeout(Env env,
int timeoutSeconds)
Sets the timeout for the current distribued transaction. |
static int |
xa_status()
Returns the JTA status code for the current transation. |
| Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
getConstMap, getIniDefinitions, getLoadedExtensions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int XA_STATUS_ACTIVE
public static final int XA_STATUS_MARKED_ROLLBACK
public static final int XA_STATUS_PREPARED
public static final int XA_STATUS_COMMITTED
public static final int XA_STATUS_ROLLEDBACK
public static final int XA_STATUS_UNKNOWN
public static final int XA_STATUS_NO_TRANSACTION
public static final int XA_STATUS_PREPARING
public static final int XA_STATUS_COMMITTING
public static final int XA_STATUS_ROLLING_BACK
| Constructor Detail |
|---|
public ResinModule()
| Method Detail |
|---|
public static Value resin_string_to_binary(Env env,
java.lang.String string,
java.lang.String encoding)
public static java.lang.Object java_bean(java.lang.String name)
public static java.lang.Object jndi_lookup(java.lang.String name)
name - a fully qualified name "java:comp/env/foo",
or a short-form "foo".
public static java.lang.String resin_version()
public static boolean xa_begin(Env env)
public static boolean xa_commit(Env env)
public static boolean xa_rollback(Env env)
public static boolean xa_rollback_only(Env env)
public static boolean xa_set_timeout(Env env,
int timeoutSeconds)
public static int xa_status()
public ArrayValue mbean_explode(java.lang.String name)
public static java.lang.String mbean_implode(ArrayValue exploded)
public static Value resin_var_dump(Env env,
Value[] args)
env - the quercus calling environmentv - the variable to print
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||