Skip navigation links

Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference
11g Release 1 (11.1)

E17350-01


com.stellent.cis.common.proxy.ejb
Class EJBLookupAndProxy

java.lang.Object
  extended by com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy


public abstract class EJBLookupAndProxy
extends java.lang.Object

Lookup and EJB, wrap it in a proxy that implements the specified methods.


Nested Class Summary
static class EJBLookupAndProxy.GenericEjbProxy
          Wraps calls and proxies them into the EJB object, handling EJB creation and removal as necessary.

 

Constructor Summary
EJBLookupAndProxy()
           

 

Method Summary
static java.lang.Object lookupAndProxy(javax.naming.InitialContext ctx, java.lang.String name, java.lang.Class remoteHome, java.lang.Class proxyClass)
          Lookup the EJB and then return an Proxy object that implements the business interface supplied.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EJBLookupAndProxy

public EJBLookupAndProxy()

Method Detail

lookupAndProxy

public static java.lang.Object lookupAndProxy(javax.naming.InitialContext ctx,
                                              java.lang.String name,
                                              java.lang.Class remoteHome,
                                              java.lang.Class proxyClass)
Lookup the EJB and then return an Proxy object that implements the business interface supplied.
Parameters:
ctx - the initial context to use
name - the JNDI name
remoteHome - the remote home interface
proxyClass - the business interface
Returns:
an object that implements the business interface and routes calls to the EJB instance

Skip navigation links

Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference
11g Release 1 (11.1)

E17350-01


Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.