portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/containers portlet-container.groovy
Date Wed, 17 Mar 2004 01:47:25 GMT
taylor      2004/03/16 17:47:25

  Added:       portal/src/java/org/apache/jetspeed/containers
  Groovy assembly script for Portlet Container
  Obtained from:
  Submitted by:	
  Reviewed by:	
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/containers/portlet-container.groovy
  Index: portlet-container.groovy
   * Copyright 2000-2004 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.
  import org.picocontainer.defaults.DefaultPicoContainer
  import org.picocontainer.defaults.ConstantParameter
  import org.picocontainer.defaults.ComponentParameter
  import org.picocontainer.Parameter
  import org.apache.pluto.PortletContainer
  import org.apache.pluto.PortletContainerImpl
  import org.apache.jetspeed.container.PortletContainerWrapper
  import org.apache.jetspeed.container.JetspeedPortletContainerWrapper
  // create the Pluto container
  PortletContainer pluto = new PortletContainerImpl()
  if(parent != null)
      container = new DefaultPicoContainer(parent)
      // wrapper Pluto
                                            new Parameter[] {new ConstantParameter(pluto)}
      container = new DefaultPicoContainer()
      // wrapper Pluto
                                            new Parameter[] {new ConstantParameter(pluto)}
  return container

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message