User: vharcq  
  Date: 01/12/23 11:50:47

  Modified:    src/resources/org/jboss/metadata jboss.dtd
  Log:
  Add a pool feeder to create asynchronously instances of beans and push them in the 
pool stack.
  Look at jboss.dtd for information on parameters
  
  Revision  Changes    Path
  1.16      +39 -13    jboss/src/resources/org/jboss/metadata/jboss.dtd
  
  Index: jboss.dtd
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/resources/org/jboss/metadata/jboss.dtd,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- jboss.dtd 2001/07/05 19:02:22     1.15
  +++ jboss.dtd 2001/12/23 19:50:47     1.16
  @@ -621,34 +621,60 @@
         org.jboss.metadata.XmlLoadable) for it to load its parameters.
         
         The default instance pools, EntityInstancePool and 
  -      StatelessSessionInstancePool, both accept the following MaximumSize
  -      configuration.
  +      StatelessSessionInstancePool, both accept the following configuration.
   
         Used in: container-configuration
         -->
  -<!ELEMENT container-pool-conf (MaximumSize , MinimumSize)>
  +<!ELEMENT container-pool-conf (feeder-policy , feeder-policy-conf)>
   
   <!-- 
           This element is only valid if the instance pool is a subclass of
           AbstractInstancePool.
   
  -        The MaximumSize element gives the maximum number of instance to
  -        keep in the pool. Its value must be an integer.
  +        The feeder-policy element gives the Class that implements InstancePoolFeeder
  +        and is responsible to feed the pool with new instances of bean.
  +        If not present, no thread are started and the pool will have a size of 1.
  +        
  +        TimedInstancePoolFeeder is the first implementation available.
   
           Used in: container-pool-conf for AbstractInstancePool subclasses
           -->
  -<!ELEMENT MaximumSize (#PCDATA)>
  +<!ELEMENT feeder-policy (#PCDATA)>
   
  -<!-- 
  -        This element is only valid if the instance pool is a subclass of
  -        AbstractInstancePool.
  +<!--
  +        This element describes properties that the InstancePoolFeeder implementation
  +        will read to configure itself (XmlLoadable).
  +        
  +        Note: the 3 attributes are hardcoded here for TimedInstancePoolFeeder.
  +        
  +        Used in: container-pool-conf for InstancePoolFeeder implementations
  +        -->
  +<!ELEMENT feeder-policy-conf (capacity , increment , period)>
   
  -        The MinimumSize element gives the minimum number of instance to
  -        keep in the pool. Its value must be an integer.
  +<!--
  +        The capacity of the Pool.  The pool feeder will feed the pool with new
  +        instances, the pool size being limited by this value.
  +        
  +        Used in: feeder-policy-conf
  +        -->
  +<!ELEMENT capacity (#PCDATA)>
   
  -        Used in: container-pool-conf for AbstractInstancePool subclasses
  +<!--
  +        The pool feeder will feed the pool with this number of new instances at 
  +        a regular period.
  +        
  +        Used in: feeder-policy-conf
  +        -->
  +<!ELEMENT increment (#PCDATA)>
  +
  +<!--
  +        The interval of time (in milliseconds) the pool feeder look if the pool 
  +        has come to its maximum size (capacity) and if not, will feed it with 
  +        a particular number of new instances (increment).
  +        
  +        Used in: feeder-policy-conf
           -->
  -<!ELEMENT MinimumSize (#PCDATA)>
  +<!ELEMENT period (#PCDATA)>
   
   <!--
         This option is only used for entity container configurations.
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to