org.jboss.webservice.client
Class ServiceProxy

java.lang.Object
  extended by org.jboss.webservice.client.ServiceProxy
All Implemented Interfaces:
InvocationHandler

public class ServiceProxy
extends Object
implements InvocationHandler

This is the proxy that implements the service interface .

Additionally it handles some ws4ee functionality that is not part of jaxrpc behaviour.

Since:
15-May-2004
Author:
Thomas.Diesler@jboss.org

Constructor Summary
ServiceProxy(ServiceImpl service, Class siClass)
          Construct a client side service proxy.
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          Processes a method invocation on a proxy instance and returns the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProxy

public ServiceProxy(ServiceImpl service,
                    Class siClass)
Construct a client side service proxy.

This proxy implements the (generated) service interface.

Parameters:
service - The underlying Service
siClass - The service interface, a subclass of Service
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Processes a method invocation on a proxy instance and returns the result.

Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.