Java Doc for JonasDeploymentTool.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » ant » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.ant 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.jonas.ant.GenericDeploymentTool
      org.objectweb.jonas.ant.JonasDeploymentTool

JonasDeploymentTool
public class JonasDeploymentTool extends GenericDeploymentTool (Code)
The deployment tool to add the jonas specific deployment descriptors to the ejb JAR file. JONAS only requires one additional file jonas-ejb-jar.xml.
author:
   Cyrille Morvan , author:
   href="http://www.ingenosya.com">Ingenosya France ,
author:
   Contributor(s): Mathieu
author:
   Peltier
Adriana Danes: change configuration directory name from
author:
   "config" to "conf"
version:
   1.0
See Also:   EjbJar.createJonas


Field Summary
final protected static  StringBOOTSTRAP_CLASS
     Bootstrap class name.
final protected static  StringEJB_JAR_1_1_DTD
     Name of the standard deployment descriptor DTD (these files are stored in the ${JONAS_ROOT}/xml directory).
final protected static  StringEJB_JAR_1_1_PUBLIC_ID
     Public Id of the standard deployment descriptor DTD.
final protected static  StringEJB_JAR_2_0_DTD
    
final protected static  StringEJB_JAR_2_0_PUBLIC_ID
    
final protected static  StringGENIC_CLASS
     GenIC class name (JOnAS 2.6).
final protected static  StringJONAS_DD
     Default JOnAS deployment descriptor name.
final protected static  StringJONAS_EJB_JAR_2_4_DTD
     Name of the JOnAS-specific deployment descriptor DTD (these files are stored in the ${JONAS_ROOT}/xml directory).
final protected static  StringJONAS_EJB_JAR_2_4_PUBLIC_ID
     Public Id of the JOnAS-specific deployment descriptor DTD.
final protected static  StringJONAS_EJB_JAR_2_5_DTD
    
final protected static  StringJONAS_EJB_JAR_2_5_PUBLIC_ID
    
final protected static  StringJONAS_EJB_JAR_3_0_DTD
    
final protected static  StringJONAS_EJB_JAR_3_0_PUBLIC_ID
    
final protected static  StringJONAS_EJB_JAR_3_2_DTD
    
final protected static  StringJONAS_EJB_JAR_3_2_PUBLIC_ID
    
final protected static  StringJONAS_EJB_JAR_3_3_2_DTD
    
final protected static  StringJONAS_EJB_JAR_3_3_2_PUBLIC_ID
    
final protected static  StringJONAS_EJB_JAR_3_3_DTD
    
final protected static  StringJONAS_EJB_JAR_3_3_PUBLIC_ID
    


Method Summary
protected  voidaddVendorFiles(Hashtable ejbFiles, String ddPrefix)
    
protected  voidcheckConfiguration(String descriptorFileName, SAXParser saxParser)
    
protected  StringgetJarBaseName(String descriptorFileName)
    
protected  FilegetVendorOutputJarFile(String baseName)
    
protected  voidmergeManifest(File manifestUserFile, File manifestGenicFile)
    
public  voidprocessDescriptor(String aDescriptorName, SAXParser saxParser)
    
protected  voidregisterKnownDTDs(DescriptorHandler handler)
    
public  voidsetAdditionalargs(String aString)
     Set the JonasDeploymentTool.additionalargs .
public  voidsetClasspathref(Reference r)
    
public  voidsetInvokecmd(boolean aBoolean)
     Set the JonasDeploymentTool.invokecmd flag.
public  voidsetJarsuffix(String aString)
     Set the JonasDeploymentTool.jarsuffix .
public  voidsetJavac(String aString)
     Set the java compiler JonasDeploymentTool.javac to use.
public  voidsetJavacopts(String aString)
     Set the options to pass to the java compiler.
public  voidsetJonasbase(File aFile)
     Set the JOnAS base directory.
public  voidsetJonasroot(File aFile)
     Set the JOnAS root directory.
public  voidsetJvmopts(String aString)
     Set the additional args to pass to the GenIC JVM.
public  voidsetKeepgenerated(boolean aBoolean)
     Set the JonasDeploymentTool.keepgenerated flag.
public  voidsetKeepgeneric(boolean aBoolean)
     Set the JonasDeploymentTool.keepgeneric flag.
public  voidsetMappernames(String aString)
    
public  voidsetNoFastRMIC(boolean value)
    
public  voidsetNocompil(boolean aBoolean)
     Set the JonasDeploymentTool.nocompil flag.
public  voidsetNogenic(boolean aBoolean)
     Set the JonasDeploymentTool.nogenic flag.
public  voidsetNovalidation(boolean aBoolean)
     Set the JonasDeploymentTool.novalidation flag.
public  voidsetProtocols(String aString)
    
public  voidsetRmicopts(String aString)
     Set the options to pass to the rmi compiler.
public  voidsetVerbose(boolean aBoolean)
     Set the JonasDeploymentTool.verbose flag.
protected  voidwriteJar(String baseName, File jarfile, Hashtable ejbFiles, String publicId, boolean includeInnerClasses)
    

Field Detail
BOOTSTRAP_CLASS
final protected static String BOOTSTRAP_CLASS(Code)
Bootstrap class name.



EJB_JAR_1_1_DTD
final protected static String EJB_JAR_1_1_DTD(Code)
Name of the standard deployment descriptor DTD (these files are stored in the ${JONAS_ROOT}/xml directory).



EJB_JAR_1_1_PUBLIC_ID
final protected static String EJB_JAR_1_1_PUBLIC_ID(Code)
Public Id of the standard deployment descriptor DTD.



EJB_JAR_2_0_DTD
final protected static String EJB_JAR_2_0_DTD(Code)



EJB_JAR_2_0_PUBLIC_ID
final protected static String EJB_JAR_2_0_PUBLIC_ID(Code)



GENIC_CLASS
final protected static String GENIC_CLASS(Code)
GenIC class name (JOnAS 2.6).



JONAS_DD
final protected static String JONAS_DD(Code)
Default JOnAS deployment descriptor name.



JONAS_EJB_JAR_2_4_DTD
final protected static String JONAS_EJB_JAR_2_4_DTD(Code)
Name of the JOnAS-specific deployment descriptor DTD (these files are stored in the ${JONAS_ROOT}/xml directory).



JONAS_EJB_JAR_2_4_PUBLIC_ID
final protected static String JONAS_EJB_JAR_2_4_PUBLIC_ID(Code)
Public Id of the JOnAS-specific deployment descriptor DTD.



JONAS_EJB_JAR_2_5_DTD
final protected static String JONAS_EJB_JAR_2_5_DTD(Code)



JONAS_EJB_JAR_2_5_PUBLIC_ID
final protected static String JONAS_EJB_JAR_2_5_PUBLIC_ID(Code)



JONAS_EJB_JAR_3_0_DTD
final protected static String JONAS_EJB_JAR_3_0_DTD(Code)



JONAS_EJB_JAR_3_0_PUBLIC_ID
final protected static String JONAS_EJB_JAR_3_0_PUBLIC_ID(Code)



JONAS_EJB_JAR_3_2_DTD
final protected static String JONAS_EJB_JAR_3_2_DTD(Code)



JONAS_EJB_JAR_3_2_PUBLIC_ID
final protected static String JONAS_EJB_JAR_3_2_PUBLIC_ID(Code)



JONAS_EJB_JAR_3_3_2_DTD
final protected static String JONAS_EJB_JAR_3_3_2_DTD(Code)



JONAS_EJB_JAR_3_3_2_PUBLIC_ID
final protected static String JONAS_EJB_JAR_3_3_2_PUBLIC_ID(Code)



JONAS_EJB_JAR_3_3_DTD
final protected static String JONAS_EJB_JAR_3_3_DTD(Code)



JONAS_EJB_JAR_3_3_PUBLIC_ID
final protected static String JONAS_EJB_JAR_3_3_PUBLIC_ID(Code)





Method Detail
addVendorFiles
protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix)(Code)



checkConfiguration
protected void checkConfiguration(String descriptorFileName, SAXParser saxParser) throws BuildException(Code)



getJarBaseName
protected String getJarBaseName(String descriptorFileName)(Code)



getVendorOutputJarFile
protected File getVendorOutputJarFile(String baseName)(Code)



mergeManifest
protected void mergeManifest(File manifestUserFile, File manifestGenicFile)(Code)
Merge Manifest file
Parameters:
  manifestUserFile - : input file
Parameters:
  manifestGenicFile - : output file



processDescriptor
public void processDescriptor(String aDescriptorName, SAXParser saxParser)(Code)



registerKnownDTDs
protected void registerKnownDTDs(DescriptorHandler handler)(Code)



setAdditionalargs
public void setAdditionalargs(String aString)(Code)
Set the JonasDeploymentTool.additionalargs .
Parameters:
  aString - additional args.



setClasspathref
public void setClasspathref(Reference r)(Code)
Set the classpath as a Reference on another path
Parameters:
  r - Referenced Classpath



setInvokecmd
public void setInvokecmd(boolean aBoolean)(Code)
Set the JonasDeploymentTool.invokecmd flag.
Parameters:
  aBoolean - true if the flag must be set.



setJarsuffix
public void setJarsuffix(String aString)(Code)
Set the JonasDeploymentTool.jarsuffix .
Parameters:
  aString - the string to use as the suffix.



setJavac
public void setJavac(String aString)(Code)
Set the java compiler JonasDeploymentTool.javac to use.
Parameters:
  aString - the java compiler.



setJavacopts
public void setJavacopts(String aString)(Code)
Set the options to pass to the java compiler.
Parameters:
  aString - the options.



setJonasbase
public void setJonasbase(File aFile)(Code)
Set the JOnAS base directory.
Parameters:
  aFile - the JOnAS base directory.



setJonasroot
public void setJonasroot(File aFile)(Code)
Set the JOnAS root directory.
Parameters:
  aFile - the JOnAS root directory.



setJvmopts
public void setJvmopts(String aString)(Code)
Set the additional args to pass to the GenIC JVM.
Parameters:
  aString - the options.



setKeepgenerated
public void setKeepgenerated(boolean aBoolean)(Code)
Set the JonasDeploymentTool.keepgenerated flag.
Parameters:
  aBoolean - true if the flag must be set.



setKeepgeneric
public void setKeepgeneric(boolean aBoolean)(Code)
Set the JonasDeploymentTool.keepgeneric flag.
Parameters:
  aBoolean - true if the flag must be set.



setMappernames
public void setMappernames(String aString)(Code)
Do nothing because the mappernames attribute is deprecated
Parameters:
  aString - list of mapper names separed by ,



setNoFastRMIC
public void setNoFastRMIC(boolean value)(Code)



setNocompil
public void setNocompil(boolean aBoolean)(Code)
Set the JonasDeploymentTool.nocompil flag.
Parameters:
  aBoolean - true if the flag must be set.



setNogenic
public void setNogenic(boolean aBoolean)(Code)
Set the JonasDeploymentTool.nogenic flag.
Parameters:
  aBoolean - true if the flag must be set.



setNovalidation
public void setNovalidation(boolean aBoolean)(Code)
Set the JonasDeploymentTool.novalidation flag.
Parameters:
  aBoolean - true if the flag must be set.



setProtocols
public void setProtocols(String aString)(Code)
Set the protocols list
Parameters:
  aString - list of the protocol names separed by ,



setRmicopts
public void setRmicopts(String aString)(Code)
Set the options to pass to the rmi compiler.
Parameters:
  aString - the options.



setVerbose
public void setVerbose(boolean aBoolean)(Code)
Set the JonasDeploymentTool.verbose flag.
Parameters:
  aBoolean - true if the flag must be set.



writeJar
protected void writeJar(String baseName, File jarfile, Hashtable ejbFiles, String publicId, boolean includeInnerClasses) throws BuildException(Code)



Fields inherited from org.objectweb.jonas.ant.GenericDeploymentTool
final public static String ANALYZER_CLASS_FULL(Code)(Java Doc)
final public static String ANALYZER_CLASS_SUPER(Code)(Java Doc)
final public static String ANALYZER_FULL(Code)(Java Doc)
final public static String ANALYZER_NONE(Code)(Java Doc)
final public static String ANALYZER_SUPER(Code)(Java Doc)
final public static String DEFAULT_ANALYZER(Code)(Java Doc)
final protected static String EJB_DD(Code)(Java Doc)
final protected static String MANIFEST(Code)(Java Doc)
final protected static String META_DIR(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.ant.GenericDeploymentTool
protected void addFileToJar(JarOutputStream jStream, File inputFile, String logicalFilename) throws BuildException(Code)(Java Doc)
protected void addSupportClasses(Hashtable ejbFiles)(Code)(Java Doc)
protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix)(Code)(Java Doc)
protected void checkAndAddDependants(Hashtable checkEntries) throws BuildException(Code)(Java Doc)
protected void checkConfiguration(String descriptorFileName, SAXParser saxParser) throws BuildException(Code)(Java Doc)
public void configure(EjbJar.Config config)(Code)(Java Doc)
public Path createClasspath()(Code)(Java Doc)
protected ClassLoader getClassLoaderForBuild()(Code)(Java Doc)
protected Path getCombinedClasspath()(Code)(Java Doc)
protected EjbJar.Config getConfig()(Code)(Java Doc)
protected DescriptorHandler getDescriptorHandler(File srcDir)(Code)(Java Doc)
protected File getDestDir()(Code)(Java Doc)
protected String getJarBaseName(String descriptorFileName)(Code)(Java Doc)
protected Location getLocation()(Code)(Java Doc)
protected File getManifestFile(String prefix)(Code)(Java Doc)
protected String getPublicId()(Code)(Java Doc)
protected Task getTask()(Code)(Java Doc)
public String getVendorDDPrefix(String baseName, String descriptorFileName)(Code)(Java Doc)
File getVendorOutputJarFile(String baseName)(Code)(Java Doc)
protected void log(String message, int level)(Code)(Java Doc)
protected boolean needToRebuild(Hashtable ejbFiles, File jarFile)(Code)(Java Doc)
protected Hashtable parseEjbFiles(String descriptorFileName, SAXParser saxParser) throws IOException, SAXException(Code)(Java Doc)
public void processDescriptor(String descriptorFileName, SAXParser saxParser)(Code)(Java Doc)
protected void registerKnownDTDs(DescriptorHandler handler)(Code)(Java Doc)
public void setClasspath(Path classpath)(Code)(Java Doc)
public void setDestdir(File inDir)(Code)(Java Doc)
public void setGenericJarSuffix(String inString)(Code)(Java Doc)
public void setTask(Task task)(Code)(Java Doc)
protected boolean usingBaseJarName()(Code)(Java Doc)
public void validateConfigured() throws BuildException(Code)(Java Doc)
protected void writeJar(String baseName, File jarfile, Hashtable files, String publicId, boolean includeInnerClasses) throws BuildException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.