container/common/src/main/java/org/mobicents/slee/container/deployment/ClassUtils.java
public static String getClassFromPrimitiveType(String argumentType) {
    	if (argumentType.equals("int"))
    		return "java.lang.Integer";
    	if (argumentType.equals("boolean"))
    		return "java.lang.Boolean";
    	if (argumentType.equals("byte"))
    		return "java.lang.Byte";
    	if (argumentType.equals("char"))
    		return "java.lang.Character";
    	if (argumentType.equals("double"))
    		return "java.lang.Double";
    	if (argumentType.equals("float"))
    		return "java.lang.Float";
    	if (argumentType.equals("long"))
    		return "java.lang.Long";
    	if (argumentType.equals("short"))
    		return "java.lang.Short";
    	return null;
    }
public static String getClassFromPrimitiveType(String argumentType) {
    	if (argumentType.equals("int"))
    		return "java.lang.Integer";
    	if (argumentType.equals("boolean"))
    		return "java.lang.Boolean";
    	if (argumentType.equals("byte"))
    		return "java.lang.Byte";
    	if (argumentType.equals("char"))
    		return "java.lang.Character";
    	if (argumentType.equals("double"))
    		return "java.lang.Double";
    	if (argumentType.equals("float"))
    		return "java.lang.Float";
    	if (argumentType.equals("long"))
    		return "java.lang.Long";
    	if (argumentType.equals("short"))
    		return "java.lang.Short";
    	return null;
    }
public static String getClassFromPrimitiveType ( String argumentType ) { if ( argumentType . equals ( "int" ) ) return "java.lang.Integer" ; if ( argumentType . equals ( "boolean" ) ) return "java.lang.Boolean" ; if ( argumentType . equals ( "byte" ) ) return "java.lang.Byte" ; if ( argumentType . equals ( "char" ) ) return "java.lang.Character" ; if ( argumentType . equals ( "double" ) ) return "java.lang.Double" ; if ( argumentType . equals ( "float" ) ) return "java.lang.Float" ; if ( argumentType . equals ( "long" ) ) return "java.lang.Long" ; if ( argumentType . equals ( "short" ) ) return "java.lang.Short" ; return null ; }
Return the String allowing one to create an Object (Integer, Boolean,
Byte,... ) from a primitive type given in parameter.

@param argumentType -
the primitive type as a String (int, boolean, byte, ...)
@param argument -
the argument to transform
@return the String allowing one to create an Object from a primitive type
Return the String allowing one to create an Object ( Integer Boolean Byte ... ) from a primitive type given in parameter .