dblevins 2004/08/26 03:20:26
Modified: modules/core/src/java/org/openejb ProxyInfo.java
Log:
Last changes on getting local interface support to work
Revision Changes Path
1.2 +11 -1 openejb1/modules/core/src/java/org/openejb/ProxyInfo.java
Index: ProxyInfo.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/ProxyInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ProxyInfo.java 26 Mar 2004 21:41:21 -0000 1.1
+++ ProxyInfo.java 26 Aug 2004 07:20:26 -0000 1.2
@@ -89,6 +89,16 @@
beanContainer = cntnr;
}
+ public ProxyInfo(DeploymentInfo depInfo, Object pk, boolean isLocalInterface,
RpcContainer cntnr){
+ this.deploymentInfo = depInfo;
+ this.primaryKey = pk;
+ this.beanContainer = cntnr;
+ if (isLocalInterface){
+ this.type = deploymentInfo.getLocalInterface();
+ } else {
+ this.type = deploymentInfo.getRemoteInterface();
+ }
+ }
/**
* Gets the DeploymentInfo object of the bean that this proxy represents.
*