Fabric3 Code generation

org.fabric3.binding.codegen
Interface ProxyGenerator

All Known Implementing Classes:
ProxyGeneratorImpl

public interface ProxyGenerator


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
 

Method Detail

getWrapper

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

getWrapper

Object getWrapper(Class clazz,
                  Object delegate,
                  String targetNamespace,
                  String wsdlLocation,
                  String serviceName,
                  String portName)
                  throws ClassNotFoundException,
                         IllegalAccessException,
                         InvocationTargetException,
                         InstantiationException
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

Class getWrapperClass(Class clazz,
                      String targetNamespace,
                      String wsdlLocation,
                      String serviceName,
                      String portName)
                      throws ClassNotFoundException
Throws:
ClassNotFoundException

getWrapperInterface

Class getWrapperInterface(Class clazz,
                          String targetNamespace,
                          String wsdlLocation,
                          String serviceName,
                          String portName)
                          throws ClassNotFoundException
Generate a remote interface with jax-ws annotation

Parameters:
clazz -
targetNamespace -
wsdlLocation -
serviceName -
portName -
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.