xmlBlaster 2.1.0 API

org.xmlBlaster.j2ee.k2
Class BlasterConnectionFactoryImpl

java.lang.Object
  extended by org.xmlBlaster.j2ee.k2.BlasterConnectionFactoryImpl
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, BlasterConnectionFactory

public class BlasterConnectionFactoryImpl
extends java.lang.Object
implements BlasterConnectionFactory, java.io.Serializable, javax.resource.Referenceable

BlasterConnectionFactoryImpl.java Created: Fri Jan 26 13:28:54 2001

Author:
Peter Antman
See Also:
Serialized Form

Field Summary
private  javax.resource.spi.ConnectionManager cm
          Hook to the appserver
private  javax.resource.spi.ManagedConnectionFactory mcf
          Blasters own factory
private  javax.naming.Reference reference
           
 
Constructor Summary
BlasterConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
           
 
Method Summary
 BlasterConnection getConnection()
          Container managed login
 BlasterConnection getConnection(java.lang.String userName, java.lang.String password)
          Client managed login
 javax.naming.Reference getReference()
           
 void setReference(javax.naming.Reference reference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reference

private javax.naming.Reference reference

mcf

private javax.resource.spi.ManagedConnectionFactory mcf
Blasters own factory


cm

private javax.resource.spi.ConnectionManager cm
Hook to the appserver

Constructor Detail

BlasterConnectionFactoryImpl

public BlasterConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
                                    javax.resource.spi.ConnectionManager cm)
Method Detail

getConnection

public BlasterConnection getConnection()
                                throws javax.resource.ResourceException
Container managed login

Specified by:
getConnection in interface BlasterConnectionFactory
Throws:
javax.resource.ResourceException

getConnection

public BlasterConnection getConnection(java.lang.String userName,
                                       java.lang.String password)
                                throws javax.resource.ResourceException
Client managed login

Specified by:
getConnection in interface BlasterConnectionFactory
Throws:
javax.resource.ResourceException

setReference

public void setReference(javax.naming.Reference reference)

getReference

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

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.