Author: antelder
Date: Sun May 7 05:46:05 2006
New Revision: 404754
URL: http://svn.apache.org/viewcvs?rev=404754&view=rev
Log:
Fixes for TUSCANY-63, TUSCANY-65
Move JSONRPC Binding to new servlet registration mechanisim
Modified:
incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/webapp/ServletHost.java
Modified:
incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/webapp/ServletHost.java
URL:
http://svn.apache.org/viewcvs/incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/webapp/ServletHost.java?rev=404754&r1=404753&r2=404754&view=diff
==============================================================================
---
incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/webapp/ServletHost.java
(original)
+++
incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/webapp/ServletHost.java
Sun May 7 05:46:05 2006
@@ -46,4 +46,12 @@
* @param mapping the uri-mapping for the Servlet
*/
void unregisterMapping(String mapping);
+
+ /**
+ * Get the servlet instance registered for the mapping
+ *
+ * @param mapping the uri-mapping for the Servlet
+ * @return the Servelt for the mapping or null if there is no Servlet
registered for the mapping
+ */
+ Servlet getMapping(String mapping);
}