| java.lang.Object org.objectweb.jonas.security.realm.factory.JResourceFactory org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory
JResourceLDAPFactory | public class JResourceLDAPFactory extends JResourceFactory (Code) | | This class provides an implementation of a JResource JNDI factory for
managing users
author: Florent Benoit |
Method Summary | |
public Object | getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) Creates a javax.mail.Session object using the location or reference
information specified.
Parameters: obj - the possibly null object containing location or referenceinformation that can be used in creating an object. Parameters: name - the name of this object relative to nameCtx, or null if noname is specified. Parameters: nameCtx - the context relative to which the name parameter isspecified, or null if name is relative to the default initialcontext. Parameters: environment - the possibly null environment that is used in creatingthe object. |
getObjectInstance | public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception(Code) | | Creates a javax.mail.Session object using the location or reference
information specified.
Parameters: obj - the possibly null object containing location or referenceinformation that can be used in creating an object. Parameters: name - the name of this object relative to nameCtx, or null if noname is specified. Parameters: nameCtx - the context relative to which the name parameter isspecified, or null if name is relative to the default initialcontext. Parameters: environment - the possibly null environment that is used in creatingthe object. a newly created javax.mail.Session object with the specificconfiguration; null if an object cannot be created. throws: Exception - if this object factory encountered an exception whileattempting to create an object, and no other object factories areto be tried. |
|
|