WebLogic Server 7.0 Code Examples, BEA Systems, Inc.

examples.jdbc.oracle.extensions
Class ExtensionsBean

java.lang.Object
  |
  +--examples.jdbc.oracle.extensions.ExtensionsBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class ExtensionsBean
extends java.lang.Object
implements javax.ejb.SessionBean

This class contains logic for the extension ejb.

Author:
Copyright (c) 1996-2002 by BEA Systems, Inc. All Rights Reserved.

Constructor Summary
ExtensionsBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void executeRefs(java.lang.String url)
          Executes refs select and update
 void getArrays(java.lang.String url)
          Executes refs select and update
 java.util.Vector getStructs(java.lang.String url)
          Executes structs select.
 java.util.Vector insertStructs(EmployeeBO emp, java.lang.String url)
          Executes structs update.
 void setSessionContext(javax.ejb.SessionContext ctx)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionsBean

public ExtensionsBean()
Method Detail

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

executeRefs

public void executeRefs(java.lang.String url)
                 throws java.sql.SQLException,
                        javax.naming.NamingException
Executes refs select and update

getArrays

public void getArrays(java.lang.String url)
               throws java.sql.SQLException,
                      javax.naming.NamingException
Executes refs select and update

getStructs

public java.util.Vector getStructs(java.lang.String url)
                            throws java.sql.SQLException,
                                   javax.naming.NamingException
Executes structs select.

insertStructs

public java.util.Vector insertStructs(EmployeeBO emp,
                                      java.lang.String url)
                               throws java.sql.SQLException,
                                      javax.naming.NamingException
Executes structs update.

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
Specified by:
setSessionContext in interface javax.ejb.SessionBean

Documentation is available at
http://e-docs.bea.com/wls/docs70

Copyright © 2002 BEA Systems, Inc. All Rights Reserved.