public interface StoredProcEngine
Modifier and Type | Method and Description |
---|---|
String |
getSPLangId()
Returns the unique identifier of the supported stored procedure language.
|
Object |
invokeProcedure(CoreSession session,
String fullSPName,
Object[] spArgs)
Invokes the stored procedure handled by the engine.
|
void |
setSPUnitEntry(org.apache.directory.api.ldap.model.entry.Entry spUnit)
Registers an entry found to be contaning a stored procedure unit which this engine can operate on.
|
String getSPLangId()
void setSPUnitEntry(org.apache.directory.api.ldap.model.entry.Entry spUnit)
This method should be called before an attempt to invoke a stored procedure via this Engine.
Object invokeProcedure(CoreSession session, String fullSPName, Object[] spArgs) throws org.apache.directory.api.ldap.model.exception.LdapException
fullSPName
- A fully qualified name of the stored procedure including its unit name.spArgs
- A list or arguments to be passed to the stored procedure. It should be an empty array if there aren't any parameters defined.org.apache.directory.api.ldap.model.exception.LdapException
- If an error occurs during invocation.Copyright © 2017. All rights reserved.