|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.lib.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 java.lang.String |
firstToUpperCase(java.lang.String s)
returns the given string with the first character converted to upper case |
static java.lang.String |
getBaseName(java.lang.String fullName)
returns the basename of the given full name |
static java.lang.String |
getClassName(java.lang.String packageName,
java.lang.String name)
return full name of a class for given package and class names |
static java.lang.String |
getJonasXmlName(java.lang.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 java.lang.String |
getPackageName(java.lang.String name)
returns the name of the package of the given full name |
static java.lang.String |
getParentName(java.lang.String fileName)
returns the name of the parent directory |
static java.lang.String |
getPath(java.lang.String fullName)
returns the full path of the file name. |
static java.lang.String |
getSignature(java.lang.String ejbName,
java.lang.reflect.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 java.lang.String getPackageName(java.lang.String name)
public static java.lang.String getClassName(java.lang.String packageName, java.lang.String name)
packageName
- possibly empty package namename
- class name
public static java.lang.String getBaseName(java.lang.String fullName)
public static java.lang.String getPath(java.lang.String fullName)
public static java.lang.String firstToUpperCase(java.lang.String s)
public static java.lang.String getJonasXmlName(java.lang.String stdXmlName)
public static java.lang.String getParentName(java.lang.String fileName)
public static java.lang.String getSignature(java.lang.String ejbName, java.lang.reflect.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 |