org.jellyfish.implementation
Class ConnectionManagerDefault

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

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


Field Summary
 
Fields inherited from interface org.jellyfish.ConnectionManager
ROLE
 
Constructor Summary
ConnectionManagerDefault()
           
 
Method Summary
protected  javax.naming.directory.DirContext createInitialContext(java.util.Properties properties)
           
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
           
 javax.naming.directory.DirContext getContext()
           
 javax.naming.directory.DirContext getContext(java.lang.String userName, java.lang.String password)
           
 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

ConnectionManagerDefault

public ConnectionManagerDefault()
Method Detail

getContext

public javax.naming.directory.DirContext getContext()
Specified by:
getContext in interface ConnectionManager

getContext

public javax.naming.directory.DirContext getContext(java.lang.String userName,
                                                    java.lang.String password)
                                             throws javax.naming.NamingException
Specified by:
getContext in interface ConnectionManager
Throws:
javax.naming.NamingException

createInitialContext

protected javax.naming.directory.DirContext createInitialContext(java.util.Properties properties)
                                                          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

service

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

enableLogging

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


Copyright © 2003 . All Rights Reserved.