com.bankframe.admin.tools
Class ConvertToEJB11

java.lang.Object
  extended bycom.bankframe.admin.tools.DirectoryIterator
      extended bycom.bankframe.admin.tools.ConvertToEJB11

public class ConvertToEJB11
extends DirectoryIterator

ConvertToEJB11 extends DirectoryIterator and converts all the processed files from EJB1.0 format to EJB1.1 format. The ejbCreate method is modified to return the primary key and not a void.

Author:
ETU

Field Summary
 java.lang.String baseDir
           
 java.lang.String EJB_CREATE_TAG
           
 java.lang.String PRIMARY_KEY_TAG
           
 java.lang.String RETURN_CLAUSE
           
 java.lang.String RETURN_TAG
           
 
Constructor Summary
ConvertToEJB11(java.lang.String[] args)
          Constructor takes a list of String arguments.
 
Method Summary
static void main(java.lang.String[] args)
          This method recursively converts files current dir or a dir specified on the command line to EJB1.1 format
 
Methods inherited from class com.bankframe.admin.tools.DirectoryIterator
iterate, iterate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIMARY_KEY_TAG

public final java.lang.String PRIMARY_KEY_TAG
See Also:
Constant Field Values

RETURN_TAG

public final java.lang.String RETURN_TAG
See Also:
Constant Field Values

RETURN_CLAUSE

public final java.lang.String RETURN_CLAUSE
See Also:
Constant Field Values

EJB_CREATE_TAG

public final java.lang.String EJB_CREATE_TAG
See Also:
Constant Field Values

baseDir

public java.lang.String baseDir
Constructor Detail

ConvertToEJB11

public ConvertToEJB11(java.lang.String[] args)
               throws java.io.IOException
Constructor takes a list of String arguments. Argument specifies directory of files to iterate and convert to EJB1.1 format.

Throws:
java.io.IOException - This exceptionthrows an IO exception if an error occurs reading the file. Occurs if file manipulation failed.
Method Detail

main

public static void main(java.lang.String[] args)
This method recursively converts files current dir or a dir specified on the command line to EJB1.1 format



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