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/08/30 00:35:16 UTC
cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer/src/java/org/apache/wsrp4j/producer/provider/pluto/interfaces PlutoPortletPool.java PlutoProvider.java WSRPDynamicInformationProvider.java
dlouzan 2005/08/29 15:35:16
Added: sandbox/wsrp4j/producer/src/java/org/apache/wsrp4j/producer/provider/pluto/interfaces
PlutoPortletPool.java PlutoProvider.java
WSRPDynamicInformationProvider.java
Log:
Initial commit.
Revision Changes Path
1.1 ws-wsrp4j/sandbox/wsrp4j/producer/src/java/org/apache/wsrp4j/producer/provider/pluto/interfaces/PlutoPortletPool.java
Index: PlutoPortletPool.java
===================================================================
/*
* 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.
*/
package org.apache.wsrp4j.producer.provider.pluto.interfaces;
import org.apache.wsrp4j.commons.producer.provider.interfaces.PortletPool;
import org.apache.wsrp4j.commons.producer.provider.interfaces.Provider;
/**
* <p>This class provides an internal add-on to the Provider interface.</p>
*
* @author <a href="mailto:peter.fischer@de.ibm.com">Peter Fischer</a>
*
* @version $Id: PlutoPortletPool.java,v 1.1 2005/08/29 22:35:16 dlouzan Exp $
* @see org.apache.wsrp4j.producer.provider.Provider
*
*/
public interface PlutoPortletPool extends PortletPool
{
/**
* Get the Provider the portlet pool belongs to.
* @return Provider
*/
Provider getProvider();
/**
* Set the Provider for the portlet pool
* @param provider
*/
void setProvider(Provider provider);
}
1.1 ws-wsrp4j/sandbox/wsrp4j/producer/src/java/org/apache/wsrp4j/producer/provider/pluto/interfaces/PlutoProvider.java
Index: PlutoProvider.java
===================================================================
/*
* 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.
*/
package org.apache.wsrp4j.producer.provider.pluto.interfaces;
import org.apache.pluto.PortletContainer;
import org.apache.wsrp4j.commons.producer.provider.interfaces.Provider;
/**
* <p>This class provides an internal add-on to the Provider interface.</p>
*
* @see org.apache.wsrp4j.producer.provider.Provider
*
* @version $Id: PlutoProvider.java,v 1.1 2005/08/29 22:35:16 dlouzan Exp $
*/
public interface PlutoProvider extends Provider {
/**
* Returns an interface to a 'Pluto'- specific portlet container
* implementation
* @return PortletContainer
*/
PortletContainer getPortletContainer();
/**
* Returns an interface to a 'Pluto'- specific portlet pool implementation
* @return PlutoPortletPool
*/
PlutoPortletPool getPlutoPortletPool();
}
1.1 ws-wsrp4j/sandbox/wsrp4j/producer/src/java/org/apache/wsrp4j/producer/provider/pluto/interfaces/WSRPDynamicInformationProvider.java
Index: WSRPDynamicInformationProvider.java
===================================================================
/*
* 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.
*/
package org.apache.wsrp4j.producer.provider.pluto.interfaces;
import org.apache.pluto.services.information.DynamicInformationProvider;
/**
* Extends the DynamicInformationProvider-interface of Pluto. Provides two
* additional constants representing attributes to be inserted into the servlet
* request needed to instantiate the DynamicInformationProvider.
*
* @author <a href="mailto:stefan.behl@de.ibm.com">Stefan Behl</a>
* @version $Id: WSRPDynamicInformationProvider.java,v 1.1 2005/08/29 22:35:16 dlouzan Exp $
*/
public interface WSRPDynamicInformationProvider
extends DynamicInformationProvider {
/**
* String constant representing an attribute name of a servlet request.
* Serves to store the getMarkup-, performInteraction- or
* performBlockingInteraction- request within the current ServletRequest.
*/
String REQUEST = "wsrp.request";
/**
* String constant representing an attribute name of a servlet request.
* Serves to store the Provider within the current ServletRequest.
*/
String PROVIDER = "wsrp.provider";
/** String constant representing an attribute name of a servlet request.
* Serves to store the render params within the current ServletRequest
*/
String RENDER_PARAMS = "wsrp.renderParams";
}