<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
   xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

	<external-component-plugins>
		<target-component>org.exoplatform.webui.ext.UIExtensionManager</target-component>
		<component-plugin>
			<name>Add.Actions</name>
			<set-method>registerUIExtensionPlugin</set-method>
			<type>org.exoplatform.webui.ext.UIExtensionPlugin</type>
			  <init-params>
							<object-param>
									<name>CacheView</name>
									<object type="org.exoplatform.webui.ext.UIExtension">
											<field name="type"><string>org.exoplatform.ecm.dms.UIECMAdminControlPanel</string></field>
											<field name="name"><string>CacheView</string></field>
											<field name="category"><string>GlobalAdministration</string></field>
											<field name="component"><string>org.exoplatform.wcm.component.cache.UIWCMCacheComponent</string></field>
									</object>
					  </object-param>
							<object-param>
									<name>UIWCMCacheManager</name>
									<object type="org.exoplatform.webui.ext.UIExtension">
											<field name="type"><string>org.exoplatform.ecm.dms.UIECMAdminControlPanel</string></field>
											<field name="name"><string>UIWCMCacheManager</string></field>
											<field name="category"><string>GlobalAdministration</string></field>
											<field name="component"><string>org.exoplatform.wcm.manager.cache.UIWCMCacheManagerComponent</string></field>
									</object>
					  </object-param>																					
			  </init-params>		
		</component-plugin>
	</external-component-plugins>							
	
	<external-component-plugins>
    <!-- The full qualified name of the ResourceBundleService -->
		  <target-component>org.exoplatform.services.resources.ResourceBundleService</target-component>
    <component-plugin>
      <!-- The name of the plugin -->
      <name>ResourceBundle Plugin</name>
      <!-- The name of the method to call on the ResourceBundleService in order to register the ResourceBundles -->
      <set-method>addResourceBundle</set-method>
      <!-- The full qualified name of the BaseResourceBundlePlugin -->
      <type>org.exoplatform.services.resources.impl.BaseResourceBundlePlugin</type>
      <init-params>        
								<values-param>
										<name>init.resources</name>
										<description>Store the following resources into the db for the first launch </description>
										<value>locale.portlet.cache.ExamplePortlet</value>
								</values-param>
								<values-param>
          <name>portal.resource.names</name>
          <description>The properties files of the portal , those file will be merged
            into one ResoruceBundle properties </description>
          <value>locale.portlet.cache.ExamplePortlet</value>
        </values-param>								
      </init-params>
    </component-plugin>
  </external-component-plugins>
	
	
	</configuration>
