org.objectweb.jonas_ejb.lib.BeanNaming Class Reference

List of all members.

Static Public Member Functions

String getPackageName (String name)
String getClassName (String packageName, String name)
String getBaseName (String fullName)
String getPath (String fullName)
String firstToUpperCase (String s)
String getJonasXmlName (String stdXmlName)
String getParentName (String fileName)
String getSignature (String ejbName, Method method)

Detailed Description

This class is made for hiding Naming convention in all JOnAS framework.
(Among other things, names of the implementation classes of the Enterprise Bean's Home and Enterprise Bean Remote interfaces generated by the GenIC tools.)
It is used by the EJB generation tools and framework

Author:
Helene Joanin

Joe Gittings has proposed to code method signature in order to avoid same signature for inherited methods

Christophe Ney [cney@batisseurs.com]

Sebastien Chassande-Barrioz

Definition at line 46 of file BeanNaming.java.


Member Function Documentation

String org.objectweb.jonas_ejb.lib.BeanNaming.firstToUpperCase String  s  )  [static]
 

returns the given string with the first character converted to upper case

Definition at line 110 of file BeanNaming.java.

String org.objectweb.jonas_ejb.lib.BeanNaming.getBaseName String  fullName  )  [static]
 

returns the basename of the given full name

Definition at line 73 of file BeanNaming.java.

String org.objectweb.jonas_ejb.lib.BeanNaming.getClassName String  packageName,
String  name
[static]
 

return full name of a class for given package and class names

Parameters:
packageName possibly empty package name
name class name
Returns:
fully qualified class name

Definition at line 66 of file BeanNaming.java.

String org.objectweb.jonas_ejb.lib.BeanNaming.getJonasXmlName String  stdXmlName  )  [static]
 

returns the name of the JOnAS specific deployment descriptor file's name corresponding to the given standard deployment descriptor file's name. (ex: returns "jonas-XXX.xml" for "XXX.xml" and "../../jonas-XXX.xml" for "../../XXX.xml")

Definition at line 127 of file BeanNaming.java.

String org.objectweb.jonas_ejb.lib.BeanNaming.getPackageName String  name  )  [static]
 

returns the name of the package of the given full name

Definition at line 51 of file BeanNaming.java.

String org.objectweb.jonas_ejb.lib.BeanNaming.getParentName String  fileName  )  [static]
 

returns the name of the parent directory

Definition at line 146 of file BeanNaming.java.

String org.objectweb.jonas_ejb.lib.BeanNaming.getPath String  fullName  )  [static]
 

returns the full path of the file name. mainly replace '.' by '/'.

Definition at line 94 of file BeanNaming.java.

String org.objectweb.jonas_ejb.lib.BeanNaming.getSignature String  ejbName,
Method  method
[static]
 

Gets a string that represents the signature of a method

Parameters:
ejbName name of the ejb
method Method on which the signature is required
Returns:
string that represents the signature of a method

Definition at line 160 of file BeanNaming.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:51 2005 for JOnAS by  doxygen 1.3.9.1