org.jboss.test.jca.fs
Class DirContextFactoryImpl

java.lang.Object
  extended byorg.jboss.test.jca.fs.DirContextFactoryImpl
All Implemented Interfaces:
DirContextFactory (src) , javax.naming.Referenceable, Referenceable (src) , java.io.Serializable

public class DirContextFactoryImpl
extends java.lang.Object
implements DirContextFactory (src)

See Also:
Serialized Form

Method Summary
 javax.naming.directory.DirContext getConnection()
           
 javax.naming.directory.DirContext getConnection(java.lang.String user, java.lang.String password)
           
 javax.naming.Reference getReference()
           
 void setReference(javax.naming.Reference reference)
          Sets the reference instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnection

public javax.naming.directory.DirContext getConnection()
                                                throws javax.naming.NamingException
Specified by:
getConnection in interface DirContextFactory (src)
Throws:
javax.naming.NamingException

getConnection

public javax.naming.directory.DirContext getConnection(java.lang.String user,
                                                       java.lang.String password)
                                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

setReference

public void setReference(javax.naming.Reference reference)
Description copied from interface: Referenceable (src)
Sets the reference instance

Specified by:
setReference in interface Referenceable (src)
Parameters:
reference - the reference

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException