|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.sp.JavaStoredProcUtils
public final class JavaStoredProcUtils
A utility class for working with Java Stored Procedures at the base level.
| Method Summary | |
|---|---|
static Object |
callStoredProcedure(LdapContext ctx,
String procedureName,
Object[] arguments)
|
static byte[] |
getClassFileAsStream(Class<?> clazz)
Returns the stream data of a Java class. |
static void |
loadStoredProcedureClass(LdapContext ctx,
Class<?> clazz)
Loads a Java class's stream data as a subcontext of an LdapContext given. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] getClassFileAsStream(Class<?> clazz)
throws NamingException
clazz - The class whose stream data will be retrieved.
NamingException - If an IO error occurs during reading the class file.
public static void loadStoredProcedureClass(LdapContext ctx,
Class<?> clazz)
throws NamingException
ctx - The parent context of the Java class entry to be loaded.clazz - Class to be loaded.
NamingException - If an error occurs during creating the subcontext.
public static Object callStoredProcedure(LdapContext ctx,
String procedureName,
Object[] arguments)
throws NamingException
NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||