站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 webservice API Documentation 英文版文档

PortProxy (JBossWS API) - JBoss 4.0.1 sp1 webservice API Documentation 英文版文档


org.jboss.webservice.client
Class PortProxy

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

public class PortProxy
extends Object
implements 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
Author:
Thomas.Diesler@jboss.org

Constructor Summary
PortProxy(Remote port, Class seiClass)
          Construct a client side call 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

PortProxy

public PortProxy(Remote port,
                 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 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.