com.bankframe.admin.tools
Class ConvertToEJB11
java.lang.Object
com.bankframe.admin.tools.DirectoryIterator
com.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.
Method Summary |
static void |
main(String[] args)
This method recursively converts files current dir or a dir specified on the command line to EJB1.1 format |
PRIMARY_KEY_TAG
public final String PRIMARY_KEY_TAG
- See Also:
- Constant Field Values
RETURN_TAG
public final String RETURN_TAG
- See Also:
- Constant Field Values
RETURN_CLAUSE
public final String RETURN_CLAUSE
- See Also:
- Constant Field Values
EJB_CREATE_TAG
public final String EJB_CREATE_TAG
- See Also:
- Constant Field Values
baseDir
public String baseDir
ConvertToEJB11
public ConvertToEJB11(String[] args)
throws IOException
- Constructor takes a list of String arguments. Argument specifies directory of files to iterate and convert to EJB1.1 format.
- Parameters:
args
- String array of args, "-p" specifies base dir.
- Throws:
IOException
- This exceptionthrows an IO exception if an error occurs reading the file.
Occurs if file manipulation failed.
main
public static void main(String[] args)
- This method recursively converts files current dir or a dir specified on the command line to EJB1.1 format
- Parameters:
args
- String array of args, "-p" specifies base dir.
Copyright © 2005, 2007, Oracle. All rights reserved.