it.imolinfo.jbi4ejb.webservice.generator
Class DynamicEJBWSDLGenerator

java.lang.Object
  extended by it.imolinfo.jbi4ejb.webservice.generator.DynamicEJBWSDLGenerator

public final class DynamicEJBWSDLGenerator
extends java.lang.Object

Utility class to generate the service WSDL.

Author:
Marco Piraccini

Method Summary
static java.lang.String generateWSDLFromRemoteInterface(java.lang.String remoteInterfaceClassName, java.lang.String ejbJarPath, WSDLDescriptor descriptor)
          Creates the WSDL for the remote interface, using the jar passed.
static java.util.Hashtable getClassesID(java.lang.String remoteInterface, java.lang.String ejbJarPath)
          Gets the UID from the classes used by the remote interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generateWSDLFromRemoteInterface

public static java.lang.String generateWSDLFromRemoteInterface(java.lang.String remoteInterfaceClassName,
                                                               java.lang.String ejbJarPath,
                                                               WSDLDescriptor descriptor)
                                                        throws EJBWSDLGenerationException
Creates the WSDL for the remote interface, using the jar passed.

Parameters:
remoteInterfaceClassName - The rermote interface class name
ejbJarPath - the ejb-jar path
descriptor - The WSDLDescriptor
Returns:
the absolute WSDL path name
Throws:
EJBWSDLGenerationException - If some problem occurs

getClassesID

public static java.util.Hashtable getClassesID(java.lang.String remoteInterface,
                                               java.lang.String ejbJarPath)
                                        throws EJBWSDLGenerationException
Gets the UID from the classes used by the remote interface.

Parameters:
remoteInterface - The remote interface
ejbJarPath - The complete ejb-jar path
Returns:
the classes ID
Throws:
EJBWSDLGenerationException - If some error occurs


Copyright © 2007-2008 Imola Informatica. All Rights Reserved.