|
||||||||||
| 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
| Nested Class Summary | |
|---|---|
static class |
ResinModule.QuercusDistcache
|
| 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 | |
|---|---|
java.lang.Object |
java_bean(java.lang.String name)
Returns the matching webbeans. |
static java.lang.Object |
jndi_lookup(java.lang.String name)
Perform a jndi lookup to retrieve an object. |
static 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 boolean |
resin_clear_state(Env env)
Clears the current state |
static void |
resin_clear_states()
Clears all states. |
static ResinModule.QuercusDistcache |
resin_create_distcache(Env env,
java.lang.String name)
|
static boolean |
resin_dump_stack(Env env)
Prints a debug version of the variable |
static boolean |
resin_restore_state(Env env)
Restore the current state |
static boolean |
resin_save_state(Env env)
Save the current state |
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 |
|---|
addConstant, addConstant, addConstant, 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 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 static ArrayValue mbean_explode(java.lang.String name)
public static java.lang.String mbean_implode(ArrayValue exploded)
public static boolean resin_dump_stack(Env env)
env - the quercus calling environmentv - the variable to print
public static Value resin_var_dump(Env env,
Value[] args)
env - the quercus calling environmentv - the variable to print
public static boolean resin_restore_state(Env env)
public static boolean resin_save_state(Env env)
public static boolean resin_clear_state(Env env)
public static void resin_clear_states()
public static ResinModule.QuercusDistcache resin_create_distcache(Env env,
java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||