com.bea.wli.bpm.proxy
Class JpdProxy
java.lang.Object
com.bea.wli.bpm.proxy.JpdProxy
- All Implemented Interfaces:
- Serializable
- 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.
- See Also:
- Serialized Form
Nested Class Summary |
static interface |
JpdProxy.ContextHandler
Clients pass an instance of this interface to the
create method. |
JpdProxy
public JpdProxy()
create
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 interfaceserviceUri
- the uri of the jpdch
- a context handler, see JpdProxy.ContextHandler
- Returns:
- a proxy object that can be cast to the public contract interface
- Throws:
JpdProxyException
- This exception wraps any checked exceptions
thrown during construction of the proxy.
create
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 interfaceserviceUri
- the uri of the jpd
- Returns:
- a proxy object that can be cast to the public contract interface
- Throws:
JpdProxyException
- This exception wraps any checked exceptions
thrown during construction of the proxy.