Dear Wiki user, You have subscribed to a wiki page or wiki category on "Turbine Wiki" for change notification.
The "Turbine4/Turbine4.0M1/Migrate233" page has been changed by ThomasVandahl: http://wiki.apache.org/turbine/Turbine4/Turbine4.0M1/Migrate233?action=diff&rev1=3&rev2=4 Comment: Added PoolService === FactoryService === - The !TurbineFactoryService has been replaced with the [[http://turbine.apache.org/fulcrum/fulcrum-factory/|Fulcrum Factory]] counterpart. The following example shows the default configuration of the ''!CryptoFactory'' before and after the migration. For details of the configuration options available see the [[http://turbine.apache.org/fulcrum/fulcrum-factory/|Fulcrum Factory Site]]. + The !TurbineFactoryService has been replaced with the [[http://turbine.apache.org/fulcrum/fulcrum-factory/|Fulcrum Factory]] counterpart. The following example shows the default configuration of the ''!FactoryService'' before and after the migration. For details of the configuration options available see the [[http://turbine.apache.org/fulcrum/fulcrum-factory/|Fulcrum Factory Site]]. `TurbineResources.properties`: @@ -144, +144 @@ <factory/> }}} + === PoolService === + + The !TurbinePoolService has been replaced with the [[http://turbine.apache.org/fulcrum/fulcrum-pool/|Fulcrum Pool]] counterpart. The following example shows the default configuration of the ''!PoolService'' before and after the migration. For details of the configuration options available see the [[http://turbine.apache.org/fulcrum/fulcrum-pool/|Fulcrum Pool Site]]. + + `TurbineResources.properties`: + + {{{ + services.PoolService.classname=org.apache.turbine.services.pool.TurbinePoolService + + # ------------------------------------------------------------------- + # + # P O O L S E R V I C E + # + # ------------------------------------------------------------------- + + # Default capacity of pools of the Object pooling service. + # + # Default: 128 + services.PoolService.pool.capacity = 128 + + # Class specific capacities used instead of the default if specified. + # + services.PoolService.pool.capacity.org.apache.turbine.services.rundata.DefaultTurbineRunData=512 + }}} + + `roleConfiguration.xml`: + + {{{#!xml + <role + name="org.apache.fulcrum.pool.PoolService" + shorthand="pool" + default-class="org.apache.fulcrum.pool.DefaultPoolService"/> + }}} + + `componentConfiguration.xml`: + + {{{#!xml + <pool> + <capacity> + <org.apache.turbine.services.rundata.DefaultTurbineRunData> + 512 + </org.apache.turbine.services.rundata.DefaultTurbineRunData> + <default> + 128 + </default> + </capacity> + </pool> + }}} + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
