remm        2004/04/24 07:54:13

  Modified:    coyote/src/java/org/apache/coyote/memory
                        MemoryProtocolHandler.java
  Log:
  - Remove static reference. I still didn't test this memory handler, but at least the
    design is now cleaner (the hanlder should be used through JMX).
  
  Revision  Changes    Path
  1.5       +0 -12     
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/memory/MemoryProtocolHandler.java
  
  Index: MemoryProtocolHandler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/memory/MemoryProtocolHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MemoryProtocolHandler.java        24 Feb 2004 08:54:30 -0000      1.4
  +++ MemoryProtocolHandler.java        24 Apr 2004 14:54:13 -0000      1.5
  @@ -70,16 +70,6 @@
       }
   
   
  -    /**
  -     * Hook to easily retrieve the protocol handler.
  -     */
  -    protected static MemoryProtocolHandler protocolHandler = null;
  -
  -    public static MemoryProtocolHandler getProtocolHandler() {
  -        return protocolHandler;
  -    }
  -
  -
       // ------------------------------------------------ ProtocolHandler Methods
   
   
  @@ -88,7 +78,6 @@
        */
       public void init()
           throws Exception {
  -        protocolHandler = this;
       }
   
   
  @@ -110,7 +99,6 @@
   
       public void destroy()
           throws Exception {
  -        protocolHandler = null;
       }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to