Package org.codehaus.mojo.gwt.webxml

Examples of org.codehaus.mojo.gwt.webxml.ServletDescriptor


        Set<ServletDescriptor> servletDescriptors = servletAnnotationFinder.findServlets( "org.codehaus.mojo.gwt",
                                                                                          null, Thread.currentThread()
                                                                                              .getContextClassLoader() );

        assertEquals( 1, servletDescriptors.size() );
        ServletDescriptor desc = servletDescriptors.iterator().next();
        assertEquals( HelloRemoteServlet.class.getName(), desc.getClassName() );
        assertEquals( "/HelloService", desc.getPath() );
    }
View Full Code Here


        Set<ServletDescriptor> servletDescriptors = servletAnnotationFinder.findServlets( "org.codehaus.mojo.gwt",
                                                                                          "foo", Thread.currentThread()
                                                                                              .getContextClassLoader() );

        assertEquals( 1, servletDescriptors.size() );
        ServletDescriptor desc = servletDescriptors.iterator().next();
        assertEquals( HelloRemoteServlet.class.getName(), desc.getClassName() );
        assertEquals( "/foo/HelloService", desc.getPath() );
    }
View Full Code Here

                                                                                          "/foo", Thread
                                                                                              .currentThread()
                                                                                              .getContextClassLoader() );

        assertEquals( 1, servletDescriptors.size() );
        ServletDescriptor desc = servletDescriptors.iterator().next();
        assertEquals( HelloRemoteServlet.class.getName(), desc.getClassName() );
        assertEquals( "/foo/HelloService", desc.getPath() );
   
View Full Code Here

TOP

Related Classes of org.codehaus.mojo.gwt.webxml.ServletDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.