|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E56472-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.octetstring.vde.chain.PluginManager
public final class PluginManager
| Constructor Summary | |
|---|---|
PluginManager(int scope, com.octetstring.vde.ClassLoaderProvider provider) |
|
| Method Summary | |
|---|---|
void |
addPlugin(java.lang.String className, java.lang.String name, PluginInit initparams)Adds a plugin to the manager |
void |
addRef()Adds a reference to the current adapter |
void |
configurePlugins(com.octetstring.vde.config.PluginsConfig pluginsConfig) |
com.octetstring.vde.chain.PluginChain |
createPluginChain()Used to create a PluginChain that can then be added to the current PluginManager |
void |
destroyPlugins() |
com.octetstring.vde.chain.PluginChain |
getAdd() |
Adapter |
getBackend() |
com.octetstring.vde.chain.PluginChain |
getBind() |
int |
getChainStartingPoint(int operation, Plugin plugin) |
com.octetstring.vde.chain.PluginChain |
getDef() |
com.octetstring.vde.chain.PluginChain |
getDelete() |
com.octetstring.vde.chain.PluginChain |
getGet() |
com.octetstring.vde.chain.plugins.mapper.Mapper |
getMapper(java.lang.String name)Retrieves a Mapper based on the Mapper File Name |
com.octetstring.vde.chain.PluginChain |
getModify() |
Plugin |
getPlugin(java.lang.String name)Retrieves a plugin based on the name |
int |
getRefs() |
void |
remRef()Removes a reference to the current adapter |
void |
runAdd(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, Entry entry, com.asn1c.core.Int8 result)Runs the "add" operation's chain |
void |
runBind(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, BinarySyntax password, com.asn1c.core.Bool result)Runs the "bind" operation's chain |
void |
runDelete(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, com.asn1c.core.Int8 results)Moves through the "delete" operation's chain |
void |
runGet(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base, com.asn1c.core.Int8 scope, Filter filter, com.asn1c.core.Bool typesonly, java.util.Vector<DirectoryString> attributes, ChainVector result)Runs the "get" operation's chain |
Entry |
runGetByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base) |
void |
runModify(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries)Runs the "modify" operation's chain |
void |
runPostSearchComplete(java.util.HashMap<java.lang.Object,java.lang.Object> request, ChainEntrySet entrySet, int start)Run after all entries are returned |
void |
runPostSearchEntry(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, java.util.Vector<DirectoryString> returnAttribs, Filter filter, com.asn1c.core.Int8 scope, DirectoryString base, Entry entry, ChainEntrySet entrySet, int start)Run on each entry after a "get" is performed |
void |
runRename(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString oldName, DirectoryString newName, DirectoryString newSuffix, com.asn1c.core.Bool removeOldRdn, com.asn1c.core.Int8 results)Runs the "rename" operation's chain |
void |
setAdd(com.octetstring.vde.chain.PluginChain chain) |
void |
setBackend(Adapter backend) |
void |
setBind(com.octetstring.vde.chain.PluginChain chain) |
void |
setDef(com.octetstring.vde.chain.PluginChain chain) |
void |
setDelete(com.octetstring.vde.chain.PluginChain chain) |
void |
setGet(com.octetstring.vde.chain.PluginChain chain) |
void |
setModify(com.octetstring.vde.chain.PluginChain chain) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginManager(int scope,
com.octetstring.vde.ClassLoaderProvider provider)
| Method Detail |
|---|
public final void addRef()
public final void remRef()
public final int getRefs()
public void addPlugin(java.lang.String className,
java.lang.String name,
PluginInit initparams)
className - The class name of the pluginname - The label for the plugininitparams - The plugin's initialization parameterspublic Plugin getPlugin(java.lang.String name)
name - The name of the pluginpublic com.octetstring.vde.chain.plugins.mapper.Mapper getMapper(java.lang.String name)
name - The name of the mapper filepublic com.octetstring.vde.chain.PluginChain getAdd()
public com.octetstring.vde.chain.PluginChain getBind()
public com.octetstring.vde.chain.PluginChain getDef()
public com.octetstring.vde.chain.PluginChain getDelete()
public com.octetstring.vde.chain.PluginChain getGet()
public com.octetstring.vde.chain.PluginChain getModify()
public void setAdd(com.octetstring.vde.chain.PluginChain chain)
public void setBind(com.octetstring.vde.chain.PluginChain chain)
public void setDef(com.octetstring.vde.chain.PluginChain chain)
public void setDelete(com.octetstring.vde.chain.PluginChain chain)
public void setGet(com.octetstring.vde.chain.PluginChain chain)
public void setModify(com.octetstring.vde.chain.PluginChain chain)
public void runAdd(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
Entry entry,
com.asn1c.core.Int8 result)
throws DirectoryException,
ChainException
RunChainrunAdd in interface RunChaincreds - The currently bound user's credentialsentry - The entry being addedresult - The result of the addDirectoryExceptionChainException
public void runBind(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
DirectoryString dn,
BinarySyntax password,
com.asn1c.core.Bool result)
throws DirectoryException,
ChainException
RunChainrunBind in interface RunChaindn - The DN for the userpassword - The user's passwordresult - The result of the bindDirectoryExceptionChainException
public void runDelete(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
DirectoryString dn,
com.asn1c.core.Int8 results)
throws DirectoryException,
ChainException
RunChainrunDelete in interface RunChaincreds - The current user's credentialsdn - The object to deleteDirectoryExceptionChainException
public void runGet(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
DirectoryString base,
com.asn1c.core.Int8 scope,
Filter filter,
com.asn1c.core.Bool typesonly,
java.util.Vector<DirectoryString> attributes,
ChainVector result)
throws DirectoryException,
ChainException
RunChainrunGet in interface RunChainbase - The base of the searchscope - The scope of the searchfilter - The search's filtertypesonly - Should entry contain valuesattributes - List of attributesresult - Final resultsDirectoryExceptionChainException
public void runModify(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
DirectoryString name,
java.util.Vector<EntryChange> changeEntries)
throws DirectoryException,
ChainException
RunChainrunModify in interface RunChaincreds - The currnet user's credentialsname - The name of the object being modifiedchangeEntries - Group of EntryChange ObjectsDirectoryExceptionChainException
public void runRename(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
DirectoryString oldName,
DirectoryString newName,
DirectoryString newSuffix,
com.asn1c.core.Bool removeOldRdn,
com.asn1c.core.Int8 results)
throws DirectoryException,
ChainException
RunChainrunRename in interface RunChaincreds - User's credentialsoldName - The old name of the entrynewName - The new name of the entrynewSuffix - The new suffix of the entryremoveOldRdn - Determine if the old RDN is to be removedresults - The results of the renameDirectoryExceptionChainException
public void runPostSearchEntry(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
java.util.Vector<DirectoryString> returnAttribs,
Filter filter,
com.asn1c.core.Int8 scope,
DirectoryString base,
Entry entry,
ChainEntrySet entrySet,
int start)
throws DirectoryException,
ChainException
runPostSearchEntry in interface RunChaincreds - The current user's credentialsentry - The current entryDirectoryExceptionChainException
public void runPostSearchComplete(java.util.HashMap<java.lang.Object,java.lang.Object> request,
ChainEntrySet entrySet,
int start)
throws DirectoryException,
ChainException
runPostSearchComplete in interface RunChainDirectoryExceptionChainExceptionpublic com.octetstring.vde.chain.PluginChain createPluginChain()
public Adapter getBackend()
public void setBackend(Adapter backend)
public Entry runGetByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request,
Credentials creds,
DirectoryString base)
throws DirectoryException,
ChainException
runGetByDn in interface RunChainDirectoryExceptionChainException
public void configurePlugins(com.octetstring.vde.config.PluginsConfig pluginsConfig)
throws ChainException
ChainException
public int getChainStartingPoint(int operation,
Plugin plugin)
throws ChainException
ChainExceptionpublic void destroyPlugins()
|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E56472-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||