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

Quick Search    Search Deep

org.jellyfish
Class ConnectionManagerMock  view ConnectionManagerMock download ConnectionManagerMock.java

java.lang.Object
  extended byorg.jellyfish.ConnectionManagerMock
All Implemented Interfaces:
ConnectionManager

public class ConnectionManagerMock
extends java.lang.Object
implements ConnectionManager


Field Summary
 boolean getContextCalled
           
 boolean getContextIICalled
           
 javax.naming.NamingException getContextIINamingException
           
 java.lang.String getContextIIPassword
           
 javax.naming.directory.DirContext getContextIIReturn
           
 java.lang.String getContextIIUserName
           
 mock.javax.naming.directory.DirContextMock getContextReturn
           
 
Fields inherited from interface org.jellyfish.ConnectionManager
ROLE
 
Constructor Summary
ConnectionManagerMock()
           
 
Method Summary
 javax.naming.directory.DirContext getContext()
           
 javax.naming.directory.DirContext getContext(java.lang.String userName, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

getContextCalled

public boolean getContextCalled

getContextReturn

public mock.javax.naming.directory.DirContextMock getContextReturn

getContextIICalled

public boolean getContextIICalled

getContextIIUserName

public java.lang.String getContextIIUserName

getContextIIPassword

public java.lang.String getContextIIPassword

getContextIIReturn

public javax.naming.directory.DirContext getContextIIReturn

getContextIINamingException

public javax.naming.NamingException getContextIINamingException
Constructor Detail

ConnectionManagerMock

public ConnectionManagerMock()
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