org.glassfish.webservices
Class ServiceInvocationHandler

java.lang.Object
  extended by org.glassfish.webservices.ServiceInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

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

InvocationHandler used to intercept calls to concrete JAXRPC Service implementation. NOTE : This class makes no distinction between "partial" WSDL and "full" WSDL. If a service-ref's packaged WSDL is "partial", the deployer is required to specify a wsdl-override in the runtime info that points to a final WSDL. In such a case, the behavior for each method listed in the table in section 4.2.2.7 of the spec is the same as Full WSDL.

Author:
Kenneth Saks

Constructor Summary
ServiceInvocationHandler(ServiceReferenceDescriptor descriptor, javax.xml.rpc.Service delegate, java.lang.ClassLoader loader)
           
 
Method Summary
 javax.xml.rpc.handler.HandlerInfo getMessageSecurityHandlerInfo(javax.xml.namespace.QName port)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInvocationHandler

public ServiceInvocationHandler(ServiceReferenceDescriptor descriptor,
                                javax.xml.rpc.Service delegate,
                                java.lang.ClassLoader loader)
                         throws java.lang.Exception
Throws:
java.lang.Exception
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
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

getMessageSecurityHandlerInfo

public javax.xml.rpc.handler.HandlerInfo getMessageSecurityHandlerInfo(javax.xml.namespace.QName port)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.