Fabric3 Code generation

org.fabric3.binding.codegen.impl
Class ProxyGeneratorImpl

java.lang.Object
  extended by org.fabric3.binding.codegen.impl.ProxyGeneratorImpl
All Implemented Interfaces:
ProxyGenerator

public class ProxyGeneratorImpl
extends Object
implements ProxyGenerator


Constructor Summary
ProxyGeneratorImpl()
           
 
Method Summary
 Object getWrapper(Class clazz, Object delegate)
           
 Object getWrapper(Class clazz, Object delegate, String targetNamespace, String wsdlLocation, String serviceName, String portName)
           
 Class getWrapperClass(Class clazz, String targetNamespace, String wsdlLocation, String serviceName, String portName)
           
 Class getWrapperInterface(Class clazz, String targetNamespace, String wsdlLocation, String serviceName, String portName)
          Generate a remote interface with jax-ws annotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyGeneratorImpl

public ProxyGeneratorImpl()
Method Detail

getWrapper

public Object getWrapper(Class clazz,
                         Object delegate)
                  throws ClassNotFoundException,
                         IllegalAccessException,
                         InvocationTargetException,
                         InstantiationException
Specified by:
getWrapper in interface ProxyGenerator
Parameters:
clazz - interface to be converted to a remote interface
delegate - pojo class implementing clazz interface
Returns:
Throws:
ClassNotFoundException
IllegalAccessException
InvocationTargetException
InstantiationException

getWrapper

public Object getWrapper(Class clazz,
                         Object delegate,
                         String targetNamespace,
                         String wsdlLocation,
                         String serviceName,
                         String portName)
                  throws ClassNotFoundException,
                         IllegalAccessException,
                         InvocationTargetException,
                         InstantiationException
Specified by:
getWrapper in interface ProxyGenerator
Parameters:
clazz - interface to be converted to a remote interface
delegate - pojo class implementing clazz interface
targetNamespace - JAX-WS target namespace
wsdlLocation - JAX-WS wsdl location
serviceName - JAX-WS service name of the web service
portName - JAX-WS port name of the web service
Returns:
Throws:
ClassNotFoundException
IllegalAccessException
InvocationTargetException
InstantiationException

getWrapperClass

public Class getWrapperClass(Class clazz,
                             String targetNamespace,
                             String wsdlLocation,
                             String serviceName,
                             String portName)
                      throws ClassNotFoundException
Specified by:
getWrapperClass in interface ProxyGenerator
Throws:
ClassNotFoundException

getWrapperInterface

public Class getWrapperInterface(Class clazz,
                                 String targetNamespace,
                                 String wsdlLocation,
                                 String serviceName,
                                 String portName)
                          throws ClassNotFoundException
Description copied from interface: ProxyGenerator
Generate a remote interface with jax-ws annotation

Specified by:
getWrapperInterface in interface ProxyGenerator
Returns:
Throws:
ClassNotFoundException

Fabric3 Code generation

Copyright © 2007-2008 Fabric3 project contributors. All Rights Reserved.
Licensed under the terms of the Apache License 2.0.