2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Jakarta > HiveMind
Jakarta
 
Font size:      

hivemind.EagerLoad Configuration

The EagerLoad configuration allows services to be constructed when the Registry is first initialized. Normally, HiveMind goes to great lengths to ensure that services are only constructed when they are first needed. Eager loading is appropriate during development (to ensure that services are configured properly), and some services that are event driven may need to be instantiated early, so that they may begin receiving event notifications even before their first service method is invoked.

Care should be taken when using services with the pooled or threaded service models to invoke cleanup the thread immediately after creating the Registry.

Contributions are as follows:

<load service-id="..."/>