You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ak...@apache.org on 2008/01/26 23:35:53 UTC
svn commit: r615527 - in /mina/asyncweb/trunk/examples: ./ conf/
conf/exampleHttpServiceDefinitions/ conf/httpServiceDefinitions/
src/main/java/org/apache/asyncweb/examples/cookie/
src/main/java/org/apache/asyncweb/examples/helloworld/ src/main/java/or...
Author: akarasulu
Date: Sat Jan 26 14:35:52 2008
New Revision: 615527
URL: http://svn.apache.org/viewvc?rev=615527&view=rev
Log:
fixing package names in examples
Added:
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/cookie/
- copied from r615497, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/cookie/
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/cookie/CookieExample.java
- copied, changed from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/cookie/CookieExample.java
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/helloworld/
- copied from r615497, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/helloworld/
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/helloworld/HelloWorldHttpService.java
- copied, changed from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/helloworld/HelloWorldHttpService.java
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/
- copied from r615497, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/HttpProtocolHandler.java
- copied, changed from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/HttpProtocolHandler.java
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/Main.java
- copied, changed from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/Main.java
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/session/
- copied from r615497, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/session/
mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/session/SessionExample.java
- copied, changed from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/session/SessionExample.java
Removed:
mina/asyncweb/trunk/examples/conf/httpServiceDefinitions/
mina/asyncweb/trunk/examples/src/main/java/org/safehaus/
Modified:
mina/asyncweb/trunk/examples/addServiceDefinition.xml
mina/asyncweb/trunk/examples/conf/AsyncWeb.xml
mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/CookeDropExample.xml
mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/HelloWorldHttpService.xml
mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/SessionExample.xml
Modified: mina/asyncweb/trunk/examples/addServiceDefinition.xml
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/addServiceDefinition.xml?rev=615527&r1=615526&r2=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/addServiceDefinition.xml (original)
+++ mina/asyncweb/trunk/examples/addServiceDefinition.xml Sat Jan 26 14:35:52 2008
@@ -28,7 +28,7 @@
-->
<target name="add-service-definition">
<input
- message="Enter full example class name (e.g org.safehaus.asyncweb.examples.HelloWorldHttpService): "
+ message="Enter full example class name (e.g org.apache.asyncweb.examples.HelloWorldHttpService): "
addproperty="service.class"/>
<input
message="Enter service name (e.g. HelloWorldHttpService): "
Modified: mina/asyncweb/trunk/examples/conf/AsyncWeb.xml
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/conf/AsyncWeb.xml?rev=615527&r1=615526&r2=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/conf/AsyncWeb.xml (original)
+++ mina/asyncweb/trunk/examples/conf/AsyncWeb.xml Sat Jan 26 14:35:52 2008
@@ -72,7 +72,7 @@
every request - irrespective of whether application code causes the session
to be accessed.
- <bean class="org.safehaus.asyncweb.http.session.SessionKeepAliveHandler"/>
+ <bean class="org.apache.asyncweb.server.session.SessionKeepAliveHandler"/>
-->
<!--
Modified: mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/CookeDropExample.xml
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/CookeDropExample.xml?rev=615527&r1=615526&r2=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/CookeDropExample.xml (original)
+++ mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/CookeDropExample.xml Sat Jan 26 14:35:52 2008
@@ -26,7 +26,7 @@
Cookies sent by the client can be viewed with the exmaple "hello world" service
-->
<bean name="cookieDrop"
- class="org.safehaus.asyncweb.example.cookie.CookieExample">
+ class="org.apache.asyncweb.examples.cookie.CookieExample">
<property name="form">
<value>
@@ -48,4 +48,4 @@
</bean>
-</beans>
\ No newline at end of file
+</beans>
Modified: mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/HelloWorldHttpService.xml
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/HelloWorldHttpService.xml?rev=615527&r1=615526&r2=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/HelloWorldHttpService.xml (original)
+++ mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/HelloWorldHttpService.xml Sat Jan 26 14:35:52 2008
@@ -30,7 +30,7 @@
to configure itself!
-->
<bean name="helloWorldHttpService"
- class="org.safehaus.asyncweb.example.helloworld.HelloWorldHttpService">
+ class="org.apache.asyncweb.examples.helloworld.HelloWorldHttpService">
<property name="message">
<value>AsyncWeb says hi!</value>
Modified: mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/SessionExample.xml
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/SessionExample.xml?rev=615527&r1=615526&r2=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/SessionExample.xml (original)
+++ mina/asyncweb/trunk/examples/conf/exampleHttpServiceDefinitions/SessionExample.xml Sat Jan 26 14:35:52 2008
@@ -31,6 +31,6 @@
be destroyed
-->
<bean name="sessionService"
- class="org.safehaus.asyncweb.example.session.SessionExample" />
+ class="org.apache.asyncweb.examples.session.SessionExample" />
-</beans>
\ No newline at end of file
+</beans>
Copied: mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/cookie/CookieExample.java (from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/cookie/CookieExample.java)
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/cookie/CookieExample.java?p2=mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/cookie/CookieExample.java&p1=mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/cookie/CookieExample.java&r1=615526&r2=615527&rev=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/cookie/CookieExample.java (original)
+++ mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/cookie/CookieExample.java Sat Jan 26 14:35:52 2008
@@ -17,7 +17,7 @@
* under the License.
*
*/
-package org.safehaus.asyncweb.example.cookie;
+package org.apache.asyncweb.examples.cookie;
import java.io.PrintWriter;
import java.io.StringWriter;
Copied: mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/helloworld/HelloWorldHttpService.java (from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/helloworld/HelloWorldHttpService.java)
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/helloworld/HelloWorldHttpService.java?p2=mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/helloworld/HelloWorldHttpService.java&p1=mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/helloworld/HelloWorldHttpService.java&r1=615526&r2=615527&rev=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/helloworld/HelloWorldHttpService.java (original)
+++ mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/helloworld/HelloWorldHttpService.java Sat Jan 26 14:35:52 2008
@@ -17,7 +17,7 @@
* under the License.
*
*/
-package org.safehaus.asyncweb.example.helloworld;
+package org.apache.asyncweb.examples.helloworld;
import java.io.PrintWriter;
import java.io.StringWriter;
Copied: mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/HttpProtocolHandler.java (from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/HttpProtocolHandler.java)
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/HttpProtocolHandler.java?p2=mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/HttpProtocolHandler.java&p1=mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/HttpProtocolHandler.java&r1=615526&r2=615527&rev=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/HttpProtocolHandler.java (original)
+++ mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/HttpProtocolHandler.java Sat Jan 26 14:35:52 2008
@@ -17,7 +17,7 @@
* under the License.
*
*/
-package org.safehaus.asyncweb.example.lightweight;
+package org.apache.asyncweb.examples.lightweight;
import java.io.IOException;
import java.util.Map;
Copied: mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/Main.java (from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/Main.java)
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/Main.java?p2=mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/Main.java&p1=mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/Main.java&r1=615526&r2=615527&rev=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/lightweight/Main.java (original)
+++ mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/lightweight/Main.java Sat Jan 26 14:35:52 2008
@@ -17,12 +17,13 @@
* under the License.
*
*/
-package org.safehaus.asyncweb.example.lightweight;
+package org.apache.asyncweb.examples.lightweight;
import java.net.InetSocketAddress;
import org.apache.mina.filter.codec.ProtocolCodecFilter;
import org.apache.asyncweb.common.HttpCodecFactory;
+import org.apache.asyncweb.examples.lightweight.HttpProtocolHandler;
import org.apache.mina.transport.socket.SocketAcceptor;
import org.apache.mina.transport.socket.nio.NioSocketAcceptor;
Copied: mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/session/SessionExample.java (from r615526, mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/session/SessionExample.java)
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/session/SessionExample.java?p2=mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/session/SessionExample.java&p1=mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/session/SessionExample.java&r1=615526&r2=615527&rev=615527&view=diff
==============================================================================
--- mina/asyncweb/trunk/examples/src/main/java/org/safehaus/asyncweb/example/session/SessionExample.java (original)
+++ mina/asyncweb/trunk/examples/src/main/java/org/apache/asyncweb/examples/session/SessionExample.java Sat Jan 26 14:35:52 2008
@@ -17,7 +17,7 @@
* under the License.
*
*/
-package org.safehaus.asyncweb.example.session;
+package org.apache.asyncweb.examples.session;
import java.io.PrintWriter;
import java.io.StringWriter;