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

Quick Search    Search Deep

ejb.service
Class AddressBookSessionBean  view AddressBookSessionBean download AddressBookSessionBean.java

java.lang.Object
  extended byejb.service.AddressBookSessionBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

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

AddressBook Session Bean ATTENTION: Some of the XDoclet tags are hidden from XDoclet by adding a "--" between @ and the namespace. Please remove this "--" to make it active or add a space to make an active tag inactive.


Field Summary
private  javax.ejb.SessionContext mContext
           
private  java.util.HashMap name2AddressTable
           
 
Constructor Summary
AddressBookSessionBean()
           
 
Method Summary
 void addEntry(java.lang.String name, ejb.service.addressbook.wsiftypes.Address address)
           
 void addEntry(java.lang.String firstName, java.lang.String lastName, ejb.service.addressbook.wsiftypes.Address address)
           
 void ejbActivate()
           
 void ejbCreate()
          Create the Session Bean
 void ejbPassivate()
           
 void ejbRemove()
           
 ejb.service.addressbook.wsiftypes.Address getAddressFromName(java.lang.String name)
           
 void setSessionContext(javax.ejb.SessionContext aContext)
           
 java.lang.String toString()
          Describes the instance and its content for debugging purpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name2AddressTable

private java.util.HashMap name2AddressTable

mContext

private javax.ejb.SessionContext mContext
Constructor Detail

AddressBookSessionBean

public AddressBookSessionBean()
Method Detail

addEntry

public void addEntry(java.lang.String name,
                     ejb.service.addressbook.wsiftypes.Address address)

addEntry

public void addEntry(java.lang.String firstName,
                     java.lang.String lastName,
                     ejb.service.addressbook.wsiftypes.Address address)

getAddressFromName

public ejb.service.addressbook.wsiftypes.Address getAddressFromName(java.lang.String name)
                                                             throws java.lang.IllegalArgumentException

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Create the Session Bean


toString

public java.lang.String toString()
Describes the instance and its content for debugging purpose


setSessionContext

public void setSessionContext(javax.ejb.SessionContext aContext)
                       throws javax.ejb.EJBException
Specified by:
setSessionContext in interface javax.ejb.SessionBean

ejbActivate

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

ejbPassivate

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

ejbRemove

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