it.imolinfo.jbi4corba.webservice.generator
Class HolderUtils

java.lang.Object
  extended by it.imolinfo.jbi4corba.webservice.generator.HolderUtils

public class HolderUtils
extends Object

Utility class for holder parameters management.

Author:
marco

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 with 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

HolderUtils

public HolderUtils()
Method Detail

populateCorbaHolderValueType

public static void populateCorbaHolderValueType(String classesDir,
                                                List<MethodSignature> methodSignatures,
                                                Set<String> unionTypes,
                                                Set<String> interfaceTypes)
                                         throws ClassGenerationException
Calculate the Corba Holder value type class and set it in the Param of the MethodSignature. Gets also the interface class type.

Parameters:
classesDir -
methodSignatures -
interfaceTypes -
unionTypes -
Throws:
ClassGenerationException

populateChangedMethod

public static void populateChangedMethod(MethodSignature methodSignature,
                                         String classesDir,
                                         Set<String> unionTypes,
                                         Set<String> interfaceTypes)
                                  throws ClassGenerationException
If the method contains holder parameters, the signature can be changed, so try to conect the with the Method object.

Parameters:
method -
methodSignature -
classesDir -
interfaceTypes -
unionTypes -
Throws:
ClassGenerationException

isPrimitive

public static boolean isPrimitive(String type)
True if the type is a primitive type.

Parameters:
type -
Returns:


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.