org.apache.openejb
Class ProxyInfo

java.lang.Object
  extended by org.apache.openejb.ProxyInfo

public class ProxyInfo
extends Object


Field Summary
protected  RpcContainer beanContainer
           
protected  BeanContext beanContext
           
protected  InterfaceType interfaceType
           
protected  Class mainInterface
           
protected  Object primaryKey
           
protected  List<Class> proxyInterfaces
           
 
Constructor Summary
protected ProxyInfo()
           
  ProxyInfo(BeanContext depInfo, Object pk)
          This is the constructor that containers should call.
  ProxyInfo(BeanContext beanContext, Object primaryKey, List<Class> interfaces, InterfaceType proxyType, Class mainInterface)
           
 
Method Summary
 RpcContainer getBeanContainer()
           
 BeanContext getBeanContext()
           
 Class getInterface()
           
 List<Class> getInterfaces()
           
 InterfaceType getInterfaceType()
           
 Object getPrimaryKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanContext

protected BeanContext beanContext

primaryKey

protected Object primaryKey

proxyInterfaces

protected List<Class> proxyInterfaces

beanContainer

protected RpcContainer beanContainer

interfaceType

protected InterfaceType interfaceType

mainInterface

protected Class mainInterface
Constructor Detail

ProxyInfo

protected ProxyInfo()

ProxyInfo

public ProxyInfo(BeanContext beanContext,
                 Object primaryKey,
                 List<Class> interfaces,
                 InterfaceType proxyType,
                 Class mainInterface)

ProxyInfo

public ProxyInfo(BeanContext depInfo,
                 Object pk)
This is the constructor that containers should call. Containers do not know the list of interfaces that should be applied nor do they need to tell the proxy handling code what kind of proxy it should create.

Parameters:
depInfo -
pk -
Method Detail

getInterfaceType

public InterfaceType getInterfaceType()

getBeanContext

public BeanContext getBeanContext()

getPrimaryKey

public Object getPrimaryKey()

getInterface

public Class getInterface()

getInterfaces

public List<Class> getInterfaces()

getBeanContainer

public RpcContainer getBeanContainer()


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.