org.jellyfish.implementation
Class MappingManagerDefault

java.lang.Object
  extended byorg.jellyfish.implementation.MappingManagerDefault
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, MappingManager, org.apache.avalon.framework.service.Serviceable

public class MappingManagerDefault
extends java.lang.Object
implements MappingManager, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.logger.LogEnabled


Field Summary
 
Fields inherited from interface org.jellyfish.MappingManager
OBJECTCLASS, ROLE
 
Constructor Summary
MappingManagerDefault()
           
 
Method Summary
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
           
 java.lang.String getObjectDn(java.lang.Object object)
           
 ObjectMapping getObjectMapping(javax.naming.directory.Attributes attributes)
           
 ObjectMapping getObjectMapping(java.lang.Object object)
           
 java.lang.String getUserDn(java.lang.String username)
           
 java.lang.Object mapFromAttributes(javax.naming.directory.Attributes attributes)
           
 javax.naming.directory.Attributes mapToAttributes(java.lang.Object object)
           
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingManagerDefault

public MappingManagerDefault()
Method Detail

service

public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException

enableLogging

public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled

mapToAttributes

public javax.naming.directory.Attributes mapToAttributes(java.lang.Object object)
Specified by:
mapToAttributes in interface MappingManager

mapFromAttributes

public java.lang.Object mapFromAttributes(javax.naming.directory.Attributes attributes)
Specified by:
mapFromAttributes in interface MappingManager

getObjectMapping

public ObjectMapping getObjectMapping(java.lang.Object object)
                               throws ObjectMapNotFoundException
Specified by:
getObjectMapping in interface MappingManager
Throws:
ObjectMapNotFoundException

getObjectMapping

public ObjectMapping getObjectMapping(javax.naming.directory.Attributes attributes)
                               throws ObjectMapNotFoundException
Specified by:
getObjectMapping in interface MappingManager
Throws:
ObjectMapNotFoundException

getUserDn

public java.lang.String getUserDn(java.lang.String username)
Specified by:
getUserDn in interface MappingManager

getObjectDn

public java.lang.String getObjectDn(java.lang.Object object)
Specified by:
getObjectDn in interface MappingManager


Copyright © 2003 . All Rights Reserved.