All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.servlets.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         This extension mimics and borrows the semantics of the OSGi HttpService registerServlet method.
      
   

   
      
         
            
            
         
         
            
               

               
            
         
         
            
               

               
            
         
         
            
               

               
               
                  
               
            
         
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               
                  The equivalent of the OSGi Http Services "servlet" in registerServlet. The Servlet is instantiated by the Extension Point provider and must be an instance of javax.servlet.Servlet
               
               
                  
               
            
         
         
            
               
                  The equivalent of the OSGi Http Services "alias" in registerServlet.
               
            
         
         
            
               
                  The equivalent of the OSGi Http Services httpcontext in registerResource. The httpcontextId is matched against the "httpcontexts" extension for a matching id. If this attribute is not provided the OSGi Http Service's DefaultHttpContext semantics are used.
               
            
         
         
            
               
                  Determines if the Servlet should be initialized immediately.
               
            
         
      
   

   
      
         
            
         
         
            Similar to the Servlet Specification and its deployment descriptor's init-param elements.
         
      
      
         
            
               
                  The initial parameter's name
               
            
         
         
            
               
                  The initial parameter's value
               
            
         
      
   

   
      
         
            
               
                  The serviceSelector allow filtering of the HttpService instances with which to register servlets.
               
            
         
         
            
               
                  If used the class must be an instance of org.osgi.framework.Filter
               
               
                  
               
            
         
      
   

   
      
         
      
      
         1.0
      
   

   
      
         
      
      
         The following is an example of the <code>servlets</code> extension:
<pre>
     <extension
           id="testServlet"
           point="org.eclipse.rap.http.registry.servlets">
        <servlet
              alias="/sp_test"
              class="org.eclipse.rap.http.registry.internal.TestServlet">
           <init-param
                 name="testParam"
                 value="test param value">
           </init-param>
        </servlet>
     </extension>
</pre>

This equivalent to the OSGi Http Service's registerServlet method.
      
   

   
      
         
      
      
         Servlets must be an instance of javax.servlet.Servlet
      
   

   
      
         
      
      
      
   

   
      
         
      
      
         Copyright (c) 2005-2007 Cognos Incorporated, IBM Corporation and others
<br>

This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
<a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/

SPDX-License-Identifier: EPL-2.0.
<br>
Contributors:<br>
Cognos Incorporated - initial API and implementation<br>
IBM Corporation - bug fixes and enhancements<br>
      
   






© 2015 - 2025 Weber Informatics LLC | Privacy Policy