electric.proxy
Interface IProxy

All Known Implementing Classes:
Proxy

public interface IProxy

IProxy.

Author:
webMethods

Method Summary
 IReference getReference()
          Return the IReference that I use for messaging.
 WSDL getWSDL()
          Return WSDL for the service that I reference.
 java.lang.Object invoke(java.lang.reflect.Method method, java.lang.Object[] args)
          Invoke the operation associated with a particular method, using the specified arguments.
 java.lang.Object invoke(java.lang.String method, java.lang.Object[] args)
          Invoke the operation associated with a particular method, using the specified arguments and argument types.
 java.lang.Object invoke(java.lang.String method, java.lang.Object[] args, java.lang.Class[] argTypes)
          Invoke the operation associated with a particular method, using the specified arguments and argument types.
 java.lang.Object invoke(java.lang.String method, java.lang.String[] args)
          Invoke the operation associated with a particular method, using the specified arguments.
 

Method Detail

getWSDL

public WSDL getWSDL()
Return WSDL for the service that I reference.


getReference

public IReference getReference()
Return the IReference that I use for messaging.


invoke

public java.lang.Object invoke(java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Invoke the operation associated with a particular method, using the specified arguments.

Parameters:
method - The method to invoke
args - The arguments.
Throws:
java.lang.Throwable - If an exception occurs.

invoke

public java.lang.Object invoke(java.lang.String method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Invoke the operation associated with a particular method, using the specified arguments and argument types. If more than one operation matches the method name and argument types, a NoSuchMethodException is thrown.

Parameters:
method - The name of the method to invoke
args - The arguments.
Throws:
java.lang.Throwable - If an exception occurs.

invoke

public java.lang.Object invoke(java.lang.String method,
                               java.lang.Object[] args,
                               java.lang.Class[] argTypes)
                        throws java.lang.Throwable
Invoke the operation associated with a particular method, using the specified arguments and argument types. If more than one operation matches the method name and argument types, a NoSuchMethodException is thrown. The reason for allowing the argument types to be specified is to allow an argument of type Integer to be disambiguated from an argument of type int that has been wrapped in its Object equivalent.

Parameters:
method - The name of the method to invoke
args - The arguments.
argTypes - The type of the arguments.
Throws:
java.lang.Throwable - If an exception occurs.

invoke

public java.lang.Object invoke(java.lang.String method,
                               java.lang.String[] args)
                        throws java.lang.Throwable
Invoke the operation associated with a particular method, using the specified arguments. If more than one operation matches the method name and argument count, a NoSuchMethodException is thrown.

Parameters:
method - The name of the method to invoke
args - The arguments, expressed as strings.
Throws:
java.lang.Throwable - If an exception occurs.


copyright© 2001-2004 by webMethods All Rights Reserved.