User: reverbel
Date: 01/08/28 15:07:53
Modified: iiop/src/main/org/jboss/ejb/plugins/iiop/server
IIOPContainerInvoker.java
Log:
CDRStream modified to support client stub generation. IIOPContainerInvoker
_all_interfaces() methods now return a clone of the id array.
Revision Changes Path
1.5 +7 -3
contrib/iiop/src/main/org/jboss/ejb/plugins/iiop/server/IIOPContainerInvoker.java
Index: IIOPContainerInvoker.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/iiop/src/main/org/jboss/ejb/plugins/iiop/server/IIOPContainerInvoker.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- IIOPContainerInvoker.java 2001/08/17 23:40:26 1.4
+++ IIOPContainerInvoker.java 2001/08/28 22:07:53 1.5
@@ -63,6 +63,7 @@
import org.jboss.ejb.ContainerInvoker;
import org.jboss.ejb.DeploymentException;
import org.jboss.ejb.MethodInvocation;
+import org.jboss.ejb.plugins.iiop.client.StubStrategy;
import org.jboss.ejb.plugins.iiop.EJBMetaDataImpl;
import org.jboss.ejb.plugins.iiop.RmiIdlUtil;
import org.jboss.metadata.EntityMetaData;
@@ -103,7 +104,7 @@
* CORBA reference for the corresponding <code>EJBObject</code>.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Francisco Reverbel</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class IIOPContainerInvoker
extends Servant
@@ -477,6 +478,9 @@
// Implementation of the interface ContainerInvoker ------------------------
+ // TODO: put into the IORs a TAG_JAVA_CODEBASE (25) with
+ // container.getClassLoader().getURLs()
+
public EJBMetaData getEJBMetaData()
{
return ejbMetaData;
@@ -559,7 +563,7 @@
*/
public String[] _all_interfaces(POA poa, byte[] objectId)
{
- return beanRepositoryIds;
+ return (String[])beanRepositoryIds.clone();
}
/**
@@ -796,7 +800,7 @@
*/
public String[] _all_interfaces(POA poa, byte[] objectId)
{
- return homeRepositoryIds;
+ return (String[])homeRepositoryIds.clone();
}
/**
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development