org.jboss.webservice.client
Class PortProxy

java.lang.Object
  extended byorg.jboss.webservice.client.PortProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class PortProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

This is the proxy that implements the service endpoint interface.

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

Since:
15-Jun-2004

Constructor Summary
PortProxy(java.rmi.Remote port, java.lang.Class seiClass)
          Construct a client side call proxy.
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.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

PortProxy

public PortProxy(java.rmi.Remote port,
                 java.lang.Class seiClass)
Construct a client side call proxy.

This proxy implements the (generated) service interface and the service endpoint interface for each port component ref.

Parameters:
port - The underlying proxy to the service endpoint
seiClass - The service endpoint interface
Method Detail

invoke

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

Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable