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  DeploymentInfo deploymentInfo
           
protected  InterfaceType interfaceType
           
protected  Object primaryKey
           
protected  List<Class> proxyInterfaces
           
 
Constructor Summary
protected ProxyInfo()
           
  ProxyInfo(DeploymentInfo depInfo, Object pk)
          This is the constructor that containers should call.
  ProxyInfo(DeploymentInfo deploymentInfo, Object primaryKey, List<Class> interfaces, InterfaceType proxyType)
           
 
Method Summary
 RpcContainer getBeanContainer()
           
 DeploymentInfo getDeploymentInfo()
           
 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

deploymentInfo

protected DeploymentInfo deploymentInfo

primaryKey

protected Object primaryKey

proxyInterfaces

protected List<Class> proxyInterfaces

beanContainer

protected RpcContainer beanContainer

interfaceType

protected InterfaceType interfaceType
Constructor Detail

ProxyInfo

protected ProxyInfo()

ProxyInfo

public ProxyInfo(DeploymentInfo deploymentInfo,
                 Object primaryKey,
                 List<Class> interfaces,
                 InterfaceType proxyType)

ProxyInfo

public ProxyInfo(DeploymentInfo 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()

getDeploymentInfo

public DeploymentInfo getDeploymentInfo()

getPrimaryKey

public Object getPrimaryKey()

getInterface

public Class getInterface()

getInterfaces

public List<Class> getInterfaces()

getBeanContainer

public RpcContainer getBeanContainer()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.