| |
|
| java.lang.Object org.objectweb.jonas_ejb.lib.BeanNaming
BeanNaming | public class BeanNaming (Code) | | 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 author: Joe Gittings has proposed to code method signature in order to avoid same signature for inherited methods author: Christophe Ney [cney@batisseurs.com] author: Sebastien Chassande-Barrioz |
firstToUpperCase | public static String firstToUpperCase(String s)(Code) | | returns the given string with the first character converted to upper case
|
getBaseName | public static String getBaseName(String fullName)(Code) | | returns the basename of the given full name
|
getClassName | public static String getClassName(String packageName, String name)(Code) | | return full name of a class for given package and class names
Parameters: packageName - possibly empty package name Parameters: name - class name fully qualified class name |
getJonasXmlName | public static String getJonasXmlName(String stdXmlName)(Code) | | 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")
|
getPackageName | public static String getPackageName(String name)(Code) | | returns the name of the package of the given full name
|
getParentName | public static String getParentName(String fileName)(Code) | | returns the name of the parent directory
|
getPath | public static String getPath(String fullName)(Code) | | returns the full path of the file name. mainly replace '.' by '/'.
|
getSignature | public static String getSignature(String ejbName, Method method)(Code) | | Gets a string that represents the signature of a method
Parameters: ejbName - name of the ejb Parameters: method - Method on which the signature is required string that represents the signature of a method |
|
|
|