com.infoengine.connector
Class SessionEJB

java.lang.Object
  extended bycom.infoengine.connector.SessionEJB

public class SessionEJB
extends Object


Field Summary
protected  javax.ejb.SessionContext ctx
           
protected  javax.resource.cci.ConnectionFactory cxFactory
           
protected  String cxFactoryJndiName
           
protected  javax.resource.cci.ConnectionSpec cxSpec
           
protected  javax.resource.cci.RecordFactory rxFactory
           
protected  boolean standAlone
           
 
Constructor Summary
SessionEJB()
           
 
Method Summary
protected  void closeCx(javax.resource.cci.Connection con)
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbCreate(String user, String password)
           
 void ejbPassivate()
           
 void ejbRemove()
           
protected  javax.resource.cci.Connection getCx()
           
protected  javax.resource.cci.Connection getCx(javax.resource.cci.ConnectionSpec cxSpec)
           
private  void initialize()
           
 void setSessionContext(javax.ejb.SessionContext ctx)
           
private  void uninitialize()
           
 void unsetSessionContext()
           
private  void validate(javax.resource.cci.Connection cx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cxFactory

protected javax.resource.cci.ConnectionFactory cxFactory

rxFactory

protected javax.resource.cci.RecordFactory rxFactory

ctx

protected javax.ejb.SessionContext ctx

cxSpec

protected javax.resource.cci.ConnectionSpec cxSpec

cxFactoryJndiName

protected String cxFactoryJndiName

standAlone

protected boolean standAlone
Constructor Detail

SessionEJB

public SessionEJB()
Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbCreate

public void ejbCreate(String user,
                      String password)
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

validate

private void validate(javax.resource.cci.Connection cx)
               throws Exception
Throws:
Exception

ejbRemove

public void ejbRemove()

ejbActivate

public void ejbActivate()

ejbPassivate

public void ejbPassivate()

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)

unsetSessionContext

public void unsetSessionContext()

uninitialize

private void uninitialize()

initialize

private void initialize()

getCx

protected javax.resource.cci.Connection getCx()

getCx

protected javax.resource.cci.Connection getCx(javax.resource.cci.ConnectionSpec cxSpec)

closeCx

protected void closeCx(javax.resource.cci.Connection con)