com.prolifics.tconn
Class Tuxedo
java.lang.Object
com.prolifics.tconn.Tuxedo
public class Tuxedo
- extends java.lang.Object
Method Summary |
static java.lang.String |
bufcont(long buffer,
int len)
|
static void |
call(long context,
java.lang.String name,
int verb,
long[] buf)
|
static long |
Fadd32(long buffer,
int fldid32,
long value,
int len)
|
static long |
Fadd32(long buffer,
java.lang.String name,
long value,
int len)
|
static long |
Fadds(long buffer,
int fldid,
java.lang.String value)
|
static long |
Fadds(long buffer,
java.lang.String name,
java.lang.String value)
|
static long |
Fadds32(long buffer,
int fldid32,
java.lang.String value)
|
static long |
Fadds32(long buffer,
java.lang.String name,
java.lang.String value)
|
static long |
Falloc()
|
static long |
Falloc32()
|
static long |
Ffind32(long buffer,
int fldid,
int occ,
int[] len)
|
static java.lang.String |
Ffinds(long buffer,
int fldid,
int occ)
|
static java.lang.String |
Ffinds32(long buffer,
int fldid,
int occ)
|
static void |
Ffree(long buffer)
|
static void |
Ffree32(long buffer)
|
static int |
Fldtype(int fldid)
|
static int |
Fldtype32(int fldid)
|
static java.lang.String |
Fname(int fldid)
|
static java.lang.String |
Fname32(int fldid)
|
static boolean |
Fnext(long buffer,
int[] fldid,
int[] occ)
|
static boolean |
Fnext32(long buffer,
int[] fldid,
int[] occ)
|
static void |
initialize(java.util.HashMap p)
Non-native method to initialize Tuxedo environment
for J2EE non-managed connections. |
static void |
reset()
Non-native method to restore Tuxedo environment
for J2EE non-managed environment, after it has
been changed by a call to initialize(). |
static boolean |
supportsTransactions()
|
static void |
tpabort(long context)
|
static long |
tpalloc(java.lang.String type,
java.lang.String contents)
|
static void |
tpbegin(long context,
long timeout)
|
static void |
tpcommit(long context)
|
static int |
tperrno()
|
static int |
tperrordetail()
|
static void |
tpfree(long buffer)
|
static long |
tpinit(java.util.HashMap mcf_props,
java.lang.String UserName,
java.lang.String ClientName,
java.lang.String Password,
java.lang.String GroupName,
java.lang.String Data)
|
static java.lang.String |
tpstrerror(int error)
|
static java.lang.String |
tpstrerrordetail(int detail)
|
static void |
tpterm(long context)
|
static java.lang.String |
tptype(long buffer)
|
static long |
tpurcode()
|
static java.lang.String |
tuxgetenv(java.lang.String str)
|
static int |
tuxputenv(java.lang.String str)
|
static int |
userlog(java.lang.String message)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nativeLibrary
public static java.lang.String nativeLibrary
env
public static java.util.HashMap env
inUseCount
public static int inUseCount
TPINVALIDCONTEXT
public static final long TPINVALIDCONTEXT
- See Also:
- Constant Field Values
Tuxedo
public Tuxedo()
initialize
public static void initialize(java.util.HashMap p)
throws javax.resource.ResourceException
- Non-native method to initialize Tuxedo environment
for J2EE non-managed connections. Supported
environment properties are: ULOGPFX
- Parameters:
p
- HashMap containing Tuxedo environment
- Throws:
javax.resource.ResourceException
reset
public static void reset()
throws javax.resource.ResourceException
- Non-native method to restore Tuxedo environment
for J2EE non-managed environment, after it has
been changed by a call to initialize().
- Throws:
javax.resource.ResourceException
tpinit
public static long tpinit(java.util.HashMap mcf_props,
java.lang.String UserName,
java.lang.String ClientName,
java.lang.String Password,
java.lang.String GroupName,
java.lang.String Data)
throws TuxedoException
- Throws:
TuxedoException
tpterm
public static void tpterm(long context)
throws TuxedoException
- Throws:
TuxedoException
tpurcode
public static long tpurcode()
tperrno
public static int tperrno()
tperrordetail
public static int tperrordetail()
tpstrerror
public static java.lang.String tpstrerror(int error)
tpstrerrordetail
public static java.lang.String tpstrerrordetail(int detail)
userlog
public static int userlog(java.lang.String message)
tpbegin
public static void tpbegin(long context,
long timeout)
throws TuxedoException
- Throws:
TuxedoException
tpcommit
public static void tpcommit(long context)
throws TuxedoException
- Throws:
TuxedoException
tpabort
public static void tpabort(long context)
throws TuxedoException
- Throws:
TuxedoException
supportsTransactions
public static boolean supportsTransactions()
Falloc
public static long Falloc()
throws TuxedoException
- Throws:
TuxedoException
Ffree
public static void Ffree(long buffer)
throws TuxedoException
- Throws:
TuxedoException
Fadds
public static long Fadds(long buffer,
int fldid,
java.lang.String value)
throws TuxedoException
- Throws:
TuxedoException
Fadds
public static long Fadds(long buffer,
java.lang.String name,
java.lang.String value)
throws TuxedoException
- Throws:
TuxedoException
Fnext
public static boolean Fnext(long buffer,
int[] fldid,
int[] occ)
throws TuxedoException
- Throws:
TuxedoException
Fname
public static java.lang.String Fname(int fldid)
throws TuxedoException
- Throws:
TuxedoException
Ffinds
public static java.lang.String Ffinds(long buffer,
int fldid,
int occ)
throws TuxedoException
- Throws:
TuxedoException
Fldtype
public static int Fldtype(int fldid)
throws TuxedoException
- Throws:
TuxedoException
Falloc32
public static long Falloc32()
throws TuxedoException
- Throws:
TuxedoException
Ffree32
public static void Ffree32(long buffer)
throws TuxedoException
- Throws:
TuxedoException
Fadd32
public static long Fadd32(long buffer,
int fldid32,
long value,
int len)
throws TuxedoException
- Throws:
TuxedoException
Fadd32
public static long Fadd32(long buffer,
java.lang.String name,
long value,
int len)
throws TuxedoException
- Throws:
TuxedoException
Fadds32
public static long Fadds32(long buffer,
int fldid32,
java.lang.String value)
throws TuxedoException
- Throws:
TuxedoException
Fadds32
public static long Fadds32(long buffer,
java.lang.String name,
java.lang.String value)
throws TuxedoException
- Throws:
TuxedoException
Fnext32
public static boolean Fnext32(long buffer,
int[] fldid,
int[] occ)
throws TuxedoException
- Throws:
TuxedoException
Fname32
public static java.lang.String Fname32(int fldid)
throws TuxedoException
- Throws:
TuxedoException
Ffind32
public static long Ffind32(long buffer,
int fldid,
int occ,
int[] len)
throws TuxedoException
- Throws:
TuxedoException
Ffinds32
public static java.lang.String Ffinds32(long buffer,
int fldid,
int occ)
throws TuxedoException
- Throws:
TuxedoException
Fldtype32
public static int Fldtype32(int fldid)
throws TuxedoException
- Throws:
TuxedoException
tpalloc
public static long tpalloc(java.lang.String type,
java.lang.String contents)
throws TuxedoException
- Throws:
TuxedoException
tpfree
public static void tpfree(long buffer)
throws TuxedoException
- Throws:
TuxedoException
bufcont
public static java.lang.String bufcont(long buffer,
int len)
throws TuxedoException
- Throws:
TuxedoException
tptype
public static java.lang.String tptype(long buffer)
throws TuxedoException
- Throws:
TuxedoException
call
public static void call(long context,
java.lang.String name,
int verb,
long[] buf)
throws TuxedoException
- Throws:
TuxedoException
tuxputenv
public static int tuxputenv(java.lang.String str)
throws TuxedoException
- Throws:
TuxedoException
tuxgetenv
public static java.lang.String tuxgetenv(java.lang.String str)
throws TuxedoException
- Throws:
TuxedoException