|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.sp.StoredProcExecutionManager
public class StoredProcExecutionManager
A Factory type class which holds a registry of supported StoredProcEngineConfigs. A container reference
as the base for Stored Procedure storage on the DIT is also handled by this class.
| Constructor Summary | |
|---|---|
StoredProcExecutionManager(java.lang.String storedProcContainer,
java.util.List<StoredProcEngineConfig> storedProcEngineConfigs)
Creates a StoredProcExecutionManager instance. |
|
| Method Summary | |
|---|---|
ClonedServerEntry |
findStoredProcUnit(CoreSession session,
java.lang.String fullSPName)
Finds and returns a stored procedure unit entry whose identifier name is extracted from fullSPName. |
StoredProcEngine |
getStoredProcEngineInstance(ClonedServerEntry spUnitEntry)
Initializes and returns a StoredProcEngine instance which can operate on spUnitEntry
considering its specific stored procedure language. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoredProcExecutionManager(java.lang.String storedProcContainer,
java.util.List<StoredProcEngineConfig> storedProcEngineConfigs)
StoredProcExecutionManager instance.
storedProcContainer - The base of the DIT subtree used for storing stored procedure units.storedProcEngineConfigs - A list of StoredProcEngineConfigs to register different StoredProcEngines with this manager.| Method Detail |
|---|
public ClonedServerEntry findStoredProcUnit(CoreSession session,
java.lang.String fullSPName)
throws java.lang.Exception
rootDSE - A handle on the root DSE to be used for searching the SP Unit over.fullSPName - Full name of the Stored Procedure including the unit name.
java.lang.Exception - If the unit cannot be located or any other error occurs.
public StoredProcEngine getStoredProcEngineInstance(ClonedServerEntry spUnitEntry)
throws org.apache.directory.shared.ldap.exception.LdapException
StoredProcEngine instance which can operate on spUnitEntry
considering its specific stored procedure language.
spUnitEntry - The entry which a StoredProcEngine type will be mathched with respect to the language identifier.
StoredProcEngine associated with spUnitEntry.
org.apache.directory.shared.ldap.exception.LdapException - If no StoredProcEngine that can be associated with the language identifier in spUnitEntry can be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||