JpdProxy Class

com.bea.wli.bpm.proxy
JpdProxy Class

public abstract class JpdProxy

    extends Object
    implements Serializable

Factory class for WebLogic Integration Processes (jpd files). Clients call one of the create methods to get a proxy instance. The create methods take the Class of the jpd's public contract. The return value of the create method can be cast to the public contract interface.


Hierarchy
Object
  JpdProxy
All Implemented Interfaces

Serializable

Nested Class Summary

public static interfaceJpdProxy.ContextHandler
           Clients pass an instance of this interface to the create method.

Constructor Summary

JpdProxy()

 

Method Summary

public static final Object
create(Class publicContract, String serviceUri, JpdProxy.ContextHandler ch)
Creates a client proxy for a WebLogic Integration Process (jpd).
public static final Object
create(Class publicContract, String serviceUri)
Creates a client proxy for a WebLogic Integration Process (jpd).
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

JpdProxy

public JpdProxy()
 

Method Detail

create(Class, String, JpdProxy.ContextHandler) Method

public static final Object create(Class publicContract, 
                                  String serviceUri, 
                                  JpdProxy.ContextHandler ch)
throws JpdProxyException
Creates a client proxy for a WebLogic Integration Process (jpd). A public contract interface that describes the methods of the jpd is passed in. The result of this call can be typecast to the public contract class. The JpdProxy.ContextHandler is invoked by the proxy to obtain the JNDI context used to login to the server and lookup server-side resources. The serviceUri uniquely identifies the jpd on the server.

Parameters

publicContract
the jpd's public contract interface
serviceUri
the uri of the jpd
ch
a context handler, see JpdProxy.ContextHandler

Returns

a proxy object that can be cast to the public contract interface

Exceptions

JpdProxyException
This exception wraps any checked exceptions thrown during construction of the proxy.

create(Class, String) Method

public static final Object create(Class publicContract, 
                                  String serviceUri)
throws JpdProxyException
Creates a client proxy for a WebLogic Integration Process (jpd). A public contract interface that describes the methods of the jpd is passed in. The result of this call can be typecast to the public contract class. The serviceUri uniquely identifies the jpd on the server. Use this method when the client is running on the same WLS domain as the target jpd.

Parameters

publicContract
the jpd's public contract interface
serviceUri
the uri of the jpd

Returns

a proxy object that can be cast to the public contract interface

Exceptions

JpdProxyException
This exception wraps any checked exceptions thrown during construction of the proxy.