User: reverbel
  Date: 02/03/15 14:12:24

  Modified:    iiop/src/main/org/jboss/ejb/plugins/iiop/server
                        IIOPContainerInvoker.java
  Log:
  Removed all references to class CacheKey, which is not used anymore.
  
  Revision  Changes    Path
  1.15      +3 -9      
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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- IIOPContainerInvoker.java 11 Mar 2002 01:40:32 -0000      1.14
  +++ IIOPContainerInvoker.java 15 Mar 2002 22:12:23 -0000      1.15
  @@ -68,7 +68,6 @@
   import org.omg.CosNaming.NamingContextPackage.NotFound;
   import org.omg.CosNaming.NameComponent;
   
  -import org.jboss.ejb.CacheKey;
   import org.jboss.ejb.Container;
   import org.jboss.ejb.ContainerInvokerContainer;
   import org.jboss.ejb.ContainerInvoker;
  @@ -120,7 +119,7 @@
    * CORBA reference for the corresponding <code>EJBObject</code>.
    *
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Francisco Reverbel</a>
  - * @version $Revision: 1.14 $
  + * @version $Revision: 1.15 $
    */
   public class IIOPContainerInvoker
         extends Servant
  @@ -633,14 +632,9 @@
      {
         if (logger.isTraceEnabled()) {
            logger.trace("getEntityEJBObject(), id class is "
  -                      + id.getClass().getName()
  -                      + ((id instanceof CacheKey) 
  -                            ? ("                      CacheKey contains a "
  -                                 + ((CacheKey)id).getId().getClass().getName())
  -                            : ""));
  +                      + id.getClass().getName());
         }
         try {
  -         id = (id instanceof CacheKey) ? id : new CacheKey(id);
            return (EJBObject)PortableRemoteObject.narrow(
                  poa.create_reference_with_id(toByteArray(id),
                                               beanRepositoryIds[0]),
  @@ -725,7 +719,7 @@
               // and isIdentical()) are forwarded to the container.
   
               if (opName.equals("_get_primaryKey")) {
  -               retVal = (id instanceof CacheKey) ? ((CacheKey)id).getId() : id;
  +               retVal = id;
               }
               else if (opName.equals("_get_handle")) {
                  retVal = new HandleImpl(_this_object());
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to