com.bankframe.examples.bp.impl.accountsearch
Class AccountSearchBean

java.lang.Object
  extended bycom.bankframe.examples.bp.accountsearch.AccountSearchBean
      extended bycom.bankframe.examples.bp.impl.accountsearch.AccountSearchBean
All Implemented Interfaces:
ESession, java.io.Serializable
Direct Known Subclasses:
AccountSearchSessionBean

public class AccountSearchBean
extends AccountSearchBean
implements ESession

This class marshalls methods calls and responses to/from DataPackets.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.bankframe.ejb.ESession
serialVersionUID
 
Constructor Summary
AccountSearchBean()
          Default Constructor.
 
Method Summary
 void ejbCreate()
          This method initialises a AccountSearch instance.
 java.util.Vector getAllAccounts()
          This method retrieves all Account entities.
 java.util.Vector processDataPacket(DataPacket data)
          Processes a request DataPacket and delegates it to the appropriate method.
 java.util.Vector processDataPackets(java.util.Vector data)
          This method processes multiple DataPacket requests.
 
Methods inherited from class com.bankframe.examples.bp.accountsearch.AccountSearchBean
findAllAccounts
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountSearchBean

public AccountSearchBean()
Default Constructor.

Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
This method initialises a AccountSearch instance.

Throws:
javax.ejb.CreateException

getAllAccounts

public java.util.Vector getAllAccounts()
                                throws ProcessingErrorException,
                                       ValidationException,
                                       java.rmi.RemoteException
This method retrieves all Account entities.

Returns:
a vector of all account entities
Throws:
ProcessingErrorException
java.rmi.RemoteException
ValidationException

processDataPacket

public java.util.Vector processDataPacket(DataPacket data)
                                   throws ProcessingErrorException,
                                          java.rmi.RemoteException
Processes a request DataPacket and delegates it to the appropriate method.

Specified by:
processDataPacket in interface ESession
Parameters:
data - the request DataPacket
Returns:
a Vector containing the response DataPacket(s)
Throws:
ProcessingErrorException
java.rmi.RemoteException

processDataPackets

public java.util.Vector processDataPackets(java.util.Vector data)
                                    throws ProcessingErrorException,
                                           java.rmi.RemoteException
This method processes multiple DataPacket requests.

Specified by:
processDataPackets in interface ESession
Parameters:
data - the request Vector of DataPacket
Returns:
a Vector containing the response DataPacket(s)
Throws:
ProcessingErrorException
java.rmi.RemoteException


Copyright © 2005, 2007, Oracle. All rights reserved.