User: kimptoc 
  Date: 01/09/01 12:50:31

  Modified:    src/main/org/jboss/ejb/plugins/jrmp12/server
                        JRMPContainerInvoker.java
  Log:
  remove deprecated logging import, where possible, otherwise comment as needing 
replacement with log4j.... must find out how it is use.... would be good if the 
deprecation message pointed to an example to use...
  
  Revision  Changes    Path
  1.15      +16 -14    
jboss/src/main/org/jboss/ejb/plugins/jrmp12/server/JRMPContainerInvoker.java
  
  Index: JRMPContainerInvoker.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jrmp12/server/JRMPContainerInvoker.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JRMPContainerInvoker.java 2001/08/03 17:15:50     1.14
  +++ JRMPContainerInvoker.java 2001/09/01 19:50:31     1.15
  @@ -27,16 +27,18 @@
   import org.jboss.ejb.plugins.jrmp12.interfaces.StatelessSessionProxy;
   import org.jboss.ejb.plugins.jrmp12.interfaces.StatefulSessionProxy;
   import org.jboss.ejb.plugins.jrmp12.interfaces.EntityProxy;
  +
  +// TODO this needs to be replaced with the log4j logging
   import org.jboss.logging.Logger;
   
   
   /**
  - *   <description> 
  - *      
  - *   @see <related>
  - *   @author <a href="mailto:[EMAIL PROTECTED]";>Rickard �berg</a>
  + *  <description>
  + *
  + *  @see <related>
  + *  @author <a href="mailto:[EMAIL PROTECTED]";>Rickard �berg</a>
    *  @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  - *   @version $Revision: 1.14 $
  + *  @version $Revision: 1.15 $
    */
   public final class JRMPContainerInvoker
      implements ContainerInvoker
  @@ -46,24 +48,24 @@
   
      Container container;
      org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker ci; // Parent invoker
  -   
  +
      public 
JRMPContainerInvoker(org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker ci)
      {
         this.ci = ci;
      }
  -   
  +
      public void setContainer(Container con)
      {
         this.container = con;
      }
  -   
  +
      public void init()
      {
         // Create EJBHome object
         // We add the Handle methods to the Home
         Class handleClass;
  -      try 
  -      { 
  +      try
  +      {
            handleClass = Class.forName("javax.ejb.Handle");
         } catch (Exception e)
         {
  @@ -75,7 +77,7 @@
            new HomeProxy(ci.getJndiName(), ci.getEJBMetaData(), ci, 
ci.isOptimized()));
   
         // Create stateless session object
  -      // Same instance is used for all objects      
  +      // Same instance is used for all objects
         if (!(container.getBeanMetaData() instanceof EntityMetaData) &&
             ((SessionMetaData)container.getBeanMetaData()).isStateless())
         {
  @@ -83,7 +85,7 @@
               new Class[] { ((ContainerInvokerContainer)container).getRemoteClass() } 
,
               new StatelessSessionProxy(ci.getJndiName(), ci, ci.isOptimized()));
         }
  -      
  +
         Logger.debug("JRMP 1.2.2 CI initialized");
      }
   
  @@ -104,7 +106,7 @@
         // Ignore, never called
         return null;
      }
  -   
  +
      public EJBHome getEJBHome()
      {
         return home;
  @@ -130,7 +132,7 @@
      }
   
      public Collection getEntityCollection(Collection ids)
  -   {                                                          
  +   {
         ArrayList list = new ArrayList(ids.size());
         Iterator idEnum = ids.iterator();
         while(idEnum.hasNext())
  
  
  

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

Reply via email to