|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.imolinfo.jbi4corba.webservice.generator.HolderUtils
public class HolderUtils
Utility class for holder parameters management.
Constructor Summary | |
---|---|
HolderUtils()
|
Method Summary | |
---|---|
static boolean |
isPrimitive(String type)
True if the type is a primitive type. |
static void |
populateChangedMethod(MethodSignature methodSignature,
String classesDir,
Set<String> unionTypes,
Set<String> interfaceTypes)
If the method contains holder parameters, the signature can be changed, so try to conect the Method object. |
static void |
populateCorbaHolderValueType(String classesDir,
List<MethodSignature> methodSignatures,
Set<String> unionTypes,
Set<String> interfaceTypes)
Calculate the Corba Holder value type class and set it in the Param of the MethodSignature . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HolderUtils()
Method Detail |
---|
public static void populateCorbaHolderValueType(String classesDir, List<MethodSignature> methodSignatures, Set<String> unionTypes, Set<String> interfaceTypes) throws ClassGenerationException
MethodSignature
.
Gets also the interface class type.
classesDir
- methodSignatures
- interfaceTypes
- unionTypes
-
ClassGenerationException
public static void populateChangedMethod(MethodSignature methodSignature, String classesDir, Set<String> unionTypes, Set<String> interfaceTypes) throws ClassGenerationException
Method
object.
method
- methodSignature
- classesDir
- interfaceTypes
- unionTypes
-
ClassGenerationException
public static boolean isPrimitive(String type)
type
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |