| java.lang.Object org.objectweb.jonas.security.realm.factory.JResourceFactory
All known Subclasses: org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory, org.objectweb.jonas.security.realm.factory.JResourceDSFactory, org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory,
JResourceFactory | abstract public class JResourceFactory implements ObjectFactory(Code) | | This class provides an implementation of the abstract JResource factory for
managing users
author: Florent Benoit |
Method Summary | |
public static Logger | getLogger() | abstract public Object | getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) Creates a 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. | public static void | setLogger(Logger logger) |
getLogger | public static Logger getLogger()(Code) | | Returns the logger. |
getObjectInstance | abstract public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception(Code) | | Creates a 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 object with the specific configuration; null ifan 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. |
setLogger | public static void setLogger(Logger logger)(Code) | | Parameters: logger - The logger to set. |
|
|