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

Inherited by org.objectweb.jonas.security.realm.factory.JResourceDSFactory, org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory, and org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

Logger getLogger ()
void setLogger (Logger logger)

Detailed Description

This class provides an implementation of the abstract JResource factory for managing users
Author:
Florent Benoit

Definition at line 45 of file JResourceFactory.java.


Member Function Documentation

Logger org.objectweb.jonas.security.realm.factory.JResourceFactory.getLogger  )  [static]
 

Returns:
Returns the logger.

Definition at line 75 of file JResourceFactory.java.

Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.getObjectInstance(), org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance().

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

Creates a 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 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.

Implemented in org.objectweb.jonas.security.realm.factory.JResourceDSFactory, org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory, and org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.

void org.objectweb.jonas.security.realm.factory.JResourceFactory.setLogger Logger  logger  )  [static]
 

Parameters:
logger The logger to set.

Definition at line 81 of file JResourceFactory.java.


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