com.infoengine.connector.dao
Class EJBGenerator
java.lang.Object
com.infoengine.connector.dao.EJBGenerator
- public class EJBGenerator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
daoGen
private DAOGenerator daoGen
basePackage
private String basePackage
baseClass
private String baseClass
ejbJndiName
private String ejbJndiName
cxFactoryName
private String cxFactoryName
cxFactoryJndiName
private String cxFactoryJndiName
dao
private String dao
home
private String home
remote
private String remote
implementation
private String implementation
standAlone
private boolean standAlone
useCallerIdentity
private boolean useCallerIdentity
runAs
private String runAs
securityRoleRefs
private String securityRoleRefs
unchecked
private boolean unchecked
permittedRoles
private String permittedRoles
EJBGenerator
public EJBGenerator(String endPoint,
String soapClass,
String cxFactoryName)
throws Exception
setPackage
public void setPackage(String str)
setEJBJndiName
public void setEJBJndiName(String str)
setBaseClass
public void setBaseClass(String str)
setCxFactoryName
public void setCxFactoryName(String str)
setCxFactoryJndiName
public void setCxFactoryJndiName(String str)
setStandAlone
public void setStandAlone(boolean b)
setUseCallerIdentity
public void setUseCallerIdentity(boolean b)
setRunAs
public void setRunAs(String s)
setSecurityRoleRefs
public void setSecurityRoleRefs(String s)
setUnchecked
public void setUnchecked(boolean b)
setPermittedRoles
public void setPermittedRoles(String s)
intro
private void intro(PrintWriter pw)
throws IOException
- Throws:
IOException
ifcComments
private void ifcComments(PrintWriter pw,
String cmnts)
generateSource
public void generateSource(PrintWriter daoWriter,
PrintWriter ejbWriter)
throws IOException
- Throws:
IOException
generateSource
public void generateSource(String fileSystem)
throws IOException
- Throws:
IOException
usage
public static void usage(String msg)
main
public static void main(String[] args)