|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.util.BeanNaming
public class BeanNaming
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
Constructor Summary | |
---|---|
BeanNaming()
|
Method Summary | |
---|---|
static String |
firstToUpperCase(String s)
returns the given string with the first character converted to upper case |
static String |
getBaseName(String fullName)
returns the basename of the given full name |
static String |
getClassName(String packageName,
String name)
return full name of a class for given package and class names |
static String |
getJonasXmlName(String stdXmlName)
returns the name of the JOnAS specific deployment descriptor file's name corresponding to the given standard deployment descriptor file's name. |
static String |
getPackageName(String name)
returns the name of the package of the given full name |
static String |
getParentName(String fileName)
returns the name of the parent directory |
static String |
getPath(String fullName)
returns the full path of the file name. |
static String |
getSignature(String ejbName,
Method method)
Gets a string that represents the signature of a method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanNaming()
Method Detail |
---|
public static String getPackageName(String name)
public static String getClassName(String packageName, String name)
packageName
- possibly empty package namename
- class name
public static String getBaseName(String fullName)
public static String getPath(String fullName)
public static String firstToUpperCase(String s)
public static String getJonasXmlName(String stdXmlName)
public static String getParentName(String fileName)
public static String getSignature(String ejbName, Method method)
ejbName
- name of the ejbmethod
- Method on which the signature is required
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |