|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.security.realm.factory.JResourceFactory
org.objectweb.jonas.security.realm.factory.JResourceDSFactory
This class provides an implementation of a JResource Datasource factory for managing users
Constructor Summary | |
JResourceDSFactory()
|
Method Summary | |
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
Creates a javax.mail.Session object using the location or reference information specified. |
Methods inherited from class org.objectweb.jonas.security.realm.factory.JResourceFactory |
getArrayFromBytes, getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JResourceDSFactory()
Method Detail |
public java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment) throws java.lang.Exception
getObjectInstance
in interface javax.naming.spi.ObjectFactory
getObjectInstance
in class JResourceFactory
obj
- the possibly null object containing location or reference
information that can be used in creating an object.name
- the name of this object relative to nameCtx, or null if no
name is specified.nameCtx
- the context relative to which the name parameter is
specified, or null if name is relative to the default initial
context.environment
- the possibly null environment that is used in creating
the object.
java.lang.Exception
- if this object factory encountered an exception while
attempting to create an object, and no other object factories are
to be tried.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |