Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jellyfish.implementation
Class ConnectionManagerDefault  view ConnectionManagerDefault download ConnectionManagerDefault.java

java.lang.Object
  extended byorg.jellyfish.implementation.ConnectionManagerDefault
All Implemented Interfaces:
org.jellyfish.ConnectionManager

public class ConnectionManagerDefault
extends java.lang.Object
implements org.jellyfish.ConnectionManager


Field Summary
private  org.jellyfish.ConfigurationManager configurationManager
           
private  javax.naming.directory.DirContext initialContext
           
private static ConnectionManagerDefault instance
           
private  Logger logger
           
private  ServiceManager serviceManager
           
 
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(Logger logger)
           
 javax.naming.directory.DirContext getContext()
           
 javax.naming.directory.DirContext getContext(java.lang.String userName, java.lang.String password)
           
 void service(ServiceManager serviceManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static ConnectionManagerDefault instance

initialContext

private javax.naming.directory.DirContext initialContext

serviceManager

private ServiceManager serviceManager

logger

private Logger logger

configurationManager

private org.jellyfish.ConfigurationManager configurationManager
Constructor Detail

ConnectionManagerDefault

public ConnectionManagerDefault()
Method Detail

getContext

public javax.naming.directory.DirContext getContext()
Specified by:
getContext in interface org.jellyfish.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 org.jellyfish.ConnectionManager

createInitialContext

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

service

public void service(ServiceManager serviceManager)

enableLogging

public void enableLogging(Logger logger)