com.bankframe.services.route.administration
Class Client

java.lang.Object
  extended bycom.bankframe.services.route.administration.Client

public class Client
extends java.lang.Object

The RouteAdministration client Class

Usage:

  1. java com.bankframe.services.route.administration.Client -c (CREATE_ROUTE) requestId, ejbName, description, isSessionManaged

  2. Create a route
  3. java com.bankframe.services.route.administration.Client -d (DELETE_ROUTE) requestId

  4. Delete a route
  5. java com.bankframe.services.route.administration.Client -ga (GET_ALL_ROUTES)

  6. Retrieve all routes
  7. java com.bankframe.services.route.administration.Client -gr (GET_ROUTE) requestId

  8. Retrieve a specfic route

Author:
Rob O'Neill

Field Summary
static int CREATE_ROUTE
           
static int DELETE_ROUTE
           
static int GET_ALL_ROUTES
           
static int GET_ROUTE
           
static int HANDLE_BREAK
           
static java.lang.String JNDI_LOOKUP_NAME
           
 
Constructor Summary
Client()
           
 
Method Summary
 void getDataPacket(DataPacket datap)
           
 int init(java.lang.String[] args)
          This function initializes the startup variables and objects.
static void main(java.lang.String[] args)
          PUBLIC : This function interfaces the Client class and it's functionality to the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_ROUTE

public static final int CREATE_ROUTE
See Also:
Constant Field Values

DELETE_ROUTE

public static final int DELETE_ROUTE
See Also:
Constant Field Values

GET_ALL_ROUTES

public static final int GET_ALL_ROUTES
See Also:
Constant Field Values

GET_ROUTE

public static final int GET_ROUTE
See Also:
Constant Field Values

HANDLE_BREAK

public static final int HANDLE_BREAK
See Also:
Constant Field Values

JNDI_LOOKUP_NAME

public static final java.lang.String JNDI_LOOKUP_NAME
See Also:
Constant Field Values
Constructor Detail

Client

public Client()
Method Detail

getDataPacket

public void getDataPacket(DataPacket datap)
                   throws java.lang.Exception
Returns:
void
Throws:
java.lang.Exception

init

public int init(java.lang.String[] args)
This function initializes the startup variables and objects. It also analyzes the request type and calls the required processing

Parameters:
args - String[]
Returns:
int - handle for main()

main

public static void main(java.lang.String[] args)
PUBLIC : This function interfaces the Client class and it's functionality to the user. It accepts some command line arguments, ande passes them to init() it then sets up DataPackets with with the relevant fields

Parameters:
args - String[]
Returns:
void


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