Package com.iplanet.ums
Class DefaultClassResolver
- java.lang.Object
-
- com.iplanet.ums.DefaultClassResolver
-
- All Implemented Interfaces:
IClassResolver,Serializable
- Direct Known Subclasses:
GroupResolver
public class DefaultClassResolver extends Object implements Serializable, IClassResolver
Default IClassResolver implementation that can resolve the Java class to instantiate for a specific collection of attributes.- See Also:
TemplateManager,IClassResolver, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultClassResolver()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Classresolve(String id, AttrSet set)Resolves a set of attributes to a subclass of PersistentObject and returns the class.
-
-
-
Method Detail
-
resolve
public Class resolve(String id, AttrSet set)
Resolves a set of attributes to a subclass of PersistentObject and returns the class. This implementation compares the object classes in the set to a table of default mappings.- Specified by:
resolvein interfaceIClassResolver- Parameters:
id- ID of the entryset- a set of attributes of an object- Returns:
- a class for a corresponding object, or
nullif no class could be resolved
-
-