Author: remy.maucherat(a)jboss.com
Date: 2007-08-28 05:58:46 -0400 (Tue, 28 Aug 2007)
New Revision: 241
Modified:
trunk/java/org/apache/catalina/startup/NamingRuleSet.java
trunk/java/org/apache/coyote/http11/Http11Protocol.java
Log:
- Class name typo.
- Restore arbitrary attributes for java.io connector (SSL factories really need them in
the end).
Modified: trunk/java/org/apache/catalina/startup/NamingRuleSet.java
===================================================================
--- trunk/java/org/apache/catalina/startup/NamingRuleSet.java 2007-08-24 12:00:42 UTC (rev
240)
+++ trunk/java/org/apache/catalina/startup/NamingRuleSet.java 2007-08-28 09:58:46 UTC (rev
241)
@@ -124,7 +124,7 @@
"org.apache.catalina.deploy.ContextResourceEnvRef"));
digester.addObjectCreate(prefix + "ServiceRef",
- "org.apache.catalina.deploy.Contextservice");
+ "org.apache.catalina.deploy.ContextService");
digester.addRule(prefix + "ServiceRef", new SetAllPropertiesRule());
digester.addRule(prefix + "ServiceRef",
new SetNextNamingRule("addService",
Modified: trunk/java/org/apache/coyote/http11/Http11Protocol.java
===================================================================
--- trunk/java/org/apache/coyote/http11/Http11Protocol.java 2007-08-24 12:00:42 UTC (rev
240)
+++ trunk/java/org/apache/coyote/http11/Http11Protocol.java 2007-08-28 09:58:46 UTC (rev
241)
@@ -120,8 +120,21 @@
return attributes.keySet().iterator();
}
+ /**
+ * Set a property.
+ */
+ public void setProperty(String name, String value) {
+ setAttribute(name, value);
+ }
/**
+ * Get a property
+ */
+ public String getProperty(String name) {
+ return (String)getAttribute(name);
+ }
+
+ /**
* The adapter, used to call the connector.
*/
protected Adapter adapter;
Show replies by date