1 package dbms_java_definers authid definer as
2
3 FUNCTION get_nth_native_compiler_option(n number) return VARCHAR2;
4
5
6 -- sets a native-compiler option to the specified value for the
7 -- given schema
8 PROCEDURE set_native_compiler_option_(optionName VARCHAR2,
9 value VARCHAR2,
10 owner NUMBER);
11
12 -- decode, into a user-readable format, a persisted native-compiler
13 -- option. This function is not intended to be used by users
14 -- directly
15 FUNCTION decode_native_compiler_option_(optionName VARCHAR2,
16 value VARCHAR2) RETURN VARCHAR2;
17
18 -- unsets a native-compiler option given by the tuple
19 -- [optionName, value] for the given schema
20 --
21 -- if the option given by optionName is not allowed to have
22 -- duplicate values, then the value is ignored.
23 PROCEDURE unset_native_compiler_option_(optionName VARCHAR2,
24 value VARCHAR2,
25 owner NUMBER);
26
27 -- compile all methods defined by the class identified by
28 -- classname in the supplied schema.
29 -- return the number of methods successfully compiled
30 --
31 -- If the class does not exist in the schema, or the schema does not
32 -- exist, an ORA-29532 (Uncaught Java exception) will occur.
33 FUNCTION compile_class_(schema VARCHAR2,
34 classname VARCHAR2) return NUMBER;
35
36 -- compile the method specified by name and Java type signature
37 -- defined by the class identified by classname in the supplied
38 -- schema.
39 -- return the number of methods successfully compiled
40 --
41 -- If the class does not exist in the schema, or the schema does not
42 -- exist, an ORA-29532 (Uncaught Java exception) will occur.
43 FUNCTION compile_method_(schema VARCHAR2,
44 classname VARCHAR2,
45 methodname VARCHAR2,
46 methodsig VARCHAR2) return NUMBER;
47
48 -- uncompile all methods defined by the class identified by
49 -- classname in the supplied schema.
50 --
51 -- return the number of methods successfully uncompiled.
52 --
53 -- If permanentp, then mark these methods as permanently dynamicaly
54 -- un-compilable, otherwise, they are eligible for future dynamic
55 -- recompilation.
56 --
57 -- If the class does not exist in the schema, or the schema does not
58 -- exist an ORA-29532 (Uncaught Java exception) will occur.
59 FUNCTION uncompile_class_(schema VARCHAR2,
60 classname VARCHAR2,
61 permanentp NUMBER) return NUMBER;
62
63 -- uncompile the method specified by the name and Java type
64 -- signature defined by the class identified by classname in the
65 -- supplied schema.
66 --
67 -- return the number of methods successfully uncompiled.
68 --
69 -- If permanentp, then mark the method as permanently dynamicaly
70 -- un-compilable, otherwise, it is eligible for future dynamic
71 -- recompilation.
72 --
73 -- If the class does not exist in the schema, or the schema does not
74 -- exist an ORA-29532 (Uncaught Java exception) will occur.
75 FUNCTION uncompile_method_(schema VARCHAR2,
76 classname VARCHAR2,
77 methodname VARCHAR2,
78 methodsig VARCHAR2,
79 permanentp NUMBER) return NUMBER;
80 end dbms_java_definers;