public class StoredProcExecutionManager extends Object
StoredProcEngineConfig
s. A container reference
as the base for Stored Procedure storage on the DIT is also handled by this class.Constructor and Description |
---|
StoredProcExecutionManager(String storedProcContainer,
List<StoredProcEngineConfig> storedProcEngineConfigs)
Creates a
StoredProcExecutionManager instance. |
Modifier and Type | Method and Description |
---|---|
ClonedServerEntry |
findStoredProcUnit(CoreSession session,
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. |
public StoredProcExecutionManager(String storedProcContainer, List<StoredProcEngineConfig> storedProcEngineConfigs)
StoredProcExecutionManager
instance.storedProcContainer
- The base of the DIT subtree used for storing stored procedure units.storedProcEngineConfigs
- A list of StoredProcEngineConfig
s to register different StoredProcEngine
s with this manager.public ClonedServerEntry findStoredProcUnit(CoreSession session, String fullSPName) throws 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.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.Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.