net.sf.jldapbeans.lang
Class LdapStateFactory
java.lang.Object
net.sf.jldapbeans.lang.LdapStateFactory
- All Implemented Interfaces:
- javax.naming.spi.DirStateFactory, javax.naming.spi.StateFactory
public class LdapStateFactory
- extends java.lang.Object
- implements javax.naming.spi.DirStateFactory
The LdapStateFactory
is the entry point of the mechanism that stores
a LdapBean
object as a LDAP object.
- Version:
- 1.0 $ Revision 29-oct-2005 :: 11:58:46 :: alonso $
- Author:
- A. Alonso Domínguez
Nested classes/interfaces inherited from interface javax.naming.spi.DirStateFactory |
javax.naming.spi.DirStateFactory.Result |
Method Summary |
protected javax.naming.directory.Attribute |
getObjectClass(LdapClass ldapClass)
|
java.lang.Object |
getStateToBind(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context ctx,
java.util.Hashtable env)
|
javax.naming.spi.DirStateFactory.Result |
getStateToBind(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context ctx,
java.util.Hashtable env,
javax.naming.directory.Attributes attrs)
|
protected javax.naming.directory.Attributes |
mergeAttributes(javax.naming.directory.Attributes attr1,
javax.naming.directory.Attributes attr2,
boolean overwrite)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapStateFactory
public LdapStateFactory()
getStateToBind
public java.lang.Object getStateToBind(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context ctx,
java.util.Hashtable env)
throws javax.naming.NamingException
- Specified by:
getStateToBind
in interface javax.naming.spi.StateFactory
- Throws:
javax.naming.NamingException
getStateToBind
public javax.naming.spi.DirStateFactory.Result getStateToBind(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context ctx,
java.util.Hashtable env,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
- Specified by:
getStateToBind
in interface javax.naming.spi.DirStateFactory
- Throws:
javax.naming.NamingException
getObjectClass
protected javax.naming.directory.Attribute getObjectClass(LdapClass ldapClass)
mergeAttributes
protected javax.naming.directory.Attributes mergeAttributes(javax.naming.directory.Attributes attr1,
javax.naming.directory.Attributes attr2,
boolean overwrite)
Copyright © 2005 jLDAPBeans Team. All Rights Reserved.