Configuration

Configuration

Embedded configuration

Generally in order to configure the portlet container you have to add the PortletContainerConf component to your container's configuration.xml file and give information about where to get the actual configuration from.

Since version 1.5 there's one way to configure the portlet container:

set PortletContainerConf's init-param "conf" that is an object-param and contains configuration data itself:

<component>
  <type>org.exoplatform.services.portletcontainer.impl.PortletContainerConf</type>
    <init-params>
      <object-param>
        <name>conf</name>
        <object type="org.exoplatform.services.portletcontainer.impl.config.PortletContainer">
          <field name="global">
            <object type="org.exoplatform.services.portletcontainer.impl.config.Global">
              <field name="name"><string>ExoPortletContainer</string></field>
              <field name="description"><string>A JSR 168/286 compliant portlet container</string></field>
              <field name="majorVersion"><int>1</int></field>
              <field name="minorVersion"><int>0</int></field>
            </object>
          </field>
          <field name="sharedSession">
            <object type="org.exoplatform.services.portletcontainer.impl.config.SharedSession">
              <field name="enable"><string>false</string></field>
            </object>
          </field>
[..]

Tags:
Created by Alexey Zavizionov on 05/23/2007
Last modified by Oleksandr Tkachenko on 03/20/2008

Products

generated on Thu Sep 02 15:34:13 UTC 2010

eXo Optional Modules

eXo Core Foundations


Copyright (c) 2000-2010. All Rights Reserved - eXo platform SAS
2.4.30451