org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory Class Reference

Inherits org.objectweb.jonas.security.realm.factory.JResourceFactory.

Inheritance diagram for org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception

Detailed Description

This class provides an implementation of a JResource Memory factory for managing users
Author:
Florent Benoit

Definition at line 48 of file JResourceMemoryFactory.java.


Member Function Documentation

Object org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.getObjectInstance Object  obj,
Name  name,
Context  nameCtx,
Hashtable  environment
throws Exception [virtual]
 

Creates a javax.mail.Session object using the location or reference information specified.

Parameters:
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.
Returns:
a newly created javax.mail.Session object with the specific configuration; null if an object cannot be created.
Exceptions:
Exception if this object factory encountered an exception while attempting to create an object, and no other object factories are to be tried.

Implements org.objectweb.jonas.security.realm.factory.JResourceFactory.

Definition at line 73 of file JResourceMemoryFactory.java.

References org.objectweb.jonas.security.realm.factory.JResourceFactory.getLogger(), org.objectweb.jonas.security.realm.factory.JResourceMemory.setGroups(), org.objectweb.jonas.security.realm.factory.JResource.setName(), org.objectweb.jonas.security.realm.factory.JResourceMemory.setRoles(), and org.objectweb.jonas.security.realm.factory.JResource.setUsers().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:54 2005 for JOnAS by  doxygen 1.3.9.1