com.bankframe.services.route.administration
Class RouteAdministrationBean

java.lang.Object
  extended bycom.bankframe.ejb.ESessionBean
      extended bycom.bankframe.services.route.administration.RouteAdministrationBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, ESession, java.io.Serializable, javax.ejb.SessionBean

public class RouteAdministrationBean
extends ESessionBean

This class is responsible for the administration of routes in BankFrame MCA.

Author:
Rob O'Neill
See Also:
Serialized Form

Constructor Summary
RouteAdministrationBean()
           
 
Method Summary
 void createRoute(java.lang.String requestId, java.lang.String ejbName, java.lang.String description, boolean isSessionManaged)
          This method creates a new instance of the Route EJB.
 void deleteRoute(java.lang.String requestId)
          This method deletes an instance of the route EJB.
 java.util.Enumeration getAllRoutes()
          This method returns all routes
 Route getRoute(java.lang.String requestId)
          This method finds an instance of the route EJB by its primary key.
 java.util.Vector processDataPacket(DataPacket data)
          The method is the Interface to the client.
 
Methods inherited from class com.bankframe.ejb.ESessionBean
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, processDataPackets, setSessionContext, unsetSessionContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteAdministrationBean

public RouteAdministrationBean()
Method Detail

createRoute

public void createRoute(java.lang.String requestId,
                        java.lang.String ejbName,
                        java.lang.String description,
                        boolean isSessionManaged)
                 throws ProcessingErrorException
This method creates a new instance of the Route EJB.

Parameters:
requestId - the primarykey of the route to be created
ejbName - the JNDI name of the route to be created
description - the description of the route to be created
isSessionManaged - 'yes' or 'no'
Throws:
ProcessingErrorException - this exception is thrown if processing fails.

deleteRoute

public void deleteRoute(java.lang.String requestId)
                 throws ProcessingErrorException
This method deletes an instance of the route EJB.

Parameters:
requestId - the primary key of the route to be deleted.
Throws:
ProcessingErrorException - this exception is thrown if processing fails.

getAllRoutes

public java.util.Enumeration getAllRoutes()
                                   throws ProcessingErrorException
This method returns all routes

Returns:
Enumeration of routes
Throws:
ProcessingErrorException - this exception is thrown if processing fails.

getRoute

public Route getRoute(java.lang.String requestId)
               throws ProcessingErrorException
This method finds an instance of the route EJB by its primary key.

Parameters:
requestId - the primary key of the route to be found.
Throws:
ProcessingErrorException - this exception is thrown if processing fails.

processDataPacket

public java.util.Vector processDataPacket(DataPacket data)
                                   throws ProcessingErrorException
The method is the Interface to the client. It accepts the request for performing the various operations for Administrating routes

Specified by:
processDataPacket in interface ESession
Specified by:
processDataPacket in class ESessionBean
Parameters:
data - The DataPacket to process.
Returns:
Vector
Throws:
ProcessingErrorException - this exception is thrown if processing fails.


Copyright © 2004 Siebel Systems, Inc. All rights reserved.