You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2005/07/21 18:17:19 UTC

cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer/src/webapp/WEB-INF portlet.xml web.xml

dlouzan     2005/07/21 09:17:19

  Added:       sandbox/wsrp4j/consumer/src/webapp/WEB-INF portlet.xml
                        web.xml
  Log:
  Initial commit for WSRP4J Consumer.
  
  Revision  Changes    Path
  1.1                  ws-wsrp4j/sandbox/wsrp4j/consumer/src/webapp/WEB-INF/portlet.xml
  
  Index: portlet.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!--
  Copyright 2003-2005 The Apache Software Foundation.
  
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
       http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
  
  <portlet-app
      xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
      version="1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
                          http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
  
  	<portlet>
          <description>WSRP4J Consumer Portlet Description</description>
  		<portlet-name>WSRP4JConsumer</portlet-name>
  		<display-name>WSRP4J Consumer Portlet</display-name>
  
  		<portlet-class>
              org.apache.wsrp4j.consumer.portlet.impl.ProxyPortlet
          </portlet-class>
          
          <init-param>
              <name>consumer.enviroment.class</name>
              <value>
                  org.apache.wsrp4j.consumer.portlet.impl.ConsumerEnvironmentImpl
              </value>
          </init-param>
          
          <expiration-cache>-1</expiration-cache>
          
  		<supports>
              <mime-type>text/html</mime-type>
              <portlet-mode>VIEW</portlet-mode>
              <portlet-mode>EDIT</portlet-mode>
              <portlet-mode>HELP</portlet-mode>
  		</supports>
          
          <supported-locale>en</supported-locale>
          
  		<portlet-info>
              <title>WSRP4JConsumerPortlet</title>
              <short-title>WSRP4JConsumer</short-title>
              <keywords>WSRP, WSRP4J, Consumer</keywords>
          </portlet-info>
      </portlet>
  </portlet-app>
  
  
  
  1.1                  ws-wsrp4j/sandbox/wsrp4j/consumer/src/webapp/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
             "http://java.sun.com/dtd/web-app_2_3.dtd">
  <!--
  Copyright 2003-2005 The Apache Software Foundation.
  
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
       http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
  
  <web-app>
      <display-name>WSRP4J Consumer Portlet</display-name>
  
      <!-- Resource Proxy -->
      <servlet>
          <servlet-name>WSRP4JResourceProxy</servlet-name>
          <servlet-class>
              org.apache.wsrp4j.consumer.portlet.impl.ResourceProxy
          </servlet-class>
      </servlet>
  
      <servlet-mapping>
          <servlet-name>WSRP4JResourceProxy</servlet-name>
          <url-pattern>/WSRP4JResourceProxy/*</url-pattern>
      </servlet-mapping>
  </web-app>