tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amy...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteConnector.java
Date Fri, 29 Aug 2003 02:44:16 GMT
amyroh      2003/08/28 19:44:16

  Modified:    catalina/src/share/org/apache/coyote/tomcat5
                        CoyoteConnector.java
  Log:
  Remove get/set I added previously.  JMX management is done in ConnectorMBean now.  I think
we can remove other get/setters too.
  
  Revision  Changes    Path
  1.26      +1 -47     jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java
  
  Index: CoyoteConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- CoyoteConnector.java	25 Aug 2003 22:08:24 -0000	1.25
  +++ CoyoteConnector.java	29 Aug 2003 02:44:16 -0000	1.26
  @@ -1459,26 +1459,6 @@
   
       // -------------------- Management methods --------------------
   
  -
  -    public String getAlgorithm() {
  -        String ret = (String) getProperty("algorithm");
  -        if (ret == null) {
  -            ServerSocketFactory factory = this.getFactory();
  -            if (factory instanceof CoyoteServerSocketFactory) {
  -                ret = ((CoyoteServerSocketFactory)factory).getAlgorithm();
  -            }
  -        }
  -
  -        return ret;
  -    }
  -
  -    public void setAlgorithm(String algorithm) {
  -        setProperty("algorithm", algorithm);
  -        ServerSocketFactory factory = this.getFactory();
  -        if (factory instanceof CoyoteServerSocketFactory) {
  -            ((CoyoteServerSocketFactory)factory).setAlgorithm(algorithm);
  -        }
  -    }
       
       public boolean getClientAuth() {
           boolean ret = false;
  @@ -1548,32 +1528,6 @@
           ServerSocketFactory factory = getFactory();
           if( factory instanceof CoyoteServerSocketFactory ) {
               ((CoyoteServerSocketFactory)factory).setKeystorePass(keystorePass);
  -        }
  -    }
  -
  -    /**
  -     * Return keystoreType
  -     */
  -    public String getKeystoreType() {
  -        String ret = (String) getProperty("keytype");
  -        if (ret == null) {
  -            ServerSocketFactory factory = getFactory();
  -            if (factory instanceof CoyoteServerSocketFactory ) {
  -                return ((CoyoteServerSocketFactory)factory).getKeystoreType();
  -            }
  -        }
  -
  -        return ret;
  -    }
  -
  -    /**
  -     * Set keystoreType
  -     */
  -    public void setKeystoreType(String keystoreType) {
  -        setProperty("keytype", keystoreType);
  -        ServerSocketFactory factory = getFactory();
  -        if( factory instanceof CoyoteServerSocketFactory ) {
  -            ((CoyoteServerSocketFactory)factory).setKeystoreType(keystoreType);
           }
       }
       
  
  
  

Mime
View raw message