com.zphinx.spine.data.impl
Class LdapProxy
java.lang.Object
com.zphinx.spine.data.AbstractDataProxy
com.zphinx.spine.data.impl.LdapProxy
public class LdapProxy
- extends AbstractDataProxy
LdapProxy acts as a proxy for Ldap access.It will handle all calls for instantiating a suitable DataAccessObject and calling it's run method
- Version:
- 1.0 TODO Incomplete Implementation
Copyright ©Zphinx Software Solutions
- Author:
- David Ladapo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapProxy
public LdapProxy()
close
public void close(DataAccessObject dao)
- Description copied from class:
AbstractDataProxy
- Close and dispose of all opened resources
- Specified by:
close in class AbstractDataProxy
- Parameters:
dao - The DataAccessObject associated with this proxy
open
protected DataAccessObject open(Object obj1,
String s,
DAOInput daoCons)
throws SpineApplicationException
- Description copied from class:
AbstractDataProxy
- Open the datastore and fetch the correct type of persistence
- Specified by:
open in class AbstractDataProxy
- Parameters:
obj1 - Arbitary object to pass to this methods - A String representing the type of DAO to create.daoCons - The DaoConstructor passed to this object
- Returns:
- A suitable DataAccessObject object if the operation succeeds
- Throws:
SpineApplicationException